:root {
  --blue: #2A5CE0;
  --blue-dark: #1E44B0;
  --blue-light: #6E8CF5;
  --navy: #0B1440;
  --ink: #12141C;
  --gray: #5B6072;
  --bg-light: #F6F7FB;
  --border: #E6E8F0;
  --white: #FFFFFF;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { opacity: 0.9; }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: #fff; background: var(--blue); padding: 8px 14px; border-radius: 9px; }
.logo span { color: #fff; }
nav.main-nav { display: flex; gap: 32px; align-items: center; }
nav.main-nav a { font-weight: 600; font-size: 14.5px; color: var(--ink); position: relative; }
nav.main-nav a.active, nav.main-nav a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.nav-dropdown { position: relative; padding-bottom: 22px; margin-bottom: -22px; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  min-width: 220px;
  box-shadow: 0 12px 32px rgba(15,18,32,0.12);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.nav-dropdown-menu a:hover { background: var(--bg-light); }

/* Mobile hamburger (pure-CSS checkbox toggle) */
.nav-toggle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.nav-book-mobile { display: none; }

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 132px 0 104px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media > img, .hero-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.hero-media > video { z-index: 1; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(11,20,64,0.94) 0%, rgba(11,20,64,0.78) 40%, rgba(30,68,176,0.34) 100%),
    linear-gradient(180deg, rgba(11,20,64,0.60) 0%, rgba(11,20,64,0.20) 45%, rgba(11,20,64,0.70) 100%);
}
/* On small screens / reduced-motion, skip the video and show the poster still */
/* Video plays on mobile too (muted + playsinline autoplay); poster only for reduced-motion users */
@media (prefers-reduced-motion: reduce) { .hero-media > video { display: none; } }
.hero .container { position: relative; z-index: 3; }
.hero-content { max-width: 640px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 700;
  color: #9DB0FF;
  margin-bottom: 18px;
}
.hero h1 { font-size: 46px; line-height: 1.12; margin: 0 0 20px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 18px; color: #C4C8DA; max-width: 480px; margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero p.lead { color: #DDE2F2; }

.page-hero {
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue) 100%);
  color: #fff;
  padding: 90px 0 70px;
}
.page-hero .eyebrow { color: #9DB0FF; }
.page-hero h1 { font-size: 40px; margin: 0 0 16px; letter-spacing: -0.02em; }
.page-hero p.lead { font-size: 17px; color: #C4C8DA; max-width: 620px; margin: 0 0 28px; }

/* Pills */
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 8px; }
.pill {
  border: 1.5px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
a.pill { transition: background 0.15s, border-color 0.15s; }
a.pill:hover { background: rgba(255,255,255,0.22); border-color: #fff; }

/* Section headers */
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--blue); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.section-head h2 { font-size: 32px; margin: 0 0 14px; letter-spacing: -0.02em; }
.section-head p { color: var(--gray); font-size: 16.5px; margin: 0; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.card h3 { font-size: 19px; margin: 0 0 10px; }
.card p { color: var(--gray); font-size: 15px; margin: 0; }
.card .num { color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; margin-bottom: 10px; display: block; }

.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy .gray-text { color: #C4C8DA; }

/* Stats bar */
.stats-bar {
  background: var(--blue);
  border-radius: var(--radius);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 34px 10px;
  text-align: center;
}
.stats-bar .stat b { display: block; font-size: 30px; margin-bottom: 6px; }
.stats-bar .stat span { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }
.stats-bar .stat { border-right: 1px solid rgba(255,255,255,0.25); }
.stats-bar .stat:last-child { border-right: none; }

/* Savings / value cards */
.savings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.savings-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(15,18,32,0.06);
}
.savings-card .s-metric { font-size: 40px; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; }
.savings-card .s-metric span { font-size: 20px; font-weight: 700; }
.savings-card .s-label { font-weight: 700; font-size: 14.5px; margin-bottom: 12px; }
.savings-card p { color: var(--gray); font-size: 13.5px; line-height: 1.55; margin: 0; }

/* Services strip */
.service-card { display: block; border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 28px rgba(15,18,32,0.09); transition: box-shadow 0.15s, transform 0.15s; color: inherit; }
.service-card:hover { box-shadow: 0 20px 48px rgba(15,18,32,0.14); transform: translateY(-3px); }
.service-card .tag { color: var(--blue); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 12px; display: block; }
.service-card h3 { font-size: 21px; margin: 0 0 10px; }
.service-card p { color: var(--gray); font-size: 15px; margin: 0 0 18px; }
.service-card .more { display: inline-block; font-weight: 700; color: var(--blue); font-size: 14.5px; }

/* Logo carousel */
.logo-marquee {
  margin-top: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-track { display: flex; align-items: center; width: max-content; animation: logo-scroll 50s linear infinite; }
.logo-track img { width: 160px; height: 64px; object-fit: contain; flex: 0 0 auto; margin-right: 28px; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 900px) {
  .logo-track img { width: 120px; height: 48px; margin-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 28px; }
}

/* Testimonials */
.testimonial { background: var(--bg-light); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.testimonial p.quote { font-size: 16.5px; font-style: italic; margin: 0 0 20px; flex: 1; }
.testimonial .who-row { display: flex; align-items: center; gap: 13px; }
.testimonial .avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(15,18,32,0.14); }
.testimonial .who { font-weight: 700; font-size: 14.5px; }
.testimonial .role { color: var(--gray); font-size: 13px; }

/* Team */
.team-card { text-align: center; }
.team-card img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; }
.team-card h3 { font-size: 18px; margin: 0 0 4px; }
.team-card p { color: var(--gray); font-size: 14.5px; }

/* Checklist */
ul.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
ul.checklist li { padding-left: 26px; position: relative; font-size: 15px; color: var(--ink); }
ul.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

/* Photo band */
.photo-band { position: relative; border-radius: 20px; overflow: hidden; }
.photo-band img { width: 100%; height: 480px; object-fit: cover; object-position: center top; display: block; }
.photo-band .caption {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 30px;
  z-index: 2;
  color: #fff;
  max-width: 560px;
  text-shadow: 0 1px 16px rgba(11,20,64,0.55);
}
.photo-band .caption .big { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.photo-band .caption .small { font-size: 15px; color: #EEF2FF; }
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11,20,64,0) 32%, rgba(11,20,64,0.45) 62%, rgba(11,20,64,0.9) 100%);
}
.screenshot-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(15,18,32,0.1); margin: 32px 0; }
.screenshot-frame img { width: 100%; display: block; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 20px;
  color: #fff;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h3 { font-size: 24px; margin: 0 0 8px; }
.cta-banner p { color: #C4C8DA; margin: 0; }
.cta-contact { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.cta-contact div { text-align: center; }
.cta-contact div span { display: block; font-size: 12px; color: #9DB0FF; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.cta-contact div b { font-size: 16px; }
/* CTA button must contrast the blue banner */
.cta-banner .btn-primary { background: #fff; color: var(--blue); }
.cta-banner .btn-primary:hover { background: #eaeefc; }
/* Plain photo band: no gradient overlay (e.g. reusing the hero aerial) */
.photo-band--plain::after { display: none; }

/* Footer */
footer { background: var(--navy); color: #C4C8DA; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin: 0 0 16px; }
.footer-grid a, .footer-grid p { color: #9AA0B8; font-size: 14.5px; display: block; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; font-size: 13px; color: #767C96; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Contact form */
.contact-form { display: grid; gap: 16px; }
.contact-form label { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info-card { background: var(--bg-light); border-radius: var(--radius); padding: 32px; text-align: center; }
.contact-info-card .row { display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
.contact-info-card .row .label { color: var(--gray); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-info-card .row .value { font-weight: 700; font-size: 16px; }

@media (max-width: 900px) {
  .nav-wrap { flex-wrap: wrap; padding: 14px 16px; }
  .logo { order: 1; font-size: 18px; padding: 7px 12px; }
  .nav-book-mobile { display: inline-flex; order: 2; padding: 10px 16px; font-size: 13.5px; }
  .nav-burger { display: flex; order: 3; }
  .nav-cta .btn { display: none; }
  nav.main-nav { order: 4; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 12px; }
  .nav-cta { order: 5; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
  #nav-toggle:checked ~ nav.main-nav, #nav-toggle:checked ~ .nav-cta { display: flex; }
  nav.main-nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-dropdown { position: static; padding: 0; margin: 0; width: 100%; }
  .nav-dropdown-menu { display: none !important; }
  .nav-phone { padding: 6px 4px; font-size: 16px; }
  .nav-cta .btn { justify-content: center; width: 100%; }
  #nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cta-contact { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-contact div { text-align: left; }
  .hero { padding: 92px 0 72px; }
  .savings-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; gap: 18px; }
  .stats-bar .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 18px; }
  .stats-bar .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  ul.checklist { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .savings-grid { grid-template-columns: 1fr; }
}

/* Yard slideshow band (crossfading dealership aerials) */
.photo-band--slides { height: 480px; }
.photo-band--slides > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0; animation: bandSlides 15s infinite; }
.photo-band--slides > img:nth-of-type(1) { animation-delay: 0s; }
.photo-band--slides > img:nth-of-type(2) { animation-delay: 5s; }
.photo-band--slides > img:nth-of-type(3) { animation-delay: 10s; }
@keyframes bandSlides { 0% { opacity: 0; } 4% { opacity: 1; } 30% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .photo-band--slides > img { animation: none; opacity: 1; }
  .photo-band--slides > img:nth-of-type(n+2) { display: none; }
}

/* Footer partner (group) logos/chips */
.footer-partners { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.footer-partners a { display: inline-flex; align-items: center; margin: 0; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; background: rgba(255,255,255,0.05); color: #dfe3f2; font-weight: 700; font-size: 13px; }
.footer-partners a:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.1); }

/* Contact form success state */
.form-success { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 32px; text-align: center; }
.form-success h3 { font-size: 22px; margin: 0 0 10px; color: var(--navy); }
.form-success p { color: var(--gray); margin: 0; font-size: 15.5px; }
