﻿:root {
  --navy: #0b1220;
  --ink: #0f172a;
  --gold: #f4d47c;
  --muted: #a9b6cd;
  --text-muted: #c9d3e5;
  --text-subtle: #b6c2d9;
  --card: rgba(15, 23, 42, 0.65);
  --border: rgba(244, 212, 124, 0.25);
  --radius: 14px;
  /* Slightly reduced section spacing to tighten the overall layout */
  --section-space: clamp(2.2rem, 4vw, 3.5rem);
}

/* Use border-box universally for more predictable sizing on mobile */
*, *::before, *::after { box-sizing: border-box; }


html, body {
  background: var(--navy);
}

.site-nav {
  padding: 1rem 0;
  transition: padding 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.site-nav.is-scrolled {
  padding: 0.65rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-color: rgba(244, 212, 124, 0.35);
}

.section {
  padding: var(--section-space) 0;
}

.section-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 1.5rem 0;
  position: relative;
}

.section-divider::after {
  content: "";
  position: absolute;
  inset: -6px 0 auto 0;
  height: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.section-accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(244, 212, 124, 0.08), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(244, 212, 124, 0.06), transparent 35%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0) 0%, rgba(11, 18, 32, 0.4) 100%);
}

.hero-section > .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: #f7e6a5;
  margin: 0;
}

.hero-subhead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #d7deec;
  margin: 0;
}

.hero-qualifier {
  color: var(--text-subtle);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

.dim { opacity: 0.72; }

.card .muted { margin-top: 0.5rem; color: var(--text-subtle); }
.site-footer .text-white\/70 + .text-white\/70 { margin-top: 0.25rem; }

.hero-author {
  color: var(--text-subtle);
  font-size: 0.9rem;
  margin-top: 0.35rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.9rem, 5vw, 2.6rem); }
}

/* Mobile spacing tweaks: tighten hero, stack CTAs, and wrap trust pills */
@media (max-width: 768px) {
  .section { padding: clamp(1rem, 3vw, 2rem); }
  .hero-section > .container { padding-left: 1rem; padding-right: 1rem; }
  .hero-title { font-size: clamp(2rem, 4.5vw, 2.8rem); }
  .hero-subhead { font-size: 1rem; }
  .hero-section .space-y-6 { gap: 0.6rem; align-items: center; }

  /* Allow trust pills to wrap onto multiple lines on small screens */
  .trust-pills { flex-wrap: wrap; gap: 0.5rem; }
  .pill { font-size: 0.92rem; padding: 0.45rem 0.7rem; }
}

@media (max-width: 480px) {
  .section { padding: 0.8rem 0; }
  .hero-title { font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.05; }
  .hero-subhead { font-size: 0.98rem; }
  .hero-qualifier, .hero-author { font-size: 0.85rem; opacity: 0.85; }
  .btn { padding: 0.8rem 1rem; font-size: 0.95rem; }
  .trust-pills { gap: 0.45rem; }
}

/* Stronger overrides for very small phones to avoid utility class conflicts */
@media (max-width: 420px) {
  /* enforce container padding so content doesn't overflow */
  .hero-section > .container,
  .hero-section .container.px-6,
  .container.mx-auto.px-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* keep hero CTAs side-by-side on very small screens */
  .hero-section .btn-group {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }
  .hero-section .btn-group .btn {
    width: auto !important;
    min-width: 0 !important;
    flex: 1 1 0 !important;
    display: inline-flex !important;
  }

  /* allow trust pills to wrap cleanly */
  .hero-section .trust-pills {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}

/* Prevent horizontal overflow on very small phones */
@media (max-width: 420px) {
  html, body { overflow-x: hidden; }
  .hero-panel { width: 100% !important; }
  .container { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
}

/* Defensive rules to prevent unintentional horizontal overflow on very small screens */
@media (max-width: 420px) {
  .hero-section { overflow-x: hidden; }
  .hero-title { overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
  .hero-panel, .hero-panel * { max-width: 100% !important; box-sizing: border-box !important; }
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.btn-primary {
  background: linear-gradient(90deg, #f7e6a5, #f4d47c);
  color: #0b1220;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: #f7e6a5;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn.btn-lg {
  padding: 0.95rem 1.6rem;
}

.btn.btn-sm {
  padding: 0.65rem 1.1rem;
}

.trust-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  justify-content: center; /* center the pills horizontally */
  align-items: center; /* ensure vertical alignment */
  text-align: center;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  width: auto; /* don't force full width so items stay grouped */
}

.pill {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(244, 212, 124, 0.14);
  border: 1px solid var(--border);
  color: #f7e6a5;
  font-weight: 600;
  font-size: 0.95rem;
  flex: 0 0 auto; /* size to content and don't stretch */
  white-space: nowrap; /* prevent wrapping inside pill on desktop */
}

.hero-panel {
  background: rgba(12, 18, 33, 0.8);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tracker-label {
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin: 0 0 0.35rem 0;
}

.panel-header {
  display: flex;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  opacity: 0.85;
}

.dot.green { background: #4ade80; }
.dot.amber { background: #facc15; }
.dot.red { background: #f87171; }

.panel-body {
  padding: 1.2rem 1.2rem 1rem;
  display: grid;
  gap: 1rem;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(244, 212, 124, 0.15);
}

.badge-live {
  color: #f8d477;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.progress {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.progress li {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.progress .done {
  border-color: rgba(72, 187, 120, 0.5);
  color: #b0f0c7;
}

.progress .active {
  border-color: var(--border);
  background: rgba(244, 212, 124, 0.08);
}

.panel-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.6rem;
  color: var(--text-subtle);
}

.footnote {
  margin: 0 0 0.2rem 0;
  font-size: 0.95rem;
  color: #d7deec;
}

.section-header {
  display: flex;
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  justify-content: center; /* center the pills horizontally */
  align-items: center; /* ensure vertical alignment */
  text-align: center;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  width: auto; /* don't force full width so items stay grouped */
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  color: #f7e6a5;
}

.section-header .muted {
  color: var(--text-subtle);
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

.card,
.step-card,
.callout,
.faq-card,
.quote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  height: 100%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Visual container for the contact two-column layout to present as one box */
.contact-wrap.card{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 1.25rem;
}

/* Remove inner card borders/paddings when using contact-wrap to avoid nested boxes */
.contact-wrap.card > .space-y-4,
.contact-wrap.card > div > form{
  background: transparent;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Ensure the internal left content retains spacing for headings and lists */
.contact-wrap.card .space-y-4 {
  padding: 0 0.25rem;
}

/* Additional overrides to neutralize utility classes applied to the form (e.g. bg- or border utilities). */
/* Force form and nested boxes inside contact-wrap to blend into the parent card visually. */
.contact-wrap.card .card {
  /* Only neutralize the left info card to avoid nested borders — do NOT affect the form */
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Keep typographic color and spacing for elements inside the unified box */
.contact-wrap.card .card h3 {
  margin-top: 0;
  color: #f7e6a5;
}
.contact-wrap.card .mini-list {
  margin: 0 0 0.6rem 0;
  padding-left: 1.1rem;
  color: var(--text-subtle);
}

/* Prevent cards from visually touching container edges on small screens */
@media (max-width: 640px) {
  .card {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.card--accent,
.step-card.card--accent {
  border-color: rgba(244, 212, 124, 0.45);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3), 0 0 18px rgba(244, 212, 124, 0.06);
}

.card h3,
.step-card h3,
.callout-title,
.faq-card h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.4rem;
  color: #f7e6a5;
  font-size: 1.15rem;
}

.card p,
.step-card p,
.callout p,
.faq-card p,
.quote-body,
.quote-meta {
  color: var(--text-muted);
  margin: 0;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(244, 212, 124, 0.16);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #f7e6a5;
  margin-bottom: 0.7rem;
}

/* Layout for step cards: number and title on the same row */
.step-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.step-header .step-number { margin-bottom: 0; }
.step-header h3 { margin: 0; font-size: 1.05rem; }

.trust-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.trust-card {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.trust-card .label {
  color: var(--text-subtle);
  font-size: 0.9rem;
  margin: 0 0 0.2rem 0;
}

.trust-card .value {
  margin: 0;
  font-weight: 700;
}

.callout {
  background: linear-gradient(145deg, rgba(244, 212, 124, 0.12), rgba(15, 23, 42, 0.9));
}

.callout-list {
  margin: 0 0 0.8rem 0;
  padding-left: 1.1rem;
  color: #d7deec;
}

.callout-list li + li {
  margin-top: 0.45rem;
}

/* About page: tighten nationwide block spacing */
.about-nationwide .callout {
  display: grid;
  gap: 0.75rem;
}
.about-nationwide .about-nationwide-list {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  line-height: 1.55;
}
.about-nationwide .about-nationwide-list li + li {
  margin-top: 0.4rem;
}

.callout-title {
  margin-bottom: 0.35rem;
}

.quote-body {
  font-size: 1rem;
  line-height: 1.5;
}

.quote-meta {
  margin-top: 0.6rem;
  color: var(--text-subtle);
  font-size: 0.95rem;
}

.faq-card {
  transition: transform 160ms ease, border-color 160ms ease;
}

.faq-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 212, 124, 0.45);
}

.link-cta {
  color: #f7e6a5;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-cta::after {
  content: "->";
  font-size: 0.95rem;
}

.section-link {
  color: #f7e6a5;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(244, 212, 124, 0.25);
  border-radius: 999px;
  text-decoration: none;
}

.section-link::after {
  content: "->";
  font-size: 0.95rem;
}

.section-link:hover {
  border-color: rgba(244, 212, 124, 0.5);
  text-decoration: underline;
}

.final-cta {
  background: linear-gradient(90deg, rgba(244, 212, 124, 0.18), rgba(244, 212, 124, 0.12));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.muted {
  color: var(--text-subtle);
}

.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease;
  will-change: opacity, transform;
}

body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
}

body.reveal-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(244, 212, 124, 0.15);
  border: 1px solid var(--border);
  color: #f7e6a5;
  font-weight: 700;
  font-size: 0.9rem;
}

.badge-outline {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(244, 212, 124, 0.14);
    border: 1px solid var(--border);
    color: #f7e6a5;
    font-weight: 600;
    font-size: 0.95rem;
    flex: 0 0 auto; /* size to content and don't stretch */
    white-space: nowrap; /* prevent wrapping inside pill */
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: #f7e6a5;
  font-weight: 600;
  font-size: 0.95rem;
}

.card .price,
.price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #f7e6a5;
  margin: 0.15rem 0 0.3rem 0;
}

.mini-list {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0.4rem 0 0 0;
  color: #d7deec;
}

.mini-list li + li {
  margin-top: 0.25rem;
}

.accordion {
  display: grid;
  gap: 0.75rem;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
  cursor: pointer;
}

.accordion-button {
  width: 100%;
  background: transparent;
  color: #f7e6a5;
  padding: 1rem 1.1rem;
  text-align: left;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}

.accordion-button:focus-visible {
  outline: 2px solid #f4d47c;
  outline-offset: 2px;
}

.accordion-chevron {
  transition: transform 180ms ease;
}

.accordion-button[aria-expanded="true"] .accordion-chevron {
  transform: rotate(90deg);
}

.accordion-panel {
  padding: 0 1.1rem 1rem 1.1rem;
  color: #d7deec;
  display: none;
}

.accordion-panel[aria-hidden="false"] {
  display: block;
}

.accordion-panel p {
  margin: 0;
}

.callout-bar {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(244, 212, 124, 0.08);
  padding: 1rem 1.25rem;
  color: #d7deec;
}

/* When callout-bar is inside a .card, visually merge it to avoid double borders */
.card .callout-bar {
  /* Make the callout visually part of the parent card (no separate box) */
  margin-top: 1rem;
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.card .callout-bar p { margin: 0; color: var(--text-subtle); }

.input-invalid {
  border-color: #f87171 !important;
}

/* Restore and emphasize focus visuals for form controls inside contact pages */
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(244, 212, 124, 0.18);
  outline-offset: 2px;
  border-color: rgba(244, 212, 124, 0.9);
}

.field-error {
  color: #fca5a5;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.form-note {
  color: var(--text-subtle);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.anchor-offset {
  scroll-margin-top: 96px;
}

.footer-stack p {
  line-height: 1.6;
}

.footer-stack p + p {
  margin-top: 0.35rem;
}

.site-footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-footer .footer-stack {
  gap: 0.35rem;
}

/* tighten footer inline meta spacing */
.site-footer .mt-8 {
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (prefers-reduced-motion: reduce) {
  body.reveal-ready .reveal,
  body.reveal-ready .reveal.visible,
  .reveal,
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .btn,
  .faq-card {
    transition: none;
  }
}


/* Center action buttons in hero and keep compact spacing */
.btn-group{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-top:0.75rem;margin-bottom:0.75rem;}@media (max-width:480px){.btn-group{gap:10px;margin-top:0.6rem;margin-bottom:0.6rem;}}

.logo-img{height:44px;width:auto;display:block;}

.logo-brand{display:inline-flex;align-items:center;gap:0.6rem;} .logo-text{color:#f7e6a5;letter-spacing:0.04em;font-weight:800;}

.btn-group + .trust-pills{margin-top:0.6rem;}



/* Center hero column content (eyebrow, title, subhead, buttons, pills) */
.hero-section .space-y-6{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

/* On smaller viewports stack and center section headers for better rhythm */
@media (max-width:768px){
  .section-header{
    flex-direction:column;
    align-items:center;
    gap:0.6rem;
    text-align:center;
  }
  .section-header .section-link{
    margin:0;
  }
}


/* Stack contact form columns on phones to avoid cramped layouts */
@media (max-width: 900px) {
  .contact-wrap.card {
    grid-template-columns: 1fr;
  }
}

/* Mobile-first refinements for small screens */
@media (max-width: 640px) {
  /* keep safe padding on edge-to-edge containers */
  .container.mx-auto.px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* tighten vertical rhythm */
  .section {
    padding: 1.35rem 0;
  }
  .section-divider {
    margin: 0.95rem 0;
  }

  /* scale down cards and grids for narrow viewports */
  .card,
  .step-card,
  .callout,
  .faq-card,
  .quote {
    padding: 1rem;
    border-radius: 12px;
  }
  .card h3,
  .step-card h3,
  .callout-title,
  .faq-card h3 {
    margin-bottom: 0.6rem;
  }
  .card p,
  .step-card p,
  .callout p,
  .faq-card p {
    line-height: 1.55;
  }
  .progress li {
    padding: 0.65rem 0.85rem;
  }
  .trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.65rem;
  }

  /* ensure hero and CTA panels sit comfortably */
  .hero-section > .container {
    gap: 1.4rem;
    justify-items: center;
  }
  .hero-panel {
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
  }

  /* center headers and keep links tappable */
  .section-header {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .section-header h2 {
    font-size: clamp(1.55rem, 4vw, 1.85rem);
    margin-bottom: 0.4rem;
  }
  .section-header .section-link {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    min-height: 44px;
    font-weight: 700;
  }
  /* spacing for services header button row */
  .section-header .flex {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
  }
  .section-header .flex .section-link {
    width: auto;
    min-width: 140px;
    white-space: nowrap;
  }

  /* allow long hero text/pills to wrap without overflow */
  .hero-title,
  .hero-subhead,
  .hero-qualifier,
  .hero-author {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .trust-pills {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .pill {
    white-space: normal;
    text-align: center;
    flex: 1 1 150px;
    line-height: 1.35;
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  /* add breathing room before expectation + final CTA sections */
  #expectations {
    margin-top: 24px;
  }
  .final-cta {
    margin-top: 24px;
  }

  /* extra padding/readability for why + expectations cards */
  .trust-card,
  #expectations .card {
    padding: 16px;
  }
  .trust-card p,
  #expectations .card p {
    line-height: 1.5;
  }

  /* about page mobile spacing + readability */
  .page-about .about-how,
  .page-about .about-nationwide,
  .page-about .about-cta {
    margin-top: 24px;
  }
  .page-about .about-nationwide-list {
    margin-top: 10px;
    padding-left: 18px;
  }
  .page-about .about-nationwide-list li {
    margin-bottom: 8px;
    line-height: 1.5;
  }
  .page-about .about-cards .card {
    padding: 16px;
  }
  .page-about .about-cards .card p {
    line-height: 1.5;
  }
}

@media (max-width: 520px) {
  /* Services page mobile spacing and readability */
  .page-services .card {
    margin-bottom: 22px;
  }
  .page-services .mini-list li {
    line-height: 1.5;
    margin-bottom: 8px;
  }
  .page-services .price {
    font-size: 2.35rem;
  }

  /* FAQ page mobile spacing and readability */
  .page-faq .section-header {
    margin-top: 24px;
  }
  .page-faq .accordion-button {
    min-height: 44px;
  }

  /* Contact page: spacing before specific needs, card padding */
  .page-contact .section-header {
    margin-top: 24px;
  }
  .page-contact .card {
    padding: 14px;
  }

  /* Privacy page: header breathing room */
  .page-privacy h1 {
    margin-bottom: 20px;
  }
  .page-privacy .text-sm.text-white\/70 {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  /* hero CTAs side-by-side with comfy taps */
  .hero-section .btn-group {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .hero-section .btn-group .btn {
    width: calc(50% - 6px);
    max-width: 220px;
  }

  /* keep final CTA stacked and full width */
  .final-cta .btn-group {
    width: 100%;
    gap: 12px;
  }
  .final-cta .btn-group .btn {
    width: 100%;
  }

  /* keep grids and cards comfortable on very small phones */
  .section .grid {
    gap: 1rem;
  }
  .card,
  .step-card,
  .callout,
  .faq-card,
  .quote {
    padding: 1rem;
  }
  .hero-panel {
    max-width: 100%;
    width: 100%;
  }

  /* tighten hero typography to prevent clipping */
  .hero-title {
    font-size: clamp(1.55rem, 6vw, 2.1rem);
  }
  .hero-subhead {
    font-size: 0.96rem;
  }

  /* hero CTAs: comfortable spacing and tap targets */
  .hero-section .btn-group {
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-section .btn-group .btn {
    max-width: 220px;
    width: calc(50% - 6px);
    min-height: 48px;
    padding: 0.9rem 1.1rem;
    margin-left: 0;
    margin-right: 0;
  }

  /* final CTA primary emphasis */
  .final-cta .btn-group .btn-primary {
    min-height: 52px;
  }

  /* footer reassurance emphasis */
  .site-footer p:last-of-type {
    font-weight: 600;
    opacity: 0.95;
  }
}
