:root {
  --ink: #111111;
  --graphite: #404040;
  --silver: #a9a9a9;
  --paper: #f7f7f7;
  --white: #ffffff;
  --border: #e3e3e3;
  --muted: #6d6d6d;
  --radius: 18px;
  --radius-lg: 30px;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.09);
  --container: min(1180px, calc(100% - 40px));
  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Tajawal", sans-serif; font-weight: 500; line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; }
button { border: 0; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }
.skip-link { position: fixed; inset-block-start: 12px; inset-inline-start: 12px; transform: translateY(-160%); z-index: 1000; padding: 10px 16px; color: var(--ink); background: var(--white); border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--silver); outline-offset: 4px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.12); transition: background .35s ease, box-shadow .35s ease, color .35s ease, height .35s ease; }
.site-header.scrolled, .site-header.menu-active { height: 74px; color: var(--ink); background: rgba(247,247,247,.96); box-shadow: 0 8px 30px rgba(17,17,17,.08); border-bottom-color: var(--border); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 48px; aspect-ratio: 1; display: grid; place-items: center; position: relative; border: 1px solid currentColor; border-radius: 13px 4px 13px 4px; overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; width: 70px; height: 1px; background: currentColor; opacity: .28; transform: rotate(-45deg); }
.brand-mark span { font-size: 14px; font-weight: 700; letter-spacing: -.08em; direction: ltr; }
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 16px; white-space: nowrap; }
.brand-copy small { margin-top: 4px; color: var(--silver); font-size: 9px; letter-spacing: .08em; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { position: relative; padding: 12px 0; font-size: 14px; font-weight: 700; transition: color .25s ease; }
.nav-link::after { content: ""; position: absolute; inset: auto 0 4px; width: 0; height: 2px; margin: auto; background: currentColor; transition: width .28s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 8px; color: inherit; background: transparent; cursor: pointer; border-radius: 10px; }
.lang-switch:hover { background: rgba(169,169,169,.12); }
.lang-current, .lang-alt { font-size: 12px; font-weight: 700; }
.switch-track { width: 29px; height: 16px; padding: 2px; background: rgba(169,169,169,.38); border-radius: 999px; }
.switch-track span { width: 12px; height: 12px; display: block; background: currentColor; border-radius: 50%; transition: transform .3s var(--ease); }
html[dir="ltr"] .switch-track span { transform: translateX(13px); }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 13px 23px; border: 1px solid transparent; border-radius: 12px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 10px 17px; font-size: 13px; color: var(--ink); background: var(--white); }
.scrolled .button-small, .menu-active .button-small { color: var(--white); background: var(--ink); }
.menu-toggle { width: 46px; height: 46px; display: none; place-content: center; gap: 5px; color: inherit; background: transparent; border: 1px solid rgba(169,169,169,.45); border-radius: 12px; cursor: pointer; }
.menu-toggle span { width: 20px; height: 2px; display: block; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.menu-active .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-active .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-active .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-panel { display: none; position: fixed; inset: 74px 0 auto; padding: 18px 20px 28px; background: rgba(247,247,247,.98); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: all .25s var(--ease); }
.menu-active .mobile-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav { display: grid; }
.mobile-nav .nav-link { padding: 15px 4px; color: var(--ink); border-bottom: 1px solid var(--border); }
.mobile-nav .nav-link::after { display: none; }

/* Hero */
.hero { min-height: 820px; height: max(100svh, 760px); display: grid; align-items: center; position: relative; color: var(--white); background: radial-gradient(circle at 24% 28%, #575757 0, #2b2b2b 36%, #111 78%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(to bottom, #000 0%, transparent 88%); }
.hero::after { content: ""; position: absolute; inset: auto -10% -16% -10%; height: 260px; background: var(--paper); transform: rotate(-3deg); transform-origin: right top; }
.hero-grid { display: grid; grid-template-columns: minmax(390px, .86fr) minmax(540px, 1.2fr); align-items: center; gap: 0; padding-block: calc(var(--header-h) + 56px) 120px; position: relative; z-index: 2; }
.hero-copy { position: relative; z-index: 3; max-width: 650px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: #d2d2d2; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.eyebrow > span:first-child { width: 42px; height: 1px; background: currentColor; }
.hero h1 { max-width: 700px; font-size: clamp(40px, 4.5vw, 68px); letter-spacing: -.045em; }
html[lang="ar"] .hero h1 { font-size: clamp(38px, 4.15vw, 64px); letter-spacing: -.03em; line-height: 1.25; }
.hero-text { max-width: 570px; margin-top: 24px; color: #d0d0d0; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button-primary { color: var(--ink); background: var(--white); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.button-primary:hover { background: var(--paper); box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.button-secondary { color: var(--white); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.34); backdrop-filter: blur(8px); }
.button-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); }
.button-arrow { font-family: Arial, sans-serif; transition: transform .25s ease; }
.button:hover .button-arrow { transform: translate(-2px, 2px); }
html[dir="ltr"] .button-arrow { transform: rotate(-90deg); }
html[dir="ltr"] .button:hover .button-arrow { transform: rotate(-90deg) translate(-2px, 2px); }
.hero-signals { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: var(--silver); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.hero-signals i { width: 4px; height: 4px; background: var(--silver); border-radius: 50%; opacity: .55; }
.hero-visual { min-width: 720px; margin-inline-start: -30px; position: relative; align-self: center; transform: translateY(36px); }
.hero-visual img { width: 100%; height: auto; max-width: 100%; position: relative; z-index: 3; object-fit: contain; object-position: center; filter: drop-shadow(0 34px 28px rgba(0,0,0,.5)); animation: car-in 1.15s var(--ease) both .15s; }
.hero-number { position: absolute; inset-block-start: -76px; inset-inline-end: 5%; z-index: 0; color: rgba(255,255,255,.035); font: 700 230px/1 Arial, sans-serif; letter-spacing: -.08em; }
.speed-lines { position: absolute; inset: 12% auto auto -5%; width: 45%; z-index: 1; transform: skewY(-8deg); }
[dir="rtl"] .speed-lines { inset-inline-start: -5%; inset-inline-end: auto; }
.speed-lines span { display: block; height: 1px; margin-block: 16px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45)); }
.speed-lines span:nth-child(2) { width: 76%; margin-inline-start: 24%; }
.speed-lines span:nth-child(3) { width: 55%; margin-inline-start: 45%; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.orbit-one { width: 580px; height: 580px; inset: -10% auto auto 18%; }
.orbit-two { width: 390px; height: 390px; inset: 4% auto auto 29%; }
.car-shadow { width: 72%; height: 35px; position: absolute; inset: auto 12% 11%; z-index: 2; background: rgba(0,0,0,.82); filter: blur(22px); border-radius: 50%; }
.car-reflection { width: 60%; height: 80px; position: absolute; inset: auto 20% -3%; z-index: 1; opacity: .18; background: linear-gradient(to bottom, #bdbdbd, transparent); filter: blur(14px); border-radius: 50%; }
.scroll-indicator { position: absolute; inset: auto 50% 52px auto; transform: translateX(50%); z-index: 5; display: grid; justify-items: center; gap: 8px; color: var(--silver); font-size: 10px; letter-spacing: .08em; }
.scroll-indicator i { width: 1px; height: 38px; background: linear-gradient(var(--silver), transparent); animation: scroll-pulse 1.8s ease infinite; }

/* Shared section details */
.section-index { margin-bottom: 14px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-index.inverse { color: #a9a9a9; }
.section h2, .cta-card h2 { font-size: clamp(34px, 4vw, 55px); letter-spacing: -.035em; }
.lead { margin-top: 24px; color: var(--graphite); font-size: 19px; line-height: 2; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(340px, .72fr); gap: 60px; align-items: end; margin-bottom: 54px; }
.section-heading > p { padding-bottom: 5px; color: #c8c8c8; line-height: 1.9; }
.section-heading.light > p { color: var(--muted); }

/* About */
.about { background: var(--paper); }
.about::before { content: "SMART DRIVING"; position: absolute; inset-block-start: 7%; inset-inline-start: -1%; color: rgba(17,17,17,.025); font: 700 clamp(70px, 12vw, 180px)/1 Arial, sans-serif; white-space: nowrap; letter-spacing: -.06em; }
.about-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: 90px; align-items: center; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 38px; }
.value-card { min-height: 136px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1px solid var(--border); border-radius: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card span { color: var(--silver); font: 700 11px/1 Arial, sans-serif; }
.value-card h3 { font-size: 15px; line-height: 1.45; }
.about-visual { position: relative; }
.image-frame { aspect-ratio: 4/4.1; overflow: hidden; background: #222; border-radius: var(--radius-lg) var(--radius-lg) 90px var(--radius-lg); box-shadow: 28px 30px 0 #e8e8e8; }
[dir="ltr"] .image-frame { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 90px; box-shadow: -28px 30px 0 #e8e8e8; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.about-visual:hover img { transform: scale(1.025); }
.about-visual figcaption { width: min(84%, 410px); position: absolute; inset: auto auto 23px -22px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--white); background: rgba(17,17,17,.91); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; backdrop-filter: blur(12px); }
[dir="rtl"] .about-visual figcaption { inset-inline-start: -22px; inset-inline-end: auto; }
.about-visual figcaption span { font-size: 13px; }
.about-visual figcaption b { color: var(--silver); font: 700 10px/1 Arial, sans-serif; white-space: nowrap; }

/* Services */
.services { color: var(--white); background: var(--ink); }
.services::before, .why::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(120deg, transparent 48%, rgba(255,255,255,.05) 49%, transparent 50%); background-size: 56px 56px; pointer-events: none; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; position: relative; z-index: 1; }
.service-card { min-height: 370px; padding: 30px 26px; position: relative; background: rgba(255,255,255,.025); border-inline-end: 1px solid rgba(255,255,255,.12); transition: background .3s ease, transform .3s ease; }
.service-card:last-child { border-inline-end: 0; }
.service-card:hover { background: #252525; transform: translateY(-6px); }
.service-icon { width: 65px; height: 65px; display: grid; place-items: center; color: #c7c7c7; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; }
.service-icon svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-number { display: block; margin: 70px 0 12px; color: #777; font: 700 11px/1 Arial, sans-serif; }
.service-card h3 { min-height: 54px; font-size: 20px; text-transform: uppercase; }
.service-card p { margin-top: 16px; color: #ababab; font-size: 14px; line-height: 1.85; }

/* Categories */
.categories { background: var(--white); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.category-card { min-height: 300px; padding: 14px 14px 22px; display: flex; flex-direction: column; position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(17,17,17,.045); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(17,17,17,.11); border-color: var(--silver); }
.category-art { width: 100%; height: 200px; padding: 24px; display: grid; place-items: center; overflow: hidden; background: var(--white); border: 1px solid #ededed; border-radius: 13px; box-shadow: inset 0 1px 12px rgba(17,17,17,.025); }
.category-art .part-image { width: 150px; height: auto; max-width: 82%; max-height: 124px; object-fit: contain; object-position: center; image-rendering: auto; transition: transform .3s var(--ease); }
.category-art .part-image-small { width: 110px; max-width: 64%; }
.category-card:hover .part-image { transform: scale(1.04); }
.category-card > span { display: block; margin-top: 18px; color: var(--silver); font: 700 10px/1 Arial, sans-serif; }
.category-card h3 { min-height: 48px; margin-top: 9px; font-size: 17px; line-height: 1.45; }

/* Why */
.why { color: var(--white); background: var(--graphite); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; position: relative; z-index: 1; }
.why-intro { position: sticky; top: 110px; align-self: start; }
.why-intro p:last-child { margin-top: 24px; color: #c9c9c9; line-height: 1.9; }
.advantages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.advantage { min-height: 210px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); transition: background .3s ease, transform .3s ease; }
.advantage:hover { background: rgba(255,255,255,.1); transform: translateY(-5px); }
.advantage span { color: #aaa; font: 700 12px/1 Arial, sans-serif; }
.advantage h3 { max-width: 230px; font-size: 23px; line-height: 1.45; }

/* CTA */
.cta-section { padding: 86px 0; background: var(--paper); }
.cta-card { min-height: 350px; padding: 58px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; position: relative; overflow: hidden; color: var(--white); background: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.cta-card::after { content: "SD"; position: absolute; inset: auto auto -70px -30px; color: rgba(255,255,255,.035); font: 700 260px/1 Arial, sans-serif; letter-spacing: -.12em; }
[dir="ltr"] .cta-card::after { inset-inline-start: auto; inset-inline-end: -30px; }
.cta-card > div { position: relative; z-index: 2; }
.cta-card h2 { max-width: 720px; }
.cta-card p:not(.eyebrow) { max-width: 670px; margin-top: 18px; color: #bcbcbc; }
.cta-actions { display: grid; gap: 10px; min-width: 190px; }
.button-light { color: var(--ink); background: var(--white); }
.button-whatsapp { color: var(--white); background: transparent; border-color: rgba(255,255,255,.28); }
.button-whatsapp:hover { background: rgba(255,255,255,.09); }
.cta-line { width: 220px; height: 220px; position: absolute !important; inset: -90px -40px auto auto; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }

/* Contact */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.contact-cards { display: grid; gap: 10px; margin-top: 36px; }
.contact-card { min-height: 86px; padding: 16px; display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.contact-card:hover { transform: translateY(-3px); border-color: var(--silver); box-shadow: var(--shadow); }
.contact-symbol { width: 47px; height: 47px; display: grid; place-items: center; flex: 0 0 auto; color: var(--white); background: var(--ink); border-radius: 12px; font: 700 18px/1 Arial, sans-serif; }
.contact-card > span:last-child { display: grid; line-height: 1.5; }
.contact-card small { color: var(--muted); font-size: 11px; }
.contact-card b { font-size: 15px; }
.contact-card em { color: var(--muted); font-size: 12px; font-style: normal; }
.contact-form { padding: 36px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field textarea { width: 100%; color: var(--ink); background: #fbfbfb; border: 1px solid var(--border); border-radius: 11px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field input { height: 52px; padding: 0 14px; }
.field textarea { min-height: 145px; padding: 13px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(64,64,64,.1); }
.field [aria-invalid="true"] { border-color: #7c2626; }
.field-error { min-height: 18px; color: #7c2626; font-size: 11px; line-height: 1.5; }
.contact-form .button-primary { min-width: 170px; color: var(--white); background: var(--ink); }
.form-status { min-height: 25px; margin-top: 14px; font-size: 13px; }
.form-status.success { color: #1b6542; }
.form-status.error { color: #7c2626; }
.form-honeypot { position: absolute !important; inset: -10000px auto auto -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { color: var(--white); background: #0b0b0b; }
.footer-main { padding: 74px 0 55px; display: grid; grid-template-columns: 1.4fr .65fr .8fr; gap: 90px; }
.brand-footer { margin-bottom: 24px; }
.footer-brand > p { max-width: 480px; color: #aaa; font-size: 14px; }
.footer-brand .company-en, .footer-brand .company-ar { margin-top: 14px; color: #777; font-size: 11px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-main h2 { margin-bottom: 13px; color: #777; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a, .footer-contact a { color: #c2c2c2; font-size: 14px; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); transform: translateX(-3px); }
[dir="ltr"] .footer-links a:hover, [dir="ltr"] .footer-contact a:hover { transform: translateX(3px); }
.footer-lang { margin-top: 8px; padding-inline: 0; color: var(--white); }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #747474; border-top: 1px solid #252525; font-size: 11px; }
.footer-bottom p:last-child { direction: ltr; letter-spacing: .12em; }
.footer-bottom p:last-child span { margin: 0 7px; }
.back-to-top { width: 46px; height: 46px; position: fixed; inset: auto auto 22px 22px; z-index: 80; display: grid; place-items: center; color: var(--white); background: var(--ink); border: 1px solid #555; border-radius: 13px; box-shadow: 0 10px 25px rgba(0,0,0,.22); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease; }
[dir="ltr"] .back-to-top { inset-inline-start: auto; inset-inline-end: 22px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes car-in { from { opacity: 0; transform: translateX(90px) scale(.96); } to { opacity: 1; transform: none; } }
[dir="rtl"] .hero-visual img { animation-name: car-in-rtl; }
@keyframes car-in-rtl { from { opacity: 0; transform: translateX(-90px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes scroll-pulse { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* Responsive */
@media (max-width: 1100px) {
  :root { --container: min(100% - 36px, 960px); }
  .desktop-nav { gap: 19px; }
  .header-contact { display: none; }
  .hero { min-height: 760px; }
  .hero-grid { grid-template-columns: .9fr 1.1fr; }
  .hero-visual { min-width: 580px; margin-inline-start: -20px; }
  .about-grid { gap: 55px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2) { border-inline-end: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { gap: 50px; }
}

@media (max-width: 820px) {
  :root { --header-h: 74px; --container: min(100% - 32px, 720px); }
  .section { padding: 90px 0; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .mobile-panel { display: block; }
  .header-contact { display: none; }
  .hero { height: auto; min-height: 900px; align-items: stretch; }
  .hero::after { height: 130px; bottom: -10%; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 126px; padding-bottom: 110px; }
  .hero-copy { max-width: 650px; }
  .hero h1, html[lang="ar"] .hero h1 { font-size: clamp(38px, 7.3vw, 57px); }
  .hero-visual { width: 100%; min-width: 0; margin: 20px 0 0; transform: none; }
  .hero-number { top: -25px; font-size: 150px; }
  .orbit-one { width: 440px; height: 440px; }
  .orbit-two { width: 300px; height: 300px; }
  .scroll-indicator { display: none; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 65px; }
  .about-copy { max-width: 680px; }
  .image-frame { aspect-ratio: 16/11; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { max-width: 620px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-art { height: 190px; }
  .why-intro { position: static; }
  .cta-card { grid-template-columns: 1fr; padding: 45px; gap: 34px; }
  .cta-actions { display: flex; flex-wrap: wrap; }
  .footer-main { grid-template-columns: 1.25fr .75fr; gap: 55px; }
  .footer-contact { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  :root { --container: calc(100% - 28px); }
  .section { padding: 76px 0; }
  .brand-mark { width: 43px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { display: none; }
  .header-actions { gap: 6px; }
  .lang-switch { padding: 4px; }
  .switch-track { display: none; }
  .lang-current { display: none; }
  .lang-alt { min-width: 26px; text-align: center; }
  .hero { min-height: 790px; }
  .hero-grid { padding-top: 118px; padding-bottom: 88px; }
  .eyebrow { margin-bottom: 18px; font-size: 11px; }
  .eyebrow > span:first-child { width: 28px; }
  .hero h1, html[lang="ar"] .hero h1 { font-size: clamp(34px, 10.6vw, 46px); line-height: 1.22; }
  .hero-text { margin-top: 18px; font-size: 15px; line-height: 1.8; }
  .hero-actions { margin-top: 25px; }
  .hero-actions .button { width: 100%; }
  .hero-signals { display: none; }
  .hero-visual { width: 100%; margin: 30px 0 -15px; }
  .hero-number { display: none; }
  .speed-lines { width: 60%; }
  .orbit-one { width: 310px; height: 310px; top: 2%; }
  .orbit-two { width: 220px; height: 220px; top: 9%; }
  .section h2, .cta-card h2 { font-size: 35px; }
  .lead { font-size: 16px; line-height: 1.9; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 92px; }
  .image-frame { aspect-ratio: 1/1; box-shadow: 14px 16px 0 #e8e8e8; }
  .about-visual figcaption { width: calc(100% - 18px); inset-inline-start: -7px; padding: 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .service-card:last-child { border-bottom: 0; }
  .card-number { margin-top: 42px; }
  .category-grid { grid-template-columns: 1fr; gap: 12px; }
  .category-card { min-height: 292px; padding: 12px 12px 19px; }
  .category-art { height: 190px; padding: 22px; }
  .category-art .part-image { width: 150px; max-height: 124px; }
  .category-art .part-image-small { width: 110px; }
  .category-card h3 { min-height: 0; font-size: 16px; line-height: 1.5; }
  .category-card > span { margin-top: 14px; }
  .advantages { grid-template-columns: 1fr; }
  .advantage { min-height: 155px; }
  .cta-section { padding: 55px 0; }
  .cta-card { padding: 34px 24px; border-radius: 22px; }
  .cta-actions { display: grid; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; border-radius: 20px; }
  .contact-form .submit-button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 44px; padding-top: 60px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom p:last-child { font-size: 9px; }
  .back-to-top { inset-block-end: 14px; inset-inline-start: 14px; }
  [dir="ltr"] .back-to-top { inset-inline-start: auto; inset-inline-end: 14px; }
}

@media (max-width: 390px) {
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 40px; }
  .brand-copy strong { font-size: 13px; }
  .menu-toggle { width: 42px; height: 42px; }
  .hero h1, html[lang="ar"] .hero h1 { font-size: 34px; }
  .category-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
