:root {
  --navy: #0E2A52;
  --navy-deep: #0A1F3D;
  --blue: #1E88E5;
  --red: #D32F2F;
  --red-dark: #B71C1C;
  --ink: #16202E;
  --muted: #5B6676;
  --line: #DCE3EC;
  --white: #FFFFFF;

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
}

a { color: var(--navy); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-block { display: block; width: 100%; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand-car { width: 64px; height: 20px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-main { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; letter-spacing: 0.01em; text-transform: uppercase; color: var(--navy); }
.brand-sub { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--navy); margin-top: 4px; }
.tagline {
  margin: 0;
  padding-left: 22px;
  border-left: 2px solid var(--line);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--navy);
}
.header-cta { margin-left: auto; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 55%;
}
.hero-photo { z-index: 0; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10,31,61,0.92) 0%, rgba(10,31,61,0.78) 38%, rgba(10,31,61,0.25) 62%, rgba(10,31,61,0.05) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 400px);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.hero-copy { color: var(--white); }
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: #42A5F5; }
.lead { margin: 0 0 26px; max-width: 46ch; font-size: 1.08rem; color: #E3EAF3; }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 32rem; }
.points li {
  position: relative;
  padding: 12px 16px 12px 46px;
  background: rgba(255,255,255,0.08);
  border-left: 3px solid #42A5F5;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}
.points li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 9px;
  border-left: 3px solid #42A5F5;
  border-bottom: 3px solid #42A5F5;
  transform: translateY(-70%) rotate(-45deg);
}
.points strong { color: #FFB4B0; font-weight: 800; font-size: 1.2em; }

/* Contact card (the mockup's right-hand panel) */
.contact-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  padding: 26px 24px 24px;
  box-shadow: 0 18px 40px rgba(6, 20, 41, 0.35);
}
.contact-card h2 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--navy);
}
.card-intro { margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; }
.contact-list { margin: 0 0 20px; }
.contact-list div { padding: 11px 0; border-top: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 2px 0 0; font-weight: 600; font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-list a { color: var(--navy); }

/* Header nav (mockup: Home / Why Us / Pricing / FAQ) */
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.main-nav + .header-cta { margin-left: 18px; }

.card-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 0.82rem; color: var(--muted); }
.card-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--navy); }

/* Shared section headings */
.section-inner { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 6vw, 72px) var(--gutter); }
.section-title { margin: 0 0 8px; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: var(--navy); }
.section-sub { margin: 0 auto 36px; text-align: center; color: var(--muted); max-width: 52ch; }
.on-dark { color: var(--white); }
.section-sub.on-dark { color: #CFDCEC; }

/* Why dealerships choose us */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.why-grid li { text-align: center; padding: 6px 18px; border-left: 1px solid var(--line); }
.why-grid li:first-child { border-left: 0; }
.why-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--navy); color: var(--white); margin-bottom: 14px; }
.why-icon svg { width: 30px; height: 30px; }
.why-grid h3 { margin: 0 0 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.why-grid p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* Pricing */
.pricing { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.pricing .section-inner { padding-top: clamp(36px, 4.5vw, 52px); padding-bottom: clamp(36px, 4.5vw, 52px); }
.pricing .section-sub { margin-bottom: 28px; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.price-card .ticks { width: fit-content; margin-left: auto; margin-right: auto; }
.price-card { position: relative; background: var(--white); border-radius: 6px; padding: 28px 24px 24px; box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.price-card.featured { outline: 3px solid var(--red); }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 3px; white-space: nowrap; }
.price-card h3 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy); text-align: center; }
.price-sub { margin: 2px 0 10px; text-align: center; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.price { margin: 0 0 16px; text-align: center; }
.price-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--navy); }
.featured .price-num { color: var(--red); }
.price-unit { color: var(--muted); font-weight: 600; }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); background: var(--white); }
.btn-outline:hover { background: #EEF3FA; }

.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.95rem; }
.ticks li::before { content: ''; position: absolute; left: 3px; top: 0.35em; width: 11px; height: 6px; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(-45deg); }

/* Today's shoppers */
.shoppers { background: #F2F6FB; padding: 0; }
.shoppers-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: stretch;
}
@media (min-width: 901px) {
  .shoppers-copy {
    padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    max-width: none;
  }
}
.shoppers-photo { position: relative; min-height: 300px; }
.shoppers-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.shoppers-copy { padding: clamp(24px, 3.5vw, 44px) clamp(20px, 3.5vw, 48px); align-self: center; }
.shoppers-copy h2 { margin: 0 0 12px; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.25; color: var(--navy); }
@media (min-width: 1100px) { .shoppers-copy h2 { white-space: nowrap; } }
.shoppers-copy p { margin: 0 0 16px; color: #3E4958; font-size: 1.02rem; max-width: 56ch; }
.shoppers-copy .ticks { margin-bottom: 20px; }
.shoppers-copy .ticks li { font-weight: 500; color: var(--ink); }

/* Trust strip */
.trust { background: var(--navy-deep); color: var(--white); }
.trust-inner { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-family: var(--font-head); font-weight: 700; padding: 4px 12px; border-left: 1px solid rgba(255,255,255,0.18); }
.trust-item:first-child { border-left: 0; }
.trust-item svg { width: 34px; height: 34px; color: var(--white); }

.footer-credit { border-top: 1px solid rgba(255,255,255,0.12); }
.site-footer .footer-credit p { max-width: none; margin: 0; padding: 12px var(--gutter); font-size: 0.8rem; color: #9FB3CC; text-align: center; }
.footer-credit a { color: #C9D6E6; font-weight: 600; text-decoration: none; }
.footer-credit a:hover, .footer-credit a:focus-visible { color: var(--white); text-decoration: underline; }

.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: #C9D6E6; text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--white); }

/* Footer */
.site-footer { background: var(--navy); color: #C9D6E6; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; color: var(--white); letter-spacing: 0.02em; }
.footer-brand span { font-weight: 600; color: #9FC3EE; }
.site-footer p { margin: 0; font-size: 0.88rem; }

@media (max-width: 1100px) {
  .tagline { display: none; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .why-grid li { border-left: 0; }
  .shoppers-inner { grid-template-columns: 1fr; }
  .shoppers-photo { min-height: 0; }
  .shoppers-photo img { position: static; height: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 600px) {
  .header-inner { gap: 12px; }
  .brand-car { width: 44px; }
  .brand-main { font-size: 1.25rem; }
  .brand-sub { font-size: 0.6rem; letter-spacing: 0.24em; }
  .header-cta { padding: 10px 12px; font-size: 0.75rem; }
  .hero { background: var(--navy-deep); }
  .hero-photo { position: static; display: block; height: auto; aspect-ratio: 16 / 9; object-position: 65% 60%; }
  .hero::before { content: none; }
  .hero-inner { padding-top: 28px; }
  .contact-list a[href^="mailto:"] { font-size: 0.92rem; }
  .why-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; gap: 18px; }
  .trust-item { border-left: 0; }
  .footer-nav { flex-wrap: wrap; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
