/* =========================================================
   Roofing & Roofing — Production Stylesheet
   Palette derived from logo: Charcoal #2B2A29 / Cream #F4F1EC
   ========================================================= */

:root {
  --charcoal:   #2B2A29;
  --charcoal-80:#4A4948;
  --cream:      #F4F1EC;
  --cream-dark: #E8E3DB;
  --slate:      #4A6274;
  --slate-dark: #364D5C;
  --copper:     #9B7B4D;
  --copper-dark:#7D6039;
  --amber:      #F59E0B;
  --amber-dark: #D97706;
  --white:      #FEFEFE;
  --text-body:  #3A3937;
  --text-muted: #6B6865;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1180px;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(43,42,41,0.10);
  --shadow-md: 0 4px 32px rgba(43,42,41,0.14);
}

/* ── Font-face: font-display:swap as local fallback guarantee ──────
   Google Fonts handles display=swap for the CDN path. These @font-face
   declarations ensure swap behavior is declared in the CSS layer too,
   so a CDN timeout or cache hit uses the fallback stack immediately
   rather than showing invisible text (FOIT). The src URLs match the
   preloaded woff2 in index.html so the browser reuses the same request.
   ─────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Playfair Display';
  font-style:  normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/playfairdisplay/v37/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvUDQZNLo_U2r.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiJ-Ek-_EeA.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Honeypot — visually hidden from real users, readable by bots ── */
.hp-field {
  position:       absolute;
  left:           -9999px;
  top:            -9999px;
  opacity:        0;
  pointer-events: none;
  tab-size:       0;
  height:         0;
  overflow:       hidden;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  overflow-x: hidden;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { max-width: 68ch; }

/* ── Utilities ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--cream { background: var(--cream); }
.section--charcoal { background: var(--charcoal); color: var(--cream); }
.section--charcoal h2, .section--charcoal h3, .section--charcoal h4 { color: var(--cream); }
.section--charcoal p, .section--charcoal li { color: #C8C4BE; }
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.section--charcoal .eyebrow { color: #B8956A; }

.divider {
  width: 48px;
  height: 3px;
  background: var(--copper);
  margin: 20px 0 32px;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--amber);
  color: #1a1a1a;
}
.btn-primary:hover { background: var(--amber-dark); color: #1a1a1a; }

.btn-outline {
  border: 2px solid var(--cream);
  color: var(--cream);
}
.btn-outline:hover { background: var(--cream); color: var(--charcoal); }

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: var(--charcoal-80); }

.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__logo img {
  height: 42px;
  width: auto;
}
.nav__brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.25;
}
.nav__brand span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.04em;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--copper); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 20px;
}
.nav__phone {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav__phone:hover { color: var(--copper); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.2s;
}
.nav__mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--cream);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--cream-dark);
}
.nav__mobile-menu a {
  color: var(--text-body);
  padding: 12px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--cream-dark);
}
.nav__mobile-menu.open { display: flex; }

/* ── Hero ── */
.hero {
  background: var(--charcoal);
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(74,98,116,0.18) 0%, transparent 65%),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 28px,
      rgba(255,255,255,0.012) 28px,
      rgba(255,255,255,0.012) 30px
    );
  padding: 100px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 40px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--copper) 60%, var(--slate) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow { color: #B8956A; }
.hero h1 {
  color: var(--cream);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--copper);
}
.hero__sub {
  color: #A8A4A0;
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8A8680;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__trust-item svg { flex-shrink: 0; }

.hero__card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 36px 32px;
  backdrop-filter: blur(8px);
}
.hero__card h2 {
  color: var(--cream);
  margin-bottom: 20px;
  font-size: 1.2rem;
}
.hero__form { display: flex; flex-direction: column; gap: 12px; }
.hero__form input,
.hero__form select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
}
.hero__form input::placeholder { color: #6B6865; }
.hero__form input:focus,
.hero__form select:focus { border-color: var(--copper); }
.hero__form select option { background: var(--charcoal); color: var(--cream); }
.hero__form .btn { width: 100%; justify-content: center; padding: 16px; font-size: 0.95rem; }
.hero__form-note {
  font-size: 0.72rem;
  color: #6B6865;
  text-align: center;
  margin-top: 4px;
}

/* ── Stats Bar ── */
.stats {
  background: var(--slate-dark);
  padding: 32px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats__item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stats__item:last-child { border-right: none; }
.stats__num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 6px;
}
.stats__label {
  font-size: 0.75rem;
  color: rgba(244,241,236,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Services ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 36px 30px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.service-card:hover { box-shadow: 0 8px 40px rgba(43,42,41,0.18); transform: translateY(-6px); border-color: var(--amber); }
.service-card:hover::before { transform: scaleX(1); background: var(--amber); }
.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--copper);
  transition: gap 0.15s;
}
.service-card:hover .service-card__link { gap: 10px; }

/* ── Calculator ── */
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group.full { grid-column: 1 / -1; }
.field-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field-group input,
.field-group select,
.field-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-body);
  background: var(--cream);
  outline: none;
  transition: border-color 0.15s;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus { border-color: var(--slate); background: var(--white); }
.field-group textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

/* ── Why Us ── */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
  margin-top: 52px;
}
.why__item { display: flex; gap: 20px; }
.why__num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: rgba(255,255,255,0.07);
  font-weight: 700;
  line-height: 1;
  min-width: 52px;
  margin-top: -4px;
}
.why__item h3 { margin-bottom: 8px; }

/* ── Service Areas ── */
.areas__intro { margin-bottom: 48px; }
.areas__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.area-card {
  background: var(--white);
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.area-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.area-card h3 { font-size: 1.25rem; }
.area-card__county {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  background: #F5EEE4;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}
.area-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.area-card__zips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.zip-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate);
  background: rgba(74,98,116,0.08);
  padding: 3px 9px;
  border-radius: 2px;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

/* ── FAQ ── */
.faq__list { margin-top: 48px; max-width: 780px; }
.faq__item {
  border-bottom: 1px solid var(--cream-dark);
}
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
}
.faq__question:hover { color: var(--slate); }
.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.faq__item.open .faq__icon {
  background: var(--copper);
  border-color: var(--copper);
}
.faq__icon svg { transition: transform 0.2s; }
.faq__item.open .faq__icon svg { transform: rotate(45deg); }
.faq__answer {
  display: none;
  padding: 0 0 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 68ch;
}
.faq__item.open .faq__answer { display: block; }

/* ── CTA Band ── */
.cta-band {
  background: var(--copper);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.75); margin: 0 auto 36px; font-size: 1.05rem; }
.cta-band__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer__brand img {
  height: 44px;
  margin-bottom: 16px;
}
.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 30ch;
}
.footer__license {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.footer__col h4 {
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a {
  font-size: 0.85rem;
  color: var(--text-body);
  transition: color 0.15s;
}
.footer__col ul li a:hover { color: var(--copper); }
.footer__bottom {
  border-top: 1px solid var(--cream-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: 0.78rem; color: var(--text-muted); }

/* ── Turnstile CLS reservation (prevents layout shift when widget renders) ── */
.cf-turnstile { min-height: 65px; }

/* ── Emergency Section ── */
.emergency__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
  margin-top: 44px;
}
.emergency__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.emergency__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
}
.emergency__list li svg { flex-shrink: 0; }
.emergency__cta-card {
  background: var(--charcoal);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.emergency__badge {
  display: inline-block;
  background: #c0392b;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.emergency__phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 20px;
  transition: color 0.15s;
}
.emergency__phone-link:hover { color: var(--copper); }
.emergency__cta-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.emergency__note {
  font-size: 0.72rem;
  color: #6B6865;
  line-height: 1.7;
  max-width: 100%;
}

/* ── Customer Reviews ── */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.review-card__stars {
  color: var(--copper);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.review-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}
.review-card__body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.review-card__footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
}
.review-card__author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
}
.review-card__meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.reviews__footer {
  text-align: center;
  margin-top: 40px;
}
.reviews__footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 auto;
}
.reviews__footer a { color: var(--copper); font-weight: 600; }
.reviews__footer a:hover { text-decoration: underline; }

/* ── Financing Badge ── */
.financing-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #6B6865;
  text-align: center;
  justify-content: center;
  margin-top: 8px;
}
.financing-note svg { flex-shrink: 0; color: var(--copper); }

/* ── Mobile Sticky CTA ── */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--charcoal);
  border-top: 2px solid var(--copper);
  padding: 12px 20px;
  gap: 12px;
}
.mobile-sticky a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}
.mobile-sticky__call { background: var(--amber); color: #1a1a1a; font-weight: 700; font-size: 1rem; }
.mobile-sticky__form { background: rgba(255,255,255,0.08); color: var(--cream); border: 1px solid rgba(255,255,255,0.12); }

/* ── AEO Voice Capture ── */
.aeo-voice-capture {
  background: rgba(155,123,77,0.08);
  border-left: 4px solid var(--copper);
  padding: 20px 24px;
  border-radius: 0 4px 4px 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 32px 0;
  max-width: 72ch;
}
.section--charcoal .aeo-voice-capture {
  background: rgba(155,123,77,0.12);
  border-left-color: #B8956A;
  color: #C8C4BE;
}

/* ── Compliance Table ── */
.compliance-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 4px;
  margin-top: 40px;
}
.compliance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  min-width: 680px;
}
.compliance-table th {
  background: var(--copper);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
  white-space: nowrap;
}
.compliance-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: #C8C4BE;
  vertical-align: top;
  line-height: 1.55;
}
.compliance-table tr:nth-child(even) td { background: rgba(255,255,255,0.03); }
.compliance-table td:first-child { font-weight: 600; color: var(--cream); white-space: nowrap; }

/* ── Regional Authority FAQ ── */
.authority-faq { margin-top: 56px; max-width: 860px; }
.authority-faq__item { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.authority-faq__item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.authority-faq__item h3 {
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.4;
}
.authority-faq__item p {
  font-size: 0.92rem;
  color: #A8A4A0;
  line-height: 1.75;
  max-width: 72ch;
}
.authority-faq__item strong { color: var(--cream); }

/* ── Our Process ── */
.process__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 80px;
  margin-top: 52px;
}
.process__step { display: flex; gap: 24px; }
.process__num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  min-width: 52px;
  margin-top: -8px;
  flex-shrink: 0;
}
.process__step h3 { margin-bottom: 10px; }
.process__step p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Pricing ── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.pricing__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  padding: 32px 28px;
}
.pricing__card h3 { color: var(--cream); margin-bottom: 12px; font-size: 1.15rem; }
.pricing__card p  { font-size: 0.88rem; color: #A8A4A0; margin-bottom: 16px; max-width: 100%; }
.pricing__range {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 14px;
  line-height: 1;
}
.pricing__range span { font-size: 0.9rem; color: #6B6865; font-family: var(--font-sans); font-weight: 400; }
.pricing__typical {
  font-size: 0.82rem;
  color: #8A8680;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pricing__typical strong { color: var(--cream); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .process__grid { grid-template-columns: 1fr; gap: 36px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; max-width: 680px; }
  .hero__card { display: none; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .emergency__layout { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__hamburger { display: flex; }
  .hero { padding: 72px 0 68px; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; gap: 36px; }
  .areas__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .mobile-sticky { display: flex; }
  body { padding-bottom: 72px; }
}

.form__row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta-band__actions { flex-direction: column; align-items: center; }
  .form__row-2col { grid-template-columns: 1fr; }
}

/* =========================================================
   SUBPAGE COMPONENTS (Phase 16 — areas/services/guides/faq/glossary)
   ========================================================= */

/* ── Breadcrumbs ── */
.breadcrumbs {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  padding: 12px 0;
  font-size: 0.82rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li { color: var(--text-muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-muted); }
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--copper); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text-body); font-weight: 500; }

/* ── Page hero (compact, for subpages) ── */
.page-hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: 72px 0 64px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
  max-width: 820px;
}
.page-hero__sub {
  font-size: 1.06rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 720px;
  margin-bottom: 28px;
}
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero .eyebrow { color: #B8956A; }

/* ── Prose (long-form article typography) ── */
.prose { max-width: 780px; }
.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--charcoal);
  margin: 48px 0 16px;
  line-height: 1.25;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 32px 0 10px;
}
.prose p { margin-bottom: 16px; line-height: 1.75; color: var(--text-body); }
.prose ul, .prose ol { margin: 0 0 18px 22px; line-height: 1.75; color: var(--text-body); }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--slate); font-weight: 500; }
.prose a:hover { color: var(--copper); }
.prose strong { color: var(--charcoal); }
.prose .lead { font-size: 1.08rem; color: var(--text-body); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.92rem;
}
@media (max-width: 640px) {
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.prose th {
  background: var(--charcoal);
  color: var(--cream);
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
}
.prose td { padding: 10px 14px; border-bottom: 1px solid var(--cream-dark); vertical-align: top; }
.prose tr:nth-child(even) td { background: var(--cream); }

/* ── Hub / related-page card grids ── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.hub-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber);
}
.hub-card h3, .hub-card h2 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.hub-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.hub-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--copper);
}

/* ── Glossary ── */
.glossary-term { margin-bottom: 34px; max-width: 780px; }
.glossary-term h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.glossary-term p { line-height: 1.7; color: var(--text-body); }

@media (max-width: 1024px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 48px; }
}
