/* STK — Stark Group. Dark only. Logical properties throughout so RTL works for free. */

:root {
  --bg: #0a0a0b;
  --bg-alt: #0e0e10;
  --surface: #131316;
  --surface-2: #1a1a1e;
  --line: #24242a;
  --line-strong: #34343c;
  --text: #ececee;
  --text-2: #b4b4bb;
  --muted: #7c7c85;
  --accent: #f0641e;
  --accent-2: #ff8a4c;
  --accent-ink: #120700;

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

.lang-ar {
  --font-display: "IBM Plex Sans Arabic", "Inter Tight", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.lang-ar body, body.lang-ar { font-size: 17.5px; line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; }

/* ---------- Type helpers ---------- */
.kicker, .label, .plate-tag, .map-coords, .phone-kind, figcaption {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.lang-ar :is(.kicker, .label, .plate-tag, .phone-kind, figcaption) {
  font-family: var(--font-body);
  letter-spacing: 0;
  font-size: 14px;
  text-transform: none;
}
.kicker { color: var(--accent); display: flex; align-items: center; gap: 12px; margin-block-end: 20px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
.lang-ar :is(h1, h2) { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.lang-ar h3 { font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding-inline: 24px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost:hover { border-color: var(--text); }
.btn-small { height: 40px; padding-inline: 14px; font-size: 14px; gap: 8px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 50;
  border-block-end: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(10, 10, 11, .86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { width: 104px; height: auto; }
.nav { display: flex; gap: 32px; margin-inline-start: auto; }
.nav a { font-size: 15px; color: var(--text-2); position: relative; padding-block: 6px; transition: color .2s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .3s var(--ease); }
[dir="rtl"] .nav a::after { --origin: right; }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-call { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { font-size: 15px; color: var(--text-2); padding: 8px 4px; }
.lang-switch:lang(ar) { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang-switch:hover { color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle .bars, .menu-toggle .bars::before { position: absolute; inset-inline: 11px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.menu-toggle .bars { top: 18px; }
.menu-toggle .bars::before { content: ""; inset-inline: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(-7px) rotate(-90deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 140px 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before { /* blueprint grid that fades out; drifts slightly with the pointer */
  content: ""; position: absolute; inset: -24px; z-index: -2;
  transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -18px), 0);
  transition: transform 1.2s var(--ease);
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 20%, transparent 75%);
}
.hero::after { /* warm glow behind the drawing */
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 600px; inset-inline-end: -200px; inset-block-start: 40px;
  background: radial-gradient(closest-side, rgba(240,100,30,.14), transparent);
}
.hero-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  mask-image: linear-gradient(to right, transparent 38%, #000 62%); -webkit-mask-image: linear-gradient(to right, transparent 38%, #000 62%); }
.hero-swoosh path { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: .55; vector-effect: non-scaling-stroke; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s .3s var(--ease) forwards; }
.hero-swoosh .spark { /* a short spark that keeps travelling along the swoosh */
  stroke-width: 2; opacity: 1; stroke-dasharray: 110 2600; stroke-dashoffset: 110;
  animation: spark 7s 2.8s linear infinite;
}
@keyframes spark { 70%, 100% { stroke-dashoffset: -2000; } }
[dir="rtl"] .hero-swoosh { transform: scaleX(-1); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 128px); align-items: center; }
.hero-title { font-size: clamp(44px, 6.6vw, 96px); margin-block: 0 36px; }
.hero-title span { display: block; }
.hero-title .muted { color: var(--muted); font-size: .4em; font-weight: 500; letter-spacing: -0.015em; margin-block-start: .35em; line-height: 1.15; }
.lang-ar .hero-title { font-size: clamp(40px, 6vw, 84px); }
.lang-ar .hero-title .muted { font-weight: 500; letter-spacing: 0; }
.hero-lead { max-width: 50ch; color: var(--text-2); font-size: 19px; line-height: 1.65; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 48px; }

.hero-figure { position: relative; max-width: 600px; justify-self: end; width: 100%; }
.figure-frame { position: relative; padding: 24px; }
.figure-frame svg { width: 100%; height: auto; }
.figure-frame svg path, .figure-frame svg circle { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s var(--ease) forwards; }

/* Hero disc: draws in, then keeps moving (spin, breathing heat, pointer tilt, hover to brake) */
.hero-figure .figure-frame {
  transform: perspective(1200px) rotateY(calc(var(--px, 0) * 9deg)) rotateX(calc(var(--py, 0) * -9deg))
             translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px), 0);
  transition: transform .9s var(--ease);
}
.hero-figure .spin * { animation-delay: .4s; }
.hero-figure .caliper * { animation-delay: .9s; animation-duration: 1.4s; }
.hero-figure .accent * { animation-delay: 1.3s; animation-duration: 1.2s; }
.hero-figure .callouts * { animation-delay: 1.6s; animation-duration: 1s; }
.hero-figure .spin { transform-origin: 250px 210px; animation: spin 32s 2s linear infinite; }
.hero-figure .heat { stroke-dasharray: none; opacity: 0; animation: heat 6s 2.2s ease-in-out infinite alternate; }
.hero-figure .heat-boost { stroke-dasharray: none; opacity: 0; animation: none; transition: opacity 1.4s var(--ease); }
.hero-figure .caliper { transition: transform .5s var(--ease); }
.hero-figure.is-braking .heat-boost { opacity: .4; }
.hero-figure.is-braking .caliper { transform: translate(-2px, 2px); }
.hero.is-off *, .hero.is-off *::before, .hero.is-off *::after { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes heat { from { opacity: .05; } to { opacity: .22; } }
.hero-figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding-inline: 24px; margin-block-start: 6px; }
.corner { position: absolute; width: 14px; height: 14px; border: 0 solid var(--line-strong); }
.corner.tl { inset-block-start: 0; inset-inline-start: 0; border-block-start-width: 1px; border-inline-start-width: 1px; }
.corner.tr { inset-block-start: 0; inset-inline-end: 0; border-block-start-width: 1px; border-inline-end-width: 1px; }
.corner.bl { inset-block-end: 0; inset-inline-start: 0; border-block-end-width: 1px; border-inline-start-width: 1px; }
.corner.br { inset-block-end: 0; inset-inline-end: 0; border-block-end-width: 1px; border-inline-end-width: 1px; }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-block-end: clamp(40px, 5vw, 64px); }
.section-lead { color: var(--text-2); font-size: 18px; margin-block-start: 22px; max-width: 58ch; }

/* ---------- Catalogue: group index (left) + one large viewer (right) ---------- */
.catalogue { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.cat-index .section-head { margin-block-end: 48px; }

.cat-groups { border-block-end: 1px solid var(--line); }
.cat-group { border-block-start: 1px solid var(--line); }
.cat-group h3 { font-size: inherit; font-weight: inherit; letter-spacing: inherit; }
.cat-toggle {
  width: 100%; display: flex; align-items: center; gap: 16px; padding-block: 22px; text-align: start;
  font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3;
  color: var(--muted); transition: color .25s var(--ease);
}
.lang-ar .cat-toggle { letter-spacing: 0; }
.cat-toggle:hover, .cat-group.is-open .cat-toggle { color: var(--text); }
.cat-gname { flex: 1; }
.cat-gcount { font-family: var(--font-body); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); transition: color .25s; }
.cat-group.is-open .cat-gcount { color: var(--accent); }
.cat-chev { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; /* physical, so it points the same way in RTL */ transform: translateY(-3px) rotate(45deg); transition: transform .35s var(--ease); }
.cat-group.is-open .cat-chev { transform: translateY(2px) rotate(-135deg); }

/* accordion: animate the row track from 0fr to 1fr */
.cat-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.cat-parts { min-height: 0; overflow: hidden; padding-block-end: 18px; }
.js .cat-group:not(.is-open) .cat-panel { grid-template-rows: 0fr; }
.js .cat-group:not(.is-open) .cat-parts { visibility: hidden; padding-block-end: 0; transition: visibility 0s .45s, padding .45s var(--ease); }

.cat-part {
  position: relative; isolation: isolate; width: 100%;
  display: flex; align-items: center; gap: 14px; padding: 9px 14px; text-align: start;
  font-size: 16px; color: var(--text-2); transition: color .25s var(--ease);
}
.cat-part::before { /* accent fill that sweeps in on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .35s var(--ease);
}
[dir="rtl"] .cat-part::before { --origin: right; }
.cat-part span::before { /* dash marking the part shown in the viewer */
  content: ""; display: inline-block; vertical-align: middle; width: 0; height: 1px; margin-inline-end: 0;
  background: var(--accent); transition: width .3s var(--ease), margin .3s var(--ease);
}
.cat-part.is-active { color: var(--text); }
.cat-part.is-active span::before { width: 18px; margin-inline-end: 12px; }
@media (hover: hover) {
  .cat-part:hover { color: var(--accent-ink); }
  .cat-part:hover::before { transform: scaleX(1); }
  .cat-part:hover span::before { background: var(--accent-ink); }
}
.cat-part span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cat-thumb { display: none; }

.cat-help { margin-block-start: 28px; color: var(--text-2); }
.cat-help a { color: var(--text); white-space: nowrap; border-block-end: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.cat-help a:hover { color: var(--accent); border-color: var(--accent); }

.cat-viewer { position: sticky; inset-block-start: 108px; }
.viewer-frame {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(closest-side, rgba(240, 100, 30, .08), transparent),
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px) center / 24px 24px,
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px) center / 24px 24px;
}
.viewer-img { width: 72%; height: auto; transition: opacity .2s var(--ease), transform .35s var(--ease); }
.viewer-img.is-swapping { opacity: 0; transform: scale(.96); }
/* name + button always share one row: the name scales with the caption's width (container units) */
.viewer-meta { container-type: inline-size; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-block-start: 22px; }
.viewer-meta > div { min-width: 0; }
.viewer-meta .label { margin: 0; }
.viewer-meta .btn { height: 44px; padding-inline: 18px; font-size: 14px; gap: 8px; flex-shrink: 0; }
.viewer-name {
  font-family: var(--font-display); font-size: clamp(18px, 4.4cqi, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15;
  margin-block-start: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lang-ar .viewer-name { letter-spacing: 0; line-height: 1.4; }

/* Makes: boxed row of cells (logo over name) opening the catalogue section.
   1px gaps over a line-coloured background draw the dividers for any column count. */
.makes { margin-block-end: clamp(64px, 8vw, 112px); }
.makes .label { margin-block-end: 16px; }
.makes-grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.makes-grid li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 30px 8px 26px; text-align: center; position: relative; background: var(--bg-alt);
  color: #6c6c75; font-size: 13px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.makes-grid li::after { content: ""; position: absolute; inset-inline: 30%; inset-block-end: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
.make-logo { width: 34px; height: 34px; flex-shrink: 0; opacity: .7; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.makes-grid li:hover { color: var(--text); background: var(--surface); }
.makes-grid li:hover .make-logo { opacity: 1; transform: translateY(-2px); }
.makes-grid li:hover::after { transform: scaleX(1); }

/* ---------- Brand plates: light enamel plates so every logo shows in its own colours ---------- */
.plates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plate {
  position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 48px 28px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.012) 0 1px, transparent 1px 3px),
    linear-gradient(155deg, #f5f5f7 0%, #e6e6ea 55%, #d8d8de 100%);
  border: 1px solid #f7f7f9;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.08), 0 30px 60px -30px rgba(0,0,0,.9);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plate::before { /* moving sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.7) 48%, transparent 62%);
  transform: translateX(-100%); transition: transform .9s var(--ease);
}
.plate::after { content: ""; position: absolute; inset-inline: 26px; inset-block-end: 22px; height: 2px; background: var(--accent); transform: scaleX(.12); transform-origin: var(--origin, left); transition: transform .5s var(--ease); }
[dir="rtl"] .plate::after { --origin: right; }
.plate:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.08), 0 40px 70px -30px rgba(0,0,0,.95); }
.plate:hover::before { transform: translateX(100%); }
.plate:hover::after { transform: scaleX(1); }
.rivet { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffffff, #9c9ca4 70%); box-shadow: 0 1px 1px rgba(0,0,0,.25); }
.rivet:nth-child(1) { top: 14px; left: 14px; } .rivet:nth-child(2) { top: 14px; right: 14px; }
.rivet:nth-child(3) { bottom: 14px; left: 14px; } .rivet:nth-child(4) { bottom: 14px; right: 14px; }
.plate-tag { position: absolute; inset-block-start: 22px; inset-inline-start: 26px; color: #74747c; font-size: 11px; }
.plate-logo { width: 78%; max-height: 52%; height: auto; object-fit: contain; transition: transform .5s var(--ease); }
.plate:hover .plate-logo { transform: scale(1.03); }
.plate-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 4vw, 60px); letter-spacing: -0.04em;
  background: linear-gradient(180deg, #2c2c32 10%, #0e0e11 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-align: center; line-height: 1; padding-inline: .12em;
}
.plate.is-long .plate-name { font-size: clamp(30px, 3vw, 44px); }
.plate-name small { display: block; font-size: 15px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin-block-start: 14px; -webkit-text-fill-color: #74747c; }
.brand-desc { margin-block-start: 16px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* ---------- FAQ: native <details> accordion (works without JS, fully crawlable) ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.faq-list { border-block-end: 1px solid var(--line); }
.faq-item { border-block-start: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; transition: color .2s; }
.faq-item summary:hover h3 { color: var(--accent); }
.faq-icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; color: var(--muted); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline: 0; height: 1.5px; margin-block-start: -0.75px; background: currentColor; transition: transform .3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { color: var(--accent); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { color: var(--text-2); max-width: 62ch; padding-block-end: 24px; margin-block-start: -6px; }

/* ---------- Light commercial ---------- */
.lcv-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
/* van models grouped by make: one row per make, logo + name, models on the far side */
.fleet { margin: 0 0 36px; border-block-end: 1px solid var(--line); }
.fleet-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 14px; border-block-start: 1px solid var(--line); }
.fleet dt { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15.5px; white-space: nowrap; }
.fleet .make-logo { width: 22px; height: 22px; opacity: .55; }
.fleet dd { margin: 0; color: var(--text-2); font-size: 15px; text-align: end; transition: color .25s var(--ease); }
.fleet-row:hover .make-logo { opacity: 1; }
.fleet-row:hover dd { color: var(--text); }
.lcv-figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding-inline: 24px; margin-block-start: 6px; }
.lcv-figure svg path, .lcv-figure svg circle { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.lcv-figure.is-in svg path, .lcv-figure.is-in svg circle { animation: draw 2.4s .2s var(--ease) forwards; }
html:not(.js) .lcv-figure svg * { stroke-dashoffset: 0; }
[dir="rtl"] .lcv-figure svg { transform: scaleX(-1); }

.icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn-ghost .icon { color: #3ccf6e; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.contact-copy .section-head { margin-block-end: 40px; }
.label { margin-block-end: 12px; }
.phones { margin-block-end: 36px; border-block-start: 1px solid var(--line); }
.phones li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 14px; border-block-end: 1px solid var(--line); }
.phones a {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; transition: color .2s;
}
.phones a:hover { color: var(--accent); }
.address, .email { font-size: 20px; margin-block-end: 28px; }
.address { display: grid; gap: 6px; }
.email a, .address a { border-block-end: 1px solid var(--line-strong); transition: border-color .2s, color .2s; }
.email a:hover, .address a:hover { color: var(--accent); border-color: var(--accent); }
.hours { margin: 0 0 32px; max-width: 380px; display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 24px; font-size: 17px; }
.hours dd { margin: 0; color: var(--text-2); font-variant-numeric: tabular-nums; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.wa-float {
  position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 40;
  display: flex; align-items: center; gap: 10px; height: 54px; padding-inline: 16px 20px;
  background: #121214; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text);
  font-size: 14.5px; font-weight: 500; box-shadow: 0 18px 40px -12px rgba(0,0,0,.7);
  transition: transform .3s var(--ease), border-color .3s;
}
.wa-float .icon { width: 24px; height: 24px; color: #3ccf6e; }
.wa-float:hover { transform: translateY(-2px); border-color: #3ccf6e; }
.map-frame { position: relative; min-height: 460px; padding: 10px; }
.map-frame iframe {
  width: 100%; height: 100%; min-height: 440px; border: 0; display: block;
  filter: invert(.92) hue-rotate(180deg) grayscale(.85) contrast(.92) brightness(.9);
}
.map-pin { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(240,100,30,.25), 0 0 0 14px rgba(240,100,30,.1); pointer-events: none; display: none; }
.map-coords { position: absolute; inset-block-end: 22px; inset-inline-start: 22px; background: rgba(10,10,11,.85); padding: 6px 10px; border: 1px solid var(--line-strong); color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { padding-block: 64px 40px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.footer-inner img { width: 96px; height: auto; }
.footer-tag { color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; color: var(--text-2); }
.footer-nav a:hover { color: var(--accent); }
.footer-locations { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.footer-locations .label { margin: 0; font-size: 12px; font-weight: 500; }
.footer-locations ul { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer-locations a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 15px; transition: color .2s; }
.footer-locations svg { color: var(--accent); flex-shrink: 0; }
.footer-locations a:hover { color: var(--accent); }
.footer-legal { grid-column: 1 / -1; padding-block-start: 28px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.notfound img { width: 120px; margin-block-end: 24px; }
.notfound h1 { font-size: clamp(48px, 8vw, 110px); }
.notfound p { display: flex; gap: 12px; flex-wrap: wrap; color: var(--text-2); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { min-height: 0; padding-block: 140px 88px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 560px; justify-self: start; }
  .plates { grid-template-columns: 1fr 1fr; }
  .catalogue { grid-template-columns: 1fr; }
  .cat-viewer { display: none; }
  /* tablet/phone: uniform one-line rows, small drawing + name */
  .cat-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-part { gap: 14px; padding-block: 6px; padding-inline: 6px 14px; font-size: 14.5px; background: var(--bg-alt); border: 1px solid var(--line); }
  .cat-part span::before { display: none; }
  .cat-thumb { display: block; width: 72px; height: auto; flex-shrink: 0; }
  .makes-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid, .lcv-grid, .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0;
    background: var(--bg); border-block-end: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.6);
    padding: 8px var(--gutter) 24px; margin: 0;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 22px; padding-block: 14px; border-block-end: 1px solid var(--line); color: var(--text); }
  .nav a::after { display: none; }
  .nav .nav-call { display: block; color: var(--accent); border: 0; }
  .menu-toggle { display: block; }
  .btn-call { display: none; }
  .header-actions { margin-inline-start: auto; gap: 8px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cat-parts { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .cat-part { gap: 10px; font-size: 13.5px; }
  .cat-thumb { width: 60px; }
}
@media (max-width: 600px) {
  .fleet-row { flex-direction: column; align-items: flex-start; }
  .fleet dd { text-align: start; padding-inline-start: 34px; }
  body { font-size: 16px; }
  .hero { padding-block-start: 116px; }
  .hero-lead, .section-lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .plates { gap: 10px; }
  .plate { padding: 36px 14px; }
  .plate-tag { inset-block-start: 14px; inset-inline-start: 16px; font-size: 10px; }
  .plate::after { inset-inline: 16px; inset-block-end: 14px; }
  .plate-logo { width: 86%; }
  .plate-name { font-size: 34px; }
  .rivet { width: 5px; height: 5px; }
  .rivet:nth-child(1) { top: 8px; left: 8px; } .rivet:nth-child(2) { top: 8px; right: 8px; }
  .rivet:nth-child(3) { bottom: 8px; left: 8px; } .rivet:nth-child(4) { bottom: 8px; right: 8px; }
  .wa-float { padding: 0; width: 54px; justify-content: center; }
  .wa-float span { display: none; }
  .contact-actions .btn { flex: 1 1 100%; justify-content: center; }
  .makes-grid { grid-template-columns: 1fr 1fr; }
  .figure-frame { padding: 12px; }
  .hero-figure figcaption, .lcv-figure figcaption { padding-inline: 12px; font-size: 11px; }
  figcaption span + span { display: none; }
  .map-frame, .map-frame iframe { min-height: 340px; }
}

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