/* ==========================================================================
   QUALITY GARAGE DOORS — DESIGN 3 / BOLD SERVICE BRAND
   Navy + fire-red service brand. Inter. Mobile-first.
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: local("Inter"), local("Inter-Regular"); }

/* ---------- Tokens ---------- */
:root {
  --navy: #0c1d3d;
  --navy-deep: #07142e;
  --navy-soft: #14305f;
  --red: #d72638;
  --red-dark: #b51e2c;
  --red-soft: #f8e0e3;
  --gold: #ffb000;
  --gold-soft: #fff3d0;
  --white: #ffffff;
  --cloud: #f3f5f9;
  --cloud-2: #e7ecf3;
  --ink: #1a1f2c;
  --text-mute: #5a6275;
  --line: #d9dfe8;
  --success: #198754;

  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(12, 29, 61, 0.06);
  --shadow-md: 0 6px 18px rgba(12, 29, 61, 0.10);
  --shadow-lg: 0 18px 40px rgba(12, 29, 61, 0.18);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--gold); color: var(--navy); }

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 .6rem; line-height: 1.1; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { margin: 0 0 1rem; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
}
.tabular { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform .12s ease, background .12s ease, color .12s ease, box-shadow .12s ease;
  white-space: nowrap;
  min-height: 48px;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 6px 16px rgba(215,38,56,0.3); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(215,38,56,0.38); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e89d00; color: var(--navy); }
.btn-lg { padding: 1.1rem 1.6rem; font-size: 1.02rem; min-height: 56px; }
.btn-xl { padding: 1.25rem 1.9rem; font-size: 1.12rem; min-height: 64px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* Phone pill — the signature CTA */
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.3rem;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(215,38,56,0.32);
  transition: transform .12s ease, background .12s ease;
  font-variant-numeric: tabular-nums;
  min-height: 48px;
}
.phone-pill:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.phone-pill svg { width: 18px; height: 18px; }

.phone-pill-xl {
  padding: 1.1rem 1.8rem;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.phone-pill-xl svg { width: 22px; height: 22px; }

.phone-pill-navy { background: var(--navy); color: var(--white); box-shadow: 0 6px 18px rgba(7,20,46,0.4); }
.phone-pill-navy:hover { background: var(--navy-deep); color: var(--white); }

/* ---------- Emergency ribbon ---------- */
.emergency-ribbon {
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  position: relative;
  overflow: hidden;
}
.emergency-ribbon a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.emergency-ribbon::before { content: "⚠ "; }
@keyframes ribbon-pulse {
  0%, 100% { background: var(--red); }
  50% { background: #c01f30; }
}
.emergency-ribbon { animation: ribbon-pulse 3.2s ease-in-out infinite; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 var(--line);
}
.header-top {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  padding: 0.5rem 0;
  display: none;
}
.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.header-top-meta { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.header-top-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.header-top-meta .dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; display: inline-block; }
.header-top-cta { color: var(--white); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.header-top-cta:hover { color: var(--gold); }
@media (min-width: 1024px) { .header-top { display: block; } }

.header-main {
  padding: 0.85rem 0;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1.4rem;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-weight: 900; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-name small { font-size: 0.66rem; color: var(--text-mute); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

.nav-primary { display: none; }
@media (min-width: 1024px) {
  .nav-primary {
    display: flex;
    gap: 0.2rem;
    align-items: center;
  }
  .nav-primary a {
    padding: 0.55rem 0.85rem;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: background .12s ease, color .12s ease;
  }
  .nav-primary a:hover { background: var(--cloud); color: var(--red); }
  .nav-primary a.is-active { color: var(--red); }
  .nav-primary a.is-active::after {
    content: "";
    display: block;
    height: 3px;
    background: var(--red);
    margin-top: 4px;
    border-radius: 2px;
  }
}

.nav-cta-desktop { display: none; }
@media (min-width: 1024px) { .nav-cta-desktop { display: inline-flex; } }

/* Hamburger */
.hamburger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  position: relative;
}
.hamburger span::before { position: absolute; top: -7px; left: 0; }
.hamburger span::after  { position: absolute; top: 7px; left: 0; }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 100;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s ease;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.mobile-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--cloud);
  border-radius: 6px;
  color: var(--navy);
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu nav a {
  padding: 1rem 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu nav a::after { content: "→"; color: var(--red); font-weight: 700; }
.mobile-menu nav a.sub { font-size: 1rem; padding-left: 1.2rem; color: var(--text-mute); font-weight: 600; }
.mobile-menu-foot { margin-top: auto; padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }

/* ---------- Design Switcher ---------- */
.design-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 60;
  background: var(--red);
  border-radius: 999px;
  padding: 0.35rem 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  box-shadow: 0 6px 18px rgba(7,20,46,0.35);
}
.design-switcher-label {
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0 0.55rem 0 0.4rem;
}
.design-switcher a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background .12s ease, color .12s ease;
}
.design-switcher a:hover { background: rgba(255,255,255,0.18); color: var(--white); }
.design-switcher a.is-active { background: var(--gold); color: var(--navy); font-weight: 900; }
@media (max-width: 640px) {
  .design-switcher { top: auto; bottom: 5.5rem; right: 0.6rem; padding: 0.25rem 0.3rem; }
  .design-switcher-label { display: none; }
  .design-switcher a { width: 28px; height: 28px; }
}

/* ---------- HERO ---------- */
.hero {
  background: var(--white);
  padding: 1.8rem 0 2.5rem;
  position: relative;
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .hero { padding: 3rem 0 4rem; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.hero-copy h1 .red { color: var(--red); }
.hero-copy h1 .small { display: block; font-size: 0.55em; font-weight: 700; color: var(--ink); letter-spacing: 0; text-transform: none; margin-top: 0.5rem; }
.hero-lede {
  font-size: 1.1rem;
  color: var(--text-mute);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-mute);
  font-weight: 600;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta svg { width: 14px; height: 14px; color: var(--success); }

/* Hero image */
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(12,29,61,0.18) 20%, rgba(12,29,61,0.7) 100%);
}
.hero-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-badge .live-dot {
  width: 9px;
  height: 9px;
  background: var(--success);
  border-radius: 50%;
  position: relative;
}
.hero-badge .live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.4;
  animation: ping 1.6s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}
.hero-badge .check { color: var(--success); }
.hero-badge-1 { top: 1rem; left: 1rem; }
.hero-badge-2 { bottom: 1rem; left: 1rem; }
.hero-badge-3 { top: 1rem; right: 1rem; background: var(--gold); color: var(--navy); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 0;
}
.trust-strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  color: var(--white);
  text-transform: uppercase;
  font-size: 0.75rem;
}
.trust-pill .gold-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.trust-pill svg { width: 14px; height: 14px; color: var(--gold); }

/* ---------- Sections ---------- */
.section {
  padding: 3rem 0;
}
@media (min-width: 768px) { .section { padding: 4.5rem 0; } }
.section-cloud { background: var(--cloud); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .lede { color: rgba(255,255,255,0.78); }
.section-navy .eyebrow { color: var(--gold); background: rgba(255,176,0,0.15); }

.section-head {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 2.2rem;
}
.section-head .eyebrow { margin-bottom: 0.85rem; }
.section-head .lede {
  font-size: 1.08rem;
  color: var(--text-mute);
  margin: 0 auto;
  max-width: 42rem;
}
.section-head-left { text-align: left; margin-left: 0; }

/* ---------- Service cards ---------- */
.svc-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}
.svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.svc-icon {
  width: 56px;
  height: 56px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 14px rgba(215,38,56,0.25);
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card h3 { margin-bottom: 0.4rem; font-size: 1.3rem; }
.svc-card p { color: var(--text-mute); margin-bottom: 1rem; }
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: var(--ink);
}
.svc-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  flex-shrink: 0;
}
.svc-card .btn { margin-top: auto; align-self: flex-start; }
.svc-card .btn-block { align-self: stretch; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); position: relative; } }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem 1.4rem;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 54px;
  height: 54px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 6px 14px rgba(215,38,56,0.3);
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.step p { color: var(--text-mute); font-size: 0.9rem; margin: 0; }
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 38px;
    right: -0.7rem;
    width: 1.4rem;
    height: 2px;
    background: var(--navy);
    opacity: 0.25;
  }
}

/* ---------- Why us grid (navy) ---------- */
.why-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background .15s ease;
}
.why-item:hover { background: rgba(255,255,255,0.08); }
.why-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.2rem; }
.why-item p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.tstm-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (min-width: 768px) { .tstm-grid { grid-template-columns: repeat(2, 1fr); } }
.tstm-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.tstm-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--red);
  margin-bottom: 0.85rem;
}
.tstm-stars svg { width: 20px; height: 20px; }
.tstm-quote {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.55;
}
.tstm-attrib {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.tstm-avatar {
  width: 38px;
  height: 38px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.95rem;
}
.tstm-name { color: var(--red); font-weight: 800; font-size: 0.95rem; }
.tstm-loc { color: var(--text-mute); font-size: 0.82rem; }

/* ---------- Big CTA banner ---------- */
.cta-banner {
  background: var(--red);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}
@media (min-width: 768px) { .cta-banner { padding: 3.5rem 0; } }
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.cta-banner p { color: rgba(255,255,255,0.92); font-size: 1.05rem; max-width: 36rem; margin: 0 auto 1.5rem; }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }

/* ---------- Coupon cards ---------- */
.coupon-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1rem;
}
@media (min-width: 600px) { .coupon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .coupon-grid { grid-template-columns: repeat(3, 1fr); } }

.coupon {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(215,38,56,0.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.coupon:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(215,38,56,0.35); }
.coupon::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(255,255,255,0.42);
  border-radius: 4px;
  pointer-events: none;
}
.coupon-save {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: var(--navy);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transform: rotate(8deg);
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}
.coupon-amount {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.4rem 0;
  position: relative;
}
.coupon-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  position: relative;
}
.coupon-fine {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.78);
  border-top: 1px dashed rgba(255,255,255,0.4);
  padding-top: 0.7rem;
  margin-top: 0.85rem;
  display: block;
  position: relative;
}
.coupon-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
}
.coupon-cta:hover { background: var(--gold); color: var(--navy); }

/* Coupon variants for visual range */
.coupon-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 28px rgba(255,176,0,0.32); }
.coupon-gold::before { border-color: rgba(12,29,61,0.4); }
.coupon-gold .coupon-fine { color: rgba(12,29,61,0.7); border-top-color: rgba(12,29,61,0.35); }
.coupon-gold .coupon-save { background: var(--navy); color: var(--white); }
.coupon-gold .coupon-cta { background: var(--navy); color: var(--white); }
.coupon-gold .coupon-cta:hover { background: var(--red); color: var(--white); }

.coupon-navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 28px rgba(7,20,46,0.3); }
.coupon-navy::before { border-color: rgba(255,255,255,0.28); }
.coupon-navy .coupon-save { background: var(--gold); color: var(--navy); }
.coupon-navy .coupon-cta { background: var(--gold); color: var(--navy); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 600px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.form-field label .req { color: var(--red); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
  transition: border .12s ease, box-shadow .12s ease;
  min-height: 48px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215,38,56,0.18);
}
.form-field .err { color: var(--red); font-size: 0.8rem; min-height: 1.1em; font-weight: 600; }
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"] { border-color: var(--red); }

.form-success {
  background: #e8f5ee;
  border: 1.5px solid var(--success);
  color: #0e5a37;
  padding: 1rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  display: none;
}
.form-success.is-on { display: block; }

/* ---------- Stats / numbers (warranty) ---------- */
.stat-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--red);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.stat-num {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
  -webkit-text-stroke: 1px var(--navy);
  text-shadow: 0 2px 0 rgba(12,29,61,0.04);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.stat-card p { color: var(--ink); margin: 0; font-size: 0.95rem; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0 2.8rem;
  position: relative;
}
.page-head h1 {
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.page-head p { color: rgba(255,255,255,0.82); max-width: 40rem; margin: 0; font-size: 1.05rem; }
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.crumb a { color: var(--gold); }
.crumb a:hover { color: var(--white); }
.crumb-sep { color: rgba(255,255,255,0.4); }

/* ---------- Two col content (info pages) ---------- */
.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) { .split { grid-template-columns: 1.2fr 1fr; gap: 3rem; } }
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1rem; color: var(--ink); }
.prose h2 { margin-top: 1.4rem; font-size: 1.6rem; }
.prose h3 { margin-top: 1.2rem; font-size: 1.18rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose p { color: var(--ink); }
.prose strong { color: var(--navy); }

/* ---------- Emergency callout box (contact) ---------- */
.emergency-box {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.emergency-box .eyebrow { background: rgba(255,255,255,0.2); color: var(--white); }
.emergency-box h2 {
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0.6rem 0;
}
.emergency-box p { color: rgba(255,255,255,0.94); margin-bottom: 1.2rem; }
.emergency-box .phone-pill { background: var(--navy); }
.emergency-box .phone-pill:hover { background: var(--navy-deep); }

/* ---------- Areas chips ---------- */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.area-chips li {
  background: var(--cloud);
  color: var(--navy);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.78);
  padding: 3rem 0 1.5rem;
}
.footer-top {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .brand-mark { width: 44px; height: 44px; }
.footer-brand .brand-name strong { color: var(--white); }
.footer-brand .brand-name small { color: rgba(255,255,255,0.6); }
.footer-brand p { margin: 1rem 0; max-width: 22rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--gold);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-rule {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 1.5rem 0 1rem;
  position: relative;
}
.footer-rule::before {
  content: "";
  position: absolute;
  left: 0; top: -2px;
  width: 60px; height: 3px;
  background: var(--gold);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
}
.footer-bottom-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.7); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ---------- Sticky mobile call CTA ---------- */
.sticky-call {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 0.6rem 0.7rem;
  background: rgba(7,20,46,0.95);
  backdrop-filter: none;
  border-top: 2px solid var(--red);
  display: block;
}
.sticky-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 14px rgba(215,38,56,0.4);
  min-height: 48px;
}
.sticky-call svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .sticky-call { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 4.5rem; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 0.6rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; font-weight: 900; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0.7rem 0 0; color: var(--text-mute); }

/* ---------- Print styles for coupons ---------- */
@media print {
  body { background: #fff; color: #000; padding: 0 !important; }
  .site-header, .site-footer, .design-switcher, .sticky-call, .emergency-ribbon,
  .page-head, .cta-banner, .coupon-cta, nav, .mobile-menu, .header-top { display: none !important; }
  .container { max-width: none; padding: 0; }
  .coupon-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12pt;
    page-break-inside: avoid;
  }
  .coupon, .coupon-gold, .coupon-navy {
    background: #fff !important;
    color: #000 !important;
    border: 2px dashed #000 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    padding: 14pt !important;
  }
  .coupon::before { border-color: #000 !important; }
  .coupon-save { background: #000 !important; color: #fff !important; }
  .coupon-amount, .coupon-title, .coupon-fine { color: #000 !important; }
  .section { padding: 12pt 0 !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .emergency-ribbon { animation: none; }
  .hero-badge .live-dot::after { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
}
