/* ═══════════════════════════════════════════════════
   CARVEENIENT V2 — Global Stylesheet
   Luxury Gold editorial × EchoPark clarity
   ═══════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --purple:   #3D1D63;
  --navy:     #1A0A2E;
  --gold:     #C89B3C;
  --gold-lt:  #E8B84B;
  --gold-pale:#F5E6C0;
  --ice:      #CADCFC;
  --white:    #FFFFFF;
  --off-white:#F9F7F4;
  --light:    #F4F1EC;
  --muted:    #6B6B7A;
  --border:   #E3DDD5;
  --text:     #1A0A2E;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --radius:  10px;
  --radius-lg: 18px;
  --shadow:  0 4px 24px rgba(26,10,46,.08);
  --shadow-lg: 0 12px 48px rgba(26,10,46,.14);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --max-w: 1180px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--ff-body); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1.0625rem; color: var(--muted); line-height: 1.75; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 54ch; }
.eyebrow {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .9rem;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.section   { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-sm{ padding: clamp(2.5rem, 5vw, 4rem) 0; }
.grid-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.text-center { text-align: center; }
.mx-auto   { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ff-body); font-size: .9rem; font-weight: 600;
  padding: .85rem 2rem; border-radius: 4px; letter-spacing: .02em;
  transition: var(--transition); white-space: nowrap;
}
.btn-gold     { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,155,60,.35); }
.btn-dark     { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--purple); transform: translateY(-1px); }
.btn-outline  { background: transparent; color: var(--purple); border: 1.5px solid var(--purple); }
.btn-outline:hover { background: var(--purple); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.25rem; font-size: .82rem; }

/* ── Gold Rule ── */
.gold-rule {
  width: 3.5rem; height: 2px; background: var(--gold);
  margin-bottom: 1.25rem;
}
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* ── ══════ NAV ══════ ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(26,10,46,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,155,60,.18);
  transition: var(--transition);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(1.25rem,4vw,3rem);
  display: flex; align-items: center; gap: 2rem;
  height: 68px;
}
.nav__logo {
  font-family: var(--ff-display); font-size: 1.55rem; font-weight: 700;
  color: var(--white); letter-spacing: .02em; flex-shrink: 0;
}
.nav__logo span { color: var(--gold-lt); }
.nav__links {
  display: flex; align-items: center; gap: .25rem;
  list-style: none; margin-left: auto;
}
.nav__links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.75);
  padding: .4rem .85rem; border-radius: 3px;
  transition: var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--gold-lt); }
.nav__cta { margin-left: .75rem; }
.nav__toggle {
  display: none; color: var(--white); padding: .4rem; margin-left: auto;
}
.nav__toggle svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 901;
  background: var(--navy); flex-direction: column; padding: 1.5rem 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.mobile-menu__links { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu__links a {
  font-size: 1.5rem; font-family: var(--ff-display); color: var(--white);
  padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
  transition: var(--transition);
}
.mobile-menu__links a:hover { color: var(--gold-lt); padding-left: .5rem; }
.mobile-menu__foot { margin-top: auto; font-size: .85rem; color: rgba(255,255,255,.45); line-height: 2; }

/* ── ══════ HERO ══════ ── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding-top: 68px; /* offset for fixed .nav (68px tall) so content never renders underneath it */
}
.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1A0A2E 0%, #3D1D63 100%);
}
.hero__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: .45;
  transition: opacity 1s ease;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,10,46,.92) 0%,
    rgba(26,10,46,.5) 45%,
    rgba(26,10,46,.15) 100%
  );
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  padding: 0 clamp(1.25rem,4vw,3rem) clamp(3.5rem,8vw,6rem);
}
.hero__content h1 { color: var(--white); max-width: 16ch; }
.hero__content h1 em { color: var(--gold-lt); font-style: normal; }
.hero__lead { color: rgba(255,255,255,.8); font-size: clamp(1.05rem,1.8vw,1.25rem); max-width: 48ch; margin: 1.25rem 0 2.5rem; }
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2rem; right: clamp(1.25rem,4vw,3rem);
  color: rgba(255,255,255,.4); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; display: flex; align-items: center; gap: .5rem;
}
.hero__scroll::before {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.35));
}

/* Photo carousel dots */
.hero__dots { position: absolute; right: 2rem; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: .5rem; }
.hero__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: var(--transition); }
.hero__dot.active { background: var(--gold-lt); }

/* ── Trust bar ── */
.trust-bar {
  background: var(--purple);
  padding: 1.25rem 0;
}
.trust-bar__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(1.25rem,4vw,3rem);
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1.5rem 3rem;
}
.trust-item {
  display: flex; align-items: center; gap: .65rem;
  color: rgba(255,255,255,.85); font-size: .83rem; font-weight: 500; letter-spacing: .04em;
}
.trust-item__icon {
  width: 22px; height: 22px; flex-shrink: 0;
  color: var(--gold-lt);
}

/* ── Advocate Promise (signature section) ── */
.advocate {
  background: var(--navy); position: relative; overflow: hidden;
}
.advocate::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.advocate::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.advocate__inner {
  max-width: 820px; margin: 0 auto; text-align: center;
  padding: clamp(4rem,9vw,7rem) clamp(1.25rem,4vw,3rem);
}
.advocate__quote {
  font-family: var(--ff-display); font-size: clamp(2.2rem,4.5vw,3.8rem);
  font-weight: 400; font-style: italic; color: var(--white); line-height: 1.25;
  margin-bottom: 1.5rem;
}
.advocate__quote strong { color: var(--gold-lt); font-style: normal; }
.advocate__sub { color: rgba(255,255,255,.55); font-size: 1rem; letter-spacing: .04em; }

/* ── Photo grid / mosaic ── */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .75rem;
  border-radius: var(--radius-lg); overflow: hidden;
}
.photo-mosaic__item {
  position: relative; overflow: hidden;
  background: var(--border);
}
.photo-mosaic__item:first-child {
  grid-row: 1 / 3;
}
.photo-mosaic__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.photo-mosaic__item:hover img { transform: scale(1.04); }

/* ── Service cards ── */
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--gold); box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-card__icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--gold-pale); display: flex; align-items: center; justify-content: center;
  color: var(--purple); margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.service-card p  { font-size: .92rem; }

/* ── Process steps ── */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: grid; grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem; align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-step__num {
  font-family: var(--ff-display); font-size: 2.5rem; font-weight: 700;
  color: var(--gold); line-height: 1; padding-top: .1rem;
}
.process-step h4 { color: var(--text); margin-bottom: .4rem; font-size: 1.05rem; }
.process-step p  { font-size: .93rem; }

/* ── Fleet tabs ── */
.tabs { display: flex; gap: .35rem; background: var(--light); border-radius: 8px; padding: .35rem; margin-bottom: 2.5rem; }
.tab-btn {
  flex: 1; padding: .65rem 1rem; border-radius: 5px;
  font-size: .85rem; font-weight: 600; color: var(--muted);
  transition: var(--transition); text-align: center;
}
.tab-btn.active { background: var(--white); color: var(--purple); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Fleet tier cards ── */
.fleet-tier {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
}
.fleet-tier:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.fleet-tier__head {
  padding: 1.5rem 1.75rem;
  background: var(--purple); color: var(--white);
}
.fleet-tier__head h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.fleet-tier__head p  { font-size: .85rem; color: rgba(255,255,255,.65); margin: 0; }
.fleet-tier__body { padding: 1.5rem 1.75rem; background: var(--white); }
.fleet-tier__body ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.fleet-tier__body ul li {
  font-size: .9rem; color: var(--muted);
  display: flex; align-items: flex-start; gap: .6rem;
}
.fleet-tier__body ul li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ── Maintenance ── */
.maint-card {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; border-top: 3px solid var(--gold);
}
.maint-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.maint-card .price-note { font-size: .82rem; color: var(--gold); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .85rem; }
.maint-card ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.maint-card ul li { font-size: .88rem; color: var(--muted); display: flex; gap: .6rem; }
.maint-card ul li::before { content: '—'; color: var(--gold); }

/* ── Forms (apply, welcome, seller) ── */
.form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(2rem,4vw,3rem);
  box-shadow: var(--shadow);
}
.form-section-head {
  background: var(--purple); color: var(--white);
  padding: .75rem 1.25rem; border-radius: 6px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin: 2rem 0 1.25rem;
}
.form-section-head:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-grid.full  { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field.span-2 { grid-column: span 2; }
.form-field.span-3 { grid-column: span 3; }
.form-field label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--text); text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--border); border-radius: 6px;
  padding: .7rem .9rem; font-size: .95rem; font-family: var(--ff-body);
  color: var(--text); background: var(--white);
  transition: border-color var(--transition);
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(61,29,99,.08);
}
.form-field textarea { resize: vertical; min-height: 80px; }
.checkbox-group, .radio-group {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .25rem;
}
.checkbox-group label, .radio-group label {
  display: flex; align-items: center; gap: .45rem;
  font-size: .88rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  cursor: pointer;
}
.checkbox-group input, .radio-group input { width: auto; accent-color: var(--purple); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .25rem; font-style: italic; }
.form-submit-row { margin-top: 2rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.disclosure-box {
  background: var(--light); border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 1rem 1.25rem;
  margin: 1rem 0;
}
.disclosure-box h4 { font-size: .9rem; margin-bottom: .4rem; color: var(--purple); }
.disclosure-box p  { font-size: .82rem; line-height: 1.6; }

/* ── $50 for $50 ── */
.referral-banner {
  background: linear-gradient(135deg, var(--purple) 0%, #5a2d8e 100%);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem; align-items: center;
  text-align: center;
}
.referral-amt {
  font-family: var(--ff-display); font-size: 3.5rem; font-weight: 700;
  color: var(--gold-lt); line-height: 1;
}
.referral-lbl { color: rgba(255,255,255,.7); font-size: .85rem; margin-top: .35rem; }
.referral-divider { width: 1px; height: 70px; background: rgba(255,255,255,.15); margin: 0 auto; }

/* ── Testimonials ── */
.testimonial {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem;
}
.testimonial__stars { color: var(--gold); font-size: 1rem; margin-bottom: .85rem; letter-spacing: .1em; }
.testimonial__text { font-size: .97rem; color: var(--text); font-style: italic; margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial__author { font-size: .82rem; font-weight: 600; color: var(--purple); text-transform: uppercase; letter-spacing: .06em; }

/* ── Photo strip ── */
.photo-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; height: 320px; border-radius: var(--radius-lg); overflow: hidden;
}
.photo-strip__item {
  position: relative; overflow: hidden;
  background: var(--border);
}
.photo-strip__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
  filter: brightness(.85);
}
.photo-strip__item:hover img { transform: scale(1.06); filter: brightness(1); }

/* ── CTA strip ── */
.cta-strip {
  background: var(--purple);
  padding: clamp(3rem,6vw,5rem) 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: .85rem; }
.cta-strip p  { color: rgba(255,255,255,.65); margin-bottom: 2rem; }
.cta-strip__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer { background: var(--navy); color: rgba(255,255,255,.6); }
.footer__top {
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(3rem,6vw,5rem) clamp(1.25rem,4vw,3rem) 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer__logo {
  font-family: var(--ff-display); font-size: 1.75rem; font-weight: 700;
  color: var(--white); margin-bottom: 1rem; display: block;
}
.footer__logo span { color: var(--gold-lt); }
.footer__tagline { font-size: .9rem; color: rgba(255,255,255,.45); margin-bottom: 1.5rem; }
.footer__col h5 {
  font-family: var(--ff-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer__col a {
  display: block; font-size: .88rem; color: rgba(255,255,255,.55);
  padding: .25rem 0; transition: var(--transition);
}
.footer__col a:hover { color: var(--gold-lt); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: var(--max-w); margin: 0 auto;
  padding: 1.5rem clamp(1.25rem,4vw,3rem);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; font-size: .8rem;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: clamp(6rem,12vw,9rem) 0 clamp(3rem,6vw,5rem);
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem,5vw,3.8rem); }
.page-hero .lead { color: rgba(255,255,255,.7); margin: 1rem auto 0; }

/* ── Misc utilities ── */
.bg-light   { background: var(--light); }
.bg-off     { background: var(--off-white); }
.bg-purple  { background: var(--purple); }
.bg-navy    { background: var(--navy); }
.color-white{ color: var(--white); }
.color-gold { color: var(--gold-lt); }
.text-sm    { font-size: .88rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; }
  .photo-mosaic__item:first-child { grid-column: span 2; grid-row: auto; }
  .photo-strip { grid-template-columns: 1fr 1fr; height: 240px; }
  .referral-banner { grid-template-columns: 1fr; }
  .referral-divider { width: 60%; height: 1px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .form-field.span-2, .form-field.span-3 { grid-column: span 1; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .footer__top { grid-template-columns: 1fr; }
  .tabs { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .hero__btns { flex-direction: column; }
  .form-grid.cols-3 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
