/* =====================================================================
   AUTO PORTER BAHRAIN styles: "Road Signs" version
   A site you cannot get lost on. Bahrain's blue bilingual road signs carry
   the navigation: the four services are exits on an overhead gantry, every
   page head is a sign (Arabic over English), and WhatsApp is the red sign.
   Sign blue is the logo's royal blue; Bahrain red only for WhatsApp, calls
   and emergencies; navy for text on the cool concrete ground; asphalt and
   lane paint for the road strips.
   Sign craft: rounded panel, white border inset 3px, micro-prism texture,
   white pictogram squares, exit tabs, arrows. Corners: signs 12px, sign
   buttons 10px, pictograms 8px, photos 18px.
   Type: Overpass (Highway Gothic lettering) for Latin, Almarai for Arabic,
   one stack so each script picks its own face. Phosphor Bold icons.
   ===================================================================== */
:root {
  --ground: #EEF1F5;
  --surface: #FFFFFF;
  --surface-2: #E5EAF1;
  --line: #D3DAE5;
  --line-2: #B7C1D1;
  --ink: #0B1734;
  --muted: #4A5772;
  --dim: #7C88A0;
  --navy: #0B1C44;
  --sign: #0A4FAE;
  --sign-hi: #1A62C6;
  --sign-deep: #073D88;
  --red: #D6162D;
  --red-hi: #EA2A41;
  --red-deep: #A30F21;
  --asphalt: #1E2228;
  --asphalt-2: #2A2F37;
  --paint: #F2F4F7;
  --steel-hi: #D2D8E0;
  --steel-lo: #8892A0;
  --beam: rgba(228, 236, 255, .9);
  --led: rgba(255, 43, 68, .5);
  --amber: #FFB020;
  --shadow: 0 18px 36px -24px rgba(6, 9, 16, .55);
  --shadow-sm: 0 10px 22px -16px rgba(6, 9, 16, .42);
  --shadow-red: 0 14px 28px -16px rgba(6, 9, 16, .5);
  --prism: radial-gradient(rgba(255, 255, 255, .075) 1px, transparent 1.4px);
  --font: "Overpass", "Almarai", "Segoe UI", Tahoma, sans-serif;
  --lcd: "Overpass", "Almarai", sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --sw: -1;
  color-scheme: light;
}
[dir="ltr"] { --sw: 1; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[data-pending] body { visibility: hidden; }
html { background: var(--ground); -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; scrollbar-color: var(--sign) var(--ground); }
body {
  margin: 0; min-height: 100svh; display: flex; flex-direction: column; overflow-x: clip;
  background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.8; caret-color: var(--sign);
}
[lang="en"] body { line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
::selection { background: var(--sign); color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
button, a, summary, label, [role="button"] { touch-action: manipulation; }
input, textarea, select { font: inherit; font-size: 16px; color: inherit; }
:focus-visible { outline: 3px solid var(--sign-hi); outline-offset: 3px; }
.hero :focus-visible, .road-head :focus-visible, .sos :focus-visible, .foot :focus-visible, .board :focus-visible, .sign--brands :focus-visible { outline-color: #fff; }
[tabindex="-1"]:focus { outline: none; }
bdi { unicode-bidi: isolate; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.ph-bold { line-height: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; z-index: 60; inset-inline-start: 12px; top: -60px; padding: 10px 16px; border-radius: 10px; background: var(--sign); color: #fff; font-weight: 800; }
.skip:focus { top: calc(14px + env(safe-area-inset-top, 0px)); }
[dir="rtl"] .ico-back { transform: scaleX(-1); }
[dir="ltr"] .ico-next { transform: scaleX(-1); }
.tap { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 200ms ease, filter 160ms ease; }
.tap:active { transform: scale(.97); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.rivets::before, .screws::before { content: none; }

/* ---------- The sign ---------- */
.sign {
  position: relative; isolation: isolate;
  color: #fff; background-color: var(--sign); background-image: var(--prism); background-size: 6px 6px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5.5px #fff, var(--shadow);
}
/* retroreflective sweep: the headlights catch the sheeting once */
.sign::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, .5) 48%, rgba(220, 232, 255, .22) 53%, transparent 62% 100%) 100% 0 / 320% 100% no-repeat; }
.gantry.is-lit .sign::after { animation: sheen 1150ms var(--ease-in-out) forwards; animation-delay: calc(var(--i, 0) * 110ms); }
@keyframes sheen { 0% { opacity: 1; background-position: 100% 0; } 100% { opacity: 1; background-position: 0% 0; } }
.sign--red { background-color: var(--red); box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 5.5px #fff, var(--shadow-red); }
.sign--white { background-color: #fff; background-image: none; color: var(--navy); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--navy), var(--shadow-sm); }
.sign-alt, .exit-alt { font-family: "Overpass", "Almarai", sans-serif; }
.sign-alt:lang(ar), .exit-alt:lang(ar) { font-family: "Almarai", "Overpass", sans-serif; }

/* pictogram: the white square on a blue sign, like a road service sign */
.exit-pict { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: var(--sign); font-size: 27px; }

/* sign buttons (and the scripts' .btn, which share the look) */
.sign-btn, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 10px 22px; border-radius: 10px; font-family: var(--font); font-weight: 800; font-size: 17px; line-height: 1.25; text-align: center; text-wrap: balance; }
.sign-btn .ph-bold, .btn .ph-bold { font-size: 23px; }
.sign-btn--sm, .btn--sm { min-height: 46px; padding-inline: 16px; font-size: 15px; }
.sign-btn--sm .ph-bold, .btn--sm .ph-bold { font-size: 19px; }
.sign-btn--xl, .btn--xl { width: 100%; min-height: 64px; font-size: 19px; }
.btn { position: relative; overflow: hidden; border: 0; }
.btn--red { color: #fff; background-color: var(--red); box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 5.5px #fff, var(--shadow-red); }
.btn--blue { color: #fff; background-color: var(--sign); box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5.5px #fff, var(--shadow-sm); }
.btn--line, .btn--steel, .btn--ghost, .btn--light { color: var(--navy); background: #fff; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--navy), var(--shadow-sm); }
.btn:disabled, .sign-btn:disabled { opacity: .55; cursor: progress; }
.tag {
  --swing: off;
  display: inline-flex; align-items: center; padding: 0 12px; border: 3px solid currentColor; border-radius: 8px;
  color: rgba(255, 255, 255, .75); font-family: var(--font); font-weight: 900; font-size: 15px; letter-spacing: .06em; line-height: 1.5;
}
.tag small { display: none; }

/* ---------- Type ---------- */
.h1 { font-weight: 800; font-size: clamp(32px, 7.6vw, 58px); line-height: 1.3; color: var(--navy); }
.h2 { font-weight: 800; font-size: clamp(27px, 5.8vw, 42px); line-height: 1.32; margin-bottom: 26px; color: var(--navy); }
.h3 { font-weight: 800; font-size: 23px; line-height: 1.35; color: var(--navy); }
[lang="en"] .h1, [lang="en"] .h2 { line-height: 1.12; letter-spacing: -.01em; }
[lang="en"] .h3 { line-height: 1.25; }
.lede { color: var(--muted); font-size: 18px; line-height: 1.8; max-width: 48ch; }
[lang="en"] .lede { line-height: 1.6; }

/* ---------- Header ---------- */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-badge { width: 44px; height: 44px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--sign); }
.brand-mark { font-weight: 900; font-size: 20px; letter-spacing: .1em; white-space: nowrap; color: var(--navy); }
.nav { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 12px; border-radius: 8px; font-weight: 700; font-size: 15.5px; color: var(--muted); white-space: nowrap; }
.nav a[aria-current="page"] { color: #fff; background: var(--sign); box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.5px #fff; }
.bar-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.bar-call { display: none; width: 44px; height: 44px; border-radius: 10px; place-items: center; background: var(--surface-2); color: var(--sign); font-size: 20px; }
.bar-actions .bar-wa { display: none; }
.lang { min-width: 52px; min-height: 44px; padding-inline: 12px; border-radius: 10px; background: #fff; text-align: center; font-weight: 800; font-size: 15px; line-height: 1; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.lang[lang="en"] { letter-spacing: .08em; }
.menu-btn { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--sign); color: #fff; font-size: 22px; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.5px #fff; }
.menu { border-top: 1px solid var(--line); background: var(--surface); opacity: 0; transform: translateY(-6px); transition: opacity 160ms ease, transform 220ms var(--ease-out); }
.menu.open { opacity: 1; transform: none; }
.menu-in { display: grid; padding-block: 6px 20px; }
.menu-in > a:not(.btn) { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 19px; color: var(--navy); }
.menu-in > a[aria-current="page"] { color: var(--sign); }
.menu-wa { margin-top: 16px; }


/* ---------- Gantry: a steel truss with end posts; the signs hang from it on brackets ---------- */
.gantry { position: relative; padding-top: 74px; }
.beam { position: absolute; z-index: 0; top: 14px; left: 0; right: 0; height: 44px; pointer-events: none;
  background:
    linear-gradient(180deg, #F1F4F8 0%, #B9C2CD 45%, #6E7886 100%) top / 100% 8px no-repeat,
    linear-gradient(180deg, #F1F4F8 0%, #B9C2CD 45%, #6E7886 100%) bottom / 100% 8px no-repeat,
    linear-gradient(180deg, transparent 8px, rgba(20, 26, 36, .55) 8px calc(100% - 8px), transparent calc(100% - 8px)),
    repeating-linear-gradient(56deg, transparent 0 15px, #C3CBD5 15px 19px, #7D8796 19px 20px, transparent 20px 40px),
    repeating-linear-gradient(-56deg, transparent 0 15px, #6F7987 15px 18px, transparent 18px 40px);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .4)); }
.gantry-in { position: relative; z-index: 1; display: grid; gap: 14px; }
/* brackets: two steel hangers from the bottom chord down to each hung sign */
.gantry .sign--main::before, .gantry .sign--exits::before, .gantry .sign--page::before {
  content: ""; position: absolute; z-index: -1; bottom: calc(100% - 4px); height: 22px; left: 16%; right: 16%;
  background: linear-gradient(90deg, #8A94A2 0 7px, transparent 7px calc(100% - 7px), #8A94A2 calc(100% - 7px)),
              linear-gradient(90deg, #DDE3EA 0 2px, transparent 2px calc(100% - 7px), #DDE3EA calc(100% - 7px) calc(100% - 5px), transparent calc(100% - 5px));
}
/* end posts: lattice legs carrying the beam to the ground */
.post { display: none; position: absolute; z-index: 0; top: 10px; bottom: 0; width: 26px; pointer-events: none;
  background:
    linear-gradient(90deg, #F1F4F8, #9CA6B3 50%, #646E7C) left / 6px 100% no-repeat,
    linear-gradient(90deg, #F1F4F8, #9CA6B3 50%, #646E7C) right / 6px 100% no-repeat,
    repeating-linear-gradient(35deg, transparent 0 10px, #9AA4B1 10px 13px, transparent 13px 26px);
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
.post--start { inset-inline-start: 2.5vw; }
.post--end { inset-inline-end: 2.5vw; }

/* ---------- Home hero: the gantry over the road ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 66px); padding-bottom: 36px; background: var(--asphalt); color: #fff; }
.hero .cine-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(.85) contrast(1.05) brightness(.82); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 14, 30, .62) 0%, rgba(8, 14, 30, .18) 34%, rgba(8, 14, 30, .5) 68%, rgba(8, 14, 30, .9) 100%); }
.gantry-in { grid-template-areas: "exits" "main" "act"; }
.sign--main { --i: 1; grid-area: main; display: grid; gap: 8px; padding: 22px 24px 24px; }
.sign-badge { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 3px #fff; margin-bottom: 4px; }
.sign-title { font-weight: 800; font-size: clamp(27px, 6.6vw, 56px); line-height: 1.3; color: #fff; }
[lang="en"] .sign-title { line-height: 1.08; letter-spacing: -.01em; }
.sign--main .sign-alt { font-weight: 700; font-size: clamp(15px, 2.4vw, 22px); line-height: 1.35; color: rgba(255, 255, 255, .88); }
.hero-act { grid-area: act; display: grid; gap: 14px; padding-block: 4px 8px; }
.hero .lede { color: #DCE4F0; font-size: 17px; max-width: 46ch; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.cta-row { display: grid; gap: 10px; }

/* the exits board: one panel, four destinations divided by white rules */
.sign--exits { --i: 0; grid-area: exits; padding: 9px; }
.exits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5px; overflow: hidden; border-radius: 6px; background: #fff; }
.exit { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; min-height: 96px; padding: 10px 4px 10px; background-color: var(--sign); background-image: var(--prism); background-size: 6px 6px; text-align: center; color: #fff; }
.exit-tab { display: none; }
.exit-arrow { font-size: 18px; }
.exit .exit-pict { width: 34px; height: 34px; font-size: 21px; border-radius: 7px; }
.exit-name, .exit-alt { display: none; }
.exit-short { font-weight: 800; font-size: 12.5px; line-height: 1.25; }
.exit-num { font-family: "Overpass", sans-serif; font-weight: 800; font-size: 11.5px; line-height: 1.2; letter-spacing: .02em; color: rgba(255, 255, 255, .9); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Emergency: the roadside SOS ---------- */
.sos { position: relative; background: var(--asphalt); color: #fff; }
.sos::before, .sos::after { content: ""; position: absolute; left: 0; right: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--paint) 0 34px, transparent 34px 62px); opacity: .7; }
.sos::before { top: 10px; } .sos::after { bottom: 10px; }
.sos-in { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 16px; padding-block: 32px; }
.sos-sign { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 10px; background: var(--red); color: #fff; font-size: 28px; box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 5px #fff; }
.sos-text { display: grid; gap: 2px; min-width: 0; }
.sos-title { font-weight: 800; font-size: 21px; line-height: 1.3; }
.sos-text p { color: #C2CBDA; font-size: 15.5px; }
.sos-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sos-actions .sign-btn { padding-inline: 10px; font-size: 15.5px; }

/* ---------- Services: a sign in front of each job ---------- */
.sec { padding-block: 76px 8px; }
.services { display: grid; gap: 14px; }
.svc { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; min-height: 250px; padding: 14px; border-radius: 18px; background: var(--asphalt); box-shadow: var(--shadow); }
.svc-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transition: transform 700ms var(--ease-out); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 14, 30, 0) 30%, rgba(8, 14, 30, .55) 100%); }
.sign--svc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; }
.svc-text { display: grid; gap: 1px; min-width: 0; }
.svc-name { font-weight: 800; font-size: 19px; line-height: 1.3; }
.svc-line { color: rgba(255, 255, 255, .86); font-size: 14px; line-height: 1.45; }
.svc-num { margin-top: 2px; font-family: "Overpass", sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.svc-go { font-size: 22px; transition: transform 200ms var(--ease-out); }
.svc--parts .svc-img { object-position: 50% 40%; }
.svc--traffic .svc-img { object-position: 50% 45%; }
.svc--workshop .svc-img { object-position: 50% 25%; }

/* ---------- How to order: markers on the road, lit as the car passes ---------- */
.sec--road .h2 { margin-bottom: 22px; }
.road-strip { position: relative; overflow: hidden; height: 76px; background: linear-gradient(var(--paint), var(--paint)) left 0 top 9px / 100% 3px no-repeat, linear-gradient(var(--paint), var(--paint)) left 0 bottom 9px / 100% 3px no-repeat, var(--asphalt); }
.road-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--paint) 0 38px, transparent 38px 76px); opacity: .85; }
.road { --W: calc(min(100vw, 1240px) - 32px); }
/* the car starts at the first marker and stops at the last one */
.road-car { position: absolute; top: 15px; left: calc((100vw - var(--W)) / 2 + var(--W) / 6 - 24px); width: 48px; height: 24px; border-radius: 7px 9px 9px 7px; background: linear-gradient(90deg, #E9EDF3, #FFFFFF 60%, #DCE2EA); box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
[dir="rtl"] .road-car { left: auto; right: calc((100vw - var(--W)) / 2 + var(--W) / 6 - 24px); scale: -1 1; }
.road-car::before { content: ""; position: absolute; left: 100%; top: 50%; width: 70px; height: 46px; margin-top: -23px; background: radial-gradient(60% 50% at 0% 50%, rgba(255, 245, 210, .55), transparent 75%); }
.road-car::after { content: ""; position: absolute; left: 2px; top: 2px; bottom: 2px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--red-hi) 0 34%, transparent 34% 66%, var(--red-hi) 66%); }
html.motion .road-car { transition: translate 2.6s cubic-bezier(.45, 0, .25, 1) .3s; }
/* translate (not transform) so the slide runs before the RTL mirror (scale) is applied */
.road.is-in .road-car, html:not(.motion) .road-car { translate: calc(var(--sw) * var(--W) * 2 / 3) 0; }
.road-steps { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-block: 0; }
.road-steps li { display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; }
.marker { position: relative; z-index: 1; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--dim); font-size: 25px; box-shadow: inset 0 0 0 2px var(--line-2), var(--shadow-sm); transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease; }
.road.is-in .marker, html:not(.motion) .marker { background: var(--sign); color: #fff; box-shadow: inset 0 0 0 2.5px var(--sign), inset 0 0 0 4.5px #fff, var(--shadow-sm); }
html.motion .road-steps li:nth-child(1) .marker { transition-delay: .35s; }
html.motion .road-steps li:nth-child(2) .marker { transition-delay: 1.6s; }
html.motion .road-steps li:nth-child(3) .marker { transition-delay: 2.8s; }
.road-steps b { margin-top: 6px; font-weight: 800; font-size: 19px; line-height: 1.35; color: var(--navy); }
.road-steps li > span:last-child { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 26ch; }

/* ---------- Why: one multi-destination board ---------- */
.board { display: grid; gap: 4px; padding: 26px 22px 14px; color: #fff; background-color: var(--sign); background-image: var(--prism); background-size: 6px 6px; border-radius: 14px; box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5.5px #fff, var(--shadow); }
.board-title { padding-bottom: 14px; font-weight: 800; font-size: clamp(25px, 5.4vw, 38px); line-height: 1.3; border-bottom: 2.5px solid rgba(255, 255, 255, .9); }
.board-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.board-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 18px; }
.board-rows li + li { border-top: 1.5px solid rgba(255, 255, 255, .35); }
.board-text { display: grid; gap: 2px; }
.board-text b { font-weight: 800; font-size: 19px; line-height: 1.35; }
.board-text span { color: #D9E4F6; font-size: 15.5px; line-height: 1.6; }
.board-arrow { font-size: 34px; }

/* ---------- Brands: the destinations board ---------- */
.sign--brands { padding: 18px; }
/* 25 brands: five columns at every width, so no row is left half empty. */
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.logo-cell { display: grid; place-items: center; aspect-ratio: 1.2; border-radius: 8px; color: #fff; transition: background-color 160ms ease, color 160ms ease; }
.logo-cell svg { width: 46%; height: 52%; }

/* ---------- Visit: the map is the surface; the destination sign stands on it ---------- */
.satnav { display: grid; gap: 22px; }
.satnav-map { position: relative; min-height: 300px; overflow: hidden; border-radius: 18px; background: #E4EAF3; box-shadow: var(--shadow-sm); }
.satnav-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-sea { fill: #C9DBF2; }
.m-blocks rect { fill: #D8E0EC; }
.m-road path { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.m-road--minor path { stroke: #F4F7FB; stroke-width: 5; }
.m-route-glow { fill: none; stroke: rgba(10, 79, 174, .18); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.m-route { fill: none; stroke: var(--sign); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
html.motion .satnav .m-route { transition: stroke-dashoffset 1.8s var(--ease-in-out) .3s; }
html.motion .satnav:not(.is-in) .m-route { stroke-dashoffset: 100; }
.m-start { fill: var(--navy); stroke: #fff; stroke-width: 3; }
.m-dot { fill: var(--red); }
.m-core { fill: #fff; }
.m-pulse { fill: none; stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
html.motion .m-pulse { animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }
.satnav-eta { position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px; border-radius: 8px; background: var(--sign); color: #fff; font-weight: 900; font-size: 13px; letter-spacing: .12em; line-height: 1.8; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.5px #fff; }
.satnav-eta b { font-weight: 900; color: #fff; }
.satnav-eta .ph-bold { font-size: 14px; }
.satnav-map .sign--dest { position: absolute; inset-inline: 14px; bottom: 14px; }
.satnav-info { display: grid; gap: 16px; justify-items: start; align-content: center; }
.sign--dest { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; }
.dest-text { display: grid; gap: 2px; }
.dest-text b { font-weight: 800; font-size: clamp(22px, 4.4vw, 30px); line-height: 1.3; }
.dest-text .sign-alt { font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, .88); }
.dest-arrow { font-size: 38px; }
.facts { display: grid; gap: 14px; margin: 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; line-height: 1.6; font-weight: 600; color: var(--navy); }
.facts a { color: var(--sign); text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Close ---------- */
.final { margin-top: 84px; padding-block: 70px 76px; background: var(--asphalt); position: relative; }
.final::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--paint) 0 38px, transparent 38px 76px); opacity: .25; }
.final-in { position: relative; display: grid; justify-items: center; gap: 18px; text-align: center; }
.sign--final { display: grid; justify-items: center; gap: 8px; width: min(100%, 620px); padding: 30px 26px 30px; }
.final-badge { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 3px #fff; margin-bottom: 6px; }
.final-title { font-weight: 800; font-size: clamp(28px, 6vw, 44px); line-height: 1.25; }
.sign--final .sign-alt { font-weight: 700; font-size: 17px; color: rgba(255, 255, 255, .88); }
.final-body { margin-top: 6px; color: #D9E4F6; max-width: 40ch; }
.final .cta-row { width: min(100%, 620px); }
.final + .foot, body[data-page="home"] .foot { margin-top: 0; }

/* ---------- Inner page heads: one gantry sign over the page photo ---------- */
.road-head { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: space-between; gap: 40px; min-height: clamp(380px, 54svh, 560px); padding-bottom: 36px; background: var(--asphalt); color: #fff; }
.road-head .cine-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.04) brightness(.8); }
.road-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 14, 30, .5) 0%, rgba(8, 14, 30, .2) 40%, rgba(8, 14, 30, .9) 100%); }
.road-head--plain { min-height: 0; gap: 26px; }
.road-head--plain::before { background: repeating-linear-gradient(90deg, rgba(242, 244, 247, .35) 0 38px, transparent 38px 76px) left bottom 18px / 100% 4px no-repeat; }
.road-head--traffic .cine-bg { object-position: 50% 40%; }
.road-head--workshop .cine-bg { object-position: 50% 25%; }
.road-head--about .cine-bg { object-position: 50% 30%; }
.road-head--towing .cine-bg { object-position: 50% 55%; }
.sign--page { --i: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; max-width: 760px; padding: 18px 20px; }
.sign--page .exit-pict { width: 54px; height: 54px; font-size: 31px; }
.sign-text { display: grid; gap: 2px; min-width: 0; }
.sign--page .sign-title { font-size: clamp(25px, 5.6vw, 44px); }
.sign--page .sign-alt { font-weight: 700; font-size: clamp(14px, 2.2vw, 19px); color: rgba(255, 255, 255, .88); }
.sign-arrow { font-size: 38px; }
.road-head .page-hero-copy { display: grid; gap: 16px; justify-items: start; max-width: 640px; }
.road-head .lede { color: #DCE4F0; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.road-head .cta-row { margin-top: 2px; }
.bh-plate { display: inline-flex; align-items: stretch; height: 60px; border-radius: 8px; background: #F4F5F1; color: #111; box-shadow: inset 0 0 0 2px #1A1D21, 0 0 0 2px #F4F5F1, 0 20px 30px -14px rgba(0, 0, 0, .6); overflow: hidden; rotate: -2deg; direction: ltr; }
.bh-band { display: grid; align-content: center; justify-items: center; gap: 1px; margin: 2px 0 2px 2px; padding-inline: 10px; border-radius: 6px 0 0 6px; background: #CE1126; color: #fff; }
.bh-band b { font-family: "Almarai", sans-serif; font-weight: 800; font-size: 13px; line-height: 1.15; }
.bh-band small { font-family: "Overpass", sans-serif; font-weight: 800; font-size: 9px; letter-spacing: .14em; line-height: 1.2; }
.bh-num { display: grid; place-items: center; padding-inline: 18px 20px; font-family: "Overpass", sans-serif; font-weight: 800; font-size: 38px; letter-spacing: .08em; line-height: 1; font-variant-numeric: tabular-nums; }

/* traffic steps reuse the board */
.board--steps { padding: 10px 22px; counter-reset: st; }
.board--steps li { position: relative; display: grid; gap: 2px; padding-block: 18px; padding-inline-start: 62px; counter-increment: st; list-style: none; }
.board--steps li + li { border-top: 1.5px solid rgba(255, 255, 255, .35); }
.board--steps li::before { content: counter(st); position: absolute; inset-inline-start: 0; top: 18px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: var(--sign); font-weight: 900; font-size: 21px; line-height: 1; }
.steps-verb { font-weight: 800; font-size: 19px; line-height: 1.35; }
.board--steps li > span { color: #D9E4F6; font-size: 15.5px; }
ol.board--steps { margin: 0; }

/* ---------- Shared white plates (scripts' .plate) ---------- */
.plate { background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }

/* ---------- Parts browser ---------- */
.flow { display: flex; flex-direction: column; gap: 22px; padding-block: 24px 72px; }
/* Until app.js draws the parts browser, hold a screen's height so the footer does not flash up and jump. */
.flow-root:not(:has(.flow)) { min-height: 100svh; }
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding-inline: 14px 18px; border-radius: 10px; background: #fff; font-weight: 800; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.progress { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--asphalt); }
.progress-segs { display: flex; gap: 6px; }
.progress-segs i { width: 22px; height: 5px; border-radius: 2px; background: rgba(242, 244, 247, .22); }
.progress-segs i.done { background: var(--paint); }
.progress-segs i.now { background: var(--red-hi); }
.progress-num { font-weight: 900; font-size: 15px; letter-spacing: .06em; color: #fff; font-variant-numeric: tabular-nums; }
.flow-top { display: grid; gap: 22px; }
.flow-titles { display: grid; gap: 12px; justify-items: start; }
.flow-titles .h1 { color: var(--navy); }
.frame { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: var(--asphalt); box-shadow: var(--shadow); }
.frame-img { width: 100%; height: auto; object-fit: cover; }
.frame--flow .frame-img { aspect-ratio: 16 / 9; object-position: 50% 50%; }
.hazard { display: none; }
.strip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 4px 16px 4px 6px; border-radius: 12px; }
.strip-code { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--sign); color: #fff; font-size: 22px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; min-width: 0; }
.crumbs li { display: flex; align-items: center; white-space: nowrap; }
.crumbs a, .crumbs [aria-current] { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-weight: 700; }
.crumbs a { color: var(--sign); text-decoration: underline; text-underline-offset: 5px; }
.crumbs [aria-current] { color: var(--navy); }
.crumb-sep { color: var(--dim); margin-inline: 2px; }
.crumbs-empty { padding-inline: 4px; color: var(--muted); }
.origins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.origins > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.origin { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 160px; padding: 22px 20px 20px; }
.origin-name { font-weight: 800; font-size: 24px; line-height: 1.3; color: var(--navy); }
.origin-count { color: var(--muted); font-size: 14px; }
.origin-logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 16px; color: var(--sign); }
.origin-logos svg { width: 24px; height: 24px; }
.pick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 700px; }
.pick { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 14px 20px 14px 16px; }
.pick-logo { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 10px; background: var(--sign); color: #fff; box-shadow: inset 0 0 0 2.5px var(--sign), inset 0 0 0 4px #fff; }
.pick-logo svg { width: 28px; height: 28px; }
.pick-text { display: grid; line-height: 1.35; min-width: 0; }
.pick-name { font-weight: 800; font-size: 21px; color: var(--navy); }
.pick-sub { color: var(--muted); font-size: 14px; }
.pick-go { margin-inline-start: auto; color: var(--sign); font-size: 20px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 700px; }
.choices > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.choice { display: flex; align-items: center; justify-content: center; min-height: 68px; padding: 12px; font-weight: 800; font-size: 20px; color: var(--navy); }
.years { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 700px; }
.year { display: grid; place-items: center; min-height: 56px; border-radius: 10px; background: #fff; font-weight: 900; font-size: 20px; color: var(--navy); font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.year--older { font-weight: 700; font-size: 15px; }
.tools { display: grid; gap: 10px; }
.search { position: relative; display: flex; align-items: center; background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--sign), 0 0 0 4px rgba(10, 79, 174, .16); }
.search .ph-bold { position: absolute; inset-inline-start: 14px; font-size: 22px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 54px; padding-inline: 48px 16px; background: none; border: 0; outline: none; }
.search input::placeholder { color: var(--dim); opacity: 1; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding-block: 2px; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter-l) var(--gutter-r); }
[dir="rtl"] .tabs { margin-inline: calc(-1 * var(--gutter-r)) calc(-1 * var(--gutter-l)); padding-inline: var(--gutter-r) var(--gutter-l); }
.tabs::-webkit-scrollbar { display: none; }
.tab, .chip span { flex: none; display: inline-flex; align-items: center; min-height: 46px; padding-inline: 18px; border-radius: 10px; background: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.tab[aria-pressed="true"], .chip input:checked + span { color: #fff; background: var(--sign); box-shadow: inset 0 0 0 2.5px var(--sign), inset 0 0 0 4px #fff; }
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.part { display: flex; flex-direction: column; overflow: hidden; text-align: start; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
/* Part photos: one square catalogue box. The images are cut out on #F3F5F8, so the box shares that colour. */
.part-media { display: block; background: #F3F5F8; }
.part-media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; }
.part-label { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 14px 14px; }
.part-name { font-weight: 700; font-size: 15.5px; line-height: 1.45; color: var(--navy); }
.part-code { order: -1; font-weight: 900; font-size: 14px; letter-spacing: .1em; line-height: 1.5; color: var(--sign); font-variant-numeric: tabular-nums; }
.empty { grid-column: 1 / -1; padding: 24px 4px; color: var(--muted); }
.help { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 22px; }
.help-icon { font-size: 28px; color: var(--sign); }
.help-text { flex: 1 1 200px; display: grid; min-width: 0; line-height: 1.6; }
.help-text b { font-weight: 800; font-size: 19px; color: var(--navy); }
.help-text span { color: var(--muted); font-size: 15px; }

/* ---------- Job card: a white information sign ---------- */
.ticket { --tear: var(--ground); position: relative; padding: 8px 22px 20px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--navy), var(--shadow); overflow: hidden; }
.ticket-title { margin: 0 -14px 6px; padding: 13px 16px 12px; padding-inline-end: 120px; border-radius: 9px; background: var(--sign); color: #fff; font-weight: 800; font-size: 19px; line-height: 1.3; }
.ticket-lines { margin: 0; display: grid; }
.ticket-line { display: grid; padding-block: 10px; }
.ticket-line + .ticket-line { border-top: 1.5px dashed var(--line-2); }
.ticket-line dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.ticket-line dd { margin: 0; font-weight: 700; font-size: 17.5px; line-height: 1.5; overflow-wrap: anywhere; text-align: start; color: var(--navy); }
.ticket-line dd[dir="ltr"] { font-weight: 900; font-size: 21px; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
[dir="rtl"] .ticket-line dd[dir="ltr"] { text-align: right; }
.ticket-line.is-empty dd { height: 0; margin-block: 14px 8px; border-bottom: 2px dotted var(--line-2); }
.tag--ticket { position: absolute; top: 18px; inset-inline-end: 18px; }
.tag--ticket.is-ready { color: #fff; background: var(--red); border-color: var(--red); }

/* ---------- Traffic transactions ---------- */
.tx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; padding-top: 28px; }
.tx { scroll-margin-top: 110px; }
.tx-details > summary { list-style: none; }
.tx-details > summary::-webkit-details-marker { display: none; }
.tx-sum { display: flex; align-items: center; gap: 14px; min-height: 86px; padding: 16px 18px; cursor: pointer; }
.tx-icon { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 10px; background: var(--sign); color: #fff; font-size: 24px; box-shadow: inset 0 0 0 2.5px var(--sign), inset 0 0 0 4px #fff; transition: background-color 160ms ease, box-shadow 160ms ease; }
.tx-details[open] .tx-icon { background: var(--navy); box-shadow: inset 0 0 0 2.5px var(--navy), inset 0 0 0 4px #fff; }
.tx-text { display: grid; gap: 2px; min-width: 0; }
.tx-name { font-weight: 800; font-size: 18.5px; line-height: 1.35; color: var(--navy); }
.tx-desc { color: var(--muted); font-size: 15px; line-height: 1.55; }
.tx-link { color: inherit; }
.tx-wa { margin-inline-start: auto; flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: var(--red); color: #fff; font-size: 24px; box-shadow: inset 0 0 0 2.5px var(--red), inset 0 0 0 4px #fff; }
.tx-chev { margin-inline-start: auto; font-size: 20px; color: var(--sign); transition: rotate 220ms var(--ease-out); }
.tx-details[open] .tx-chev { rotate: 180deg; }
.tx-body { display: grid; gap: 12px; justify-items: start; padding: 16px 18px 22px; border-top: 1px solid var(--line); }
.tx-needs-title { font-weight: 800; color: var(--navy); }
.tx-needs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tx-needs li { display: flex; gap: 8px; align-items: flex-start; font-size: 15.5px; line-height: 1.6; }
.tx-needs .ph-bold { color: var(--sign); font-size: 18px; margin-top: 4px; }
.tx-note { color: var(--muted); font-size: 14px; }

/* ---------- File uploads (insurance documents, photos of a part) ---------- */
.up-list { display: grid; gap: 12px; width: 100%; }
.up-slot { display: grid; gap: 10px; min-width: 0; padding: 14px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line); outline: none; }
.up-slot.is-done { box-shadow: inset 0 0 0 2px var(--sign); }
.up-slot:focus-visible { box-shadow: inset 0 0 0 2px var(--sign), 0 0 0 4px rgba(10, 79, 174, .16); }
.up-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.up-name { font-weight: 800; font-size: 16px; line-height: 1.45; color: var(--navy); }
.up-count { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: 14px; color: var(--muted); direction: ltr; font-variant-numeric: tabular-nums; }
.up-slot.is-done .up-count { color: var(--sign); }
.up-count .ph-bold { font-size: 18px; }
.up-hint { margin-top: -6px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.up-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.up-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--navy); }
.up-item img, .up-item video { display: block; width: 100%; height: 100%; object-fit: cover; }
.up-badge { position: absolute; bottom: 6px; inset-inline-start: 6px; color: #fff; font-size: 20px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.up-rm { position: absolute; top: 4px; inset-inline-end: 4px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(11, 23, 52, .8); color: #fff; font-size: 17px; }
.up-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.up-actions .btn { cursor: pointer; }
.up-actions .btn:focus-within { outline: 3px solid var(--sign-hi); outline-offset: 2px; }
.up-toggle { min-width: 0; margin: 4px 0 0; padding: 0; border: 0; display: grid; gap: 10px; }
.up-toggle legend { padding: 0; margin-bottom: 10px; font-weight: 800; color: var(--navy); }
.up-status { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-weight: 700; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.up-status b { color: var(--navy); }
.up-status .is-ready { display: inline-flex; align-items: center; gap: 6px; color: var(--sign); }
.up-status .is-error { color: var(--red-deep); }
.up-bar { flex: 1 1 100%; height: 10px; overflow: hidden; border-radius: 5px; background: var(--line); }
.up-bar span { display: block; height: 100%; width: var(--p, 0%); background: var(--sign); transition: width 200ms linear; }
.up-send { width: 100%; }
.up-send:disabled, #otherSend:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.part--other .part-media { display: grid; place-items: center; aspect-ratio: 1 / 1; color: var(--sign); background: #F3F5F8 repeating-linear-gradient(135deg, transparent 0 14px, rgba(10, 79, 174, .05) 14px 28px); }
.part-other-ico { font-size: 54px; }
.part-sub { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* ---------- Request forms ---------- */
.req { display: grid; gap: 30px; padding-block: 30px 8px; }
.req-fields { display: grid; gap: 30px; min-width: 0; }
.req-more { display: grid; gap: 22px; min-width: 0; }
.group { display: grid; gap: 12px; }
.group-title { font-weight: 800; font-size: 22px; line-height: 1.35; margin-bottom: 2px; color: var(--navy); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 15.5px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 0; box-shadow: inset 0 0 0 1.5px var(--line-2); outline: none; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230A4FAE' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 20px; background-position: left 12px center; }
[dir="ltr"] .field select { background-position: right 12px center; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--sign), 0 0 0 4px rgba(10, 79, 174, .16); }
.field-row { display: grid; gap: 12px; }
.field-hint { color: var(--muted); font-size: 14px; line-height: 1.6; }
.field-error { color: var(--red-deep); font-weight: 700; font-size: 14.5px; }
.input-action { display: flex; gap: 8px; }
.input-action input { flex: 1; }
.input-action .sign-btn { flex: none; min-height: 54px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip input:focus-visible + span { outline: 3px solid var(--sign-hi); outline-offset: 2px; }
.req-side { display: grid; gap: 14px; align-content: start; padding-top: 12px; }

/* ---------- About ---------- */
.prose { display: grid; gap: 16px; max-width: 62ch; padding-top: 44px; font-size: 18px; line-height: 1.95; color: var(--muted); }
[lang="en"] .prose { line-height: 1.7; }
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { border-radius: 12px; background: #fff; padding-inline: 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 14px; cursor: pointer; list-style: none; font-weight: 800; font-size: 17.5px; line-height: 1.45; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph-bold { flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--sign); color: #fff; font-size: 16px; transition: rotate 220ms var(--ease-out); }
.faq details[open] > summary .ph-bold { rotate: 180deg; }
.faq details > p { padding-bottom: 18px; color: var(--muted); max-width: 64ch; }

/* ---------- Contact ---------- */
.line-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-lines { padding-top: 28px; }
#lines { padding-top: 28px; }
.line { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 14px 18px 14px 16px; }
.line-icon { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 10px; background: var(--sign); color: #fff; font-size: 24px; box-shadow: inset 0 0 0 2.5px var(--sign), inset 0 0 0 4px #fff; }
.line-text { display: grid; min-width: 0; line-height: 1.4; }
.line-name { font-weight: 800; font-size: 18.5px; color: var(--navy); }
.line-num { justify-self: start; font-weight: 800; font-size: 17px; letter-spacing: .04em; color: var(--muted); text-align: start; font-variant-numeric: tabular-nums; }
.line-wa { margin-inline-start: auto; flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: var(--red); color: #fff; font-size: 24px; box-shadow: inset 0 0 0 2.5px var(--red), inset 0 0 0 4px #fff; }
.line-go { margin-inline-start: auto; color: var(--sign); font-size: 20px; }
.panel { display: grid; gap: 18px; align-content: start; justify-items: start; padding: 24px; }

/* ---------- 404 ---------- */
.notfound { display: grid; gap: 18px; justify-items: start; padding-block: 56px 24px; }
.notfound .h1 { color: var(--navy); }
.sign--nf { display: inline-flex; align-items: center; gap: 16px; padding: 18px 26px; }
.sign--nf .ph-bold { font-size: 54px; }
.sign--nf b { font-weight: 900; font-size: 58px; letter-spacing: .08em; line-height: 1; font-variant-numeric: tabular-nums; }
.notfound .line-grid { width: 100%; max-width: 620px; }

/* ---------- Footer: the road continues ---------- */
.foot { margin-top: 96px; background: var(--asphalt); color: #E6EBF3; }
.lane { height: 18px; background: repeating-linear-gradient(90deg, var(--paint) 0 38px, transparent 38px 76px) center / 100% 4px no-repeat, var(--asphalt); box-shadow: inset 0 3px 0 var(--paint); }
.foot-in { display: grid; gap: 24px; padding-block: 36px calc(120px + env(safe-area-inset-bottom, 0px)); }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-badge { width: 56px; height: 56px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px #fff; }
.foot-tag { color: #B9C4D6; font-size: 15.5px; max-width: 44ch; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 15.5px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.foot-list .ph-bold { color: #8FB4F0; font-size: 20px; margin-top: 4px; flex: none; }
.foot-list a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 5px; }
/* Phone lines: what the number is for, then the number (footer and contact page). */
.calls-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.calls-mini li { display: grid; gap: 0; line-height: 1.5; }
.calls-mini span { font-size: 14px; font-weight: 600; color: var(--muted); }
.foot .calls-mini span { color: #B9C4D6; }
.calls-mini a { justify-self: start; font-weight: 800; font-size: 16.5px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.copy { color: #8E9AAE; font-size: 13.5px; }
.copy a { display: inline-flex; align-items: center; min-height: 44px; margin-inline-start: 10px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Photo credits ---------- */
.credits { list-style: none; margin: 0; padding: 44px 0 72px; display: grid; gap: 10px; }
.credit { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.credit img { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; background: #F3F5F8; }
.credit-text { display: grid; gap: 2px; min-width: 0; }
.credit-name { font-weight: 800; color: var(--ink); }
.credit-meta { color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
.credit-links { display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 14.5px; }
.credit-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--sign); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 900px) { .credits { grid-template-columns: 1fr 1fr; } }

/* ---------- Phone dock: service signs always in reach ---------- */
.dock { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 82px 1fr 1fr; align-items: center;
  padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
  background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -22px rgba(11, 28, 68, .55); transition: transform 240ms var(--ease-out); }
.dock a { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 58px; padding-inline: 2px; color: var(--muted); font-size: 11.5px; font-weight: 700; line-height: 1.2; text-align: center; }
.dock a .ph-bold { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); color: var(--sign); font-size: 20px; transition: background-color 160ms ease, color 160ms ease; }
.dock a[aria-current="page"] { color: var(--navy); }
.dock a[aria-current="page"] .ph-bold { background: var(--sign); color: #fff; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.5px #fff; }
body.sheet-open .dock { transform: translateY(110%); }

/* ---------- WhatsApp: the red sign ---------- */
.fab { position: fixed; z-index: 40; width: 62px; height: 62px; border-radius: 14px; display: grid; place-items: center; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); left: 50%; translate: -50% 0;
  background: var(--red); color: #fff; font-size: 30px;
  box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 5.5px #fff, 0 0 0 5px #fff, 0 14px 26px -10px rgba(6, 9, 16, .45); transition: transform 160ms var(--ease-out), opacity 160ms ease; }
.fab:active { transform: scale(.95); }
body.sheet-open .fab { opacity: 0; transform: scale(.9); pointer-events: none; }

/* ---------- Order sheet ---------- */
.sheet-root { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.scrim { position: absolute; inset: 0; background: rgba(11, 23, 52, .55); opacity: 0; transition: opacity 220ms ease; }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 14px; padding: 26px var(--gutter-r) calc(18px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: var(--surface); border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform 220ms var(--ease-out); }
.sheet-root.open .scrim { opacity: 1; }
.sheet-root.open .sheet { transform: translateY(0); transition: transform 420ms var(--ease-drawer); }
.sheet-top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; }
.grabber { display: none; }
.sheet-title { font-weight: 800; font-size: 22px; line-height: 1.35; color: var(--navy); }
.icon-btn { flex: none; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--navy); font-size: 20px; }
.sheet-media { border-radius: 14px; overflow: hidden; background: #F3F5F8; }
.sheet-img { display: block; width: 100%; height: auto; max-height: 18svh; aspect-ratio: 16 / 10; object-fit: contain; }
.field input#vinInput { font-weight: 900; font-size: 21px; letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.sheet > .sign-btn--xl { position: sticky; bottom: 0; z-index: 3; }
.calls-hint { margin: -6px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.sheet .line-grid { grid-template-columns: 1fr; gap: 10px; }
.sheet .line { min-height: 76px; }
.sheet .line-name { font-size: 16.5px; }

/* =====================================================================
   Opening: ignition. The START button is pressed, the cluster lights,
   the needles sweep to the redline and back, warning lights self-test,
   then the headlights flash twice and flood into the page.
   First page of a visit only; a tap or key skips it.
   ===================================================================== */
.ign { display: none; }
html.intro .ign { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; visibility: visible; background: radial-gradient(120% 80% at 50% 45%, #0B1A3E 0%, #050B1C 70%); animation: ign-out 520ms ease 2150ms forwards; }
html.intro-out .ign { animation: ign-fast 240ms ease forwards; }
@keyframes ign-out { to { opacity: 0; visibility: hidden; } }
@keyframes ign-fast { to { opacity: 0; } }
.ign-dash { display: grid; justify-items: center; gap: clamp(22px, 5vh, 44px); width: min(92vw, 900px); animation: dash-off 280ms ease 1720ms forwards; }
@keyframes dash-off { to { opacity: 0; transform: scale(1.05); } }
.ign-cluster { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "rpm spd" "mid mid"; align-items: center; gap: 18px 14px; width: 100%; }
.gauge--rpm { grid-area: rpm; }
.gauge--speed { grid-area: spd; }
.ign-mid { grid-area: mid; display: grid; justify-items: center; gap: 10px; opacity: 0; animation: lit 420ms ease 600ms forwards; }
.gauge { width: 100%; max-width: 300px; justify-self: center; overflow: visible; opacity: 0; animation: lit 420ms ease 520ms forwards; }
@keyframes lit { from { opacity: 0; filter: brightness(2.4) blur(2px); } to { opacity: 1; filter: none; } }
.g-face { fill: #081330; stroke: #1E3264; stroke-width: 1.5; }
.g-track { fill: none; stroke: #263B6E; stroke-width: 2; }
.g-red { fill: none; stroke: var(--red-hi); stroke-width: 5; }
.g-tick { stroke: #7F92BC; stroke-width: 1.3; }
.g-tick--major { stroke: #F1F3F5; stroke-width: 2.6; }
.g-tick--hot { stroke: var(--red-hi); }
.g-num { fill: #E9ECEF; font-family: "Overpass", sans-serif; font-weight: 600; font-size: 15px; text-anchor: middle; }
.g-num--hot { fill: var(--red-hi); }
.g-unit { fill: #7F92BC; font-family: "Overpass", sans-serif; font-weight: 500; font-size: 9px; letter-spacing: .08em; text-anchor: middle; }
.g-needle { fill: var(--red-hi); transform-box: view-box; transform-origin: 100px 100px; transform: rotate(-135deg); filter: drop-shadow(0 0 4px rgba(255, 43, 68, .85)); }
.g-needle circle { fill: #0B1C44; stroke: #2B4380; }
.g-needle .g-hub { fill: var(--red-hi); stroke: none; }
.gauge--rpm .g-needle { animation: sweep-rpm 1000ms cubic-bezier(.5, 0, .3, 1) 680ms forwards; }
.gauge--speed .g-needle { animation: sweep-spd 1000ms cubic-bezier(.5, 0, .3, 1) 680ms forwards; }
@keyframes sweep-rpm { 50% { transform: rotate(135deg); } 100% { transform: rotate(-108deg); } }
@keyframes sweep-spd { 50% { transform: rotate(135deg); } 100% { transform: rotate(-135deg); } }
.ign-badge { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(214, 22, 45, .7); }
.ign-lcd { font-family: var(--lcd); font-weight: 700; font-size: 26px; letter-spacing: .22em; line-height: 1; color: #E9ECEF; text-shadow: 0 0 14px rgba(228, 236, 255, .45); }
.ign-lights { display: flex; gap: 12px; font-size: 18px; }
.ign-lights i { opacity: 0; color: var(--red-hi); filter: drop-shadow(0 0 6px currentColor); animation: tell 1100ms linear 620ms both; }
.ign-lights i:nth-child(1), .ign-lights i:nth-child(5) { color: var(--amber); }
.ign-lights i:nth-child(2) { animation-duration: 800ms; }
.ign-lights i:nth-child(3) { animation-duration: 950ms; }
.ign-lights i:nth-child(4) { animation-duration: 700ms; }
@keyframes tell { 0% { opacity: 0; } 2% { opacity: 1; } 80% { opacity: 1; } 82%, 100% { opacity: 0; } }
.ign-btn { position: relative; display: grid; place-content: center; justify-items: center; width: 98px; height: 98px; border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #233D7A, #0A1736 70%); color: #DCE4F5; font-family: "Overpass", sans-serif; line-height: 1.05;
  box-shadow: 0 0 0 3px #2E4A8C, 0 0 0 7px #08122C, 0 16px 30px -8px #000; animation: press 720ms ease both; }
.ign-btn small { font-size: 9px; font-weight: 600; letter-spacing: .16em; }
.ign-btn b { font-size: 19px; font-weight: 700; letter-spacing: .08em; }
.ign-btn::after { content: ""; position: absolute; inset: -13px; border-radius: 50%; border: 2px solid var(--red-hi); box-shadow: 0 0 18px var(--led), inset 0 0 12px var(--led); animation: ring 720ms ease both; }
@keyframes press { 0% { opacity: 0; transform: scale(.9); } 30% { opacity: 1; transform: none; } 58% { transform: none; } 66% { transform: scale(.9); } 80%, 100% { opacity: 1; transform: none; } }
@keyframes ring {
  0% { opacity: 0; } 25% { opacity: 1; } 45% { opacity: .45; }
  66% { opacity: 1; border-color: var(--beam); box-shadow: 0 0 30px rgba(228, 236, 255, .7), inset 0 0 14px rgba(228, 236, 255, .5); }
  100% { opacity: .8; border-color: var(--beam); box-shadow: 0 0 18px rgba(228, 236, 255, .4); }
}
.ign-beam { position: absolute; top: 50%; width: 36vmin; height: 22vmin; margin: -11vmin 0 0 -18vmin; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, #fff 0 20%, rgba(222, 233, 255, .9) 34%, rgba(110, 155, 240, .28) 62%, transparent 100%);
  animation: beam 760ms ease-out 1800ms forwards; }
.ign-beam--a { left: 30%; }
.ign-beam--b { left: 70%; }
@keyframes beam { 0% { opacity: 0; transform: scale(.6); } 12% { opacity: 1; transform: none; } 24% { opacity: .1; } 36% { opacity: 1; transform: none; } 72% { opacity: 1; transform: scale(1.7); } 100% { opacity: 0; transform: scale(2.4); } }
.ign-hint { position: absolute; left: 0; right: 0; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 13px; color: #7F92BC; animation: lit 400ms ease 900ms both, dash-off 280ms ease 1720ms forwards; }

/* ---------- Motion ---------- */
html.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 900ms var(--ease-out); }
html.motion .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Larger screens ---------- */
@media (max-width: 959.98px) {
  /* on phones only the exits board hangs from the beam */
  .gantry .sign--main::before { display: none; }
}
@media (min-width: 560px) {
  .cta-row { display: flex; flex-wrap: wrap; }
  .sos-in { grid-template-columns: auto 1fr auto; }
  .sos-actions { grid-column: auto; display: flex; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1.3fr 1.3fr 1fr; }
  .field-row--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .bar-actions .bar-wa { display: inline-flex; }
  .bar-call { display: grid; }
  .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .years { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tx-list, .line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .road-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .board-rows { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .board-rows li:nth-child(2) { border-top: 0; }
  .satnav { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 44px; }
  .satnav-map { min-height: 420px; }
  .sign-btn, .btn { white-space: nowrap; }
  .road-steps li > span:last-child { font-size: 15.5px; }
  .foot-in { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .foot-nav { grid-column: 1 / -1; grid-row: 2; }
  .copy { grid-column: 1 / -1; }
  .sheet-root { align-items: center; padding: 24px; }
  .sheet { border-radius: 20px; max-height: 90dvh; padding: 30px 24px 22px; opacity: 0; transform: translateY(12px) scale(.98); transition: transform 180ms var(--ease-out), opacity 180ms ease; }
  .sheet-root.open .sheet { opacity: 1; transform: none; transition: transform 260ms var(--ease-out), opacity 200ms ease; }
}
@media (min-width: 960px) {
  .gantry { padding-top: 92px; }
  .beam { top: 18px; height: 52px; }
  .post { display: block; }
  .gantry-in { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "main exits" "act ."; align-items: stretch; column-gap: 22px; row-gap: 28px; }
  .sign--main { padding: 30px 32px 32px; align-content: center; }
  .sign-badge { width: 64px; height: 64px; }
  .sign--exits { padding: 10px; }
  .exits { grid-template-columns: 1fr 1fr; height: 100%; }
  .exit { justify-items: start; align-content: start; text-align: start; gap: 4px; min-height: 0; padding: 14px 14px 16px; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "tab tab" "pict name" "pict alt" "pict num"; column-gap: 10px; row-gap: 2px; }
  .exit-num { grid-area: num; font-size: 14.5px; margin-top: 4px; }
  /* six exits: the English line stays on the main sign so the board fits beside it */
  .exits .exit-alt { display: none; }
  .exit { grid-template-areas: "tab tab" "pict name" "pict num"; padding: 12px 14px 14px; }
  .exit-tab { margin-bottom: 6px; }
  .exit-tab { grid-area: tab; display: inline-flex; align-items: baseline; gap: 4px; margin-bottom: 8px; padding: 1px 9px; border-radius: 6px; background: #fff; color: var(--sign); font-weight: 800; font-size: 12.5px; line-height: 1.6; }
  .exit-tab b { font-family: "Overpass", sans-serif; font-weight: 900; font-size: 14px; }
  .exit-arrow { position: absolute; top: 14px; inset-inline-end: 14px; font-size: 26px; }
  .exit .exit-pict { grid-area: pict; width: 46px; height: 46px; font-size: 27px; border-radius: 8px; align-self: start; }
  .exit-name { grid-area: name; display: block; font-weight: 800; font-size: 18px; line-height: 1.3; }
  .exit-alt { grid-area: alt; display: block; font-weight: 600; font-size: 13.5px; line-height: 1.3; color: rgba(255, 255, 255, .85); }
  .exit-short { display: none; }
  .hero { min-height: min(calc(100svh - 66px), 720px); padding-bottom: 48px; }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 290px 290px; }
  .svc { min-height: 0; padding: 16px; }
  .req { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .req-side { position: sticky; top: 100px; }
  .flow-top--hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
  .road-head { padding-bottom: 52px; }
  .board { padding: 34px 34px 22px; }
  .board--steps { padding: 12px 30px; }
}
@media (min-width: 1060px) {
  .nav { display: flex; gap: 2px; margin-inline: auto; }
  .menu-btn, .menu { display: none !important; }
  .dock { display: none; }
  .fab { left: auto; translate: none; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 5.5px #fff, 0 14px 30px -10px rgba(6, 9, 16, .45); }
  [dir="rtl"] .fab { left: calc(24px + max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px))); }
  [dir="ltr"] .fab { right: calc(24px + max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px))); }
  .foot-in { padding-bottom: 48px; }
  .logo-wall { gap: 8px; }
  .logo-cell { aspect-ratio: 2; }
  .logo-cell svg { width: 30%; height: 50%; }
  .parts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .origins { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .origins > :last-child:nth-child(odd) { grid-column: auto; }
  .years { grid-template-columns: repeat(10, minmax(0, 1fr)); max-width: none; }
}

@media (hover: hover) and (pointer: fine) {
  .sign-btn:hover, .btn:hover, .fab:hover { filter: brightness(1.08); }
  .sign--white.sign-btn:hover, .btn--line:hover, .btn--steel:hover { filter: none; background-color: var(--surface-2); }
  .exit:hover { background-color: var(--sign-hi); }
  .svc:hover .svc-img { transform: scale(1.05); }
  .svc:hover .svc-go { transform: translateX(calc(var(--sw) * 4px)); }
  [dir="ltr"] .svc:hover .svc-go { transform: scaleX(-1) translateX(-4px); }
  .origin:hover, .pick:hover, .choice:hover, .line:hover, .part:hover, a.plate:hover { box-shadow: inset 0 0 0 2px var(--sign), var(--shadow); }
  .tx-sum:hover .tx-name { color: var(--sign); }
  .year:hover, .tab:hover, .back:hover, .lang:hover, .chip:hover span { box-shadow: inset 0 0 0 2px var(--sign); }
  .tab[aria-pressed="true"]:hover, .chip:hover input:checked + span { box-shadow: inset 0 0 0 2.5px var(--sign), inset 0 0 0 4px #fff; }
  .logo-cell:hover { background: #fff; color: var(--sign); }
  .bar-call:hover { background: var(--sign); color: #fff; }
  .nav a:hover:not([aria-current]) { color: var(--navy); background: var(--surface-2); }
  .foot-nav a:hover { color: #8FB4F0; }
  .faq summary:hover { color: var(--sign); }
}

@media (prefers-reduced-motion: reduce) {
  html.intro .ign { display: none; }
  .tap:active, .fab:active { transform: none; }
  .menu, .menu.open { transform: none; }
  .sheet, .sheet-root.open .sheet { transform: none; transition: opacity 180ms ease; }
  .sheet { opacity: 0; }
  .sheet-root.open .sheet { opacity: 1; }
  .tx-chev, .faq summary .ph-bold, .svc-img { transition: none; }
}
