/* ==========================================================================
   TorqueCore Auto — site stylesheet
   Single stylesheet, no framework. Mobile-first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand */
  --primary-navy: #061827;
  --electric-blue: #0878f9;
  --dark-blue: #0b2235;
  --white: #ffffff;
  --slate-gray: #64748b;
  --light-gray: #e5e7eb;

  /* Derived surfaces */
  --navy-950: #020b12;
  --navy-900: var(--primary-navy);
  --navy-800: var(--dark-blue);
  --navy-700: #123049;
  --navy-600: #1b405e;

  /* Derived blues */
  --blue-bright: #3d9bff;
  --blue-deep: #055fc9;

  /* Neutrals for light sections */
  --paper: #ffffff;
  --paper-alt: #f4f6f8;
  --rule: #dfe4ea;

  /* Text */
  --ink: var(--primary-navy);
  --ink-muted: #475569;
  --on-dark: var(--white);
  --on-dark-muted: #b9c6d4;

  /* Lines */
  --hairline-dark: rgba(255, 255, 255, 0.1);
  --hairline-strong: rgba(255, 255, 255, 0.18);

  /* Type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radii — deliberately tight; this is industrial, not a SaaS dashboard */
  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 8px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(2, 11, 18, 0.12);
  --shadow-md: 0 10px 30px -12px rgba(2, 11, 18, 0.3);
  --shadow-lg: 0 28px 70px -24px rgba(2, 11, 18, 0.55);
  --glow-blue: 0 0 44px -8px rgba(8, 120, 249, 0.55);

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7rem);
  --max-w: 1360px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 0.28s;

  /* Secondary text colour, re-pointed by any dark surface below. */
  --text-muted: var(--ink-muted);

  /* Announcement strip and header, borders included. The hero subtracts these
     to fill the remainder of the first screen exactly. */
  --announce-h: 39px;
  --header-h: 69px;

  /* How far the finder panel rides up over the hero. Shared by the negative
     margin and the backdrop that starts at the hero's bottom edge. */
  --finder-overlap: clamp(3.5rem, 7vw, 5.5rem);

  /* Shared height for selects/inputs and the finder submit button. */
  --control-h: 54px;

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sticky header is 72–84px; keep anchored headings clear of it. */
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection {
  background: var(--electric-blue);
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 999;
  background: var(--electric-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: transform var(--speed) var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section--dark {
  background: var(--navy-900);
  color: var(--on-dark);
}

.section--deep {
  background: var(--navy-950);
  color: var(--on-dark);
}

.section--alt {
  background: var(--paper-alt);
}

/* Every dark surface re-points the muted-text token in one place. Without this
   the CTA bands inherited ink-on-white greys and failed contrast. */
.section--dark,
.section--deep,
.cta-band,
.final-cta,
.page-head,
.form-card,
.finder__panel,
.cat-card,
.footer {
  --text-muted: var(--on-dark-muted);
}

/* Deliberately not using content-visibility here. The paint saving on a page
   this size is marginal, and it costs predictable printing, find-in-page and
   full-page capture. Static HTML plus sized images already carries the CWV. */

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin: 0 0 1rem;
}

/* Slanted tick echoing the italic cut of the TorqueCore wordmark. */
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--electric-blue);
  transform: skewX(-24deg);
}

.section--dark .eyebrow,
.section--deep .eyebrow {
  color: var(--blue-bright);
}

.section--dark .eyebrow::before,
.section--deep .eyebrow::before {
  background: var(--blue-bright);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-title {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  text-transform: uppercase;
}

.section-sub {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.125rem);
  color: var(--text-muted);
}

.text-blue {
  color: var(--electric-blue);
}

.section--dark .text-blue,
.section--deep .text-blue {
  color: var(--blue-bright);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--electric-blue);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color var(--speed) var(--ease),
    border-color var(--speed) var(--ease),
    color var(--speed) var(--ease),
    transform var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
}

/* Metallic sheen that sweeps across on hover. */
.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-22deg);
  transition: left 0.55s var(--ease);
  pointer-events: none;
}

.btn:hover::after {
  left: 130%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary:hover {
  background: var(--blue-bright);
  box-shadow: var(--glow-blue);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: var(--hairline-strong);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--electric-blue);
  background: rgba(8, 120, 249, 0.14);
}

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--primary-navy);
}

.btn--light:hover {
  background: var(--light-gray);
}

.btn--outline-ink {
  --btn-bg: transparent;
  --btn-fg: var(--primary-navy);
  border-color: var(--rule);
}

.btn--outline-ink:hover {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
}

.btn--lg {
  padding: 1.1rem 2.1rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn__icon {
  width: 1em;
  height: 1em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* --------------------------------------------------------------------------
   5b. Call-first CTAs

   This is a pay-per-call site: the phone call is the conversion, not the form.
   The call action therefore gets the solid fill everywhere and the quote form
   drops to the outline treatment behind it.
   -------------------------------------------------------------------------- */

.btn--call {
  gap: 0.7rem;
  padding-block: 0.65rem;
}

.btn--call svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

/* Two-line label: the number itself is the call to action, so it is set in the
   display face rather than hidden behind the words "call now". */
.btn__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.18;
  text-align: left;
}

.btn__stack small {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  opacity: 0.82;
}

.btn__stack strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.btn--lg .btn__stack strong {
  font-size: 1.125rem;
}

/* A slow halo on the primary call button. Deliberately low contrast -- it
   should catch the eye on arrival, not blink for attention. Reduced-motion
   users get the static button via the global animation reset. */
@keyframes call-halo {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(8, 120, 249, 0);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(8, 120, 249, 0.13);
  }
}

.btn--call.btn--primary {
  animation: call-halo 3s var(--ease) infinite;
}

.btn--call.btn--primary:hover {
  animation: none;
}

/* Compact call button for the header below the desktop breakpoint, where the
   nav collapses to a drawer and the phone would otherwise vanish entirely. */
.header__call-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--electric-blue);
  color: var(--white);
  border-radius: var(--r-sm);
  transition: background-color var(--speed) var(--ease);
}

.header__call-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.header__call-icon:hover {
  background: var(--blue-bright);
}

/* Sticky call bar: on a phone the tap target should never be more than a thumb
   away, so the number stays pinned to the bottom of the screen. */
.callbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1px;
  background: var(--hairline-strong);
  box-shadow: 0 -10px 30px rgba(2, 11, 18, 0.55);
}

.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 56px;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callbar__call {
  background: var(--electric-blue);
  color: var(--white);
}

.callbar__call svg {
  width: 19px;
  height: 19px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.callbar__call strong {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
}

.callbar__quote {
  background: var(--navy-900);
  color: var(--light-gray);
  padding-inline: 1.35rem;
}

.callbar__quote:hover {
  color: var(--electric-blue);
}

/* Keep the bar from covering the end of the footer. */
body {
  padding-bottom: 56px;
}

@media (min-width: 900px) {
  .callbar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* A quieter tertiary action for links that should stay available without
   competing with the call. */
.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-gray);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.link-quiet:hover {
  color: var(--electric-blue);
  border-color: var(--electric-blue);
}

/* --------------------------------------------------------------------------
   6. Announcement bar
   -------------------------------------------------------------------------- */

.announce {
  background: linear-gradient(90deg, var(--navy-950), var(--navy-800) 55%, var(--navy-950));
  color: var(--on-dark-muted);
  border-bottom: 1px solid var(--hairline-dark);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 38px;
  text-align: center;
}

.announce__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.announce__item::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--electric-blue);
  transform: rotate(45deg);
}

.announce__item:last-child::after {
  display: none;
}

/* The number is the conversion -- give it the brand colour in the strip. */
.announce__item--cta a {
  color: var(--blue-bright);
  font-weight: 700;
}

.announce__item--cta a:hover {
  color: var(--white);
}

.announce__item--hide-sm {
  display: none;
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 24, 39, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline-dark);
  transition: background-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.header.is-stuck {
  background: rgba(2, 11, 18, 0.96);
  box-shadow: 0 12px 34px -18px rgba(0, 0, 0, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.brand__img {
  width: auto;
  height: 44px;
  transition: opacity var(--speed) var(--ease);
}

.brand:hover .brand__img {
  opacity: 0.85;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.4vw, 1.4rem);
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.25rem;
  color: var(--on-dark-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--speed) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--electric-blue);
  transform: scaleX(0) skewX(-24deg);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1) skewX(-24deg);
}

.header__actions {
  display: none;
  align-items: center;
  gap: 0.625rem;
}

.header__call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color var(--speed) var(--ease);
}

.header__call svg {
  width: 16px;
  height: 16px;
  stroke: var(--electric-blue);
  fill: none;
  stroke-width: 2;
}

.header__call:hover {
  color: var(--blue-bright);
}

/* Mobile toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  display: block;
  background: var(--navy-950);
  border-bottom: 1px solid var(--hairline-dark);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.36s var(--ease);
}

.mobile-nav[data-open="true"] {
  max-height: 520px;
}

/* Closed, the drawer must take no vertical space at all -- its border would
   otherwise offset the hero by 1px and break the full-screen calculation. */
.mobile-nav[data-open="false"] {
  border-bottom-width: 0;
}

.mobile-nav__inner {
  padding-block: 0.5rem 1.5rem;
}

.mobile-nav__link {
  display: block;
  padding: 0.9rem 0;
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline-dark);
}

.mobile-nav__link[aria-current="page"],
.mobile-nav__link:hover {
  color: var(--electric-blue);
}

.mobile-nav__actions {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--announce-h) - var(--header-h) + var(--finder-overlap));
  min-height: calc(100svh - var(--announce-h) - var(--header-h) + var(--finder-overlap));
  background: var(--navy-950);
  color: var(--on-dark);
  overflow: hidden;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  /* Source photo keeps its negative space on the left; on narrow screens we
     pan right so the engine stays in frame behind the copy. */
  object-position: 74% center;
}

/* Two-stop scrim: a horizontal wash for copy legibility and a vertical one so
   the search panel below reads as part of the same composition. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      92deg,
      rgba(2, 11, 18, 0.95) 0%,
      rgba(2, 11, 18, 0.88) 28%,
      rgba(2, 11, 18, 0.55) 58%,
      rgba(2, 11, 18, 0.3) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 11, 18, 0.5) 0%,
      transparent 30%,
      transparent 55%,
      rgba(2, 11, 18, 0.85) 88%,
      rgb(2, 11, 18) 100%
    );
}

/* Soft brand glow bleeding in from the right of the frame. */
.hero__glow {
  position: absolute;
  right: -10%;
  top: 18%;
  width: min(52vw, 620px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(8, 120, 249, 0.3), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) calc(var(--finder-overlap) + 2rem);
}

.hero__copy {
  max-width: 40rem;
}

.hero__title {
  font-size: clamp(2.25rem, 1.15rem + 4.2vw, 3.9rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 0 2px 28px rgba(2, 11, 18, 0.6);
}

.hero__rule {
  width: 84px;
  height: 4px;
  margin: 1.15rem 0;
  background: linear-gradient(90deg, var(--electric-blue), transparent);
  transform: skewX(-24deg);
}

.hero__lead {
  max-width: 34rem;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
  color: #cfdae6;
}

.hero .btn-row {
  margin-top: 1.75rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline-dark);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--light-gray);
}

.hero__trust svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: var(--electric-blue);
  fill: none;
  stroke-width: 2.4;
}

/* --------------------------------------------------------------------------
   9. Vehicle finder — overlaps the hero
   -------------------------------------------------------------------------- */

.finder {
  position: relative;
  z-index: 5;
  margin-top: calc(var(--finder-overlap) * -1);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

/* The panel straddles the hero's bottom edge. Without this the dark hero
   stopped mid-panel and the white section started, cutting a hard line across
   the composition. This continues the hero's navy from that edge down past the
   panel, so the break to the light section happens below it, on purpose. */
.finder::before {
  content: "";
  position: absolute;
  /* Pulled up 1px so this overlaps the hero rather than abutting it. The hero's
     height is fractional (798.7px here), and two edges meeting on a half pixel
     let the white page background show through as a hairline. Overlapping by a
     pixel of the same navy costs nothing and removes the seam at every size. */
  inset: calc(var(--finder-overlap) - 1px) 0 0 0;
  background: var(--navy-950);
  z-index: -1;
}

.finder__panel {
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900) 70%);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  color: var(--on-dark);
}

.finder__title {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  text-transform: uppercase;
}

.finder__hint {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
}

.finder__form {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.select,
.input,
.textarea {
  width: 100%;
  min-height: var(--control-h);
  padding: 0.8rem 1rem;
  background: rgba(2, 11, 18, 0.72);
  color: var(--white);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.select {
  appearance: none;
  padding-right: 2.75rem;
  /* Chevron drawn inline so the control costs no extra request. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230878F9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  cursor: pointer;
}

.select:hover,
.input:hover,
.textarea:hover {
  border-color: rgba(8, 120, 249, 0.6);
}

.select:focus-visible,
.input:focus-visible,
.textarea:focus-visible {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(8, 120, 249, 0.28);
}

.select option {
  background: var(--navy-900);
  color: var(--white);
}

.finder__submit {
  align-self: end;
  min-height: var(--control-h);
  padding-block: 0.8rem;
}

/* --------------------------------------------------------------------------
   10. Category cards
   -------------------------------------------------------------------------- */

.cat-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--navy-900);
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 120, 249, 0.55);
  box-shadow: var(--shadow-lg), var(--glow-blue);
}

.cat-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.05);
}

.cat-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 24, 39, 0.92) 100%);
}

.cat-card__tag {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.7rem;
  background: rgba(8, 120, 249, 0.92);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-xs);
}

.cat-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.875rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.cat-card__title {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  text-transform: uppercase;
}

.cat-card__text {
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

.cat-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.cat-card__list li {
  padding: 0.3rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-gray);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-xs);
}

.cat-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   11. Feature cards (Why choose us)
   -------------------------------------------------------------------------- */

.feature-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.feature {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-md);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 120, 249, 0.5);
  box-shadow: var(--glow-blue);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  background: rgba(8, 120, 249, 0.12);
  border: 1px solid rgba(8, 120, 249, 0.35);
  border-radius: var(--r-sm);
}

.feature__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--electric-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature__title {
  font-size: 1.125rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.feature__text {
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
}

/* --------------------------------------------------------------------------
   12. About split
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

/* Offset blue frame — a flat graphic accent, no drop shadow tricks. */
.split__media::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 58%;
  height: 58%;
  border-right: 3px solid var(--electric-blue);
  border-bottom: 3px solid var(--electric-blue);
  border-radius: 0 0 var(--r-lg) 0;
  z-index: -1;
}

.split__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-block: 1px solid var(--rule);
}

.section--dark .split__stats,
.section--deep .split__stats {
  border-color: var(--hairline-dark);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: 800;
  color: var(--electric-blue);
  line-height: 1.1;
}

.stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   13. Process timeline
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 2rem;
}

.step {
  position: relative;
  padding-left: 4.5rem;
}

.step__num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--electric-blue);
  background: var(--navy-900);
  border: 1px solid rgba(8, 120, 249, 0.45);
  border-radius: var(--r-sm);
}

.section--alt .step__num,
.section:not(.section--dark):not(.section--deep) .step__num {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Connector: vertical on mobile, switched to horizontal at the md breakpoint. */
.step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 62px;
  bottom: -2rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(8, 120, 249, 0.5), transparent);
}

.step:last-child::before {
  display: none;
}

.step__title {
  font-size: 1.125rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  padding-top: 0.75rem;
}

.step__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. Quote CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--on-dark);
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(8, 120, 249, 0.4), transparent 62%),
    linear-gradient(180deg, rgba(2, 11, 18, 0.88), rgba(2, 11, 18, 0.94));
}

.cta-band__inner {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 2rem;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: color var(--speed) var(--ease);
}

.cta-phone svg {
  width: 22px;
  height: 22px;
  stroke: var(--electric-blue);
  fill: none;
  stroke-width: 2;
}

.cta-phone:hover {
  color: var(--blue-bright);
}

/* --------------------------------------------------------------------------
   15. Testimonials
   -------------------------------------------------------------------------- */

.quote-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--electric-blue);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.quote-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.quote-card__stars {
  display: flex;
  gap: 2px;
  color: var(--electric-blue);
}

.quote-card__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.quote-card__text {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.quote-card__who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.quote-card__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--primary-navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  border-radius: var(--r-xs);
}

.quote-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.quote-card__meta {
  font-size: 0.8125rem;
  color: var(--slate-gray);
}

/* Placeholder-content notice — these are sample reviews, not real ones, and
   the page must say so plainly rather than implying social proof. */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  padding: 0.8rem 1rem;
  background: #fff8e6;
  border: 1px solid #f0d99b;
  border-radius: var(--r-sm);
  color: #7a5b12;
  font-size: 0.8125rem;
  text-align: left;
}

.notice svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* --------------------------------------------------------------------------
   16. Makes grid
   -------------------------------------------------------------------------- */

.makes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.make {
  display: grid;
  place-items: center;
  padding: 1.25rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease),
    color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.make:hover {
  transform: translateY(-3px);
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   17. Final CTA
   -------------------------------------------------------------------------- */

.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--dark-blue) 52%, #0a3d78 100%);
  color: var(--on-dark);
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 78% 50%, rgba(8, 120, 249, 0.38), transparent 58%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  max-width: 42rem;
  margin-inline: auto;
}

.final-cta .btn-row {
  justify-content: center;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--navy-950);
  color: var(--on-dark-muted);
  border-top: 1px solid var(--hairline-dark);
  font-size: 0.9375rem;
}

.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.footer__brand-img {
  width: auto;
  height: 46px;
  margin-bottom: 1.25rem;
}

.footer__about {
  max-width: 30rem;
}

.footer__contact {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.footer__contact a,
.footer__contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--light-gray);
  transition: color var(--speed) var(--ease);
}

.footer__contact a:hover {
  color: var(--electric-blue);
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: var(--electric-blue);
  fill: none;
  stroke-width: 2;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer__links li + li {
  margin-top: 0.65rem;
}

.footer__links a {
  transition: color var(--speed) var(--ease), padding-left var(--speed) var(--ease);
}

.footer__links a:hover {
  color: var(--electric-blue);
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--hairline-dark);
  font-size: 0.8125rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__legal a:hover {
  color: var(--electric-blue);
}

.footer__disclaimer {
  padding-bottom: 2rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #7f8fa1;
}

/* --------------------------------------------------------------------------
   19. Page header (interior pages)
   -------------------------------------------------------------------------- */

.page-head {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 7vw, 5rem);
  background: linear-gradient(135deg, var(--navy-950), var(--dark-blue));
  color: var(--on-dark);
  overflow: hidden;
}

.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 85% 10%, rgba(8, 120, 249, 0.3), transparent 60%);
}

.page-head__title {
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.25rem);
  text-transform: uppercase;
  max-width: 22ch;
}

.page-head__lead {
  max-width: 42rem;
  margin-top: 1.1rem;
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  color: var(--on-dark-muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.breadcrumb a:hover {
  color: var(--electric-blue);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--slate-gray);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb [aria-current="page"] {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   20. Content blocks (interior pages)
   -------------------------------------------------------------------------- */

.content h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  text-transform: uppercase;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}

.content h2:first-child {
  margin-top: 0;
}

.content h3 {
  font-size: 1.1875rem;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content p,
.content li {
  color: var(--text-muted);
}

.content p + p {
  margin-top: 1.1rem;
}

.content ul.bullets {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.content ul.bullets li {
  position: relative;
  padding-left: 1.6rem;
}

.content ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--electric-blue);
  transform: skewX(-24deg);
}

.content a:not(.btn) {
  color: var(--electric-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content a:not(.btn):hover {
  color: var(--blue-deep);
}

.content--narrow {
  max-width: 48rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq__item[open] {
  border-color: rgba(8, 120, 249, 0.5);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2px solid var(--electric-blue);
  border-bottom: 2px solid var(--electric-blue);
  transform: rotate(45deg);
  transition: transform var(--speed) var(--ease);
}

.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
}

.faq__a {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* Contact / quote form card */
.form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900) 70%);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  color: var(--on-dark);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field__hint {
  font-size: 0.75rem;
  color: var(--on-dark-muted);
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  background: rgba(8, 120, 249, 0.14);
  border: 1px solid rgba(8, 120, 249, 0.45);
  color: var(--white);
}

.form-status[hidden] {
  display: none;
}

/* Info tiles */
.info-grid {
  display: grid;
  gap: 1rem;
}

.info-tile {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--electric-blue);
  border-radius: var(--r-sm);
}

.info-tile__title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.info-tile p,
.info-tile a {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.info-tile a:hover {
  color: var(--electric-blue);
}

/* --------------------------------------------------------------------------
   21. Scroll reveal
   -------------------------------------------------------------------------- */

/* Gated behind the .js class that the inline head script sets. Without it the
   starting opacity would hide most of the page whenever the script fails to
   run -- which is also what a full-page screenshot and Reader mode see. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   22. Breakpoints
   -------------------------------------------------------------------------- */

@media (min-width: 480px) {
  .announce__item--hide-sm {
    display: inline-flex;
  }

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

@media (min-width: 700px) {
  .cat-grid,
  .quote-grid,
  .feature-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .form-grid .span-2 {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .header__inner {
    min-height: 80px;
  }

  :root {
    --header-h: 81px;
  }

  .brand__img {
    height: 58px;
  }

  .hero__media img {
    object-position: center;
  }

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

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

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

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

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

  .split--reverse .split__media {
    order: 2;
  }

  .finder__form {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
  }

  .finder__submit {
    grid-column: auto;
  }

  /* Horizontal timeline: connector flips from the left rail to a top rail. */
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .step {
    padding-left: 0;
    padding-top: 4.75rem;
  }

  .step::before {
    left: 68px;
    right: -1.5rem;
    top: 27px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(8, 120, 249, 0.5), rgba(8, 120, 249, 0.08));
  }

  .step__title {
    padding-top: 0;
  }

  .footer__top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

/* Header only. The nav plus the call button needs ~990px of run; switching at
   1060 left barely 30px of margin, which any font or scrollbar variation could
   eat. 1140 gives it real headroom. */
@media (min-width: 1140px) {
  .nav,
  .header__actions {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav,
  .header__call-icon {
    display: none;
  }
}

/* Between the nav appearing and there being room for everything, the header
   keeps only the call button. On a pay-per-call site the phone is what the
   space is worth spending on, and the quote is still one tap away in the
   announcement strip, the hero and every closing CTA. */
@media (max-width: 1299px) {
  .header__actions .btn--ghost {
    display: none;
  }
}

@media (min-width: 1100px) {
  .makes {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Short viewports (1080p laptops, and any window with a notification bar) get
   a tighter hero, so the CTAs and trust row stay above the fold rather than
   being the first thing cut off. Height-based, because this is a height
   problem -- a wide 1920x800 window needs it just as much as a small one. */
@media (min-width: 900px) and (max-height: 820px) {
  .hero__inner {
    padding-block: clamp(1.75rem, 4vh, 3rem) calc(var(--finder-overlap) + 1.5rem);
  }

  .hero__title {
    font-size: clamp(2rem, 1rem + 3.2vw, 3.25rem);
  }

  .hero__rule {
    margin: 0.9rem 0;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero .btn-row {
    margin-top: 1.4rem;
  }

  .hero__trust {
    margin-top: 1.4rem;
    padding-top: 1rem;
  }
}

/* --------------------------------------------------------------------------
   23. Motion & print
   -------------------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .header,
  .announce,
  .mobile-nav,
  .cta-band,
  .final-cta,
  .footer {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
