:root {
  --color-bg: #080a0d;
  --color-surface: #11161b;
  --color-surface-raised: #171d23;
  --color-border: rgba(255, 255, 255, 0.14);
  --color-border-strong: rgba(255, 255, 255, 0.26);
  --color-text: #f7f6f2;
  --color-text-muted: #aeb6bd;
  --color-text-soft: #d5d9dc;
  --color-ford: #4c84df;
  --color-chevrolet: #d9bb67;
  --color-gmc: #ee454b;
  --content-width: 1440px;
  --radius-small: 0.7rem;
  --radius-medium: 1.2rem;
  --radius-large: 1.75rem;
  --shadow-card: 0 1.4rem 3.5rem rgba(0, 0, 0, 0.28);
  --transition-fast: 160ms ease-out;
}

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

html {
  scroll-behavior: smooth;
  background: var(--color-bg);
}

body {
  min-width: 20rem;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(76, 132, 223, 0.09), transparent 24rem),
    radial-gradient(circle at 88% 28%, rgba(238, 69, 75, 0.07), transparent 30rem),
    var(--color-bg);
  color: var(--color-text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 0.1875rem solid #ffffff;
  outline-offset: 0.2rem;
}

::selection {
  background: rgba(217, 187, 103, 0.9);
  color: #080a0d;
}

.skip-link {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(0.75rem, env(safe-area-inset-left));
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-small);
  background: #ffffff;
  color: #080a0d;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-220%);
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.eyebrow,
.rooftop__kicker {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  display: grid;
  min-height: 8rem;
  overflow: hidden;
  place-items: center;
  padding:
    max(0.65rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    0.65rem
    max(1rem, env(safe-area-inset-left));
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(8, 10, 13, 0.16), rgba(8, 10, 13, 0.76)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(25% - 1px),
      rgba(255, 255, 255, 0.03) 25%
    );
}

.site-header::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.05), transparent 32%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.03), transparent 30%);
  content: "";
  pointer-events: none;
}

.site-header__logo {
  position: relative;
  width: min(20rem, 88vw);
  filter: drop-shadow(0 0.75rem 1.75rem rgba(0, 0, 0, 0.36));
}

.site-main {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding: 0.85rem clamp(0.8rem, 2.2vw, 2rem) 2.5rem;
  scroll-margin-top: 1rem;
}

.gateway {
  display: grid;
  /* was `stretch`: the Ford card was forced to the height of the taller Chevy+GMC
     column, leaving a large empty panel under the Ford links that read as unfinished.
     `start` lets each card end where its content ends. */
  align-items: start;
  /* three equal brand columns (was 1fr/2fr with Chevy+GMC sharing one card) */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.rooftop {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: rgba(17, 22, 27, 0.95);
  box-shadow: var(--shadow-card);
}

.rooftop__heading {
  padding: 0.8rem 1rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.015);
}

.rooftop__heading .rooftop__kicker {
  margin-bottom: 0.2rem;
}

.rooftop__heading h2 {
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  line-height: 1.18;
  text-wrap: balance;
}

.brand-logo-link {
  position: relative;
  display: grid;
  min-height: 5rem;
  margin: 0.8rem 0.8rem 0;
  place-items: center;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.025);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.brand-logo-link::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.15rem;
  border-radius: 0.9rem 0.9rem 0 0;
  content: "";
}

/* Accent bars follow the rooftop now that each brand owns its own column
   (the old .brand--* wrappers were removed in the 3-column restructure). */
.brand--chevrolet .brand-logo-link::before,
.rooftop--chevrolet .brand-logo-link::before {
  background: var(--color-chevrolet);
}

.brand--gmc .brand-logo-link::before,
.rooftop--gmc .brand-logo-link::before {
  background: var(--color-gmc);
}

.brand-logo-link--ford::before {
  background: var(--color-ford);
}

.brand-logo-link:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-0.1rem);
}

.brand-logo-link--ford img {
  width: min(100%, 22rem);
  height: auto;
  padding: 0 0.75rem;
  filter: drop-shadow(0 0.4rem 0.8rem rgba(0, 0, 0, 0.24));
}

.brand-logo {
  height: 4.5rem;
  overflow: hidden;
}

.brand-logo--chevrolet {
  width: 8.3rem;
}

.brand-logo--gmc {
  width: 9.4rem;
}

.destination-links {
  display: grid;
  padding: 0.8rem;
  gap: 0.45rem;
}

/* One link per row in every brand column, so all three read identically. */
.destination-links--ford,
.destination-links--brand {
  grid-template-columns: minmax(0, 1fr);
}

.destination-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.85rem;
  padding: 0.55rem 0.7rem;
  gap: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
  color: var(--color-text-soft);
  font-size: 0.75rem;
  font-weight: 760;
  line-height: 1.18;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast), transform var(--transition-fast);
}

.destination-links a::after,
.task-group__links a::after {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  content: "↗";
  font-size: 0.9rem;
}

.destination-links a:hover,
.task-group__links a:hover {
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  transform: translateY(-0.08rem);
}

.gm-brands {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand {
  min-width: 0;
}

.brand + .brand {
  border-left: 1px solid var(--color-border);
}

.gm-shared {
  border-top: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.13);
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.task-group {
  min-width: 0;
  padding: 0.75rem;
}

.task-group + .task-group {
  border-left: 1px solid var(--color-border);
}

.task-group h3 {
  min-height: 2.35rem;
  margin: 0 0 0.5rem;
  color: var(--color-text-soft);
  font-size: 0.72rem;
  line-height: 1.2;
  text-wrap: balance;
}

.task-group__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.4rem;
}

.task-group__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.65rem;
  padding: 0.5rem 0.55rem;
  gap: 0.35rem;
  border: 1px solid var(--color-border);
  border-radius: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast), transform var(--transition-fast);
}

.locations {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #0d1115;
}

.locations__inner {
  display: grid;
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
}

.locations__intro .eyebrow {
  margin-bottom: 0.75rem;
}

.locations__intro h2,
.legal-content h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  text-wrap: balance;
}

.locations__intro > p:last-child {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  text-wrap: pretty;
}

.location-card {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
}

.location-card__brand {
  margin: 0 0 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.location-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.location-card address {
  margin: 0.8rem 0 1rem;
  color: var(--color-text-muted);
  font-style: normal;
}

.location-card a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--color-text);
  font-weight: 750;
  text-underline-offset: 0.22rem;
}

.location-card__phones {
  display: grid;
  gap: 0.35rem;
}

.location-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.location-card .directions-link {
  justify-content: center;
  min-width: 8.75rem;
  margin-top: 0.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast);
}

.location-card__actions .directions-link {
  margin-top: 0;
}

.location-card .directions-link::after {
  margin-left: 0.5rem;
  color: var(--color-text-muted);
  content: "\2192";
}

.location-card .directions-link:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-0.08rem);
}

.site-footer {
  background: #07090b;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding:
    1.5rem max(1rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  gap: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--color-text-soft);
  font-weight: 700;
  text-underline-offset: 0.2rem;
}

.legal-page {
  background: var(--color-bg);
}

.legal-header {
  width: min(100%, 52rem);
  margin-inline: auto;
  padding: 2rem 1.25rem 0;
}

.legal-header__back {
  color: var(--color-text-soft);
  font-weight: 750;
  text-underline-offset: 0.25rem;
}

.legal-content {
  width: min(100%, 52rem);
  margin-inline: auto;
  padding: 4rem 1.25rem 7rem;
}

.legal-content > .eyebrow {
  margin-bottom: 1rem;
}

.legal-content__updated {
  margin: 1rem 0 3rem;
  color: var(--color-text-muted);
}

.legal-content h2 {
  margin: 2.5rem 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.legal-content p {
  color: var(--color-text-soft);
  text-wrap: pretty;
}

.legal-content__actions {
  margin-top: 3rem;
}

@media (max-width: 60rem) {
  .gateway {
    grid-template-columns: 1fr;
  }

  .destination-links--ford {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 50rem) {
  .locations__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .locations__intro {
    grid-column: 1 / -1;
  }

  .destination-links--ford {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 42rem) {
  .site-header {
    min-height: 7.5rem;
  }

  .site-header__logo {
    width: min(20rem, 94vw);
  }

  .gm-brands {
    grid-template-columns: 1fr;
  }

  .brand + .brand {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .task-grid {
    grid-template-columns: 1fr;
  }

  .task-group + .task-group {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .task-group h3 {
    min-height: 0;
  }

  .locations__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 28rem) {
  .site-main {
    padding-inline: 0.65rem;
  }

  .rooftop {
    border-radius: 1.3rem;
  }

  .destination-links--ford,
  .task-group__links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .brand-logo-link::before {
    background: CanvasText;
  }

  .destination-links a,
  .task-group__links a,
  .location-card,
  .rooftop {
    border: 1px solid CanvasText;
  }
}

/* Store hours on the location cards (added 2026-07-25). Hours are one of the top
   things a customer looks for and were missing entirely. */
.hours {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.55rem;
  border-top: 1px solid var(--color-border);
  padding-top: 0.85rem;
}
.hours > div {
  display: grid;
  grid-template-columns: 5.75rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.hours dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted, #9aa4b2);
  padding-top: 0.1rem;
}
.hours dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}
.location-card__note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--color-text-muted, #9aa4b2);
}
@media (max-width: 28rem) {
  .hours > div { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ---------- v10 SEO sections: services / area served / FAQ ----------
   Reuses the existing dark palette and container rhythm. No new fonts,
   no external assets (the page CSP is style-src 'self'). */
.services,
.area-served,
.faq {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.services h2,
.area-served h2,
.faq h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #fff;
}
.services p,
.area-served p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 62ch;
  margin: 0 0 1.25rem;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
}
.service-list li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  font-size: 0.95rem;
}
.service-list strong { color: #fff; display: block; margin-bottom: 0.3rem; }
.faq-list { margin: 0; }
.faq-list dt {
  color: #fff;
  font-weight: 600;
  margin: 1.4rem 0 0.4rem;
  font-size: 1.02rem;
}
.faq-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 68ch;
}
@media (max-width: 600px) {
  .services, .area-served, .faq { padding: 2rem 1.15rem; }
}
