/* =========================================
   Golden State Auto Glass & Tinting - Demo
   Original version (pre-UI-overhaul)
   ========================================= */

:root {
  --ink: #0a0e14;
  --ink-2: #1a1f2e;
  --text: #2b3242;
  --muted: #6b7280;
  --line: #e8e8e4;
  --line-2: #d8d8d2;
  --paper: #ffffff;
  --bg: #fbfaf7;
  --bg-2: #f5f3ed;
  /* Brand gold (matches the logo) */
  --gold: #c9a23c;
  --gold-2: #9a7a26;
  --gold-soft: #f6edd2;
  --gold-glow: rgba(201,162,60,.20);
  --green: #0f7a4f;
  --red: #b3261e;
  --tesla: #e31937;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10,14,20,.06);
  --shadow: 0 2px 4px rgba(10,14,20,.05), 0 12px 28px rgba(10,14,20,.08);
  --shadow-lg: 0 8px 16px rgba(10,14,20,.08), 0 24px 56px rgba(10,14,20,.14);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 22px; line-height: 1.2; }
h4 { font-size: 16px; line-height: 1.3; }
p  { margin: 0 0 14px; }

.serif { font-family: 'Playfair Display', Georgia, serif; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-2);
  background: var(--gold-soft);
  border: 1px solid rgba(201,162,60,.35);
  padding: 6px 14px; border-radius: 999px;
}
.eyebrow.dark { color: var(--gold); background: rgba(201,162,60,.12); border-color: rgba(201,162,60,.35); }
.eyebrow.green { color: #086a44; background: #e0f6ec; border-color: #b8e5cd; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }

/* ============ ANNOUNCEMENT BAR ============ */
.announce {
  background: var(--bg-2);
  color: var(--ink);
  font-size: 13px;
  padding: 9px 18px;
  text-align: center;
  letter-spacing: .01em;
}
.announce b { color: var(--gold-2); font-weight: 700; }
.announce a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(10,14,20,.35); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,10,13,.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: none; padding: 0 28px 0 20px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand-logo {
  height: 64px; width: auto; display: block;
}
@media (max-width: 540px) { .brand-logo { height: 52px; } }
.footer-brand .brand-logo { height: 56px; }
.menu { display: flex; gap: 22px; align-items: center; font-size: 15px; font-weight: 700; }
.menu a { color: #fff; font-weight: 700; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.menu a:hover, .menu a.active { color: #fff; border-bottom-color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; font-size: 14px; }
.nav-phone svg { width: 16px; height: 16px; color: var(--gold); }
.mobile-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 8px; cursor: pointer; color: #fff; }
.mobile-toggle:hover { border-color: #fff; }
@media (max-width: 920px) {
  .menu, .nav-phone { display: none; }
  .mobile-toggle { display: inline-flex; }
}

/* Mobile slide-down menu panel */
.nav-mobile-panel {
  display: none;
  background: rgba(10,14,20,.98);
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav-mobile-panel.open { display: block; }
.nav-mobile-panel a {
  display: block;
  padding: 14px 28px;
  font-size: 15.5px; font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-mobile-panel a:last-child { border-bottom: 0; }
.nav-mobile-panel a.phone {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); font-weight: 700;
}
.nav-mobile-panel a.phone svg { width: 16px; height: 16px; color: var(--gold); }
@media (min-width: 921px) {
  .nav-mobile-panel { display: none !important; }
}
@media (max-width: 640px) {
  .nav-mobile-panel a { padding-left: 18px; padding-right: 18px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: all .15s ease; white-space: nowrap; line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: linear-gradient(180deg, #c79f38 0%, #a07d27 100%); color: #fff; border-color: #a07d27; text-shadow: 0 1px 2px rgba(0,0,0,.32); }
.btn-primary:hover { background: linear-gradient(180deg, #d8b14c 0%, #b08a2e 100%); border-color: #b08a2e; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px var(--gold-glow); }
/* Shine sweep to make the nav Book CTA stand out */
.nav-cta .btn-primary { position: relative; overflow: hidden; }
.nav-cta .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -150%; width: 60%; background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%); transform: skewX(-18deg); pointer-events: none; animation: btnShine 2.4s ease-in-out infinite; }
@keyframes btnShine { 0% { left: -150%; } 35%, 100% { left: 150%; } }
@media (prefers-reduced-motion: reduce) { .nav-cta .btn-primary::after { animation: none; opacity: 0; } }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink); }
/* Ghost buttons in the dark header need light text/border, not dark (e.g. book.html "Call instead") */
.nav-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.nav-cta .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: rgba(255,255,255,.2); }
.btn-light:hover { background: var(--bg); }
.btn-tesla { background: #fff; color: var(--ink); border-color: rgba(255,255,255,.4); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

/* ============ HERO - SPLIT LAYOUT ============ */
.hero {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 0; /* override the base section { padding: 72px 0 }; .hero-grid owns hero spacing */
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0 80px;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 20px 0 40px; }
}
.hero-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
}
.hero-sub { font-size: 18px; color: var(--muted); margin-bottom: 28px; max-width: 540px; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-proof { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.proof-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 16px 10px 12px;
  transition: all .15s; box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.proof-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--ink); }
.proof-pill .logo { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-weight: 800; flex-shrink: 0; }
.proof-pill.yelp .logo { background: #d32323; color: #fff; font-family: 'Outfit', sans-serif; font-size: 13px; letter-spacing: -.5px; }
.proof-pill.google .logo { background: #fff; border: 1px solid var(--line); font-family: Arial, sans-serif; font-size: 22px; line-height: 1; }
.proof-pill.google .logo .g {
  background: linear-gradient(135deg, #4285F4 0%, #EA4335 35%, #FBBC05 60%, #34A853 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
.proof-pill .info { line-height: 1.2; }
.proof-pill .stars { color: var(--gold); font-size: 13px; letter-spacing: -.5px; line-height: 1; margin-bottom: 4px; }
.proof-pill .meta { font-size: 12px; color: var(--muted); }
.proof-pill .meta b { color: var(--ink); font-weight: 700; font-size: 13px; }
.proof-pill .ext { color: var(--muted); margin-left: 4px; opacity: .5; font-size: 11px; }

.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.hero-trust .item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); font-weight: 500; }
.hero-trust .item b { color: var(--ink); font-weight: 700; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold-2); }
.hero-trust .stars { color: var(--gold); letter-spacing: -1px; }

.hero-img { position: relative; }
.hero-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-img .badge {
  position: absolute; bottom: -22px; left: -22px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; max-width: 280px;
}
@media (max-width: 920px) { .hero-img .badge { left: 8px; bottom: -16px; } }
.hero-img .badge .star-block { font-size: 11px; color: var(--muted); font-weight: 600; }
.hero-img .badge .star-block b { color: var(--ink); font-size: 22px; font-weight: 800; display: block; line-height: 1; }
.hero-img .badge .stars { color: var(--gold); font-size: 14px; letter-spacing: -.5px; }

/* ---- Home hero: dark background + gold headline (scoped to index) ---- */
.hero-dark { background: linear-gradient(165deg, #090c12 0%, #161c26 100%); }
.hero-dark h1 { color: #ecc77f; }
.hero-dark h1 .accent { background-image: linear-gradient(180deg, #f6dca0 0%, #d4a559 100%); }
.hero-dark .eyebrow.dark { color: #f0d199; background: rgba(236,199,127,.1); border-color: rgba(236,199,127,.32); }
.hero-xpel { display: inline-flex; align-items: center; gap: 14px; margin: 4px 0 30px; }
.hero-xpel img { height: 48px; width: auto; display: block; }
.hero-xpel span { font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #f3dca0; padding-left: 14px; border-left: 1px solid rgba(243,220,160,.4); line-height: 1.2; }
@media (max-width: 920px) { .hero-xpel img { height: 40px; } .hero-xpel span { font-size: 12px; } }
.hero-dark .hero-trust .item { color: #c9cfd9; }
.hero-dark .hero-trust .item b { color: #fff; }
.hero-dark .hero-trust svg { color: var(--gold); }

/* ============ SECTIONS ============ */
section { padding: 72px 0; }
section.compact { padding: 48px 0; }
section.dark { background: var(--ink); color: #d8dde6; }
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: #fff; }
section.dark p { color: #aab2c0; }
section.alt { background: var(--paper); }
section.cream { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ============ TRUST STRIP ============ */
.trust-strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-strip .row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; }
.trust-strip .label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust-strip .logos { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.trust-strip .logo {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 17px;
  color: var(--ink-2); letter-spacing: .01em;
  opacity: .65; transition: opacity .2s;
}
.trust-strip .logo:hover { opacity: 1; }
.trust-strip .logo img { height: 50px; width: auto; display: block; }
.trust-strip .logo.xpel {
  background: var(--ink); color: #fff;
  padding: 6px 12px; border-radius: 6px; font-size: 14px; opacity: 1;
}

/* ============ SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 920px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-card .img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2); }
.service-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .img img { transform: scale(1.04); }
.service-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; flex: 1; }
.service-card .row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto;
}
.service-card .price { font-size: 13px; color: var(--muted); }
.service-card .price b { color: var(--ink); font-size: 18px; font-weight: 700; font-family: 'Outfit', sans-serif; }
.service-card .link {
  font-size: 13px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 4px;
}
.service-card .link::after { content: '→'; transition: transform .15s; }
.service-card:hover .link::after { transform: translateX(3px); color: var(--gold-2); }

/* ============ FEATURE ROW ============ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 4px; }
.feature .ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-soft); color: var(--gold-2);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h4 { font-size: 17px; margin-bottom: 6px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ============ TESLA STRIP ============ */
.tesla-strip {
  background: linear-gradient(110deg, #0a0e14 0%, #1a1f2e 60%, #2a2f42 100%);
  position: relative; overflow: hidden;
}
.tesla-strip::before {
  content: ''; position: absolute; right: -200px; top: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,210,143,.12), transparent 70%);
  pointer-events: none;
}
.tesla-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px;
  padding: 56px 0; position: relative; z-index: 1;
}
@media (max-width: 920px) { .tesla-inner { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; } }
.tesla-strip h2 { color: #fff; margin-bottom: 14px; }
.tesla-strip p { color: #aab2c0; max-width: 520px; margin-bottom: 22px; }
.tesla-strip .tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(227,25,55,.14); color: #ff6b7e;
  border: 1px solid rgba(227,25,55,.3); padding: 5px 12px;
  border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; margin-bottom: 18px;
}
.tesla-img { position: relative; }
.tesla-img img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }

/* ============ QUOTE FORM ============ */
.quote-section { background: var(--bg-2); }
.quote-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 40px;
  max-width: 820px; margin: 0 auto;
}
@media (max-width: 640px) { .quote-card { padding: 28px 22px; } }
.quote-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.quote-step {
  flex: 1; height: 5px; border-radius: 99px; background: var(--line);
  position: relative; overflow: hidden;
}
.quote-step.active { background: var(--gold); }
.quote-step.done { background: var(--green); }
.quote-stage { display: none; }
.quote-stage.active { display: block; }
.quote-stage h3 { margin-bottom: 4px; font-size: 24px; }
.quote-stage > p.help { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.q-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
@media (max-width: 540px) { .q-options { grid-template-columns: 1fr; } }
.q-option {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; cursor: pointer; transition: all .15s;
  display: flex; align-items: center; gap: 14px;
}
.q-option:hover { border-color: var(--ink); }
.q-option.selected { border-color: var(--gold); background: var(--gold-soft); }
.q-option .ico { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-2); display: grid; place-items: center; color: var(--ink); flex-shrink: 0; }
.q-option.selected .ico { background: var(--gold); color: var(--ink); }
.q-option .ico svg { width: 18px; height: 18px; }
.q-option b { display: block; color: var(--ink); font-size: 15px; }
.q-option small { color: var(--muted); font-size: 12.5px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.quote-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }

/* ============ REVIEWS ============ */
.reviews-head { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 36px; flex-wrap: wrap; }
.review-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 12px 22px; box-shadow: var(--shadow-sm);
}
.review-badge .num { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1; }
.review-badge .stars { color: var(--gold); font-size: 18px; letter-spacing: -1px; }
.review-badge .meta { font-size: 12px; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px) { .review-grid { grid-template-columns: 1fr; } }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.review-card .stars { color: var(--gold); font-size: 15px; letter-spacing: -.5px; margin-bottom: 10px; }
.review-card .quote { font-size: 15px; color: var(--text); margin-bottom: 18px; line-height: 1.6; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .who .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.review-card .who b { font-size: 14px; color: var(--ink); display: block; }
.review-card .who small { font-size: 12px; color: var(--muted); }

/* ============ GALLERY ============ */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 920px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 10px; transition: transform .25s, filter .25s; }
.gallery img:hover { transform: scale(1.03); filter: brightness(1.05); }
.gallery-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.gallery-tab {
  padding: 8px 16px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); color: var(--text);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.gallery-tab:hover { border-color: var(--ink); }
.gallery-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; transition: border-color .15s;
}
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; padding: 18px 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; color: var(--ink); font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--gold-2); font-weight: 400; transition: transform .15s; }
.faq details[open] summary::after { content: '−'; }
.faq .a { padding: 0 22px 20px; color: var(--text); font-size: 15px; line-height: 1.6; }

/* ============ AREA / FOOTER ============ */
.area-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .area-grid { grid-template-columns: 1fr; } }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.city { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); }

.final-cta {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1f2e 100%);
  border-radius: var(--radius-lg); padding: 64px 48px; color: #fff;
  text-align: center; box-shadow: var(--shadow-lg);
}
.final-cta h2 { color: #fff; }
.final-cta p { color: #aab2c0; font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.final-cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 540px) { .final-cta { padding: 40px 22px; } }

footer.site-footer { background: var(--ink); color: #aab2c0; padding: 56px 0 24px; font-size: 14px; }
footer.site-footer h5 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
footer.site-footer a { color: #aab2c0; }
footer.site-footer a:hover { color: var(--gold); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand b { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px;
}

/* ============ MOBILE STICKY CTA ============ */
.mobile-sticky {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line); padding: 7px 12px;
  box-shadow: 0 -4px 16px rgba(10,14,20,.08);
}
.mobile-sticky .row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mobile-sticky a {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 8px; border-radius: 10px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line);
}
.mobile-sticky a.primary { background: linear-gradient(180deg, #c79f38 0%, #a07d27 100%); border-color: #a07d27; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.32); position: relative; overflow: hidden; }
.mobile-sticky a.primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -150%; width: 60%; background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%); transform: skewX(-18deg); pointer-events: none; animation: btnShine 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .mobile-sticky a.primary::after { animation: none; opacity: 0; } }
.mobile-sticky a.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.mobile-sticky svg { width: 16px; height: 16px; margin-bottom: 0; }
@media (max-width: 920px) {
  .mobile-sticky { display: block; }
  body { padding-bottom: 58px; }
}

/* ============ TEXT FAB (desktop click-to-text) ============ */
.text-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 55;
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 99px;
  font-weight: 600; font-size: 13.5px;
  box-shadow: 0 6px 18px rgba(10,14,20,.25);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, background .15s;
  letter-spacing: .02em;
}
.text-fab:hover { background: var(--ink-2); transform: translateY(-1px); }
.text-fab svg { width: 16px; height: 16px; color: var(--gold); }
@media (max-width: 920px) { .text-fab { display: none; } }

/* ============ TESLA PAGE ============ */
.tesla-hero {
  background: linear-gradient(180deg, #0a0e14 0%, #14181f 100%);
  color: #fff; padding: 10px 0 64px; position: relative; overflow: hidden;
}
@media (max-width: 920px) {
  .tesla-hero { padding: 28px 0 44px; }
}
.tesla-hero h1 { color: #fff; }
.tesla-hero p { color: #b9c0cc; font-size: 18px; max-width: 600px; margin-bottom: 28px; line-height: 1.55; }
.tesla-hero .stat-row { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.tesla-hero .stat b { display: block; font-family: 'Outfit'; font-size: 32px; color: #fff; line-height: 1; font-weight: 800; }
.tesla-hero .stat small { color: #8c95a3; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px) { .package-grid { grid-template-columns: 1fr; } }
/* Two-tier grids (e.g. PPF) spread evenly across the full width */
@media (min-width: 921px) { .package-grid.two { grid-template-columns: 1fr 1fr; gap: 26px; } }
.package {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: all .15s; position: relative;
  display: flex; flex-direction: column;
}
.package:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.package.featured { border-color: var(--gold); background: linear-gradient(180deg, var(--gold-soft) 0%, #fff 60%); }
.package.featured::before {
  content: 'Most popular'; position: absolute; top: -12px; left: 28px;
  background: var(--gold); color: #fff; padding: 4px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 99px;
}
.package .name { font-family: 'Outfit'; font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.package .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.package .price { font-family: 'Outfit'; font-size: 36px; font-weight: 800; color: var(--ink); line-height: 1; }
.package .price small { font-size: 14px; font-weight: 500; color: var(--muted); display: block; margin-top: 4px; }
.package .price .from { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; line-height: 1; }
.package ul { list-style: none; padding: 24px 0 0; margin: 24px 0 22px; border-top: 1px solid var(--line); }
.package li { padding: 8px 0; display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.package li::before { content: '✓'; color: var(--gold-2); font-weight: 700; flex-shrink: 0; }
.package .btn { margin-top: auto; width: 100%; }

.model-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 920px) { .model-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .model-grid { grid-template-columns: 1fr 1fr; } }
.model { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.model .nm { font-family: 'Outfit'; font-weight: 700; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.model .price { font-size: 12.5px; color: var(--muted); }

/* ============ BOOKING PAGE ============ */
.booking-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; padding: 0 0 80px; }
@media (max-width: 920px) { .booking-wrap { grid-template-columns: 1fr; } }
.booking-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px; display: flex; flex-direction: column; }
@media (max-width: 540px) { .booking-card { padding: 26px 20px; } }
.summary-card { background: var(--ink); color: #d8dde6; border-radius: var(--radius-lg); padding: 32px; height: 100%; }
.summary-card h3 { color: #fff; margin-bottom: 18px; font-size: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.summary-row:last-of-type { border-bottom: 0; }
.summary-row .l { color: #8c95a3; }
.summary-row .v { color: #fff; font-weight: 600; }
.summary-card .total { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; align-items: baseline; }
.summary-card .total .l { color: #aab2c0; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.summary-card .total .v { color: var(--gold); font-family: 'Outfit'; font-size: 28px; font-weight: 800; }
.summary-trust { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #8c95a3; }
.summary-trust .item { display: flex; gap: 8px; margin-bottom: 6px; }
.summary-trust svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.date-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
@media (max-width: 540px) { .date-grid { grid-template-columns: repeat(3, 1fr); } }
.date-card { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; cursor: pointer; transition: all .15s; background: #fff; }
.date-card:hover { border-color: var(--ink); }
.date-card.selected { border-color: var(--gold); background: var(--gold-soft); }
.date-card.unavailable { opacity: .4; cursor: not-allowed; }
.date-card .dow { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.date-card .day { font-family: 'Outfit'; font-weight: 700; font-size: 22px; color: var(--ink); line-height: 1.2; }
.date-card .mo { font-size: 11px; color: var(--muted); }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 540px) { .time-grid { grid-template-columns: repeat(3, 1fr); } }
.time-slot { padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: center; transition: all .15s; }
.time-slot:hover { border-color: var(--ink); }
.time-slot.selected { background: var(--gold); border-color: var(--gold); color: #fff; }
.time-slot.unavailable { opacity: .3; cursor: not-allowed; }

/* ============ FINANCING BADGE - TERRACOTTA ON CREAM ============ */
.financing {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-2);
  background: var(--gold-soft); border: 1px solid rgba(201,162,60,.28);
  border-radius: 6px; padding: 3px 9px; margin-top: 6px;
  font-weight: 600;
}
.financing svg { width: 12px; height: 12px; color: var(--gold-2); }
.financing b { color: var(--gold-2); }
.package .financing { margin: 10px 0 0; font-size: 13px; padding: 5px 12px; }

/* ============ DEALER STORY ============ */
.dealer-section { background: var(--ink); color: #d8dde6; }
.dealer-section h2 { color: #fff; }
.dealer-section p { color: #aab2c0; }
.dealer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 920px) { .dealer-grid { grid-template-columns: 1fr; gap: 28px; } }
.dealer-quote-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); padding: 32px; position: relative;
}
.dealer-quote-card::before {
  content: '"'; font-family: 'Playfair Display'; font-size: 96px; line-height: 1;
  color: var(--gold); position: absolute; top: 8px; left: 22px; opacity: .5;
}
.dealer-quote-card .q {
  color: #fff; font-size: 19px; line-height: 1.5; font-style: italic;
  font-family: 'Playfair Display', serif; font-weight: 700;
  position: relative; z-index: 1; padding-top: 28px;
}
.dealer-quote-card .attr { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.dealer-quote-card .attr-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #d8b24c 0%, #a87f2a 100%);
  display: grid; place-items: center; color: #241a04;
  font-weight: 800; font-size: 16px;
}
.dealer-quote-card .attr b { color: #fff; font-size: 14.5px; display: block; line-height: 1.3; }
.dealer-quote-card .attr small { color: #aab2c0; font-size: 12.5px; }

.dealer-list { display: grid; gap: 10px; }
.dealer-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
}
.dealer-item .badge {
  width: 56px; height: 40px; border-radius: 8px;
  background: #fff; padding: 5px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.dealer-item .badge img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dealer-item b { color: #fff; font-size: 14.5px; display: block; }
.dealer-item small { color: #8c95a3; font-size: 12.5px; }

/* Urgency / recent-booking removed per design review (felt cheap on a premium ticket). */
.urgency, .recent-booking { display: none; }

/* ============ INLINE REVIEW (IN-FORM TRUST) ============ */
.inline-review {
  display: flex; gap: 12px; padding: 14px 16px;
  background: var(--gold-soft); border: 1px solid #f0e4b7;
  border-radius: 10px; margin: 18px 0;
}
.inline-review .stars { color: var(--gold); font-size: 13px; letter-spacing: -.5px; }
.inline-review .q { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; font-style: italic; margin: 4px 0; }
.inline-review .attr { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ============ TEXT-VIN CTA BANNER ============ */
.vin-banner {
  background: linear-gradient(110deg, #0d1b2a 0%, #1b263b 100%);
  color: #fff; border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; margin-bottom: 28px; flex-wrap: wrap;
}
.vin-banner .copy { flex: 1; min-width: 240px; }
.vin-banner h3 { color: #fff; margin: 0 0 4px; font-size: 17px; }
.vin-banner p { color: #aab2c0; font-size: 13.5px; margin: 0; }

/* ============ DRAFT WATERMARK ============ */
.draft-watermark {
  position: fixed;
  bottom: 16px; left: 16px;
  z-index: 100;
  background: rgba(10, 14, 20, 0.88);
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  user-select: none;
  border: 1px solid rgba(255,255,255,0.08);
}
.draft-watermark b { color: var(--gold); font-weight: 700; letter-spacing: 0.04em; }
@media (max-width: 920px) {
  .draft-watermark {
    bottom: 78px; /* sits above the mobile sticky CTA */
    left: 10px;
    font-size: 9.5px;
    padding: 6px 10px;
  }
}

/* utility */
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-lg { margin-bottom: 36px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ---- checklist (added for service pages) ---- */
.checklist{list-style:none;padding:0;margin:6px 0 22px;}
.checklist li{position:relative;padding:8px 0 8px 30px;font-size:15.5px;color:var(--text);border-bottom:1px solid var(--line);}
.checklist li:last-child{border-bottom:0;}
.checklist li::before{content:'';position:absolute;left:0;top:10px;width:18px;height:18px;border-radius:50%;background:var(--gold-soft);}
.checklist li::after{content:'✓';position:absolute;left:4px;top:6px;color:var(--gold-2);font-weight:800;font-size:12px;}

/* Quote form submit feedback */
.quote-msg { font-size: 14px; margin: 6px 0 0; }
.quote-msg.err { color: #b42318; }
.quote-msg.ok { color: var(--green); }
.quote-msg.info { color: var(--muted); }
.quote-thanks { text-align: center; padding: 32px 12px; }
.quote-thanks h3 { font-size: 24px; margin-bottom: 8px; }
.quote-thanks p { color: var(--muted); max-width: 440px; margin: 0 auto; }
