/* ============================================================
   LOCATION AUTO — multi-page design system
   Art direction: Lando Norris (OFF+BRAND) — 2-color discipline
   Black #0a0a0b + neon lime #d2ff00. Lime = interaction only.
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --panel: #111113;
  --border: #232327;
  --text: #f4f4f5;
  --muted: #9c9ca4;
  --accent: #d2ff00;
  --danger: #ff5c5c;
  --ease: cubic-bezier(.22,1,.36,1);
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--accent); color: #000; font-weight: 700; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ============================================================
   PRELOADER (home)
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .5s var(--ease), visibility .5s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__mark { font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 3rem); letter-spacing: .04em; }
.preloader__mark span, .brand span, .footer__brand span { color: var(--accent); }
.preloader__bar { width: min(240px, 60%); height: 3px; background: var(--border); border-radius: 99px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: load .55s var(--ease) forwards; }
@keyframes load { to { transform: scaleX(1); } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10,10,11,.9); backdrop-filter: blur(12px); border-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; width: min(1200px, 92%); margin-inline: auto; }
.brand { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .05em; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--muted); font-size: .9rem; font-weight: 600; position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current="page"] { color: var(--accent); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); }
.nav__cta { padding: 10px 20px; border-radius: 10px; background: var(--accent); color: #0a0a0b; font-weight: 700; font-size: .9rem; transition: transform .2s var(--ease), box-shadow .2s; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(210,255,0,.3); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-block; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; }
.btn--accent { background: var(--accent); color: #0a0a0b; }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(210,255,0,.35); }
.btn--ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--wa { background: #25d366; color: #06280f; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,.35); background: #1fbd5c; color: #06280f; }
.btn--wa svg { flex: none; }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: -4%; z-index: 0; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.25) 45%, rgba(10,10,11,.98) 100%); }
.hero__content { position: relative; z-index: 2; padding: 40px 0 90px; width: min(1200px, 92%); margin-inline: auto; }
.hero__kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .28em; font-weight: 700; font-size: .82rem; margin-bottom: 18px; }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(4rem, 14vw, 11rem); line-height: .9; letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 8px 40px rgba(0,0,0,.6); }
.hero__row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

/* hero booking widget */
.book-widget { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 720px; }
.book-widget select, .book-widget input {
  background: rgba(10,10,11,.75); backdrop-filter: blur(8px); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-family: var(--font-body); font-size: .95rem; padding: 13px 14px;
}
.book-widget select:focus, .book-widget input:focus { outline: none; border-color: var(--accent); }
.book-widget #w-car { flex: 2 1 180px; }
.book-widget input, .book-widget #w-loc { flex: 1 1 140px; }
select option { background: var(--bg); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.ph { padding: 150px 0 64px; background: linear-gradient(180deg, var(--panel), var(--bg)); border-bottom: 1px solid var(--border); }
.ph__kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .28em; font-weight: 700; font-size: .78rem; margin-bottom: 14px; }
.ph__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 8vw, 5rem); text-transform: uppercase; line-height: .98; }
.ph__sub { color: var(--muted); margin-top: 14px; max-width: 560px; font-size: 1.05rem; }

/* breadcrumbs */
.crumbs { padding: 96px 0 0; width: min(1200px, 92%); margin-inline: auto; font-size: .82rem; color: var(--muted); }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--accent); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { border-block: 1px solid var(--border); background: var(--panel); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; white-space: nowrap; width: max-content; animation: slide 30s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .12em; color: var(--muted); padding-right: 26px; }
.marquee__track span:nth-child(even) { color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: 64px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; line-height: 1; color: var(--accent); }
.stat span { color: var(--muted); font-size: .9rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section--alt { background: var(--panel); border-block: 1px solid var(--border); }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .28em; font-weight: 700; font-size: .78rem; margin-bottom: 14px; }
.section__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 6.5vw, 4rem); line-height: .98; text-transform: uppercase; margin-bottom: 18px; }
.section__sub { color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.section__head { margin-bottom: 52px; }
.center { text-align: center; margin-top: 44px; }

/* ============================================================
   CAR CARDS (fleet grid)
   ============================================================ */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.car { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.car[data-href] { cursor: pointer; }
.car:hover { transform: translateY(-8px); border-color: var(--accent); }
.car__media { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.car:hover .car__media img { transform: scale(1.08); }
.car__tag { position: absolute; top: 14px; left: 14px; background: rgba(10,10,11,.7); backdrop-filter: blur(4px); color: var(--accent); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px; border-radius: 99px; }
.car__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; text-transform: uppercase; }
.car__tagline { color: var(--muted); font-size: .9rem; margin-top: -8px; }
.car__specs { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--border); padding: 12px 0; }
.car__specs li { display: flex; flex-direction: column; gap: 2px; }
.car__specs span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.car__specs b { font-size: .95rem; }
.car__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.car__price { display: flex; align-items: baseline; gap: 6px; }
.car__price strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; color: var(--accent); }
.car__price span { color: var(--muted); font-size: .85rem; }
.car__actions { display: flex; align-items: center; gap: 10px; }
.card-wa { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; color: var(--accent); background: rgba(255,255,255,.02); transition: border-color .2s, color .2s, background .2s; }
.card-wa:hover { border-color: #25d366; color: #25d366; background: rgba(37,211,102,.08); }
.contact-wa { color: #25d366; font-weight: 600; }
.contact-wa:hover { text-decoration: underline; }

/* ============================================================
   FLEET FILTERS
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; align-items: center; }
.filters select, .filters .chip {
  background: var(--panel); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body);
  padding: 11px 16px; border-radius: 10px; font-size: .9rem; cursor: pointer; transition: border-color .2s, color .2s;
}
.filters select:hover, .filters .chip:hover { border-color: var(--accent); }
.filters .chip.is-active { border-color: var(--accent); color: var(--accent); background: rgba(210,255,0,.08); }
.filters label { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.filters__group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filters__group + .filters__group { margin-left: auto; }
select option { background: var(--bg); }

/* ============================================================
   VDP (car detail page)
   ============================================================ */
.vdp { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.vdp__gallery { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.vdp__gallery-main { aspect-ratio: 3/2; background: #000; }
.vdp__gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vdp__gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: var(--bg); }
.vdp__gallery-thumbs button { padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 6px; overflow: hidden; opacity: .55; transition: opacity .2s ease; }
.vdp__gallery-thumbs button:hover, .vdp__gallery-thumbs button.is-active { opacity: 1; }
.vdp__gallery-thumbs button.is-active { outline: 2px solid var(--accent); outline-offset: -2px; }
.vdp__gallery-thumbs img { width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.vdp__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.2rem); line-height: .98; }
.vdp__sub { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }
.vdp__price { margin: 22px 0; display: flex; align-items: baseline; gap: 8px; }
.vdp__price strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 400; color: var(--accent); }
.vdp__price span { color: var(--muted); }
.vdp__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table td { padding: 11px 4px; border-bottom: 1px solid var(--border); }
.spec-table td:first-child { color: var(--muted); width: 42%; }
.spec-table td:last-child { font-weight: 600; text-align: right; }
.policy-card { margin-top: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); padding: 22px; }
.policy-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.policy-card ul { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; color: var(--muted); }
.policy-card li { display: flex; gap: 10px; align-items: flex-start; }
.policy-card li b { color: var(--text); }
.related { margin-top: 80px; }
.related__title { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; margin-bottom: 24px; }

/* ============================================================
   STEPS (home how-it-works + booking stepper)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.step { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.step__n { font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); opacity: .9; }
.step h3, .step b { font-size: 1.25rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ============================================================
   BAND (why us)
   ============================================================ */
.band { padding: 120px 0; background: var(--accent); }
.band__line { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: #0a0a0b; font-size: clamp(2.4rem, 8vw, 6rem); line-height: .95; }
.band__line span { color: transparent; -webkit-text-stroke: 2px #0a0a0b; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote { text-align: center; }
.quote__inner { max-width: 760px; margin-inline: auto; }
.quote__stars { color: var(--accent); font-size: 1.6rem; letter-spacing: .3em; margin-bottom: 26px; }
.quote blockquote { font-size: clamp(1.2rem, 2.6vw, 1.8rem); font-weight: 500; line-height: 1.45; margin-bottom: 20px; }
.quote cite { color: var(--muted); font-style: normal; font-size: .95rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about__text p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }
.about__text p strong { color: var(--text); }
.about__art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; align-self: start; }
.about__art img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 56px; }
.value { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: var(--panel); }
.value .step__n { display: block; margin-bottom: 12px; }
.value h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .93rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.faq__item { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); overflow: hidden; }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 20px; color: var(--muted); }

/* ============================================================
   FORMS
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field input, .field select, .field textarea, .field .reqdata {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  font-family: var(--font-body); font-size: 1rem; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus, .field .reqdata:focus { outline: none; border-color: var(--accent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.field textarea { resize: vertical; }
.field__error { display: none; color: var(--danger); font-size: .8rem; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--danger); }
.field--error .field__error { display: block; }
select option { background: var(--bg); }
.status { font-size: .95rem; min-height: 1.4em; color: var(--muted); }
.status.success { color: var(--accent); }
.status.error { color: var(--danger); }

/* form panel */
.formpanel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================================
   BOOKING STEPPER
   ============================================================ */
.stepper { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.stepper__step { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .86rem; font-weight: 600; }
.stepper__n { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; font-size: .85rem; flex-shrink: 0; transition: border-color .2s, color .2s, background .2s; }
.stepper__step.is-active { color: var(--text); }
.stepper__step.is-active .stepper__n { border-color: var(--accent); color: var(--accent); }
.stepper__step.is-done .stepper__n { background: var(--accent); border-color: var(--accent); color: #0a0a0b; }
/* car picker (booking step 1) */
.picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }
.picker-item { position: relative; display: flex; align-items: center; gap: 16px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--bg); padding: 12px; cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.picker-item:hover { transform: translateY(-2px); border-color: var(--accent); }
.picker-item input { position: absolute; opacity: 0; pointer-events: none; }
.picker-item__thumb { width: 116px; height: 78px; object-fit: cover; border-radius: 8px; flex: none; background: var(--panel); }
.picker-item__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.picker-item__body b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker-item__body span { color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker-item__price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.picker-item__price strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--accent); white-space: nowrap; }
.picker-item__price span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.picker-item.is-selected { border-color: var(--accent); background: rgba(210,255,0,.05); }
.picker-item.is-selected .picker-item__thumb { box-shadow: 0 0 0 2px var(--accent); }
.picker-item.is-selected::after { content: "✓"; position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #0a0a0b; font-size: .85rem; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.bookbox__actions { display: flex; gap: 14px; justify-content: space-between; margin-top: 8px; }
.review { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.review h4 { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; margin-bottom: 14px; }
.review dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: .95rem; }
.review dt { color: var(--muted); }
.review dd { font-weight: 600; text-align: right; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact__list { display: flex; flex-direction: column; gap: 20px; }
.contact__item { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; background: var(--panel); }
.contact__item h3 { font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; margin-bottom: 6px; }
.contact__item p { color: var(--muted); }
.contact__item a { color: var(--accent); font-weight: 600; }

/* ============================================================
   404
   ============================================================ */
.page404 { min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding-top: 40px; }
.page404 .hero__title { font-size: clamp(5rem, 22vw, 14rem); }
.page404 p { color: var(--muted); max-width: 420px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 48px 0 120px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__brand { font-family: var(--font-display); font-size: 1.4rem; }
.footer__col h4 { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--muted); padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__note { color: var(--muted); font-size: .88rem; margin-top: 22px; }
.footer__note a { color: var(--accent); }
.footer__copy { color: var(--muted); font-size: .82rem; margin-top: 10px; }

/* ============================================================
   CHAT WIDGET
   ============================================================ */
.chat-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 95; width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); border: none; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(210,255,0,.35); transition: transform .25s var(--ease);
}
.chat-btn:hover { transform: translateY(-3px); }
.chat-btn svg { width: 28px; height: 28px; }
.chat-btn.is-open { transform: scale(0); opacity: 0; }
.chat-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--bg); color: var(--accent); font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--accent); animation: pulse 2s infinite; padding: 0 4px; }
@keyframes pulse { 0%,100% { transform: scale(1);} 50% { transform: scale(1.15);} }

.chat {
  position: fixed; right: 18px; bottom: 90px; z-index: 96; width: min(380px, calc(100vw - 36px));
  height: min(560px, calc(100dvh - 130px)); background: var(--panel); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,.6); opacity: 0; transform: translateY(20px) scale(.97);
  pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.chat.is-open { opacity: 1; transform: none; pointer-events: auto; }

.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); background: var(--bg); }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.chat__avatar svg { width: 20px; height: 20px; }
.chat__title { font-weight: 700; font-size: .95rem; }
.chat__sub { color: var(--muted); font-size: .78rem; }
.chat__close { margin-left: auto; background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 4px; }
.chat__close:hover { color: var(--text); }

.chat__body { flex: 1; overflow-y: auto; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.45; animation: msgIn .25s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }
.msg--bot { align-self: flex-start; background: var(--bg); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg--bot a { color: var(--accent); text-decoration: underline; }
.msg--bot code { background: var(--panel); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font-size: .82em; }
.msg--bot ul { margin: 6px 0 2px; padding-left: 20px; }
.msg--bot ul li { margin-bottom: 3px; }
.stream-cursor { display: inline-block; width: 8px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s infinite; }
.msg--stream { min-height: 20px; }
.msg--user { align-self: flex-end; background: var(--accent); color: #0a0a0b; border-bottom-right-radius: 4px; }
.msg--car { width: 86%; align-self: flex-start; background: var(--bg); border: 1px solid var(--accent); border-radius: 14px; overflow: hidden; padding: 0; }
.msg--car img { width: 100%; height: 128px; object-fit: cover; display: block; }
.msg--car .carinfo { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.msg--car .carinfo__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.msg--car .carinfo__head b { font-family: var(--font-display); font-size: 1rem; text-transform: uppercase; line-height: 1.15; }
.msg--car .carinfo__head .cprice { color: var(--accent); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.msg--car .carinfo__specs { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.msg--car .carinfo__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.msg--car .carinfo__actions a { background: var(--accent); color: #0a0a0b; text-align: center; padding: 9px 8px; border-radius: 8px; font-weight: 700; font-size: .78rem; }
.msg--car .carinfo__actions .wa-chat { background: transparent; color: #25d366; border: 1px solid rgba(37,211,102,.45); }
.msg--typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .2s; }
.msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100%{opacity:.25;} 40%{opacity:1;} }

.chat__input { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--bg); }
.chat__input input { flex: 1; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; color: var(--text); font-family: var(--font-body); font-size: .9rem; }
.chat__input input:focus { outline: none; border-color: var(--accent); }
.chat__input button { background: var(--accent); border: none; border-radius: 10px; padding: 0 16px; color: #0a0a0b; font-weight: 700; cursor: pointer; transition: transform .15s; display: grid; place-items: center; }
.chat__input button svg { flex: none; }
.chat__input button:hover { transform: scale(1.05); }
.chat__muted { text-align: center; color: var(--muted); font-size: .72rem; padding: 8px 14px; border-top: 1px solid var(--border); background: var(--bg); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-inview { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .vdp, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .formrow { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .hero__row .btn { flex: 1 1 100%; text-align: center; }
  .section { padding: 72px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .filters__group + .filters__group { margin-left: 0; width: 100%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track, .marquee { animation: none !important; }
  .hero__bg { transform: none !important; }
}

/* ============================================================
   I18N — language switcher
   ============================================================ */
.lang-switch { display: inline-flex; gap: 6px; align-items: center; margin-inline-start: 10px; }
.lang-switch button {
  background: none; border: 2px solid transparent; border-radius: 8px; padding: 2px; line-height: 0;
  cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s, transform .2s var(--ease);
}
.lang-switch button svg { width: 26px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px var(--border); display: block; }
.lang-switch button:hover { opacity: 1; transform: translateY(-1px); }
.lang-switch button.is-active { opacity: 1; border-color: var(--accent); }
.lang-switch--page { position: absolute; top: 16px; right: 20px; z-index: 20; }
[dir="rtl"] .lang-switch--page { right: auto; left: 20px; }
@media (max-width: 480px) {
  .lang-switch button svg { width: 22px; height: 15px; }
  .lang-switch { margin-inline-start: 6px; gap: 4px; }
}

/* ============================================================
   I18N — Arabic fonts + RTL layout
   ============================================================ */
html[lang="ar"] { --font-display: "Cairo", Impact, sans-serif; --font-body: "Cairo", system-ui, sans-serif; }

/* Arabic should not be letter-spaced / uppercased; give display text room to breathe */
[dir="rtl"] .hero__kicker,
[dir="rtl"] .ph__kicker,
[dir="rtl"] .eyebrow,
[dir="rtl"] .filters label,
[dir="rtl"] .field label,
[dir="rtl"] .footer__col h4,
[dir="rtl"] .car__specs span,
[dir="rtl"] .step h3 { letter-spacing: 0; }

[dir="rtl"] .hero__title,
[dir="rtl"] .ph__title,
[dir="rtl"] .section__title,
[dir="rtl"] .band__line,
[dir="rtl"] .car__name,
[dir="rtl"] .vdp__name,
[dir="rtl"] .related__title,
[dir="rtl"] .review h4,
[dir="rtl"] .contact__item h3,
[dir="rtl"] .policy-card h3 { text-transform: none; }

[dir="rtl"] .hero__title,
[dir="rtl"] .ph__title,
[dir="rtl"] .section__title,
[dir="rtl"] .band__line,
[dir="rtl"] .vdp__name { line-height: 1.12; }

[dir="rtl"] .hero__content,
[dir="rtl"] .ph,
[dir="rtl"] .section__head,
[dir="rtl"] .crumbs,
[dir="rtl"] .car__body,
[dir="rtl"] .about__text,
[dir="rtl"] .faq__item,
[dir="rtl"] .contact__item,
[dir="rtl"] .review,
[dir="rtl"] .footer,
[dir="rtl"] .formpanel,
[dir="rtl"] .vdp__sub,
[dir="rtl"] .vdp__price { text-align: right; }

/* physical positioning flips */
[dir="rtl"] .car__tag { left: auto; right: 14px; }
[dir="rtl"] .chat-btn { right: auto; left: 18px; }
[dir="rtl"] .chat { right: auto; left: 18px; }
[dir="rtl"] .chat-badge { right: auto; left: -2px; }
[dir="rtl"] .picker-item { text-align: right; }
[dir="rtl"] .picker-item__price { align-items: flex-start; }
[dir="rtl"] .picker-item.is-selected::after { right: auto; left: 10px; }

[dir="rtl"] .filters__group + .filters__group { margin-left: 0; margin-right: auto; }
[dir="rtl"] .marquee__track { animation-direction: reverse; }
[dir="rtl"] .quote__stars { letter-spacing: .2em; }
[dir="rtl"] .step__n { display: inline-block; margin-inline-end: 10px; }