/* ==========================================================================
   Coastal Tire & Auto — concept landing page
   Design tokens
   ========================================================================== */

:root {
  /* Colour */
  --ink:        #0E0F12;
  --ink-soft:   #1A1C21;
  --ink-line:   #2A2D34;
  --red:        #E02B20;
  --red-dark:   #B31E15;
  --red-tint:   #FDECEB;
  --paper:      #FFFFFF;
  --paper-warm: #F7F7F5;
  --grey-900:   #16181C;
  --grey-700:   #3F444D;
  --grey-500:   #6B7280;
  --grey-300:   #D6D8DC;
  --grey-200:   #E7E8EA;
  --star:       #F5A623;

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

  /* Space */
  --wrap: 1180px;
  --gutter: 24px;
  --section-y: clamp(64px, 8vw, 120px);

  /* Effects */
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(14, 15, 18, .06), 0 4px 12px rgba(14, 15, 18, .05);
  --shadow-md: 0 4px 10px rgba(14, 15, 18, .07), 0 18px 40px rgba(14, 15, 18, .09);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--grey-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(224, 43, 32, .28); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 10px 24px rgba(224, 43, 32, .34); }

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--grey-300); }
.btn-outline:hover { border-color: var(--ink); background: var(--paper-warm); }
.btn-outline svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--grey-200);
  box-shadow: 0 1px 20px rgba(14, 15, 18, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { width: 38px; height: 38px; flex: none; fill: var(--red); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -.01em;
  color: #fff;
  transition: color .3s var(--ease);
}
.brand-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
  transition: color .3s var(--ease);
}
.is-stuck .brand-name { color: var(--ink); }
.is-stuck .brand-sub { color: var(--grey-500); }

.nav { display: flex; gap: 30px; }
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, .88);
  transition: color .3s var(--ease);
  padding-block: 4px;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right .25s var(--ease);
}
.nav a:hover::after { right: 0; }
.is-stuck .nav a { color: var(--grey-700); }
.is-stuck .nav a:hover { color: var(--ink); }

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

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.phone-link svg { width: 17px; height: 17px; fill: var(--red); }
.is-stuck .phone-link { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease);
}
.is-stuck .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--grey-200);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--grey-200);
}
.mobile-nav .btn { margin-top: 16px; border-bottom: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(94svh, 940px);
  padding-block: 140px 64px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 15, 18, .84) 0%, rgba(14, 15, 18, .38) 34%, rgba(14, 15, 18, .92) 100%),
    linear-gradient(90deg, rgba(14, 15, 18, .74) 0%, rgba(14, 15, 18, 0) 62%);
}

.hero-inner { position: relative; z-index: 1; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
}
.hero-kicker::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(224, 43, 32, .28);
}

.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.5rem);
  /* The line breaks are authored with <br>; this only caps the small-screen wrap. */
  max-width: 20ch;
  margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--red); }

.hero-sub {
  max-width: 54ch;
  margin-bottom: 36px;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  color: rgba(255, 255, 255, .82);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust-strip li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 20px;
  background: rgba(14, 15, 18, .56);
  backdrop-filter: blur(8px);
}
.trust-strip strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
}
.trust-label { font-size: 12.5px; color: rgba(255, 255, 255, .7); line-height: 1.35; }
.stars { color: var(--star); font-size: 13px; letter-spacing: 1px; }

.hero-scroll {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
}
.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  translate: -50% 0;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  70%  { opacity: 1; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(16px); }
}

/* ==========================================================================
   Credential bar
   ========================================================================== */

.marque {
  padding-block: 26px;
  background: var(--ink-soft);
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px solid var(--ink-line);
}
.marque .wrap {
  display: flex;
  align-items: center;
  gap: 14px 40px;
  flex-wrap: wrap;
}
.marque-label {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.marque-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.marque-list li { display: flex; align-items: center; gap: 10px; }
.marque-list li::before {
  content: '';
  width: 6px; height: 6px;
  rotate: 45deg;
  background: var(--red);
}

/* ==========================================================================
   Section headings
   ========================================================================== */

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow--light { color: #fff; opacity: .78; }

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); text-wrap: balance; }
.section-title--light { color: #fff; }

.section-head { max-width: 62ch; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-lead { margin-top: 18px; color: var(--grey-700); font-size: 1.05rem; }

/* ==========================================================================
   Services
   ========================================================================== */

.services { background: var(--paper-warm); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--grey-300);
  box-shadow: var(--shadow-md);
}
.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: scale .5s var(--ease);
}
.service-card:hover img { scale: 1.035; }
.service-card > img { overflow: clip; }

.service-body { padding: 26px 26px 28px; }
.service-body h3 { font-size: 1.22rem; margin-bottom: 10px; }
.service-body p { color: var(--grey-700); font-size: .96rem; }

.service-card--feature { grid-column: span 2; }
.service-card--feature img { aspect-ratio: 16 / 8; }
.service-card--feature .service-body { padding: 32px; }
.service-card--feature h3 { font-size: 1.6rem; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.service-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red-tint);
  color: var(--red-dark);
  font-size: 12.5px;
  font-weight: 600;
}

/* ==========================================================================
   Warranty band
   ========================================================================== */

.warranty {
  position: relative;
  padding-block: clamp(72px, 9vw, 132px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.warranty-media { position: absolute; inset: 0; z-index: 0; }
.warranty-video { width: 100%; height: 100%; object-fit: cover; }
.warranty-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 15, 18, .95) 0%, rgba(14, 15, 18, .78) 46%, rgba(14, 15, 18, .35) 100%);
}
.warranty-inner { position: relative; z-index: 1; max-width: 640px; }
.warranty-lead { margin-top: 20px; color: rgba(255, 255, 255, .8); }

.warranty-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 36px 0 34px;
  padding: 0;
  list-style: none;
}
.warranty-facts li {
  padding-left: 16px;
  border-left: 2px solid var(--red);
}
.warranty-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
}
.warranty-facts span { font-size: 13px; color: rgba(255, 255, 255, .7); }

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute;
  right: -18px;
  bottom: -18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.about-badge strong { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.about-badge span { font-size: 12px; line-height: 1.35; opacity: .92; }

.about-copy .section-title { margin-bottom: 20px; }
.about-copy p { color: var(--grey-700); }

.pull-quote {
  margin: 28px 0;
  padding: 20px 0 20px 24px;
  border-left: 3px solid var(--red);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.3;
  color: var(--ink);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--grey-200);
}
.about-stats dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.about-stats dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews { background: var(--paper-warm); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.review-stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.review-card blockquote { margin: 0; font-size: 1rem; color: var(--grey-900); }
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--grey-200);
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
}
.review-meta { display: flex; flex-direction: column; line-height: 1.35; }
.review-meta strong { font-size: 15px; }
.review-meta span { font-size: 12.5px; color: var(--grey-500); }

.reviews-cta { margin-top: 40px; text-align: center; }

/* ==========================================================================
   Visit + contact
   ========================================================================== */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.info-block { margin-top: 34px; }
.info-block h3 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--grey-200); }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours .closed th, .hours .closed td { color: var(--grey-500); font-weight: 500; }

address { font-style: normal; font-size: 1.05rem; line-height: 1.5; }
address a { text-decoration: none; border-bottom: 1px solid var(--grey-300); }
address a:hover { border-color: var(--red); color: var(--red); }

.info-links { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; font-weight: 600; }
.info-links a { text-decoration: none; color: var(--red-dark); }
.info-links a:hover { text-decoration: underline; }
.info-links span { color: var(--grey-300); }

.map-embed {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(.28); }

.contact-panel {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.form-title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.form-lead { color: rgba(255, 255, 255, .7); font-size: .98rem; margin-bottom: 28px; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .84);
}
.optional { font-weight: 400; color: rgba(255, 255, 255, .45); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  background: #15171B;
  color: #fff;
  font: inherit;
  font-size: 15px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .34); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 43, 32, .24);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.field.has-error input,
.field.has-error textarea { border-color: #FF6B60; }

.error {
  margin: 6px 0 0;
  min-height: 0;
  font-size: 12.5px;
  color: #FF8B82;
}

.form-note { margin-top: 16px; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .58); }
.form-note a { color: #fff; font-weight: 600; }

/* Honeypot — off-canvas rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success,
.form-failure {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}

.form-success {
  border: 1px solid rgba(74, 222, 128, .4);
  background: rgba(74, 222, 128, .1);
  color: #86EFAC;
}

.form-failure {
  border: 1px solid rgba(255, 107, 96, .45);
  background: rgba(255, 107, 96, .1);
  color: #FFB3AD;
}
.form-failure a { color: #fff; font-weight: 600; }

/* ==========================================================================
   Footer + sticky call
   ========================================================================== */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-block: 64px 44px;
  align-items: start;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-name { margin: 0; font-family: var(--font-display); font-size: 17px; color: #fff; }
.footer-tag { margin: 4px 0 0; font-size: 13.5px; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { text-decoration: none; font-size: 14.5px; }
.footer-nav a:hover { color: #fff; }

.footer-contact { text-align: right; }
.footer-phone {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
}
.footer-contact p { margin: 8px 0 0; font-size: 13.5px; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid var(--ink-line);
  font-size: 12.5px;
}
.footer-base p { margin: 0; }
.footer-demo { color: rgba(255, 255, 255, .4); }

.sticky-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(224, 43, 32, .45);
}
.sticky-call svg { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   Scroll reveal (only when JS is present)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card--feature { grid-column: span 2; }
  .about-grid, .visit-grid { grid-template-columns: 1fr; }
  .about-badge { right: 16px; bottom: -16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: span 2; text-align: left; }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header:has(.mobile-nav.is-open) {
    background: var(--paper);
    border-bottom-color: var(--grey-200);
  }
  .site-header:has(.mobile-nav.is-open) .brand-name { color: var(--ink); }
  .site-header:has(.mobile-nav.is-open) .brand-sub { color: var(--grey-500); }

  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .warranty-facts { grid-template-columns: 1fr; gap: 16px; }
  .sticky-call { display: inline-flex; }
  .hero-scroll { display: none; }
  .hero { padding-bottom: 96px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .service-grid, .review-grid { grid-template-columns: 1fr; }
  .service-card--feature { grid-column: span 1; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .about-stats { grid-template-columns: 1fr; gap: 14px; }
  .about-stats > div { display: flex; justify-content: space-between; align-items: baseline; }
  .about-stats dd { margin-top: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { grid-column: span 1; }
  .marque .wrap { gap: 12px 24px; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-video, .warranty-video { display: none; }
  .hero-media { background: url('../https://images.unsplash.com/photo-1487754180451-c456f719a1fc?q=80&w=1200&auto=format&fit=crop') center / cover no-repeat; }
  .warranty-media { background: url('../https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=1200&auto=format&fit=crop') center / cover no-repeat; }
  .js .reveal { opacity: 1; transform: none; }
}
