/*
  home.css — Coastline Roofing homepage
  =====================================
  Page-specific styles for index.html.
  Tokens come from globals.css (which mirrors js/design.js).
*/

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-y) 0;
}
.section-alt { background: var(--bg-secondary); }
.section-warm { background: var(--bg-warm); }
.section-cta { background: var(--bg-dark); color: var(--text-light); padding: 5rem 0; }

.section-head {
  max-width: 760px;
  margin: 0 0 3rem;
}
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 { margin: 0.5rem 0 1rem; color: var(--text-primary); }
.section-head .lead { color: var(--text-body); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-body);
}


/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.btn-brand-light {
  background: var(--brand-light);
  color: var(--brand-deep);
  border-color: var(--brand-light);
}
.btn-brand-light:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.btn-on-dark {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
}
.btn-on-dark:hover { background: var(--brand-light); color: var(--brand-deep); border-color: var(--brand-light); }

.btn-outline-dark {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
}
.btn-outline-dark:hover { background: var(--brand-light); color: var(--brand-deep); border-color: var(--brand-light); }

.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost-white:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}


/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 1.5rem;
}
.logo img {
  display: block;
  height: 36px;
  width: auto;
}
.nav-main {
  display: flex;
  gap: 1.75rem;
}
.nav-main a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 150ms;
}
.nav-main a:hover { color: var(--brand); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-after-hours {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.header-after-hours a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: background 150ms;
}
.header-phone:hover { background: var(--brand-dark); }
.header-phone-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.header-phone strong { font-size: 1rem; font-weight: 700; white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
}

/* Nav dropdown (Services menu) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}
.nav-dropdown-icon {
  transition: transform 200ms ease;
}
.nav-dropdown:hover .nav-dropdown-icon,
.nav-dropdown:focus-within .nav-dropdown-icon {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: -0.75rem;
  min-width: 240px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  z-index: var(--z-dropdown);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}
/* Invisible bridge so the dropdown stays open while moving from toggle to menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.75rem;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 500;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  background: var(--bg-secondary);
  color: var(--brand);
}


/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 5rem 0;
  position: relative;
  background: url('/images/hero-coastline-trucks-job-site.webp') center 40% / cover no-repeat;
  background-color: var(--bg-dark);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.70);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero-copy .eyebrow {
  color: var(--brand-light);
}
.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin: 1rem 0 1.25rem;
  letter-spacing: -0.005em;
}
.hero-copy h1 br { display: block; }
.hero-copy .lead {
  margin: 0 0 2rem;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.87);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero-badges img {
  display: block;
  object-fit: contain;
  width: 120px;
  height: 120px;
}


/* Hero contact form */
.hero-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  position: sticky;
  top: 100px;
}
.hero-form-head { margin-bottom: 1.25rem; }
.form-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-light);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.hero-form-head h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.hero-form-head p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0;
}

.hero-form .field {
  display: block;
  margin-bottom: 1rem;
}
.hero-form .field span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.hero-form input,
.hero-form textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 150ms, box-shadow 150ms;
}
.hero-form input:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}
.hero-form textarea { resize: vertical; min-height: 70px; }
.hero-form .btn-block { margin-top: 0.5rem; }
.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.875rem 0 0;
}
.form-note a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: none;
}


/* ============================================================
   Trust bar
   ============================================================ */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.trust-item svg { color: var(--brand); flex-shrink: 0; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.trust-item-badges {
  display: none;
  align-items: center;
  gap: 0.375rem;
}
.trust-item-badges img {
  display: block;
  object-fit: contain;
}


/* ============================================================
   Storm pain / PAS section
   ============================================================ */
.section-storm {
  background: var(--bg-dark);
  padding: var(--section-y) 0;
}
.storm-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.storm-copy .eyebrow { color: var(--brand-light); }
.storm-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0.75rem 0 1.25rem;
}
.storm-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.75rem;
}
.storm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.storm-stat {
  padding: 1rem 0.875rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  text-align: center;
}
.storm-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.storm-stat span {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
}
.storm-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.storm-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================================
   Services grid
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-light);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brand-light);
  color: var(--brand-deep);
  border-radius: var(--radius-md);
  margin-bottom: 0.25rem;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.service-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0;
  flex-grow: 1;
}
.service-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-deep);
  margin-top: 0.5rem;
}
.service-card-emergency { border-color: var(--brand-light); }
.service-card-emergency .service-icon { background: var(--brand); color: #fff; }


/* ============================================================
   Insurance claims
   ============================================================ */
.section-insurance .section-head { max-width: 820px; }
.insurance-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.insurance-card {
  padding: 2rem;
  background: var(--brand-light);
  border-radius: var(--radius-xl);
}
.insurance-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--brand);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.insurance-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin: 0 0 0.625rem;
  line-height: 1.25;
}
.insurance-card p {
  font-size: 0.95rem;
  color: var(--brand-deep);
  margin: 0;
  line-height: 1.6;
  opacity: 0.85;
}
.insurance-footer-note {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-body);
}
.insurance-footer-note a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}
.insurance-footer-note a:hover { text-decoration: underline; }


/* ============================================================
   Why Coastline
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.why-card {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brand-light);
  color: var(--brand-deep);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}
.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
  line-height: 1.25;
}
.why-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}


/* ============================================================
   Meet Josh / Owner section
   ============================================================ */
.owner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.owner-copy .eyebrow { margin-bottom: 0.25rem; }
.owner-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.5rem 0 1rem;
  line-height: 1.15;
}
.owner-copy > p {
  font-size: 0.975rem;
  color: var(--text-body);
  margin: 0 0 1rem;
  line-height: 1.65;
}
.owner-promise {
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}
.owner-quote {
  font-size: 1.05rem;
  color: var(--brand-deep);
  font-style: italic;
  margin: 0 0 0.5rem;
  line-height: 1.55;
}
.owner-sig {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0;
  opacity: 0.7;
}
.owner-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.owner-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.owner-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.625rem 1.125rem;
  color: #fff;
  text-align: center;
}
.owner-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 0.2rem;
}
.owner-badge span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}


/* ============================================================
   Process
   ============================================================ */
.process-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.process-step {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.process-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}
.process-step p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}


/* ============================================================
   Financing band
   ============================================================ */
.section-financing {
  background: var(--brand-deep);
  padding: var(--section-y) 0;
}
.financing-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
.financing-copy .eyebrow { color: var(--brand-light); }
.financing-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin: 0.75rem 0 1rem;
  line-height: 1.15;
}
.financing-copy p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.5rem;
  line-height: 1.65;
}
.financing-partners {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.partner-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}
.financing-cta { text-align: center; }
.financing-note {
  margin-top: 0.875rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
}


/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0) 0%, rgba(10, 22, 40, 0.85) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.gallery-item-feature {
  grid-column: span 2;
  grid-row: span 2;
}


/* ============================================================
   Stats band
   ============================================================ */
.stats-band {
  background: var(--bg-dark);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-block { }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}


/* ============================================================
   Testimonials
   ============================================================ */
.review-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.review-source {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-body);
  transition: border-color 150ms, box-shadow 150ms, transform 150ms;
}
.review-source:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.review-source svg { color: var(--brand-deep); flex-shrink: 0; }
.review-source-fb svg { color: #1877F2; }
.review-source strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  margin-right: 0.25rem;
}

.testimonial-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  /* Driven by JS (initMarquee in index.html) so we can slow on hover
     without the position-recompute jump that CSS animation-duration
     changes cause mid-animation. */
  will-change: transform;
}
.testimonial {
  margin: 0;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 380px;
  flex-shrink: 0;
}
.stars {
  color: #f5b400;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.testimonial blockquote {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
}
.testimonial blockquote p { margin: 0; }
.testimonial figcaption {
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
}
.testimonial figcaption strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.testimonial figcaption span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}


/* ============================================================
   Mid-page CTA
   ============================================================ */
.section-midcta {
  background: var(--brand);
  padding: var(--section-y) 0;
}
.midcta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.midcta-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.625rem;
  line-height: 1.2;
}
.midcta-copy p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}
.midcta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}


/* ============================================================
   Materials and manufacturers
   ============================================================ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.brand-item {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 200ms ease;
}
.brand-item:hover { box-shadow: var(--shadow); }
.brand-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.brand-item p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}

/* Featured (default) brand — first card spans the full row on desktop. */
.brand-item-feature {
  grid-column: 1 / -1;
  background: var(--brand-pale);
  border-color: var(--brand-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.brand-item-feature h3 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.35rem;
  color: var(--text-primary);
}
.brand-item-feature p {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 720px;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius);
  line-height: 1.2;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-light);
  padding-bottom: 1px;
  transition: color 150ms, border-color 150ms;
}
.brand-link:hover { color: var(--brand-dark); border-bottom-color: var(--brand); }


/* ============================================================
   Comparison section
   ============================================================ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.compare-col {
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.compare-col-coastline {
  border: 2px solid var(--brand);
  box-shadow: 0 4px 24px rgba(0, 174, 239, 0.15);
}
.compare-col-pe {
  border: 1px solid var(--border);
}
.compare-col-head {
  padding: 1.5rem 1.75rem;
  background: var(--brand);
}
.compare-col-pe .compare-col-head {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.compare-col-head h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}
.compare-col-pe .compare-col-head h3 { color: var(--text-primary); }
.compare-col-head p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.compare-col-pe .compare-col-head p { color: var(--text-muted); }
.compare-list {
  list-style: none;
  padding: 1.5rem 1.75rem;
  margin: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.compare-col-pe .compare-list { background: #fff; }
.compare-list li {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  padding-left: 1.75rem;
  position: relative;
}
.compare-list-yes li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 1rem;
}
.compare-list-no li::before {
  content: '\00D7';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1.1rem;
}


/* ============================================================
   Service area
   ============================================================ */
/* Legacy cities-grid (kept for any other page that uses it) */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.cities-col h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
  margin: 0 0 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brand-light);
}
.cities-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cities-col li {
  font-size: 0.95rem;
  color: var(--text-body);
  padding: 0.3rem 0;
}

/* County-grouped service area (homepage) */
.counties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.county-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.county-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--brand-light);
}
.county-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--brand-light);
}
.county-head h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}
.county-meta {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  white-space: nowrap;
}
.county-cities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1rem;
}
.county-cities li { line-height: 1.4; }
.county-cities a {
  font-size: 0.95rem;
  color: var(--text-body);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 150ms, border-color 150ms;
}
.county-cities a:hover {
  color: var(--brand-deep);
  border-bottom-color: var(--brand);
}
.county-zips {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border);
}
.county-zips strong {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.7rem;
  display: inline-block;
  margin-right: 0.4rem;
}
.service-area-note {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 1rem;
  color: var(--text-body);
}
.service-area-note a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brand-light);
}
.service-area-note a:hover { border-bottom-color: var(--brand); }


/* ============================================================
   24/7 Emergency band
   ============================================================ */
.section-emergency {
  background: var(--bg-dark);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.section-emergency::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/hurricane-ian-storm-damage-ground-view-oct-2022.webp') center / cover no-repeat;
  opacity: 0.14;
}
.emergency-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.emergency-copy .eyebrow { color: var(--brand-light); }
.emergency-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin: 0.75rem 0 1rem;
  line-height: 1.15;
  max-width: 600px;
}
.emergency-copy p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  line-height: 1.65;
  margin: 0;
}
.emergency-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}
.emergency-phone {
  font-size: 1.05rem;
  white-space: nowrap;
}


/* ============================================================
   FAQ
   ============================================================ */
.faq-container { max-width: 880px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 200ms;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}


/* ============================================================
   Final CTA
   ============================================================ */
.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.cta-inner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-col-brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(245, 249, 252, 0.75);
  margin: 1rem 0;
  max-width: 320px;
}
.footer-license {
  font-size: 0.8rem;
  color: rgba(245, 249, 252, 0.55);
  letter-spacing: 0.02em;
}
.footer-logo { display: block; height: 36px; width: auto; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  font-size: 0.95rem;
  color: rgba(245, 249, 252, 0.75);
  padding: 0.35rem 0;
}
.footer-col a {
  color: rgba(245, 249, 252, 0.75);
  text-decoration: none;
  transition: color 150ms;
}
.footer-col a:hover { color: #fff; }
.footer-contact strong {
  font-weight: 700;
  color: #fff;
  margin-right: 0.4rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 249, 252, 0.25);
  border-radius: var(--radius-pill);
  color: #fff;
}
.footer-social a:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 249, 252, 0.12);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(245, 249, 252, 0.55);
}
.footer-bottom a { color: rgba(245, 249, 252, 0.75); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }


/* ============================================================
   Sticky mobile CTA
   ============================================================ */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-dark);
  padding: 0.625rem;
  gap: 0.5rem;
  border-top: 1px solid rgba(245, 249, 252, 0.12);
}
.sticky-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius-pill);
}
.sticky-cta-call { background: var(--brand); color: #fff; }
.sticky-cta-text { background: rgba(255, 255, 255, 0.12); color: #fff; }


/* ============================================================
   Roof Protection Plan
   ============================================================ */
.section-protection {
  background: var(--bg-dark);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.section-protection::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,174,239,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.protection-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}
.eyebrow-light {
  color: var(--brand);
}
.protection-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}
.protection-starting {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.25rem;
}
.protection-starting strong {
  color: var(--plan-gold);
  font-size: 1.375rem;
}
.protection-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.protection-bullets li {
  color: rgba(255,255,255,0.85);
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
}
.protection-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--plan-gold);
  font-weight: 700;
}

/* Badge images */
.protection-badge-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}
.bradenton-badge {
  display: block;
  object-fit: contain;
}

/* Plan cards grid */
.protection-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.plan-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.plan-popular-label {
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0;
}

.plan-header {
  padding: 1.5rem 1.5rem 1.25rem;
  text-align: center;
}
.plan-essential .plan-header { background: var(--plan-essential-bg); }
.plan-preferred .plan-header { background: var(--plan-preferred-bg); }
.plan-elite    .plan-header { background: var(--plan-elite-bg); }

.plan-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}
.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
}
.plan-price-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.plan-price-per {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}
.plan-material {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

.plan-features {
  list-style: none;
  padding: 1.5rem;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.plan-features li {
  color: rgba(255,255,255,0.85);
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.4;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--plan-gold);
  font-weight: 700;
}

.plan-cta {
  display: block;             /* override .btn inline-flex so margins + box-sizing keep us inside the card */
  margin: 0 1.5rem 1.5rem;
  box-sizing: border-box;     /* ensure border doesn't add to width and overflow the card */
  text-align: center;
}

.protection-footer-note {
  text-align: center;
  margin-top: 2.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}
.protection-footer-note a {
  color: var(--brand);
  text-decoration: none;
}
.protection-footer-note a:hover {
  text-decoration: underline;
}

/* ============================================================
   Responsive — wide tablet / small laptop (1025px–1280px)
   Nav is still visible here but can get cramped with 6 items.
   Shrink logo + tighten gap so everything stays on one line.
   ============================================================ */
@media (min-width: 1025px) and (max-width: 1280px) {
  .logo img { height: 28px; }
  .header-inner { gap: 1.25rem; padding: 0.75rem 1.25rem; }
  .nav-main { gap: 1.1rem; }
  .nav-main a { font-size: 0.875rem; }
  .header-phone { font-size: 0.8rem; padding: 0.6rem 1rem; }
}

/* ============================================================
   Responsive — tablet (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-form-card { position: static; }

  .storm-inner { grid-template-columns: 1fr; gap: 3rem; }
  .storm-photo { max-height: 340px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .insurance-cards { grid-template-columns: 1fr; gap: 1.25rem; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .owner-split { grid-template-columns: 1fr; gap: 3rem; }
  .owner-visual { max-height: 340px; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .financing-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .financing-partners { justify-content: center; }
  .financing-cta { text-align: center; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item-feature { grid-column: span 2; grid-row: span 1; }

  .stats-row { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }

  .midcta-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .midcta-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }

  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }

  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .counties-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .county-cities { grid-template-columns: repeat(2, 1fr); }

  .emergency-inner { grid-template-columns: 1fr; gap: 2rem; }
  .emergency-cta { flex-direction: row; flex-wrap: wrap; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { grid-template-columns: repeat(3, 1fr); row-gap: 1.25rem; }
  .trust-item-badges { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; }
  .hero-badges { display: none; }
  .protection-top { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .protection-badge-wrap { justify-content: center; }
  .protection-bullets { align-items: center; }

  /* Mobile nav: hidden by default, shown when .nav-open is toggled */
  .site-header { position: relative; }
  .nav-toggle { display: flex; }
  .nav-main { display: none; }
  .nav-main.nav-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
  }
  .nav-main.nav-open > a,
  .nav-main.nav-open .nav-dropdown {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-main.nav-open .nav-dropdown {
    display: block;
  }
  .nav-main.nav-open .nav-dropdown-toggle {
    padding: 0;
    width: 100%;
    justify-content: space-between;
  }
  .nav-main.nav-open .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.75rem 0 0 1rem;
    display: flex;
    min-width: 0;
  }
  .nav-main.nav-open .nav-dropdown-menu a {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    font-weight: 500;
  }
  .nav-main.nav-open .nav-dropdown::after { display: none; }

  .protection-plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .protection-top { grid-template-columns: 1fr; }
  .protection-badge-wrap { display: flex; justify-content: flex-start; }
}


/* ============================================================
   Responsive — mobile (640px)
   ============================================================ */
@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .section { padding: 3.5rem 0; }
  .header-cta .header-after-hours { display: none; }
  .header-phone-label { display: none; }
  .header-phone { padding: 0.5rem 0.75rem; gap: 0.4rem; }
  .header-phone strong { font-size: 0.85rem; }
  .header-inner { gap: 0.5rem; padding: 0.75rem 1rem; }
  .logo img { height: 26px; }

  .hero { padding: 2.5rem 0 3rem; }
  .hero-copy h1 { font-size: 2rem; line-height: 1.1; }
  .hero-copy .lead { font-size: 1rem; }
  .hero-form-card { padding: 1.5rem; }

  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; justify-items: center; }
  .trust-item { flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; }
  .trust-item svg { display: none; }
  /* Badges always stay side-by-side — never stack */
  .trust-item-badges { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 0.5rem; grid-column: 1 / -1; }

  .section-storm { padding: 3.5rem 0; }
  .storm-copy { text-align: center; }
  .storm-copy h2 { margin-inline: auto; }
  .storm-stats { grid-template-columns: 1fr; gap: 0.75rem; text-align: center; }
  .storm-copy .btn { margin-inline: auto; }

  .services-grid { grid-template-columns: 1fr; }
  .insurance-cards { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr; }
  .owner-split { grid-template-columns: 1fr; gap: 2rem; }
  .owner-copy { text-align: center; }
  .owner-copy .owner-promise { text-align: left; }
  .owner-ctas { justify-content: center; }

  .process-grid { grid-template-columns: 1fr; }

  .section-financing { padding: 3.5rem 0; }
  .financing-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .financing-partners { justify-content: center; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 355px; }
  .gallery-item-feature { grid-column: span 1; }

  .stats-row { grid-template-columns: 1fr; gap: 1.25rem; justify-items: center; text-align: center; }

  .midcta-inner { grid-template-columns: 1fr; gap: 1.75rem; text-align: center; }
  .midcta-actions { flex-direction: column; align-items: stretch; }
  .midcta-actions .btn { width: 100%; }

  .brands-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }

  .cities-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .counties-grid { grid-template-columns: 1fr; gap: 1rem; }
  .county-card { padding: 1.25rem; }
  .county-cities { grid-template-columns: 1fr; gap: 0.25rem; }

  .section-emergency { padding: 3.5rem 0; }
  .emergency-inner { grid-template-columns: 1fr; gap: 2rem; }
  .emergency-cta { flex-direction: column; }
  .emergency-cta .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 70px; }

  .section-cta { padding: 3rem 0; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; }

  .section-protection { padding: 3.5rem 0 3rem; }
  .protection-top { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .protection-badge-wrap { justify-content: center; }
  .protection-bullets { align-items: center; }
  .protection-plans { grid-template-columns: 1fr; max-width: 100%; }
  /* On mobile keep the button as a block (default width auto fills parent minus margins) — never 100%
     because the card has overflow:hidden and the 1.5rem horizontal margins live on the button itself. */
}
