/* ============ Rani Cars ============ */
:root {
  --gold: #e3b458;
  --gold-2: #c9973a;
  --gold-grad: linear-gradient(180deg, #f0c86c 0%, #d7a646 100%);
  --dark: #121212;
  --dark-2: #1b1b1b;
  --text: #1c1c1c;
  --muted: #5d5d5d;
  --line: #e6e6e6;
  --cream: #f8f0e3;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
[hidden] { display: none !important; }

svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.fill, svg .fill { fill: currentColor; stroke: none; }

.container { width: min(1400px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; border-radius: 8px; transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn--gold { background: var(--gold-grad); color: #1a1a1a; box-shadow: 0 4px 14px rgba(215, 166, 70, .35); }
.btn--gold:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 8px 20px rgba(215, 166, 70, .45); }
.btn--header { padding: 10px 26px; font-size: 14px; }
.btn--sm { padding: 7px 22px; font-size: 13px; border-radius: 20px; }
.arrow { font-size: 1.1em; line-height: 1; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 56px;
  background: linear-gradient(180deg, rgba(10,10,10,.95), rgba(10,10,10,.8));
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(12, 12, 12, .97); box-shadow: 0 4px 20px rgba(0,0,0,.35); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; width: min(1270px, 100% - 32px); }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__img { width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1; }
.logo__name {
  font-family: "Cinzel", serif; font-weight: 800; font-size: 26px; letter-spacing: 1px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo__tag { font-family: "Cinzel", serif; font-size: 11px; font-weight: 700; letter-spacing: 2.9px; margin-right: -2.9px; color: var(--gold); margin-top: 2px; }

.nav { display: flex; gap: 36px; }
.nav__link { color: #e8e8e8; font-size: 14px; position: relative; padding: 18px 0; transition: color .2s; }
.nav__link:hover { color: #fff; }
.nav__link.active { color: #fff; font-weight: 500; }
.nav__link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px; background: var(--gold); border-radius: 2px;
}

/* "Attach Your Car" – highlighted nav item with contact pop-over */
.attach-menu { position: relative; display: flex; align-items: center; }
.nav__link--attach {
  color: var(--gold); font-weight: 600; padding: 7px 14px; border: 1px solid var(--gold); border-radius: 999px;
  background: rgba(227, 180, 88, .1); transition: background .2s, color .2s;
}
.nav__link--attach:hover, .nav__link--attach[aria-expanded="true"] { background: var(--gold-grad); color: #121212; }
.nav__link--attach.active::after { display: none; }
.nav__link--attach { display: inline-flex; align-items: center; gap: 6px; }
.nav__link--attach .caret { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; transition: transform .2s; }
.nav__link--attach[aria-expanded="true"] .caret { transform: rotate(180deg); }
.attach-menu::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; } /* hover bridge to the dropdown */
.attach-pop {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 280px; z-index: 50;
  display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--radius);
  background: #1b1b1b; border: 1px solid rgba(227, 180, 88, .45); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); color: #e8e8e8;
}
.attach-pop:hover { border-color: var(--gold); }
.attach-pop__title { color: #fff; font-size: 15px; }
.attach-pop__sub { color: #a8a8a8; font-size: 12px; margin-top: -6px; }
.attach-pop__row { display: flex; align-items: center; gap: 10px; font-size: 13px; overflow-wrap: anywhere; }
.attach-pop__row svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--gold); fill: none; stroke-width: 2; }
.attach-pop__row svg.fill { fill: var(--gold); stroke: none; }
.attach-pop__cta {
  margin-top: 4px; text-align: center; padding: 10px; border-radius: 8px; font-weight: 600; font-size: 14px;
  background: var(--gold-grad); color: #121212;
}

.header__actions { display: flex; align-items: center; gap: 30px; }
.icon-btn { color: #fff; display: grid; place-items: center; }
.icon-btn svg { width: 22px; height: 22px; stroke-width: 2; }
/* theme toggle: show the sun in black mode (switch to white) and the moon in white mode */
.theme-btn .theme-btn__moon, [data-theme="dark"] .theme-btn .theme-btn__sun { display: block; }
.theme-btn .theme-btn__sun, [data-theme="dark"] .theme-btn .theme-btn__moon { display: none; }
.theme-btn:hover { color: var(--gold); }
.menu-btn { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; padding: 6px; }
.menu-btn span { height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 460px; background: #151515; color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: url("../assets/images/hero-bg.jpg") center 55% / cover no-repeat;
  filter: saturate(.85) brightness(.75) sepia(.25);
}
.hero__car {
  position: absolute; top: 56px; right: 0; bottom: 0; width: 60%;
  background: url("../assets/images/hero-car.jpg") right top / auto 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,.88) 0%, rgba(8,8,8,.62) 38%, rgba(8,8,8,.05) 60%, transparent 100%),
              linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%);
}
.hero__content { position: relative; z-index: 2; padding-top: 80px; width: min(1270px, 100% - 32px); }
.hero__services { display: flex; flex-wrap: wrap; font-family: "Cinzel", serif; font-size: 12px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold); }
.hero__services li + li::before { content: "\2726"; margin: 0 12px; font-size: 9px; vertical-align: 2px; opacity: .85; }
.hero__title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(32px, 3.4vw, 45px); font-weight: 700; line-height: 1.04; margin: 10px 0 10px; letter-spacing: .2px; }
.hero__title span { color: var(--gold); font-style: italic; }
.hero__sub { font-size: 16px; color: #eee; line-height: 1.4; }

.hero__features { display: flex; gap: 22px; margin-top: 20px; flex-wrap: wrap; }
.hero__features li { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.45; color: #eee; }
.hero__features svg { width: 32px; height: 32px; color: var(--gold); stroke-width: 1.5; }
.hero__cta { margin-top: 22px; padding: 12px 30px; font-size: 15px; }

.hero__curve {
  position: absolute; left: -5%; right: -5%; bottom: -60px; height: 120px; z-index: 1;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ---------- Hero v2: rotating headline + quick pick card ---------- */
.hero--v2 { height: 600px; }
.hero--v2 .hero__car { width: 72%; }
.hero--v2 .hero__shade {
  background: linear-gradient(90deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.7) 36%, rgba(8,8,8,.15) 62%, rgba(8,8,8,.45) 100%),
              linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 30%);
}
.hero__shine {
  position: absolute; inset: 56px 0 0 30%; pointer-events: none; z-index: 1; mix-blend-mode: screen;
  background: linear-gradient(110deg, transparent 40%, rgba(255,230,170,.18) 50%, transparent 60%) no-repeat;
  background-size: 250% 100%; animation: heroShine 6s ease-in-out infinite;
}
@keyframes heroShine { 0% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }
.hero__road {
  position: absolute; left: 0; right: 0; bottom: 74px; height: 3px; z-index: 1; opacity: .7;
  background: repeating-linear-gradient(90deg, var(--gold) 0 46px, transparent 46px 92px); background-size: 92px 3px;
  animation: heroRoad 1.4s linear infinite;
}
@keyframes heroRoad { to { background-position: -92px 0; } }
.hero__grid {
  position: relative; z-index: 2; width: min(1270px, 100% - 32px); height: 100%;
  display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; padding: 56px 0 70px;
}
.hero--v2 .hero__content { padding: 0; width: auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .4px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(227,180,88,.4); color: #f3dfb3; backdrop-filter: blur(6px);
}
.hero__pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: heroPulse 1.8s infinite; }
@keyframes heroPulse { 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero--v2 .hero__title { font-size: clamp(36px, 4.4vw, 60px); margin: 18px 0 14px; }
.hero__rotator { display: inline-block; color: var(--gold); font-style: italic; }
.hero__word { display: inline-block; transition: opacity .35s, transform .35s; }
.hero__word.out { opacity: 0; transform: translateY(12px); }
.hero--v2 .hero__sub { max-width: 520px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 600px; }
.hero__chips li {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; font-size: 12.5px; color: #eee;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px);
}
.hero__chips svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; flex-shrink: 0; }
.hero__actions { display: flex; align-items: center; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.hero--v2 .hero__cta { margin-top: 0; }
.hero__ghost { color: #fff; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.hero__ghost:hover { color: var(--gold); }

.pick {
  padding: 22px; border-radius: 18px; color: #fff;
  background: rgba(18,18,18,.62); border: 1px solid rgba(227,180,88,.35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.pick__label { font-family: "Cinzel", serif; font-size: 11px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold); }
.pick__title { font-size: 18px; font-weight: 600; margin: 6px 0 14px; }
.pick__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick__opt {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px 10px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: border-color .2s, background .2s, transform .2s;
}
.pick__opt:hover { transform: translateY(-2px); border-color: rgba(227,180,88,.6); }
.pick__opt.active { background: rgba(227,180,88,.16); border-color: var(--gold); }
.pick__opt img { width: 100%; height: 54px; object-fit: contain; background: #fff; border-radius: 8px; margin-bottom: 6px; }
.pick__opt span { font-size: 13px; font-weight: 600; }
.pick__opt small { font-size: 11px; color: #cfcfcf; }
.pick__go { width: 100%; justify-content: center; margin-top: 16px; padding: 12px; }
.pick__note { text-align: center; font-size: 11.5px; color: #bdbdbd; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .hero__shine, .hero__road, .hero__pulse { animation: none; } }

/* ---------- Booking Search ---------- */
.booking { position: relative; z-index: 5; margin-top: -86px; width: min(1266px, 100% - 32px); }
.search-card { background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.14); padding: 8px 16px 14px; }
.search-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; }
.tab {
  display: flex; align-items: center; gap: 12px; width: 142px; height: 38px; justify-content: center;
  background: #f0f0f0; border-radius: 6px; font-size: 13px; color: #333; transition: .2s;
}
.tab svg { width: 22px; height: 22px; }
.tab.active { background: var(--gold-grad); font-weight: 500; color: #1a1a1a; }
.tab.active svg { fill: #1a1a1a; stroke: #1a1a1a; }
.tab.active svg circle { fill: var(--gold); }
.tab:not(.active):hover { background: #e7e7e7; }

.check { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #444; cursor: pointer; user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 14px; height: 14px; border: 1.5px solid #999; border-radius: 3px; display: grid; place-items: center; transition: .2s; }
.check input:checked + .check__box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .check__box::after { content: ""; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.pin-sm { width: 14px; height: 14px; fill: #222; stroke: #222; }

.search-card__fields {
  display: grid; grid-template-columns: 1.1fr 0.97fr 0.97fr 0.83fr 0.83fr; gap: 10px; margin-top: 6px;
}
.search-card__fields.has-drop { grid-template-columns: 1fr 1fr 0.95fr 0.95fr 0.85fr 0.85fr; }
.field {
  position: relative; display: flex; align-items: center; gap: 12px; height: 58px;
  border: 1px solid var(--line); border-radius: 6px; padding: 0 14px 0 16px; transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227, 180, 88, .18); }
.field.invalid { border-color: #d9534f; }
.field > svg { width: 22px; height: 22px; color: #333; }
.field__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.field label { font-size: 11px; color: #555; margin-bottom: 2px; }
.field select, .field input {
  appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 12px; color: #888; width: 100%; cursor: pointer; padding-right: 18px;
}
.field select:valid, .field input.filled { color: #222; }
.field input::-webkit-calendar-picker-indicator { opacity: .45; cursor: pointer; }
.chev { position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid #333; border-width: 0 1.6px 1.6px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }

.btn--search { height: 58px; font-size: 16px; border-radius: 6px; box-shadow: none; }
.btn--search svg { width: 22px; height: 22px; stroke-width: 2.2; }
.form-error { color: #c0392b; font-size: 12px; min-height: 0; margin-top: 6px; }
.form-error:empty { display: none; }

/* ---------- Car Cards ---------- */
.cars { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 12px; margin-top: 24px; }
.car-card {
  position: relative; background: #fff; border: 1px solid #ececec; border-radius: 10px;
  padding: 14px 20px 14px; box-shadow: 0 4px 18px rgba(0,0,0,.05); cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.car-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.1); }
.car-card h3 { font-size: 16px; font-weight: 600; }
.car-card__sub { font-size: 11px; color: #333; margin-top: 2px; }
.car-card img { width: 56%; margin: -26px 0 0 auto; mix-blend-mode: multiply; transition: transform .35s; }
.car-card:hover img { transform: scale(1.04); }
.car-card__meta { display: flex; align-items: center; font-size: 10px; color: #444; margin-top: 6px; }
.car-card__meta span { display: flex; align-items: center; gap: 5px; }
.car-card__meta span + span::before { content: ""; width: 1px; height: 12px; background: #999; margin: 0 8px; }
.car-card__meta svg { width: 13px; height: 13px; color: #222; stroke-width: 2; }
.car-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.car-card__foot p { font-size: 14px; font-weight: 600; }
.car-card__foot strong { font-size: 20px; font-weight: 700; }
.round-btn {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gold-grad); color: #fff;
  font-size: 22px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; transition: transform .2s;
}
.car-card:hover .round-btn { transform: translateX(3px); }

/* ---------- Why Choose ---------- */
.why { background: var(--cream); margin-top: 12px; }
.why__inner { display: flex; align-items: center; gap: 30px; padding: 14px 0; }
.why h2 { font-size: 21px; font-weight: 600; line-height: 1.2; flex-shrink: 0; }
.why__list { display: flex; flex: 1; justify-content: space-between; }
.why__list li { display: flex; align-items: center; gap: 18px; font-size: 12px; color: #222; padding: 4px 18px; flex: 1; white-space: nowrap; }
.why__list li + li { border-left: 1px solid #ddd0bb; }
.why__list svg { width: 34px; height: 34px; color: #7a5a20; stroke-width: 1.4; }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.promo {
  position: relative; height: 117px; border-radius: 8px; overflow: hidden; color: #fff;
  display: flex; align-items: center; background-color: #1a1a1a; background-repeat: no-repeat;
  transition: transform .25s, box-shadow .25s;
}
.promo:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.promo--weekend { background-image: url("../assets/images/banner-weekend.jpg"); background-size: auto 100%; background-position: right center; }
.promo--outstation { background-image: url("../assets/images/banner-outstation.jpg"); background-size: auto 100%; background-position: right center; }
.promo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #141414 0%, #141414 38%, rgba(20,20,20,.55) 55%, rgba(20,20,20,0) 72%);
}
.promo__text { position: relative; padding-left: 27px; }
.promo--outstation .promo__text { padding-left: 32px; }
.promo h3 { font-size: 21px; font-weight: 600; }
.promo p { font-size: 13.5px; margin: 2px 0 10px; color: #f2f2f2; }

/* ---------- Reviews ---------- */
.reviews { display: flex; align-items: center; gap: 36px; padding: 10px 0 12px; }
.reviews h2 { font-size: 21px; font-weight: 600; line-height: 1.2; flex-shrink: 0; width: 180px; }
.reviews__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; flex: 1; }
.review {
  display: flex; align-items: center; gap: 16px; border: 1px solid #ececec; border-radius: 6px;
  padding: 8px 14px; background: #fff; transition: box-shadow .25s;
}
.review:hover { box-shadow: var(--shadow); }
.review img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.stars { color: #f0b429; font-size: 15px; letter-spacing: 2px; }
.review blockquote { font-size: 12px; font-style: italic; color: #444; line-height: 1.45; margin-top: 4px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #fff; padding: 12px 0 10px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1330px, 100% - 32px); }
.logo--footer { margin-left: 38px; }
.logo--footer .logo__name { font-size: 26px; }
.logo--footer .logo__img { width: 60px; height: 60px; border-radius: 13px; }
.footer__nav { display: flex; font-size: 11px; }
.footer__nav a { transition: color .2s; }
.footer__nav a:hover { color: var(--gold); }
.footer__nav a + a::before { content: "|"; margin: 0 14px; color: #777; }
.socials { display: flex; gap: 12px; margin-left: auto; padding-right: 46px; border-right: 1px solid #555; }
.socials a {
  width: 30px; height: 30px; border: 1.5px solid #fff; border-radius: 50%; display: grid; place-items: center; transition: .2s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.socials svg { width: 15px; height: 15px; stroke-width: 1.8; }
.footer__tagline { color: var(--gold); font-size: 13px; position: relative; padding: 0 60px 0 20px; }
.footer__tagline::after { content: ""; position: absolute; left: 20px; bottom: -10px; width: 36px; height: 1.5px; background: var(--gold); }
.footer__copy { text-align: center; font-size: 11px; color: #888; margin-top: 10px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(0,0,0,.6); padding: 16px; animation: fade .2s; }
.modal__box { position: relative; width: min(440px, 100%); background: #fff; border-radius: 14px; padding: 28px 26px; animation: pop .25s; }
.modal__close { position: absolute; top: 10px; right: 14px; font-size: 28px; color: #666; }
.modal__box h3 { font-size: 20px; margin-bottom: 14px; }
.modal__summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; background: var(--cream); padding: 14px; border-radius: 8px; }
.modal__summary dt { color: var(--muted); }
.modal__summary dd { font-weight: 500; }
.lead-form { display: grid; gap: 10px; margin-top: 16px; }
.lead-form input { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: inherit; font-size: 14px; outline: none; }
.lead-form input:focus { border-color: var(--gold); }
.lead-form .btn { padding: 12px; }
.modal__success { margin-top: 16px; color: #2e7d32; font-weight: 500; font-size: 14px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(12px) scale(.97); opacity: 0; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1200px) {
  .nav { gap: 22px; }
  .search-card__fields, .search-card__fields.has-drop { grid-template-columns: repeat(3, 1fr); }
  .why__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .why__list { flex-wrap: wrap; width: 100%; row-gap: 12px; }
  .why__list li { flex: 1 1 30%; padding: 4px 16px; }
  .why__list li:nth-child(4) { border-left: 0; }
  .reviews { flex-direction: column; align-items: flex-start; gap: 14px; }
  .reviews h2 br { display: none; }
  .reviews h2 { width: auto; }
  .reviews__list { width: 100%; }
  .footer__inner { flex-wrap: wrap; justify-content: center; }
  .logo--footer { margin-left: 0; }
  .socials { margin-left: 0; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed; top: 56px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(12,12,12,.98); padding: 8px 24px 18px; transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav__link { padding: 12px 0; border-bottom: 1px solid #2a2a2a; }
  .nav__link.active::after { display: none; }
  .nav__link.active { color: var(--gold); }
  .attach-menu { flex-direction: column; align-items: stretch; padding: 10px 0; border-bottom: 1px solid #2a2a2a; }
  .nav__link--attach { align-self: flex-start; padding: 7px 14px; border-bottom: 1px solid var(--gold); }
  .attach-pop { position: static; transform: none; width: auto; margin-top: 10px; box-shadow: none; }
  .menu-btn { display: flex; }
  .header__actions { gap: 16px; }
  .btn--header { padding: 8px 16px; font-size: 13px; }
  .hero { height: auto; padding-bottom: 80px; }
  .hero__car { width: 100%; opacity: .45; -webkit-mask-image: none; mask-image: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(8,8,8,.7), rgba(8,8,8,.55)); }
  .cars { grid-template-columns: repeat(2, 1fr); }
  .packages { grid-template-columns: 1fr; }
  .reviews__list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .logo__name { font-size: 20px; }
  .logo__tag { font-size: 8px; letter-spacing: 1.9px; margin-right: -1.9px; }
  .logo__img { width: 40px; height: 40px; border-radius: 9px; }
  .btn--header { display: none; }
  .hero__content { padding-top: 76px; }
  .hero__services { font-size: 10px; }
  .hero__services li + li::before { margin: 0 7px; }
  .hero__sub { font-size: 15px; }
  .hero__sub br { display: none; }
  .hero__features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .search-card { padding: 12px; }
  .tabs { width: 100%; }
  .tab { flex: 1; width: auto; }
  .search-card__fields, .search-card__fields.has-drop { grid-template-columns: 1fr; }
  .cars { grid-template-columns: 1fr; }
  .why__list li { flex: 1 1 50%; border-left: 0 !important; padding: 4px 0; gap: 14px; white-space: normal; }
  .promo { height: 140px; background-position: 70% center; }
  .promo::before { background: linear-gradient(90deg, rgba(20,20,20,.95) 0%, rgba(20,20,20,.7) 55%, rgba(20,20,20,.2) 100%); }
  .footer__nav { flex-wrap: wrap; justify-content: center; }
  .socials { border-right: 0; padding-right: 0; }
  .footer__tagline { padding: 0; }
  .footer__tagline::after { left: 50%; transform: translateX(-50%); }
}

/* Hero v2 – tablet & phone */
@media (max-width: 960px) {
  .hero--v2 { height: auto; }
  .hero--v2 .hero__car { width: 100%; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; padding: 90px 0 110px; }
  .pick { max-width: 460px; }
  .hero__shine { display: none; }
}
@media (max-width: 640px) {
  .hero__chips li { font-size: 11.5px; padding: 7px 10px; }
  .pick { padding: 16px; }
}

/* Hero v2 – phone layout: car photo as a fitted banner on top, text below it */
@media (max-width: 960px) {
  .hero--v2 .hero__bg { filter: brightness(.35) saturate(.8); }
  .hero--v2 .hero__car {
    top: 56px; bottom: auto; height: 300px; width: 100%; opacity: 1;
    background-size: cover; background-position: 62% center;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
  .hero--v2 .hero__shade { background: linear-gradient(180deg, rgba(8,8,8,.15) 0, rgba(8,8,8,.25) 180px, rgba(8,8,8,.9) 340px, rgba(8,8,8,.85) 100%); }
  .hero--v2 .hero__grid { padding-top: 250px; padding-bottom: 100px; gap: 24px; }
  .hero--v2 .hero__road { bottom: 64px; }
  .pick { max-width: none; }
}
@media (max-width: 640px) {
  .hero--v2 .hero__car { height: 240px; }
  .hero--v2 .hero__grid { padding-top: 205px; }
  .hero__eyebrow { font-size: 11px; padding: 5px 12px; }
  .hero--v2 .hero__title { font-size: 34px; margin: 14px 0 10px; }
  .hero--v2 .hero__sub { font-size: 14.5px; }
  .hero__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__chips li { font-size: 11.5px; padding: 8px 10px; gap: 6px; }
  .hero__chips svg { width: 16px; height: 16px; }
  .hero__actions { gap: 16px; margin-top: 22px; }
  .hero--v2 .hero__cta { flex: 1; justify-content: center; }
  .pick__opt img { height: 46px; }
}
