/* =========================================================
   COYOTE RESTORATION — Design System
   Mobile-first. Minimal. Fast. SEO-friendly.
   ========================================================= */

:root {
  /* Color tokens */
  --c-navy-900: #07142a;
  --c-navy-800: #0b1b33;
  --c-navy-700: #102544;
  --c-navy-600: #173564;
  --c-navy-100: #e6ecf5;

  --c-red-600: #d62839;
  --c-red-500: #e63946;
  --c-red-400: #f06873;
  --c-red-50:  #fdecee;

  --c-amber-500: #f4a261;

  --c-ink-900: #0f172a;
  --c-ink-700: #334155;
  --c-ink-500: #64748b;
  --c-ink-400: #94a3b8;

  --c-bg:      #ffffff;
  --c-surface: #f7f9fc;
  --c-border:  #e2e8f0;
  --c-border-strong: #cbd5e1;

  --c-success: #10b981;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale (4px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-red: 0 12px 30px rgba(214, 40, 57, 0.35);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink-900);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-navy-900);
  margin: 0;
}

h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.75rem, 1.75rem); }
h4 { font-size: 1.125rem; font-weight: 700; }

p { margin: 0 0 var(--s-4); }

ul { padding-left: var(--s-6); margin: 0 0 var(--s-4); }
li { margin-bottom: var(--s-2); }

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--s-5);
  padding-right: var(--s-5);
}

@media (min-width: 768px) {
  .container { padding-left: var(--s-8); padding-right: var(--s-8); }
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-left: var(--s-5);
  padding-right: var(--s-5);
}

.section {
  padding: var(--s-16) 0;
}
@media (min-width: 768px) {
  .section { padding: var(--s-24) 0; }
}

.section-tight {
  padding: var(--s-12) 0;
}

.section-dark {
  background: var(--c-navy-900);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #fff;
}

.section-surface {
  background: var(--c-surface);
}

/* =========================================================
   Typography accents
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red-600);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-red-500);
  border-radius: 2px;
}

.section-dark .eyebrow {
  color: var(--c-red-400);
}

.lead {
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  color: var(--c-ink-700);
  max-width: 60ch;
}

.section-dark .lead { color: rgba(255,255,255,0.78); }

.text-mute { color: var(--c-ink-500); }
.text-red  { color: var(--c-red-500); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 22px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  will-change: transform;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-red-500);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--c-red-600); }

.btn-secondary {
  background: #fff;
  color: var(--c-navy-900);
  border: 1.5px solid var(--c-border-strong);
}
.btn-secondary:hover { border-color: var(--c-navy-800); }

.btn-ghost {
  background: transparent;
  color: var(--c-navy-800);
  border: 1.5px solid transparent;
}
.btn-ghost:hover { background: var(--c-navy-100); }

.btn-dark {
  background: var(--c-navy-800);
  color: #fff;
}
.btn-dark:hover { background: var(--c-navy-900); }

.btn-lg { padding: 16px 26px; font-size: 1.0625rem; }

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

.btn-icon { width: 18px; height: 18px; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--c-navy-900);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-navy-800), var(--c-navy-600));
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%);
}

/* Brand logo image (replaces icon + wordmark — wordmark is baked into the logo) */
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
.site-footer .brand-logo { height: 64px; max-width: 280px; }
.mobile-menu .brand-logo--dark { height: 60px; max-width: 240px; }
@media (max-width: 768px) {
  .brand-logo { height: 44px; max-width: 200px; }
}
@media (max-width: 480px) {
  .brand-logo { height: 40px; max-width: 180px; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--s-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-full);
  color: var(--c-ink-700);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--c-navy-900); background: var(--c-surface); }

.nav-cta {
  display: none;
  align-items: center;
  gap: var(--s-3);
}

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

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  display: grid;
  place-items: center;
  background: var(--c-surface);
  color: var(--c-navy-900);
}

/* Dropdown for services */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--c-ink-700);
}
.dropdown a:hover { background: var(--c-surface); color: var(--c-navy-900); }
.dropdown-section + .dropdown-section { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--c-border); }
.dropdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-ink-400);
  padding: 6px 12px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--c-navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu .mm-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-8);
}
.mobile-menu .mm-top .brand { color: #fff; }
.mobile-menu a {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu .mm-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-top: var(--s-6);
  margin-bottom: var(--s-2);
}
.mobile-menu .mm-sub a {
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: var(--s-2) 0;
  border-bottom: 0;
}
.mobile-menu .mm-cta {
  margin-top: auto;
  padding-top: var(--s-6);
  display: grid;
  gap: var(--s-3);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--c-navy-900);
  color: #fff;
  overflow: hidden;
  padding: var(--s-16) 0 var(--s-20);
}
@media (min-width: 768px) {
  .hero { padding: var(--s-24) 0; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(48, 89, 158, 0.55), transparent 38%),
    radial-gradient(circle at 78% 18%, rgba(214, 40, 57, 0.30), transparent 45%),
    radial-gradient(circle at 50% 95%, rgba(11, 27, 51, 0.95), transparent 60%);
  opacity: 1;
}
/* Optional hero image overlay — drops in once /assets/img/hero-water.jpg is added */
.hero.has-image::before {
  background-image: var(--hero-image, url('/assets/img/hero-water.jpg'));
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,20,42,0.4) 0%, rgba(7,20,42,0.85) 75%, rgba(7,20,42,0.96) 100%),
    radial-gradient(circle at 80% 20%, rgba(214,40,57,0.18), transparent 55%);
}
/* Animated water ripple lines for visual texture without an image */
.hero-grid::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  gap: var(--s-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: var(--s-16); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  background: rgba(214, 40, 57, 0.16);
  border: 1px solid rgba(214, 40, 57, 0.35);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--s-6);
}
.hero-eyebrow .pulse {
  width: 8px;
  height: 8px;
  background: var(--c-red-500);
  border-radius: 50%;
  position: relative;
}
.hero-eyebrow .pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-red-500);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4vw + 1rem, 4.25rem);
  margin-bottom: var(--s-5);
}
.hero h1 .highlight {
  background: linear-gradient(120deg, var(--c-red-400) 0%, var(--c-red-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 56ch;
  margin-bottom: var(--s-8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--s-6);
  max-width: 560px;
}
.hero-trust .ht-num {
  font-size: 1.625rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-trust .ht-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* Hero side card (mini contact) */
.hero-card {
  background: rgba(15, 30, 60, 0.6);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-2xl);
  padding: var(--s-8);
  color: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(214,40,57,0.05), transparent 50%);
  pointer-events: none;
}
.hero-card h3 { color: #fff; margin-bottom: var(--s-2); }
.hero-card p { color: rgba(255,255,255,0.78); margin-bottom: var(--s-5); }

/* =========================================================
   Sticky CTA bar (mobile)
   ========================================================= */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(7, 20, 42, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 12px env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { padding: 12px 14px; font-size: 0.9375rem; box-shadow: none; }
@media (min-width: 1024px) {
  .sticky-cta { display: none; }
}

/* =========================================================
   Cards
   ========================================================= */
.card-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card-grid-4 { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--c-red-50);
  color: var(--c-red-500);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-4);
}
.card .card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.card p { color: var(--c-ink-700); margin-bottom: var(--s-4); }
.card .card-cta {
  margin-top: auto;
  font-weight: 600;
  color: var(--c-navy-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
}
.card .card-cta svg { width: 16px; height: 16px; transition: transform 0.18s var(--ease); }
.card:hover .card-cta svg { transform: translateX(4px); }

/* Service card variants */
.service-card { padding: var(--s-8); }

/* =========================================================
   Section header
   ========================================================= */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-12);
}
.section-head .eyebrow { justify-content: center; }
.section-head .lead { margin: var(--s-4) auto 0; text-align: center; }

.section-head-left {
  text-align: left;
  max-width: 760px;
  margin-bottom: var(--s-12);
}

/* =========================================================
   Feature row (icon + text)
   ========================================================= */
.feature-row {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .feature-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-row { grid-template-columns: repeat(3, 1fr); } }

.feature {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  flex: 0 0 44px;
  background: var(--c-navy-100);
  color: var(--c-navy-700);
  display: grid;
  place-items: center;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h4 { margin-bottom: 4px; color: var(--c-navy-900); font-size: 1.0625rem; }
.feature p  { color: var(--c-ink-700); margin: 0; font-size: 0.9375rem; }

.section-dark .feature-icon { background: rgba(255,255,255,0.08); color: var(--c-red-400); }
.section-dark .feature h4 { color: #fff; }
.section-dark .feature p  { color: rgba(255,255,255,0.72); }

/* =========================================================
   Process steps
   ========================================================= */
.steps {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 768px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-border-strong);
  line-height: 1;
}
.step h4 { font-size: 1.125rem; margin-bottom: var(--s-2); padding-right: 50px; }
.step p { color: var(--c-ink-700); margin: 0; font-size: 0.9375rem; }

.section-dark .step {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.section-dark .step::before { color: rgba(255,255,255,0.18); }
.section-dark .step p { color: rgba(255,255,255,0.72); }

/* =========================================================
   Stat strip
   ========================================================= */
.stat-strip {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(2, 1fr);
  padding: var(--s-8);
  background: var(--c-navy-900);
  border-radius: var(--r-2xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(214,40,57,0.22), transparent 50%);
  pointer-events: none;
}
.stat { position: relative; z-index: 2; }
.stat .stat-num {
  font-size: clamp(2rem, 1vw + 1.75rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, #c9d3e2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  margin-top: 4px;
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 18px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--c-red-500);
  opacity: 0.18;
}
.testimonial .stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  margin-bottom: var(--s-3);
}
.testimonial .stars svg { width: 18px; height: 18px; }
.testimonial blockquote {
  margin: 0 0 var(--s-5);
  color: var(--c-ink-700);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}
.testimonial .who {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.testimonial .who-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-navy-700), var(--c-navy-600));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial .who-name {
  font-weight: 700;
  color: var(--c-navy-900);
  font-size: 0.9375rem;
}
.testimonial .who-title {
  font-size: 0.8125rem;
  color: var(--c-ink-500);
}

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--c-navy-900);
}
.faq-q .faq-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--c-surface);
  color: var(--c-navy-800);
  display: grid;
  place-items: center;
  transition: transform 0.22s var(--ease), background 0.22s;
}
.faq-q .faq-icon svg { width: 16px; height: 16px; transition: transform 0.22s var(--ease); }
.faq-item.is-open .faq-q .faq-icon { background: var(--c-navy-900); color: #fff; }
.faq-item.is-open .faq-q .faq-icon svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease);
  color: var(--c-ink-700);
}
.faq-a-inner { padding: 0 0 var(--s-5); max-width: 70ch; }
.faq-item.is-open .faq-a { max-height: 600px; }

/* =========================================================
   City pills (service area)
   ========================================================= */
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 18px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s var(--ease);
}
.city-pill:hover {
  background: rgba(214, 40, 57, 0.15);
  border-color: var(--c-red-500);
  color: #fff;
  transform: translateY(-1px);
}
.city-pill svg { width: 14px; height: 14px; opacity: 0.7; }

/* light variant for city pills on white */
.city-grid-light .city-pill {
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-navy-900);
}
.city-grid-light .city-pill:hover {
  background: var(--c-red-50);
  border-color: var(--c-red-500);
  color: var(--c-red-600);
}

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-700));
  padding: var(--s-12);
  color: #fff;
  text-align: center;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(214,40,57,0.28), transparent 55%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-banner p { color: rgba(255,255,255,0.78); max-width: 60ch; margin: 0 auto var(--s-6); }
.cta-banner .btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }

/* =========================================================
   Lead CTA (phone-first, replaces former contact form)
   ========================================================= */
.lead-cta-points {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.lead-cta-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: 0.9375rem;
  color: var(--c-ink-700);
  line-height: 1.5;
}
.lead-cta-points li::before {
  content: "\2713";
  color: var(--c-red-500);
  font-weight: 700;
  flex: 0 0 auto;
  line-height: 1.5;
}
.lead-cta-fineprint {
  font-size: 0.8125rem;
  color: var(--c-ink-500);
  margin: 0;
  text-align: center;
  letter-spacing: 0.01em;
}

/* Hero-card variant (white-on-dark) */
.hero-card .lead-cta-points li { color: rgba(255,255,255,0.85); }
.hero-card .lead-cta-points li::before { color: #fca5a5; }
.hero-card .lead-cta-fineprint { color: rgba(255,255,255,0.55); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--c-navy-900);
  color: rgba(255,255,255,0.72);
  padding: var(--s-16) 0 var(--s-8);
}
.site-footer h4 {
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--s-4);
  font-weight: 700;
}
.footer-grid {
  display: grid;
  gap: var(--s-10);
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { max-width: 360px; }
.footer-brand .brand { color: #fff; margin-bottom: var(--s-4); }
.footer-brand p { font-size: 0.9375rem; line-height: 1.6; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: var(--s-2); }
.footer-list a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.72);
  transition: color 0.15s;
}
.footer-list a:hover { color: #fff; }

.footer-contact { font-size: 0.9375rem; }
.footer-contact a:hover { color: var(--c-red-400); }
.footer-contact .fc-line {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  margin-bottom: var(--s-3);
}
.footer-contact svg {
  width: 16px; height: 16px; flex: 0 0 16px;
  color: var(--c-red-400);
  margin-top: 4px;
}

.footer-bottom {
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   Page hero (interior pages)
   ========================================================= */
.page-hero {
  background: linear-gradient(180deg, var(--c-navy-900), var(--c-navy-800));
  color: #fff;
  padding: var(--s-16) 0 var(--s-12);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(214,40,57,0.18), transparent 55%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: var(--s-4); }
.page-hero p.lead { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumbs {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--s-5);
}
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero .breadcrumbs span { margin: 0 6px; }

.page-hero .ctas { display: flex; gap: var(--s-3); margin-top: var(--s-8); flex-wrap: wrap; }

/* =========================================================
   Two-column content / split
   ========================================================= */
.split {
  display: grid;
  gap: var(--s-12);
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .split { grid-template-columns: 1.5fr 1fr; } }

.split-balanced {
  display: grid;
  gap: var(--s-10);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .split-balanced { grid-template-columns: 1fr 1fr; } }

/* Side card for sticky contact */
.side-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
}
@media (min-width: 1024px) {
  .side-card { position: sticky; top: 100px; }
}
.side-card h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.side-card .phone-large {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--c-navy-900);
  letter-spacing: -0.02em;
  margin: var(--s-3) 0;
}

/* =========================================================
   Insurance carriers strip
   ========================================================= */
.insurance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  align-items: center;
  justify-content: center;
  color: var(--c-ink-500);
  font-size: 0.875rem;
}
.insurance-strip .ins-name {
  padding: 6px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-weight: 500;
  background: #fff;
  color: var(--c-ink-700);
}

/* =========================================================
   Reveal animations (IntersectionObserver triggered)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Utilities
   ========================================================= */
.txt-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: var(--s-8); }
.mt-12 { margin-top: var(--s-12); }
.mt-16 { margin-top: var(--s-16); }
.flex-row { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.flex-row-center { display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }
.no-margin { margin: 0; }

/* Body padding to account for sticky CTA on mobile */
@media (max-width: 1023px) {
  body { padding-bottom: 76px; }
}

/* Skip link for a11y */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--c-navy-900);
  color: #fff;
  padding: var(--s-3) var(--s-4);
  z-index: 100;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { top: 0; }

/* Print: keep it readable */
@media print {
  .site-header, .sticky-cta, .site-footer { display: none; }
  .hero, .page-hero { background: #fff; color: #000; }
}

/* =========================================================
   TRUST BAR — keystone credibility band
   ========================================================= */
.trust-bar {
  background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-8) 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-6);
  align-items: stretch;
}
@media (max-width: 1023px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}
@media (max-width: 559px) {
  .trust-grid { grid-template-columns: 1fr; }
}
.trust-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-4) var(--s-3);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--c-border);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.trust-tile-link:hover {
  transform: translateY(-2px);
  border-color: var(--c-red-500);
  box-shadow: 0 8px 24px -12px rgba(230,57,70,0.35);
}
.trust-icon {
  width: 32px; height: 32px;
  color: var(--c-red-500);
  margin-bottom: var(--s-3);
}
.trust-stars {
  color: #f59e0b;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: var(--s-2);
  line-height: 1;
}
.trust-headline {
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-navy-900);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
  line-height: 1.25;
}
.trust-sub {
  font-size: 0.8125rem;
  color: var(--c-ink-500);
  line-height: 1.4;
  max-width: 24ch;
}

/* =========================================================
   INSURANCE CARRIERS — grid of branded wordmarks
   ========================================================= */
.section-carriers { background: #fff; }
.carrier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-8);
}
@media (max-width: 1023px) {
  .carrier-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 559px) {
  .carrier-grid { grid-template-columns: repeat(2, 1fr); }
}
.carrier-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: var(--s-3);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: 0 2px 8px -4px rgba(15,23,42,0.06);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.carrier-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(15,23,42,0.18);
}
.carrier-mark {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.carrier-statefarm  { color: #c8102e; font-style: italic; letter-spacing: -0.02em; }
.carrier-allstate   { color: #003da5; }
.carrier-usaa       { color: #003a70; letter-spacing: 0.04em; font-size: 1.25rem; }
.carrier-farmers    { color: #003594; }
.carrier-liberty    { color: #1a1a1a; border-bottom: 3px solid #ffd100; padding-bottom: 2px; }
.carrier-nationwide { color: #1c57a5; }
.carrier-travelers  { color: #c8102e; }
.carrier-progressive{ color: #0033a0; }
.carrier-amfam      { color: #002554; }
.carrier-geico      { color: #002663; letter-spacing: 0.02em; font-size: 1.2rem; }

.carriers-fineprint {
  text-align: center;
  margin-top: var(--s-7);
  font-size: 0.9375rem;
  color: var(--c-ink-700);
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}
.carriers-fineprint a {
  color: var(--c-red-600);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--c-red-500);
}
.carriers-fineprint a:hover { color: var(--c-red-500); }

/* =========================================================
   REVIEWS / SOCIAL PROOF SECTION
   ========================================================= */
.section-reviews {
  background: var(--c-surface);
  padding: var(--s-16) 0;
}
.reviews-aggregate { text-align: center; margin-bottom: var(--s-10); }
.reviews-stars {
  color: #f59e0b;
  font-size: 2rem;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: var(--s-3);
}
.reviews-rating {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-navy-900);
  letter-spacing: -0.03em;
}
.reviews-rating-out {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-ink-500);
  letter-spacing: 0;
  margin-left: 4px;
}
.reviews-meta {
  margin-top: var(--s-3);
  font-size: 1.0625rem;
  color: var(--c-ink-700);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-9);
}
@media (max-width: 959px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  box-shadow: 0 4px 16px -8px rgba(15,23,42,0.08);
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: #f59e0b;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: var(--s-4);
}
.review-quote {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--c-ink-900);
  margin: 0 0 var(--s-5);
  font-weight: 500;
  flex: 1;
}
.review-attrib {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--c-border);
  padding-top: var(--s-4);
}
.review-name {
  font-weight: 700;
  color: var(--c-navy-900);
  font-size: 0.9375rem;
}
.review-role { font-size: 0.8125rem; color: var(--c-ink-500); }
.reviews-cta { text-align: center; }
.reviews-cta .btn {
  background: #fff;
  color: var(--c-navy-900);
  border: 2px solid var(--c-navy-900);
}
.reviews-cta .btn:hover {
  background: var(--c-navy-900);
  color: #fff;
}

/* =========================================================
   HERO RATING BADGE
   ========================================================= */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-bottom: var(--s-4);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero-rating:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.32);
}
.hero-rating-stars { color: #fbbf24; letter-spacing: 0.04em; line-height: 1; }
.hero-rating-text  { color: rgba(255,255,255,0.9); }
.hero-rating-arrow { color: rgba(255,255,255,0.55); margin-left: 2px; }

/* =========================================================
   MOBILE OPTIMIZATION — credibility sections + global
   ========================================================= */

/* Container: respect notched-phone safe areas */
.container,
.container-narrow {
  padding-left: max(var(--s-5), env(safe-area-inset-left));
  padding-right: max(var(--s-5), env(safe-area-inset-right));
}
@media (min-width: 768px) {
  .container { padding-left: max(var(--s-8), env(safe-area-inset-left)); padding-right: max(var(--s-8), env(safe-area-inset-right)); }
}

/* Tighter trust bar at mobile: each tile compact, 5 stacked still readable */
@media (max-width: 559px) {
  .trust-bar { padding: var(--s-6) 0; }
  .trust-grid { gap: var(--s-3); }
  .trust-tile {
    padding: var(--s-3);
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: var(--s-3);
  }
  .trust-tile > .trust-icon,
  .trust-tile > .trust-stars {
    margin-bottom: 0;
    flex: 0 0 auto;
  }
  .trust-icon { width: 28px; height: 28px; }
  .trust-stars { font-size: 1.125rem; margin-bottom: 0; }
  .trust-headline { font-size: 0.9375rem; line-height: 1.2; }
  .trust-sub { font-size: 0.75rem; line-height: 1.35; max-width: none; }
  .trust-tile > div:last-child { flex: 1; }
}

/* Carrier cards: shorter + tighter type at mobile so wordmarks fit cleanly */
@media (max-width: 559px) {
  .section-carriers { padding: var(--s-12) 0; }
  .carrier-grid { gap: var(--s-2); margin-top: var(--s-6); }
  .carrier-card { height: 64px; padding: var(--s-2); }
  .carrier-mark { font-size: 0.875rem; }
  .carrier-usaa, .carrier-geico { font-size: 1rem; }
  .carriers-fineprint { margin-top: var(--s-5); font-size: 0.875rem; }
}

/* Reviews: stack and shrink at mobile */
@media (max-width: 959px) {
  .section-reviews { padding: var(--s-12) 0; }
  .reviews-rating { font-size: 2.75rem; }
  .reviews-meta { font-size: 1rem; }
  .reviews-aggregate { margin-bottom: var(--s-7); }
  .reviews-grid { gap: var(--s-4); margin-bottom: var(--s-6); }
  .review-card { padding: var(--s-5); }
  .review-quote { font-size: 1rem; }
}

/* Hero rating pill: own row on narrow mobile so it doesn't crash into eyebrow */
@media (max-width: 559px) {
  .hero-rating {
    margin-top: var(--s-2);
    margin-bottom: var(--s-3);
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  .hero-rating-stars { font-size: 0.8125rem; }
}

/* Tap targets: ensure all primary actions clear 44x44 */
@media (max-width: 559px) {
  .btn-lg { padding: 16px 22px; min-height: 48px; }
  .btn { min-height: 44px; }
  .nav a, .nav-list a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Section padding on small screens — reclaim vertical space */
@media (max-width: 559px) {
  .section { padding: var(--s-12) 0; }
  .section-tight { padding: var(--s-8) 0; }
}

/* Phone CTA partial bullets: slightly smaller checkmark gap on narrow phones */
@media (max-width: 419px) {
  .lead-cta-points li { font-size: 0.875rem; gap: var(--s-2); }
  .lead-cta-fineprint { font-size: 0.75rem; }
}

/* Prevent horizontal scroll on long carrier names */
.carrier-mark { overflow-wrap: anywhere; word-break: keep-all; }

/* =========================================================
   TCPA / SMS opt-in band (sitewide, in footer)
   ========================================================= */
.tcpa-band {
  margin-top: var(--s-12);
  margin-bottom: var(--s-8);
  padding: 0;
}
.tcpa-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  padding: var(--s-8);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(230,57,70,0.18) 0%, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(23,53,100,0.5) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
}
.tcpa-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 200px at 30% -10%, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}
.tcpa-card > * { position: relative; z-index: 1; }

@media (min-width: 900px) {
  .tcpa-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: var(--s-10);
    padding: var(--s-10);
  }
}

.tcpa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red-400);
  margin-bottom: var(--s-3);
}
.tcpa-eyebrow svg { color: var(--c-red-400); }
.tcpa-heading {
  color: #fff;
  font-size: clamp(1.5rem, 1vw + 1.25rem, 2rem);
  font-weight: 800;
  margin: 0 0 var(--s-3);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.tcpa-lead {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 var(--s-5);
  max-width: 46ch;
}
.tcpa-cta {
  display: inline-flex;
  font-weight: 700;
  letter-spacing: 0.005em;
  margin-bottom: var(--s-5);
}
.tcpa-quick {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.62);
}
.tcpa-quick li { margin: 0; padding: 0; }
.tcpa-quick li strong { color: rgba(255,255,255,0.92); font-weight: 700; letter-spacing: 0.02em; }

.tcpa-disclosure {
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: var(--s-5) var(--s-5) var(--s-4);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
  backdrop-filter: blur(2px);
}
.tcpa-disclosure-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--s-3);
}
.tcpa-disclosure p { margin: 0 0 var(--s-3); }
.tcpa-disclosure p:last-of-type { margin-bottom: 0; }
.tcpa-disclosure a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.35); }
.tcpa-disclosure a:hover { border-bottom-color: #fff; }
.tcpa-disclosure strong { color: rgba(255,255,255,0.95); font-weight: 700; }
.tcpa-disclosure-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  padding-top: var(--s-3);
  margin-top: var(--s-4) !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  font-weight: 600;
}
.tcpa-disclosure-links a {
  color: var(--c-red-400);
  border-bottom: 0;
  letter-spacing: 0.01em;
}
.tcpa-disclosure-links a:hover { color: #fff; }

@media (max-width: 559px) {
  .tcpa-card { padding: var(--s-6); border-radius: var(--r-lg); }
  .tcpa-heading { font-size: 1.5rem; }
  .tcpa-disclosure { padding: var(--s-4); }
}

/* =========================================================
   SMS opt-in section (contact page) — visually engaging
   ========================================================= */
.sms-optin {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-800) 60%, var(--c-navy-700) 100%);
  border-radius: var(--r-2xl);
  padding: var(--s-10) var(--s-6);
  position: relative;
  overflow: hidden;
}
.sms-optin::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(230,57,70,0.22), transparent 65%);
  pointer-events: none;
}
.sms-optin::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 65%);
  pointer-events: none;
}
.sms-optin > * { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .sms-optin {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    padding: var(--s-12) var(--s-12);
    gap: var(--s-12);
  }
}

/* Chat-bubble illustration */
.sms-optin-art {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.sms-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.4;
  max-width: 86%;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,0.4);
}
.sms-bubble-in {
  background: #2c3e5a;
  color: #fff;
  border-bottom-left-radius: 6px;
  align-self: flex-start;
}
.sms-bubble-out {
  background: var(--c-red-500);
  color: #fff;
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}

.sms-optin-body { color: rgba(255,255,255,0.85); }
.sms-optin-body .eyebrow { color: var(--c-red-400); }
.sms-optin-body .eyebrow::before { background: var(--c-red-400); }
.sms-optin-body h2 { color: #fff; margin-bottom: var(--s-3); }
.sms-optin-body .lead { color: rgba(255,255,255,0.78); margin-bottom: var(--s-6); max-width: 56ch; }

.sms-optin-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  margin-top: var(--s-6);
  margin-bottom: var(--s-5);
}
.sms-optin-trust > div {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
}
.sms-optin-trust svg { color: var(--c-red-400); flex: 0 0 auto; }

.sms-optin-fineprint {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 64ch;
}
.sms-optin-fineprint strong { color: rgba(255,255,255,0.85); }
.sms-optin-fineprint a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.32); }
.sms-optin-fineprint a:hover { border-bottom-color: #fff; }

@media (max-width: 559px) {
  .sms-optin { padding: var(--s-8) var(--s-5); border-radius: var(--r-xl); }
  .sms-optin-art { padding: var(--s-4); }
  .sms-bubble { font-size: 0.875rem; padding: 10px 14px; }
  .sms-optin-body h2 { font-size: 1.5rem; }
}

/* Sticky-CTA: keep both buttons readable on phones with smaller screens */
@media (max-width: 419px) {
  .sticky-cta .btn { padding: 11px 10px; font-size: 0.875rem; }
  .sticky-cta .btn-icon { width: 16px; height: 16px; }
}

/* =========================================================
   Missed-call text-back consent checkbox
   ========================================================= */
.callback-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-border);
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--c-ink-500);
  cursor: pointer;
  text-align: left;
}
.callback-consent input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 1px 0 0 0;
  accent-color: var(--c-red-500);
  cursor: pointer;
  border-radius: 4px;
}
.callback-consent strong {
  display: block;
  color: var(--c-ink-700);
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 2px;
}
.callback-consent a {
  color: var(--c-red-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.callback-consent:hover { color: var(--c-ink-700); }

/* Hero-card (dark) variant — invert colors */
.hero-card .callback-consent {
  color: rgba(255,255,255,0.6);
  border-top-color: rgba(255,255,255,0.10);
}
.hero-card .callback-consent strong { color: rgba(255,255,255,0.92); }
.hero-card .callback-consent a {
  color: #fca5a5;
  text-decoration-color: rgba(252,165,165,0.5);
}
.hero-card .callback-consent a:hover { color: #fff; }
