/* ==========================================================================
   Auto Express Columbia — "Summit Modern" concept
   Clean modern-minimalist design system: paper white, near-black ink,
   one electric-indigo accent. Generous whitespace, big confident type.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, address, fieldset, legend { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
fieldset { border: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --paper: #F7F6F3;
  --paper-raised: #FFFFFF;
  --ink: #14171C;
  --ink-soft: #40444C;
  --accent: #3454FF;
  --accent-dark: #2540d1;
  --accent-soft: rgba(52, 84, 255, 0.08);
  --accent-soft-2: rgba(52, 84, 255, 0.14);
  --accent-contour: rgba(52, 84, 255, 0.4);

  --gray-100: #EFEEEA;
  --gray-200: #E3E1DB;
  --gray-300: #CFCDC5;
  --gray-500: #8B8A85;
  --gray-700: #54534E;

  --white: #FFFFFF;

  /* Radii */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Shadows — soft, layered, used instead of hard borders */
  --shadow-sm: 0 2px 8px rgba(20, 23, 28, 0.05);
  --shadow-md: 0 1px 2px rgba(20, 23, 28, 0.04), 0 10px 24px rgba(20, 23, 28, 0.08);
  --shadow-lg: 0 2px 4px rgba(20, 23, 28, 0.05), 0 20px 48px rgba(20, 23, 28, 0.12);
  --shadow-header: 0 1px 0 rgba(20, 23, 28, 0.05), 0 12px 24px rgba(20, 23, 28, 0.06);

  /* Type */
  --font-head: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --fs-hero: clamp(2.75rem, 5.4vw + 1rem, 5.25rem);
  --fs-h2: clamp(1.9rem, 2.4vw + 1rem, 2.75rem);
  --fs-h3: clamp(1.2rem, 0.6vw + 1rem, 1.4rem);
  --fs-stat: clamp(2.4rem, 3vw + 1rem, 3.75rem);

  --container: 1240px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .8, .35, 1);
}

/* ---------- Base ---------- */
html {
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h3 { font-weight: 700; font-size: var(--fs-h3); }

section[id] { scroll-margin-top: var(--header-h); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Focus visibility across the whole site */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

main section { padding: 100px 0; }
main section.hero { padding: 0; }
main section.stats-strip { padding: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: transparent;
  box-shadow: none;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(247, 246, 243, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: var(--shadow-header);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.wordmark span { color: var(--accent); }

.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.main-nav a:hover { background: var(--accent-soft); color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.phone-link {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.phone-link svg { width: 18px; height: 18px; color: var(--accent); }
.phone-link:hover { color: var(--accent); }

/* Hamburger (mobile only, see media query) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  margin: 0 auto;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Mobile menu overlay
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--paper);
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease), visibility 0.45s;
  display: flex;
  overflow: hidden;
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu-inner {
  margin: auto;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
}
.mobile-menu-close svg { width: 22px; height: 22px; }
.mobile-menu nav ul { display: flex; flex-direction: column; gap: 14px; }
.mobile-link {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 2.75rem);
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease);
}
.mobile-link:hover, .mobile-link:focus-visible { color: var(--accent); }
.mobile-phone {
  font-weight: 700;
  font-size: 1.25rem;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; }
}

/* ==========================================================================
   Buttons — "magnetic" hover: scale + growing shadow
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.28s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: var(--paper-raised);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  color: var(--accent);
}
.btn-sm { padding: 11px 20px; font-size: 0.9rem; }
.btn:active { transform: scale(0.99); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover { transition: box-shadow 0.2s ease; transform: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 92px) 0 120px;
  display: flex;
  align-items: center;
  min-height: 88vh;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.contour-svg { width: 100%; height: 100%; display: block; }
.contour-drift {
  transform-origin: 50% 50%;
  animation: contourDrift 22s ease-in-out infinite;
}
.contour-drift path {
  fill: none;
  stroke: var(--accent-contour);
  stroke-width: 1.5;
  opacity: 0.55;
}
.contour-drift path:nth-child(odd) { stroke-width: 1; opacity: 0.4; }

@keyframes contourDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-1.4%, 2%, 0) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .contour-drift { animation: none; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.hero-title {
  font-size: var(--fs-hero);
  margin-bottom: 26px;
}
.hero-subhead {
  font-size: clamp(1.05rem, 0.6vw + 1rem, 1.3rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal-load { animation: heroFadeUp 0.9s var(--ease) both; }
.hero-subhead.reveal-load { animation-delay: 0.12s; }
.hero-ctas.reveal-load { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-load { animation: none !important; opacity: 1; transform: none; }
}

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats-strip {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-number, .stat-static {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-stat);
  color: var(--white);
  letter-spacing: -0.02em;
}
.stat-static { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); }
.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}
.stat:nth-child(1) { transition-delay: 0ms; }
.stat:nth-child(2) { transition-delay: 90ms; }
.stat:nth-child(3) { transition-delay: 180ms; }
.stat:nth-child(4) { transition-delay: 270ms; }

/* ==========================================================================
   Scroll-reveal (fade-up on scroll via IntersectionObserver)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Inventory
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  justify-content: space-between;
}
.filter-makes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 560px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--paper-raised);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.filter-btn:hover { color: var(--accent); box-shadow: var(--shadow-md); }
.filter-btn.active { background: var(--ink); color: var(--white); box-shadow: var(--shadow-md); }

.search-wrap {
  position: relative;
  flex: 0 1 280px;
}
.search-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--gray-500);
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: var(--radius-pill);
  background: var(--paper-raised);
  box-shadow: var(--shadow-sm);
  border: none;
}
.search-wrap input::placeholder { color: var(--gray-500); }

.result-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.inventory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) {
  .inventory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .inventory-grid { grid-template-columns: repeat(3, 1fr); }
}

.vehicle-card {
  background: var(--paper-raised);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.vehicle-photo {
  position: relative;
  aspect-ratio: 4 / 2.6;
  background: var(--accent-soft);
  overflow: hidden;
}
.vehicle-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent-soft-2));
  color: var(--accent);
}
.photo-placeholder svg { width: 96px; height: 56px; }
.placeholder-caption {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 0.02em;
}

.sold-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.vehicle-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.vehicle-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
}
.vehicle-title .trim { color: var(--ink-soft); font-weight: 500; }
.vehicle-mileage { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; }

.vehicle-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--gray-100);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}

.vehicle-stock {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
}

.vehicle-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.link-ask {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s var(--ease);
}
.link-ask:hover { color: var(--accent-dark); text-decoration: underline; }

.sold-note {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: auto;
  padding-top: 8px;
}

.vehicle-card.is-sold .vehicle-photo img,
.vehicle-card.is-sold .photo-placeholder { filter: grayscale(0.5); opacity: 0.75; }

/* ==========================================================================
   About
   ========================================================================== */
.about-section { background: var(--paper-raised); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-copy p { font-size: 1.08rem; color: var(--ink-soft); }
.about-copy h2 { font-size: var(--fs-h2); margin-bottom: 18px; }

.about-details {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-details h3 { margin-bottom: 6px; }
.about-details address { font-style: normal; color: var(--ink-soft); line-height: 1.6; }
.detail-link {
  font-weight: 700;
  color: var(--accent);
  width: fit-content;
}
.detail-link:hover { text-decoration: underline; }
.mini-hours { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.mini-hours p { display: flex; justify-content: space-between; gap: 16px; font-size: 0.92rem; }
.mini-hours strong { color: var(--ink); }
.mini-hours span { color: var(--ink-soft); }

/* ==========================================================================
   Why-choose-us
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--paper-raised);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}
.why-icon svg { width: 28px; height: 28px; }
.why-card h3 { margin-bottom: 10px; }
.why-card p { color: var(--ink-soft); font-size: 0.95rem; }

.why-card:nth-child(1) { transition-delay: 0ms; }
.why-card:nth-child(2) { transition-delay: 90ms; }
.why-card:nth-child(3) { transition-delay: 180ms; }
.why-card:nth-child(4) { transition-delay: 270ms; }

/* ==========================================================================
   Forms — Financing & Contact
   ========================================================================== */
.financing-section { background: var(--paper-raised); }

.card-form-wrap {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.card-form-wrap h3 { margin-bottom: 22px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field-sm { grid-column: span 1; }

label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: var(--paper-raised);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  outline: none;
}
textarea { resize: vertical; min-height: 120px; }

.radio-field fieldset { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.radio-field legend { font-weight: 600; font-size: 0.88rem; margin-bottom: 10px; width: 100%; }
.radio-opt { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.95rem; cursor: pointer; }
.radio-opt input { width: 18px; height: 18px; accent-color: var(--accent); }

.consent-field .checkbox-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.5;
}
.checkbox-opt input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }

.card-form-wrap .btn { width: 100%; }
@media (min-width: 560px) {
  .card-form-wrap .btn { width: auto; }
}

.form-confirmation {
  text-align: center;
  padding: 20px 0;
}
.form-confirmation .confirm-icon {
  width: 52px; height: 52px;
  color: var(--accent);
  margin: 0 auto 18px;
}
.form-confirmation h3 { margin-bottom: 10px; }
.form-confirmation p { color: var(--ink-soft); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info h2 { font-size: var(--fs-h2); margin-bottom: 6px; }
.contact-info address { font-style: normal; color: var(--ink-soft); line-height: 1.6; }

.hours-table { margin-top: 14px; font-size: 0.94rem; }
.hours-table caption {
  text-align: left;
  font-weight: 700;
  font-family: var(--font-head);
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.hours-table tr { border-bottom: 1px solid var(--gray-200); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table th, .hours-table td { padding: 8px 0; text-align: left; font-weight: 500; }
.hours-table th { color: var(--ink); font-weight: 600; }
.hours-table td { color: var(--ink-soft); text-align: right; }

.map-wrap {
  margin-top: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  color: var(--accent);
  width: fit-content;
}
.directions-link:hover { color: var(--accent-dark); text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand a:hover { color: var(--white); }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a:hover { color: var(--white); }
.footer-hours { display: flex; flex-direction: column; gap: 8px; }
.footer-hours strong { color: var(--white); margin-right: 8px; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .main-nav, .header-actions .phone-link { display: none; }
  .hamburger { display: flex; }
  main section { padding: 72px 0; }
  .hero { padding: calc(var(--header-h) + 56px) 0 80px; min-height: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-sm { grid-column: 1 / -1; }
  .card-form-wrap { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .result-count { text-align: left; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
