:root {
    --navy: #284486;
    --navy-dark: #1a2d5c;
    --accent: #f5a623;
    --bg: #f7f9fc;
    --surface: #ffffff;
    --text: #14213d;
    --text-2: #4a5568;
    --text-3: #8492a6;
    --border: #e6ebf2;
    --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.en { direction: ltr; font-family: 'Tajawal', 'Segoe UI', sans-serif; }

/* ── Navbar ── */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text h1 { font-size: 15px; font-weight: 800; color: var(--navy); }
.brand-text span { font-size: 10.5px; color: var(--text-3); letter-spacing: .04em; }
.nav-links { display: flex; gap: 28px; font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.nav-links a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 8px; background: #25D366; color: #fff; padding: 9px 18px; border-radius: 30px; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 14px rgba(37,211,102,.3); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ── Breadcrumb ── */
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 0; font-size: 12.5px; color: var(--text-3); font-weight: 700; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.breadcrumb .current { color: var(--navy); }

/* ── Hero ── */
.hero { background: linear-gradient(150deg, var(--navy), var(--navy-dark)); color: #fff; position: relative; overflow: hidden; padding: 74px 0 90px; }
.hero::before { content: ''; position: absolute; inset-inline-end: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero::after { content: ''; position: absolute; inset-inline-start: -100px; bottom: -140px; width: 340px; height: 340px; border-radius: 50%; background: rgba(245,166,35,.12); }
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 7px 18px; border-radius: 30px; font-size: 12.5px; font-weight: 700; margin-bottom: 22px; }
.hero h2 { font-size: 34px; font-weight: 900; margin-bottom: 14px; max-width: 780px; margin-inline: auto; }
.hero p.lead { font-size: 15.5px; color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto 8px; }
.hero p.lead.en { font-size: 13.5px; color: rgba(255,255,255,.6); max-width: 620px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 28px; border-radius: 30px; font-size: 14px; font-weight: 800; cursor: pointer; border: none; transition: all .2s; }
.btn-accent { background: var(--accent); color: #1a2d5c; box-shadow: 0 8px 24px rgba(245,166,35,.35); }
.btn-accent:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { filter: brightness(1.1); }
.hero-stats { display: flex; justify-content: center; gap: 50px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 26px; font-weight: 900; color: var(--accent); }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 600; }

/* ── Section shell ── */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-kicker { display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--navy); background: rgba(40,68,134,.08); padding: 5px 16px; border-radius: 20px; margin-bottom: 14px; letter-spacing: .03em; }
.section-head h3 { font-size: 27px; font-weight: 900; margin-bottom: 10px; }
.section-head p { font-size: 14px; color: var(--text-2); }
.section-head p.en { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

/* ── About ── */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-copy p { font-size: 14.5px; color: var(--text-2); margin-bottom: 14px; }
.about-copy p.en { font-size: 13px; color: var(--text-3); border-inline-start: 3px solid var(--border); padding-inline-start: 14px; margin-bottom: 20px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.about-point { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 700; color: var(--text); }
.about-point i { color: var(--navy); margin-top: 3px; }
.about-visual { background: linear-gradient(150deg, var(--navy), var(--navy-dark)); border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 320px; box-shadow: 0 20px 50px -12px rgba(40,68,134,.35); }
.about-visual img { width: 68%; filter: brightness(0) invert(1); opacity: .95; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-points { grid-template-columns: 1fr; } }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: all .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -10px rgba(40,68,134,.18); border-color: transparent; }
.service-icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(40,68,134,.08); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 16px; }
.service-card h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 8px; }
.service-card p { font-size: 12px; color: var(--text-3); }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Devices grid (homepage) ── */
.devices { background: var(--surface); }
.devices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg); transition: all .2s; display: flex; flex-direction: column; }
.device-card:hover { box-shadow: 0 16px 34px -10px rgba(40,68,134,.16); transform: translateY(-4px); }
.device-media { height: 190px; display: flex; align-items: center; justify-content: center; background: #fff; position: relative; padding: 18px; }
.device-media img { max-height: 100%; max-width: 100%; object-fit: contain; }
.device-tag { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 20px; z-index: 1; }
.device-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.device-body h4 { font-size: 15.5px; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.device-body p { font-size: 12.5px; color: var(--text-2); margin-bottom: 4px; }
.device-body p.en { font-size: 11px; color: var(--text-3); margin-bottom: 12px; }
.device-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--navy); }
.device-more i { font-size: 10px; transition: transform .2s; }
.device-card:hover .device-more i { transform: translateX(-3px); }
@media (max-width: 960px) { .devices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .devices-grid { grid-template-columns: 1fr; } }

/* ── Device detail page ── */
.device-hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.device-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding-block: 56px; }
.device-hero-media { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; align-items: center; justify-content: center; min-height: 320px; box-shadow: 0 20px 50px -18px rgba(40,68,134,.2); }
.device-hero-media img { max-height: 320px; }
.device-hero-copy .badge-line { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; padding: 5px 13px; border-radius: 20px; background: rgba(40,68,134,.08); color: var(--navy); }
.badge.accent { background: rgba(245,166,35,.15); color: #b5720f; }
.device-hero-copy h2 { font-size: 30px; font-weight: 900; margin-bottom: 6px; color: var(--navy); }
.device-hero-copy .model-en { font-size: 13px; color: var(--text-3); font-weight: 700; letter-spacing: .04em; margin-bottom: 18px; }
.device-hero-copy p.desc { font-size: 14.5px; color: var(--text-2); margin-bottom: 8px; }
.device-hero-copy p.desc.en { font-size: 13px; color: var(--text-3); margin-bottom: 22px; }
.device-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.specs-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.specs-table tr:nth-child(even) { background: var(--bg); }
.specs-table td { padding: 14px 20px; font-size: 13.5px; }
.specs-table td:first-child { font-weight: 800; color: var(--navy); width: 38%; white-space: nowrap; }
.specs-table td:last-child { color: var(--text-2); }

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.feature-item .fi-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(40,68,134,.08); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.feature-item span { font-size: 13px; font-weight: 700; color: var(--text); padding-top: 8px; }
@media (max-width: 860px) { .device-hero-grid { grid-template-columns: 1fr; } .features-grid { grid-template-columns: 1fr; } }

.related-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.related-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-align: center; transition: all .2s; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -10px rgba(40,68,134,.2); }
.related-card img { height: 60px; object-fit: contain; margin: 0 auto 10px; }
.related-card span { font-size: 12px; font-weight: 800; color: var(--navy); }
@media (max-width: 860px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Contact ── */
.contact { background: linear-gradient(150deg, var(--navy), var(--navy-dark)); color: #fff; }
.contact .section-kicker { background: rgba(255,255,255,.12); color: #fff; }
.contact .section-head h3, .contact .section-head p { color: #fff; }
.contact .section-head p.en { color: rgba(255,255,255,.6); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: stretch; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px 22px; display: flex; align-items: flex-start; gap: 16px; }
.contact-card .icn { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--navy-dark); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-card h5 { font-size: 13.5px; font-weight: 800; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 13px; color: rgba(255,255,255,.85); display: block; }
.contact-card a:hover { color: var(--accent); }
.map-wrap { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid rgba(255,255,255,.14); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(.15); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Footer ── */
footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 28px 0; text-align: center; font-size: 12.5px; }
footer a { color: var(--accent); font-weight: 700; }

/* ── Floating WhatsApp ── */
.float-wa { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 10px 28px rgba(37,211,102,.4); animation: pulse-wa 2.4s infinite; }
@keyframes pulse-wa { 0%,100% { box-shadow: 0 10px 28px rgba(37,211,102,.4);} 50% { box-shadow: 0 10px 28px rgba(37,211,102,.7);} }
