/* Persian and Arabic: Estedad (OFL, fonts/OFL-Estedad.txt), served from the site itself since Google Fonts is
   slow or blocked in Iran; English keeps Vazirmatn, whose Latin is Roboto */
@font-face { font-family: Estedad; src: url("fonts/Estedad.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --font: Estedad, Vazirmatn, Tahoma, sans-serif; }
:root[lang="en"] { --font: Vazirmatn, "Segoe UI", Roboto, sans-serif; }

:root {
  --bg: #0d0e10;
  --panel: #16181b;
  --line: #2a2d32;
  --text: #f2f2f0;
  --muted: #9a9ea6;
  --gold: #c9a96a;
  --blue: #0078d6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; }

.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(13, 14, 16, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { direction: ltr; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .28em; font-size: 15px; }
.logo span { color: var(--gold); }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.top nav a:hover { color: var(--text); }

main { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px) 64px; }

.hero { padding-top: 28px; }
.title { margin: 8px 0 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); position: relative; }
.title::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 120px; margin-left: -60px; height: 1px; background: var(--gold); }
.t-brand { display: flex; align-items: center; justify-content: center; gap: 16px; }
.t-brand i { flex: 1; max-width: 180px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.t-brand i:last-child { background: linear-gradient(90deg, transparent, var(--gold)); }
.brand { direction: ltr; display: inline-block; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.t-name { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.title h1 { direction: ltr; text-align: right; margin: 0; font-size: clamp(38px, 6vw, 72px); font-weight: 300; line-height: 1.05; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 30%, #b9bcc2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-back { flex: none; color: var(--muted); font-size: 13px; text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; transition: color .2s, border-color .2s; }
.t-back:hover { color: var(--text); border-color: var(--muted); }
.t-fa { margin: 6px 0 0; color: #d7d8db; font-size: clamp(15px, 1.6vw, 18px); font-weight: 400; }
.t-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.t-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; min-width: 0; }
.t-chips li { font-size: 12.5px; color: var(--muted); padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); }
.t-chips li:first-child { color: var(--gold); border-color: rgba(201,169,106,.4); }
.t-cta.cta { flex: none; margin-inline-start: auto; padding: 10px 24px; font-size: 14px; white-space: nowrap; }
@media (max-width: 640px) {
  .title { padding-bottom: 20px; margin-bottom: 18px; }
  .t-brand { gap: 12px; }
  .t-back { padding: 7px 13px; font-size: 12px; }
  .t-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-left: 18px;
    -webkit-mask: linear-gradient(90deg, transparent, #000 18px); mask: linear-gradient(90deg, transparent, #000 18px); }
  .t-chips::-webkit-scrollbar { display: none; }
  .t-chips li { flex: none; font-size: 12px; padding: 5px 11px; }
  .t-chips li:nth-child(3) { display: none; } /* the colour count: the swatches under the car say it on a phone */
  .t-cta.cta { padding: 9px 18px; font-size: 13px; }
}

.colours { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.colours[hidden] { display: none; }
.colours[hidden] { display: none; }
.colours b { color: var(--text); font-weight: 600; }
.swatches { display: flex; gap: 10px; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 2px solid var(--bg); box-shadow: 0 0 0 1px #555a62;
  transition: box-shadow .2s, transform .2s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.on { box-shadow: 0 0 0 2px var(--gold); }

/* ---- the stage ---------------------------------------------------------------------------------------------- */

.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(#e9eaec, #c9cbcf);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.stage[data-view="int"] { touch-action: none; background: #111; }
.stage[data-view="int"] .hint { display: none; }
.stage.grabbing { cursor: grabbing; }
.stage:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; }

.view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.view.on { opacity: 1; visibility: visible; transition: opacity .45s ease; }

#ext-cv, #gal-cv { width: 100%; height: 100%; display: block; pointer-events: none; }
/* the car shows itself once, softly: from the studio's own light, a touch closer, settling into place */
#ext-cv { opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 2s cubic-bezier(.16, .8, .24, 1); }
#ext-cv.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { #ext-cv { transform: none; transition: opacity .4s ease; } }

.ring {
  position: absolute; left: 8%; right: 8%; bottom: 9%; height: 15%;
  border: 1px solid rgba(0, 0, 0, .18); border-radius: 50%;
  pointer-events: none;
  -webkit-mask: linear-gradient(transparent 45%, #000 60%);
          mask: linear-gradient(transparent 45%, #000 60%);
}
.ring span {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); white-space: nowrap;
  background: #d4d6da; color: #444; font-size: 11px; padding: 1px 8px; border-radius: 9px; direction: ltr;
}

#int { overflow: hidden; }
.cube {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform-style: preserve-3d;
}
.face {
  position: absolute; left: 0; top: 0;
  backface-visibility: hidden;
  pointer-events: none;
  user-select: none;
}

#gal { background: #1b1c1f; }
.dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: #ffffff70; cursor: pointer; }
.dots button.on { background: #fff; width: 22px; border-radius: 5px; }

.thumb {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: clamp(110px, 24%, 300px); aspect-ratio: 16 / 9;
  padding: 0; border: 3px solid #fff; border-radius: 14px; overflow: hidden;
  background: #222; cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
  transition: transform .2s ease;
}
.thumb:hover { transform: scale(1.03); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage[data-view="ext"] .thumb img { object-position: 50% 62%; }
.thumb span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 5px; text-align: right;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: 12px; font-weight: 600;
}

.hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; padding: 6px 14px; border-radius: 20px;
  pointer-events: none; transition: opacity .4s; white-space: nowrap;
}
.hint.gone { opacity: 0; }

.load { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0, 0, 0, .1); }
.load i { display: block; height: 100%; background: var(--gold); transform-origin: right; transform: scaleX(0); transition: transform .2s; }

/* ---- tools ---------------------------------------------------------------------------------------------------- */

.tools { display: flex; justify-content: center; gap: 16px; margin: 18px 0 8px; }
.tools button {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid #555a62; background: transparent; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.tools button:hover, .tools button.on { background: #ffffff14; border-color: var(--text); }
.tools svg { width: 24px; height: 24px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tools [hidden] { display: none; }

/* ---- line-up -------------------------------------------------------------------------------------------------- */

.lineup-wrap h2, .contact h2 { font-weight: 600; font-size: 22px; margin: 48px 0 16px; }
.lineup { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pick {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  color: var(--text); text-decoration: none; padding-bottom: 14px;
  transition: border-color .2s, transform .2s;
}
.pick:hover { transform: translateY(-2px); border-color: #555a62; }
.pick.on { border-color: var(--gold); }
.pick img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #ddd; margin-bottom: 10px; }
.pick-brand, .pick b { direction: ltr; text-align: right; padding: 0 14px; }
.pick-brand { color: var(--gold); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.pick b { font-weight: 600; font-size: 18px; }
.pick-tags { display: flex; gap: 6px; padding: 8px 14px 0; }
.pick-cols { display: flex; gap: 4px; margin-inline-start: auto; align-items: center; }
.pick-cols s { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px #555a62; }
.pick-tags i { font-style: normal; font-size: 11px; color: var(--muted); border: 1px solid var(--line); padding: 1px 8px; border-radius: 10px; }

.contact { border-top: 1px solid var(--line); margin-top: 56px; }
.contact p { color: var(--muted); }

@media (max-width: 640px) {
  .stage { border-radius: 12px; }
  .thumb { top: 10px; right: 10px; border-width: 2px; border-radius: 10px; }
  .tools button { width: 48px; height: 48px; }
  .top nav { gap: 14px; }
}

/* ---- start button ------------------------------------------------------------------------------------------- */

.tools .start { border-color: var(--gold); }
.tools .start svg { stroke: var(--gold); }
.tools .start.on { background: var(--gold); }
.tools .start.on svg { stroke: #111; }
.credits { font-size: 12px; opacity: .6; }

/* ---- real media under the stage --------------------------------------------------------------------------- */

#hero-vid { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.media h2 { font-weight: 600; font-size: 22px; margin: 44px 0 14px; }
.reels {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: thin;
}
.reel {
  position: relative; flex: 0 0 auto; width: clamp(150px, 42vw, 230px); aspect-ratio: 9 / 16;
  border-radius: 14px; overflow: hidden; background: #000; scroll-snap-align: start; cursor: pointer;
  border: 1px solid var(--line);
}
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel .tag {
  position: absolute; top: 8px; right: 8px; font-size: 11px; color: #fff;
  background: rgba(0, 0, 0, .55); padding: 2px 9px; border-radius: 10px;
}
.reel .snd {
  position: absolute; bottom: 10px; left: 10px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .55); display: grid; place-items: center; cursor: pointer;
}
.reel .snd svg { width: 18px; height: 18px; fill: #fff; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.reel.loud .snd .w { display: none; }
.real { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.real button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #222; aspect-ratio: 4 / 3; }
.real img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.real button:hover img { transform: scale(1.04); }
.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(5, 6, 8, .94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; user-select: none; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 16px;
}
.lb-close { top: 10px; left: 14px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.tools [hidden] { display: none; }

/* ---- home page ----------------------------------------------------------------------------------------------- */

.cover { position: relative; height: min(86vh, 760px); min-height: 460px; overflow: hidden; background: #000; }
.cover-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-shade {
  position: absolute; inset: 0;
  /* fades all the way into the page below, no edge */
  background: linear-gradient(to top, var(--bg) 0%, rgba(13,14,16,.92) 14%, rgba(13,14,16,.55) 40%, rgba(13,14,16,.12) 70%, rgba(13,14,16,.4) 100%);
}
.cover-text {
  position: absolute; right: 0; left: 0; bottom: 0;
  max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) clamp(36px, 7vh, 72px);
}
.cover-text h1 { margin: 10px 0 12px; font-size: clamp(30px, 5.4vw, 60px); font-weight: 800; line-height: 1.25; }
.cover-text p { margin: 0 0 24px; color: #d6d8dc; font-size: clamp(15px, 1.6vw, 18px); max-width: 560px; }
.cta {
  display: inline-block; padding: 13px 28px; border-radius: 30px; text-decoration: none; font-weight: 600;
  background: var(--gold); color: #111; transition: transform .2s, background .2s;
}
.cta:hover { transform: translateY(-2px); }
.cta.ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold); }

.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 52px 0 18px; }
.sec-head h2 { margin: 0; font-weight: 600; font-size: 24px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 20px;
  padding: 6px 14px; cursor: pointer; font-size: 14px;
}
.filters button small { opacity: .6; margin-inline-start: 4px; }
.filters button.on { border-color: var(--gold); color: var(--text); }
.pick[hidden] { display: none; }
.pick-fa { padding: 0 14px; color: var(--muted); font-size: 13px; }

.reel-car {
  position: absolute; bottom: 12px; right: 10px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}

.about { margin-top: 64px; }
.about h2 { font-weight: 600; font-size: 24px; }
.about p { color: #c9ccd2; line-height: 2; max-width: 820px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; }
.steps li {
  counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.steps li::before { content: counter(s, persian); color: var(--gold); font-size: 22px; font-weight: 800; }
.steps b { font-size: 17px; }
.steps span { color: var(--muted); font-size: 14px; line-height: 1.8; }
.home .top { position: fixed; left: 0; right: 0; }
.logo { white-space: nowrap; }
section[id] { scroll-margin-top: 72px; }
@media (max-width: 640px) {
  .top { padding: 12px 16px; }
  .logo { font-size: 13px; letter-spacing: .2em; }
  .top nav { gap: 12px; }
  .top nav a { font-size: 13px; white-space: nowrap; }
  .home .top nav a[href="#watch"], .home .top nav a[href="#about"] { display: none; }
  .home .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* a phone card: brand, model, one quiet line of facts; the Persian name repeats the model, so it goes */
  .home .pick { padding-bottom: 12px; border-radius: 12px; }
  .home .pick img { margin-bottom: 8px; }
  .home .pick-brand, .home .pick b { padding: 0 11px; }
  .home .pick-brand { font-size: 10px; letter-spacing: .12em; }
  .home .pick b { font-size: 14.5px; line-height: 1.35; }
  .home .pick-fa { display: none; }
  .home .pick-tags { display: flex; flex-wrap: wrap; gap: 0; padding: 5px 11px 0; line-height: 1.75; color: var(--muted); }
  .home .pick-tags i { border: 0; padding: 0; border-radius: 0; font-size: 11.5px; white-space: nowrap; }
  /* the dot stays with the fact before it, so a wrapped line never starts with one */
  .home .pick-tags i:not(:last-of-type)::after { content: " ·"; margin-inline-end: 4px; opacity: .7; }
  .home .pick-cols { display: flex; flex-basis: 100%; margin: 6px 0 0; }
  .home .pick-cols:empty { display: none; }
  .home .u-badge, .home .u-demo { top: 7px; font-size: 10.5px; padding: 2px 8px; border-radius: 10px; }
  .home .u-badge { right: 7px; }
  .home .u-demo { left: 7px; }
  /* the brand filters: one row that slides, edge to edge */
  .home .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px; }
  .home .filters::-webkit-scrollbar { display: none; }
  .home .filters button { flex: none; padding: 6px 13px; font-size: 13px; }
}
.top { gap: 18px; }

/* ---- home hero, the bold version ------------------------------------------------------------------------------ */

.cover-ghost {
  position: absolute; left: -2vw; bottom: 8%; direction: ltr; pointer-events: none;
  font: 900 clamp(120px, 24vw, 380px)/0.8 Vazirmatn, sans-serif; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 169, 106, .22);
}
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 14px; letter-spacing: .02em; }
.kicker i { display: inline-block; width: 34px; height: 1px; background: var(--gold); }
.cover-text h1 {
  margin: 14px 0 16px; font-weight: 900; line-height: 1.12; letter-spacing: -.01em;
  font-size: clamp(38px, 7.2vw, 92px); text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}
.cover-text h1 span { color: #e9e6df; }
.cover-text h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #e8cf95 0%, #c9a96a 45%, #f5e3b5 70%, #b8945a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cover-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.cover-facts { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.cover-facts li {
  padding: 8px 14px; border-radius: 12px; font-size: 13px; color: #cfd2d7;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(6px);
}
.cover-facts b { color: #fff; font-weight: 800; margin-inline-end: 4px; }
@media (max-width: 640px) {
  .cover-text h1 { font-size: clamp(36px, 11vw, 52px); }
  .cover-ghost { bottom: 40%; }
}
@media (max-width: 640px) {
  .cover-ghost { display: none; }
  .cover-shade {
    background: linear-gradient(to top, var(--bg) 0%, rgba(13,14,16,.94) 22%, rgba(13,14,16,.72) 48%, rgba(13,14,16,.3) 72%, rgba(13,14,16,.45) 100%);
  }
}

/* ---- used cars ------------------------------------------------------------------------------------------------- */

.kinds { display: inline-flex; padding: 4px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.kinds button { border: 0; background: none; color: var(--muted); padding: 7px 18px; border-radius: 20px; cursor: pointer; font-size: 14px; }
.kinds button small { opacity: .7; }
.kinds button.on { background: var(--gold); color: #111; font-weight: 600; }
.filters[hidden], .lineup[hidden] { display: none; }
.pick.used { position: relative; }
.u-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 12px; font-weight: 600;
  padding: 3px 11px; border-radius: 12px; background: #2f8f5b; color: #fff;
}
.u-badge.res { background: #c48a2a; }
.u-badge.sold { background: #5b6068; }
.u-demo { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 12px; padding: 3px 11px; border-radius: 12px; background: rgba(0,0,0,.6); color: #fff; }

.used-page main { padding-top: 22px; }
.back { color: var(--muted); text-decoration: none; font-size: 14px; }
.demo-note {
  margin-top: 14px; padding: 10px 14px; border-radius: 10px; font-size: 13px;
  background: rgba(201,169,106,.12); border: 1px solid rgba(201,169,106,.35); color: #e6d3a6;
}
.demo-note[hidden] { display: none; }
.u-head { margin: 18px 0 16px; }
.u-head h1 { margin: 4px 0 10px; font-size: clamp(26px, 4vw, 42px); font-weight: 800; }
.u-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.u-chips span { padding: 5px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; color: #d6d8dc; }

.u-main { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #1a1c20; touch-action: pan-y; }
.u-main canvas, .u-main #u-photo { width: 100%; height: 100%; display: block; object-fit: cover; }
.u-main #u-photo { cursor: zoom-in; }
.u-main [hidden] { display: none !important; }
.u-cube-box { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: none; }
.u-main .u-badge { top: 14px; right: 14px; font-size: 13px; }
.u-switch { display: flex; justify-content: center; gap: 8px; margin: 14px 0 4px; }
.u-switch[hidden] { display: none; }
.u-switch button { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 20px; padding: 7px 16px; cursor: pointer; }
.u-switch button.on { border-color: var(--gold); color: var(--text); }
.u-switch button[hidden] { display: none; }
.u-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 4px; }
.u-thumbs[hidden] { display: none; }
.u-thumbs button { flex: 0 0 auto; width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #222; opacity: .6; }
.u-thumbs button.on { border-color: var(--gold); opacity: 1; }
.u-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.u-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; margin-top: 26px; }
.u-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.u-card h2 { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.u-body { display: flex; align-items: center; gap: 22px; }
.u-body svg { width: 150px; flex: 0 0 auto; }
.u-body .panel { stroke: #0d0e10; stroke-width: 2.5; transition: opacity .2s; }
.u-body .panel:hover { opacity: .75; }
.u-body .panel.ok { fill: #3a8f63; }
.u-body .panel.paint { fill: #d9a03a; }
.u-body .panel.replaced { fill: #d0534c; }
.u-body .panel.unknown { fill: #4b5058; }
.u-body .glass { fill: #20242a; stroke: #0d0e10; stroke-width: 2; }
.u-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: #d6d8dc; }
.u-legend li { display: flex; align-items: center; gap: 8px; }
.u-legend li.none { opacity: .45; }
.u-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.u-legend i.ok { background: #3a8f63; } .u-legend i.paint { background: #d9a03a; }
.u-legend i.replaced { background: #d0534c; } .u-legend i.unknown { background: #4b5058; }
.u-legend b { margin-inline-start: auto; color: var(--text); }
.u-specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.u-specs div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.u-specs dt { color: var(--muted); }
.u-specs dd { margin: 0; text-align: left; }
.u-notes { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.04); color: #d6d8dc; font-size: 14px; line-height: 1.9; }
.u-notes[hidden], .u-photos-wrap[hidden] { display: none; }
.u-photos-wrap h2 { font-weight: 600; font-size: 22px; margin: 40px 0 14px; }

.u-ask {
  position: sticky; bottom: 14px; z-index: 10; margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; border-radius: 16px; background: rgba(22,24,27,.92); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.u-ask div { display: flex; flex-direction: column; gap: 2px; margin-inline-end: auto; }
.u-ask span { color: var(--muted); font-size: 13px; }
.u-ask.sold .cta { pointer-events: none; opacity: .4; }
.u-code { border: 1px dashed var(--gold); background: transparent; color: var(--gold); border-radius: 10px; padding: 9px 14px; cursor: copy; font: inherit; }
@media (max-width: 760px) {
  .u-cols { grid-template-columns: 1fr; }
  .u-specs { grid-template-columns: 1fr; }
  .u-body svg { width: 120px; }
  .u-ask .cta { flex: 1; text-align: center; }
}

/* ---- home hero, calm version (2026-10-23: the loud one read cheap) ------------------------------------------- */

.home .cover-ghost { display: none; }
.home .cover-shade {
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(13,14,16,.88) 16%, rgba(13,14,16,.35) 52%, rgba(13,14,16,.25) 100%),
    linear-gradient(to left, rgba(13,14,16,.78) 0%, rgba(13,14,16,.35) 42%, rgba(13,14,16,0) 70%);
}
.home .cover-text { padding-bottom: clamp(40px, 9vh, 96px); }
.home .kicker { color: var(--gold); font-size: 12px; letter-spacing: .32em; direction: ltr; display: inline-block; }
.home .kicker i { display: none; }
.home .cover-text h1 {
  margin: 14px 0 14px; font-weight: 700; line-height: 1.3; letter-spacing: 0;
  font-size: clamp(30px, 4.2vw, 58px); text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.home .cover-text h1 em { font-style: normal; color: var(--gold); background: none; -webkit-text-fill-color: currentColor; }
.home .cover-text p { max-width: 520px; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.9; color: #cfd2d7; margin-bottom: 26px; }
.home .cover-cta { align-items: center; gap: 22px; margin-bottom: 34px; }
.home .cover-cta .cta { padding: 12px 30px; font-size: 15px; }
.home .link { color: #e9e6df; text-decoration: none; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; }
.home .link:hover { border-color: var(--gold); color: #fff; }
.home .cover-facts { display: flex; gap: 0; flex-wrap: wrap; }
.home .cover-facts span {
  display: flex; flex-direction: column; gap: 2px; padding: 0 22px; font-size: 12px; color: #9a9ea6;
  border-inline-start: 1px solid rgba(255,255,255,.14); background: none; border-radius: 0; backdrop-filter: none;
}
.home .cover-facts span:first-child { padding-inline-start: 0; border: 0; }
.home .cover-facts b { color: #fff; font-size: 18px; font-weight: 700; margin: 0; }
@media (max-width: 640px) {
  .home .cover-text h1 { font-size: 30px; }
  .home .cover-facts span { padding: 0 14px; }
}

/* ---- about, why, contact, footer (2026-10-23) ---------------------------------------------------------------- */

.home .about { margin-top: 90px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.about-text .kicker { color: var(--gold); font-size: 13px; letter-spacing: .04em; }
.about-text h2 { margin: 10px 0 18px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.4; }
.about-text p { color: #c3c6cc; line-height: 2.1; font-size: 16px; margin: 0 0 14px; max-width: none; }
.about-pic { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.about-pic::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201,169,106,.55); border-radius: 14px; pointer-events: none; }
.about-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); }
.about-pic figcaption {
  position: absolute; bottom: 22px; right: 24px; font-size: 13px; color: #fff;
  background: rgba(0,0,0,.5); padding: 5px 12px; border-radius: 10px; backdrop-filter: blur(6px);
}

.steps-line { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.steps-line::before {
  content: ""; position: absolute; top: 22px; right: 8%; left: 8%; height: 1px;
  background: linear-gradient(to left, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
  opacity: .6;
}
.steps-line li { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.steps-line span {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--gold);
  background: var(--bg); border: 1px solid var(--gold); box-shadow: 0 0 0 6px var(--bg);
}
.steps-line b { font-weight: 600; font-size: 15px; }

.why-title { margin: 70px 0 20px; font-size: 24px; font-weight: 700; }
.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why li {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 22px 24px;
  border-radius: 18px; background: linear-gradient(180deg, #17191c, #121417); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.why li::before { content: ""; position: absolute; top: 0; right: 22px; left: 22px; height: 2px; background: var(--gold); border-radius: 2px; opacity: .8; }
.why li:hover { transform: translateY(-4px); border-color: rgba(201,169,106,.5); }
.why svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.why b { font-size: 17px; }
.why span { color: var(--muted); font-size: 14px; line-height: 1.9; }

.contact-card {
  margin-top: 80px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, rgba(201,169,106,.28), rgba(201,169,106,0) 55%), linear-gradient(135deg, #1b1d21, #121316);
  border: 1px solid rgba(201,169,106,.35);
}
.contact-card .kicker { color: var(--gold); font-size: 13px; }
.contact-card h2 { margin: 8px 0 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.contact-card p { margin: 0; color: #c3c6cc; }
.contact-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact-actions .link { color: #e9e6df; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; }

.foot {
  max-width: 1280px; margin: 56px auto 0; padding: 26px clamp(16px, 3vw, 32px) 40px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.foot p { margin: 0; color: #6f737a; font-size: 12px; max-width: 760px; line-height: 1.8; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .steps-line { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .steps-line::before { display: none; }
  .why { grid-template-columns: 1fr; }
  .contact-actions .cta { flex: 1; text-align: center; }
}

/* the hero's route line */
/* the six steps always on one line: the gold links between them stretch or shrink to the width */
.home .route { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: nowrap; max-width: 600px; font-size: 13px; color: #d6d8dc; }
.home .route li { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; white-space: nowrap; }
.home .route li + li::before { content: ""; flex: 0 1 22px; min-width: 6px; height: 1px; background: var(--gold); margin: 0 8px; opacity: .8; }
@media (max-width: 640px) {
  .home .route { font-size: 12px; }
  .home .route li + li::before { min-width: 6px; margin: 0 5px; }
}

/* ---- language button (i18n.js puts it in the header) ------------------------------------------------------------ */

.lang { position: relative; flex: none; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 16px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); font: 600 12px/1 var(--font); letter-spacing: .06em;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--gold); }
.lang-btn svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 132px; padding: 6px;
  background: #16181b; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  color: var(--muted); font: 500 14px/1.2 var(--font); text-align: start;
}
.lang-menu button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.lang-menu button.on { color: var(--gold); }
@media (max-width: 640px) {
  .lang-btn { height: 30px; padding: 0 9px; gap: 5px; font-size: 11px; }
}
.top nav { margin-inline-start: auto; }

/* ---- English: the page runs left to right, so every right-hand placement above mirrors --------------------------- */

[dir="ltr"] .title h1 { text-align: left; }
[dir="ltr"] .t-brand i { background: linear-gradient(90deg, transparent, var(--gold)); }
[dir="ltr"] .t-brand i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
[dir="ltr"] .thumb { right: auto; left: 16px; }
[dir="ltr"] .thumb span { text-align: left; }
[dir="ltr"] .load i { transform-origin: left; }
[dir="ltr"] .pick-brand, [dir="ltr"] .pick b { text-align: left; }
[dir="ltr"] .u-badge { right: auto; left: 10px; }
[dir="ltr"] .u-demo { left: auto; right: 10px; }
[dir="ltr"] .u-main .u-badge { right: auto; left: 14px; }
[dir="ltr"] .reel .tag { right: auto; left: 8px; }
[dir="ltr"] .reel .snd { left: auto; right: 10px; }
[dir="ltr"] .reel-car { right: auto; left: 10px; }
[dir="ltr"] .about-pic figcaption { right: auto; left: 24px; }
[dir="ltr"] .home .cover-shade {
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(13,14,16,.88) 16%, rgba(13,14,16,.35) 52%, rgba(13,14,16,.25) 100%),
    linear-gradient(to right, rgba(13,14,16,.78) 0%, rgba(13,14,16,.35) 42%, rgba(13,14,16,0) 70%);
}
[dir="ltr"] .home .kicker { letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; }
@media (max-width: 640px) {
  [dir="ltr"] .thumb { left: 10px; }
  [dir="ltr"] .home .u-badge { right: auto; left: 7px; }
  [dir="ltr"] .home .u-demo { left: auto; right: 7px; }
  [dir="ltr"] .t-chips { padding-left: 0; padding-right: 18px;
    -webkit-mask: linear-gradient(270deg, transparent, #000 18px); mask: linear-gradient(270deg, transparent, #000 18px); }
}
.u-ask .cta { white-space: nowrap; }
[lang="ar"] .home .kicker { letter-spacing: 0; } /* spaced-out Arabic letters come apart */

/* ---- lines that break well: headings even out, paragraphs never leave one word alone on the last line, and a
   Latin run inside Persian (a licence, a model) stays whole and in its own order --------------------------------- */
h1, h2, h3, .kicker, .t-fa, .pick b, .why b, figcaption { text-wrap: balance; }
p, li, dd, .why span, .demo-note, .u-ask span { text-wrap: pretty; }
bdi { unicode-bidi: isolate; white-space: nowrap; }
.why span { display: block; }
@media (max-width: 640px) {
  /* the logo already goes home; three links and the language button don't fit beside it in Arabic */
  .top nav a[href="./"] { display: none; }
  .top nav { min-width: 0; }
}
.filters button, .kinds button, .t-chips li, .pick-tags i { white-space: nowrap; }
.cta { white-space: nowrap; }
[lang="fa"] .home .kicker { letter-spacing: .02em; }

/* ---- used car page, laid out like a listing: on a wide screen the pictures on one side, the name and the
   "want this car?" card beside them (it stays in view, never on top of anything); on a phone a slim bar ---------- */
@media (min-width: 901px) {
  .used-page main { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); column-gap: 32px; align-items: start; }
  .used-page main > .back, .used-page main > .demo-note, .used-page main > .u-cols, .used-page main > .u-photos-wrap { grid-column: 1 / -1; }
  .used-page .u-stage { grid-column: 1; grid-row: 3 / span 2; }
  .used-page .u-head { grid-column: 2; grid-row: 3; margin-top: 0; }
  .used-page .u-ask {
    grid-column: 2; grid-row: 4; position: sticky; top: 92px; bottom: auto; margin-top: 18px;
    flex-direction: column; align-items: stretch; gap: 12px; padding: 22px; background: var(--panel);
  }
  .used-page .u-ask div { margin: 0; gap: 6px; }
  .used-page .u-ask b { font-size: 19px; }
  .used-page .u-ask span { font-size: 14px; line-height: 1.8; }
  .used-page .u-ask .cta { text-align: center; }
  .used-page .u-main { max-height: calc(100vh - 220px); }
  .used-page .u-head h1 { font-size: clamp(26px, 2.6vw, 36px); }
}
@media (max-width: 900px) {
  .used-page .u-ask { bottom: 10px; padding: 9px 10px; gap: 8px; flex-wrap: nowrap; border-radius: 14px; }
  .used-page .u-ask div { display: none; }
  .used-page .u-ask .u-code { padding: 8px 10px; font-size: 13px; flex: none; }
  .used-page .u-ask .cta { flex: 1; padding: 10px 14px; font-size: 14px; }
}

/* ---- the photo viewer's arrows: drawn, not typed (‹ › flip in right-to-left text), and "next" sits where the
   reader goes: on the left in Persian and Arabic, on the right in English ------------------------------------------ */
.lb-prev, .lb-next { font-size: 0 !important; width: 52px; height: 52px; }
.lb-prev::before, .lb-next::before {
  content: ""; display: block; width: 16px; height: 16px; margin: auto;
  border-top: 2.5px solid #fff; border-left: 2.5px solid #fff;
}
[dir="rtl"] .lb-next { left: 4px; right: auto; }
[dir="rtl"] .lb-prev { right: 4px; left: auto; }
[dir="rtl"] .lb-next::before { transform: translateX(3px) rotate(-45deg); }   /* points left */
[dir="rtl"] .lb-prev::before { transform: translateX(-3px) rotate(135deg); }  /* points right */
[dir="ltr"] .lb-prev::before { transform: translateX(3px) rotate(-45deg); }
[dir="ltr"] .lb-next::before { transform: translateX(-3px) rotate(135deg); }
[dir="ltr"] .lb-close { left: auto; right: 14px; }

/* ---- car page on a phone: the car first, the rest quiet; the price button rides at the bottom ------------------ */
.buybar { display: none; }
@media (max-width: 640px) {
  .car-page main { padding-bottom: 96px; }
  .car-page .hero { padding-top: 14px; }
  .car-page .title { margin: 0 0 14px; padding-bottom: 0; border-bottom: 0; position: relative; }
  .car-page .title::after { display: none; }
  .car-page .t-brand { gap: 10px; padding: 0 44px; }
  .car-page .t-brand i { max-width: 70px; }
  .car-page .brand { font-size: 11px; letter-spacing: .28em; }
  /* the way back: a small round button at the start of the brand line */
  .car-page .t-back {
    position: absolute; top: -8px; inset-inline-start: 0; width: 38px; height: 38px; padding: 0; font-size: 0; line-height: 0;
    border-radius: 50%; display: block; border-color: var(--line);
  }
  /* a chevron drawn from two borders, centred on the circle's middle (its corner sits a touch off, so it looks centred) */
  .car-page .t-back::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
    border-top: 1.8px solid var(--text); border-right: 1.8px solid var(--text);
    transform: translate(-65%, -50%) rotate(45deg);
  }
  [dir="ltr"] .car-page .t-back::before { transform: translate(-35%, -50%) rotate(-135deg); }
  .car-page .t-name { justify-content: center; margin-top: 14px; }
  .car-page .title h1 { text-align: center; font-size: clamp(38px, 12vw, 52px); }
  .car-page .t-fa { text-align: center; font-size: 14px; color: var(--muted); margin-top: 2px; }
  .car-page .t-row { display: none; }

  /* the stage from edge to edge, a little taller: the car is the page */
  .car-page .stage { margin: 0 -16px; border-radius: 0; aspect-ratio: 16 / 11; }
  .car-page .thumb { width: 92px; top: 10px; border-width: 1.5px; border-radius: 9px; }
  .car-page .thumb span { font-size: 10.5px; padding: 10px 6px 3px; }
  .car-page .hint { font-size: 12px; padding: 5px 12px; bottom: 12px; }
  .car-page .tools { gap: 12px; margin: 16px 0 4px; }
  .car-page .tools button { width: 46px; height: 46px; }
  .car-page .colours { margin-top: 10px; }

  .buybar {
    display: flex; align-items: center; gap: 12px; position: fixed; z-index: 40; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom)); padding: 10px 10px 10px 16px;
    background: rgba(18, 20, 23, .9); border: 1px solid var(--line); border-radius: 18px;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  }
  [dir="rtl"] .buybar { padding: 10px 16px 10px 10px; }
  .buybar div { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.35; }
  .buybar b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar span { font-size: 12px; color: var(--gold); }
  .buybar .cta { flex: none; padding: 11px 20px; font-size: 14px; }
}

/* ---- services, mission and vision, questions, contact and the consultation form ------------------------------- */
.services { margin-top: 64px; }
.svc-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 46px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, #181a1e, #121316); border: 1px solid var(--line); transition: border-color .25s, transform .25s;
}
.svc:hover { border-color: rgba(201,169,106,.55); transform: translateY(-3px); }
.svc svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.svc b { font-size: 17px; font-weight: 700; line-height: 1.5; text-wrap: balance; }
.svc { min-width: 0; overflow-wrap: break-word; }
.svc span { color: var(--muted); font-size: 14px; line-height: 1.85; }
.svc.big { min-height: 210px; padding: 26px 26px 52px; }
.svc.big b { font-size: 19px; }
.svc:not(.big) { padding: 18px 18px 40px; }
.svc:not(.big) svg { width: 24px; height: 24px; }
.svc:not(.big) b { font-size: 15px; }
.svc:not(.big) span { font-size: 13px; }
.svc .go { position: absolute; bottom: 18px; inset-inline-start: 22px; width: 22px; height: 1px; background: var(--gold); transition: width .25s; }
.svc .go::after { content: ""; position: absolute; top: -3px; inset-inline-start: -1px; width: 7px; height: 7px; border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); }
[dir="ltr"] .svc .go::after { inset-inline-start: auto; right: -1px; transform: rotate(-135deg); }
.svc:hover .go { width: 34px; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.mv > div { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.mv p { margin: 8px 0 0; color: #d9dbe0; line-height: 2; font-size: 15.5px; }

.faq { margin-top: 64px; }
.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.faq details[open] { border-color: rgba(201,169,106,.45); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; cursor: pointer; font-weight: 600; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .25s; margin-top: -4px; }
.faq details[open] summary i { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 2; }

.home .contact { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; border-top: 0; }
.contact-info, .ask-form {
  padding: 28px; border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 100% 0%, rgba(201,169,106,.10), transparent 55%), var(--panel);
}
.contact-info h2 { margin: 8px 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.contact-info > p { color: var(--muted); line-height: 1.9; margin: 0 0 18px; }
.facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.8; color: #d9dbe0; font-size: 15px; }
.facts svg { flex: none; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.facts a { color: var(--text); }
.ask-form { display: grid; gap: 14px; }
.ask-form h3 { margin: 0 0 4px; font-size: 20px; }
.ask-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.ask-form input, .ask-form select, .ask-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #0f1113; color: var(--text); font: inherit; font-size: 15px;
}
.ask-form input:focus, .ask-form select:focus, .ask-form textarea:focus { outline: none; border-color: var(--gold); }
/* the spam trap: there for robots, invisible and zero-size for people (no far-off offset: that widened RTL pages) */
.ask-form .hp { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.ask-form { position: relative; }
.ask-form button { justify-self: start; border: 0; cursor: pointer; }
.ask-form button[disabled] { opacity: .6; }
.form-msg { margin: 0; min-height: 1.6em; font-size: 14px; color: var(--muted); }
.form-msg.ok { color: #9fd9b8; } .form-msg.bad { color: #f0b3ae; }

.pick-tags i.fz { color: var(--gold); border-color: rgba(201,169,106,.45); }
.filters button.fz { border-style: dashed; }

/* the service page */
.svc-page main { max-width: 860px; }
.svc-article { margin-top: 18px; padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(120% 120% at 100% 0%, rgba(201,169,106,.10), transparent 55%), var(--panel); }
.svc-article h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 38px); }
.svc-lead { color: var(--gold); margin: 0 0 18px; line-height: 1.9; }
.svc-article > p { color: #d9dbe0; line-height: 2.1; }
.svc-article h2 { font-size: 18px; margin: 26px 0 10px; }
.svc-article ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.svc-article li { position: relative; padding-inline-start: 22px; line-height: 1.9; color: #d9dbe0; }
.svc-article li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .8em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: .8; }
.svc-note { font-size: 13px; color: var(--muted) !important; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.svc-others { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.svc-others a { padding: 8px 14px; border-radius: 20px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; }
.svc-others a:hover { color: var(--text); border-color: var(--gold); }

@media (max-width: 900px) {
  .svc-main { grid-template-columns: 1fr; }
  .svc-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mv { grid-template-columns: 1fr; }
  .svc.big { min-height: 0; }
  .contact-info, .ask-form, .svc-article { padding: 22px; }
  .ask-form button { justify-self: stretch; }
  .home .top nav a[href="#services"] { display: none; }
}

/* hidden means hidden, whatever display a class gives (a .cta with [hidden] still showed) */
[hidden] { display: none !important; }

/* ---- specifications (car page) ---------------------------------------------------------------------------------- */
.specs { margin-top: 56px; }
.specs-src { margin: -8px 0 18px; color: var(--muted); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.stats div { padding: 18px 16px; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 100% 0%, rgba(201,169,106,.12), transparent 60%), var(--panel); }
.stats b { display: block; font-size: clamp(17px, 2vw, 22px); font-weight: 700; line-height: 1.4; }
.stats span { color: var(--gold); font-size: 13px; }
.spec-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.spec-table { margin: 0; padding: 6px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table div:last-child { border-bottom: 0; }
.spec-table dt { color: var(--muted); flex: none; max-width: 45%; }
.spec-table dd { margin: 0; text-align: end; line-height: 1.7; }
.spec-hl { padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.specs .spec-hl { margin: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.media .dossier-box { margin-top: 34px; }
.media .dossier-box h2 { font-weight: 600; font-size: 22px; margin: 0 0 14px; }
@media (max-width: 760px) { .specs .spec-hl { grid-template-columns: 1fr; } }
.spec-hl h3, .dossier-box h3 { margin: 0 0 12px; font-size: 17px; }
.spec-hl ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.spec-hl li { position: relative; padding-inline-start: 20px; line-height: 1.8; font-size: 14.5px; color: #d9dbe0; }
.spec-hl li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.spec-more { margin-top: 14px; }
.spec-more summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; padding: 10px 18px; border-radius: 20px; border: 1px solid var(--line); color: var(--muted); }
.spec-more summary::-webkit-details-marker { display: none; }
.spec-more summary i { width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.spec-more[open] summary i { transform: rotate(-135deg); margin-top: 3px; }
.spec-more .spec-table { margin-top: 12px; }
.dossier-box { margin-top: 26px; }
.dossier { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.dossier button { flex: 0 0 auto; width: min(420px, 78vw); aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #000; cursor: zoom-in; scroll-snap-align: start; }
.dossier img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-table { padding: 4px 16px; }
}
.used-grid.empty { display: block; }
.used-empty { text-align: center; padding: 40px 22px; border-radius: 20px; border: 1px dashed rgba(201,169,106,.45); background: var(--panel); }
.used-empty b { display: block; font-size: 19px; margin-bottom: 8px; }
.used-empty p { color: var(--muted); line-height: 1.9; max-width: 520px; margin: 0 auto 18px; }
