/* NassauChimneyCleaning.com — generated 2026-03-13 */
/* Edit nassaucleaning_generator.py and rerun to regenerate */

:root {
  --primary:      #0A3161;
  --accent:       #B31942;
  --accent-hover: #8c1232;
  --accent-text:  #ffffff;
  --link:         #0A3161;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.85; margin: 0; color: #222;
  background: #f5f0e8 url('/images/chimney-background.jpg') center/cover fixed no-repeat;
}

/* ── Header ─────────────────────────────────── */
header {
  background: var(--primary) url('/images/chimney-background.jpg') center/cover no-repeat;
  color: #fff; padding: 28px 20px 22px; text-align: center; position: relative;
}
header::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.82) 18%, rgba(10,49,97,0.88) 60%);
}
header > * { position: relative; z-index: 1; }
header h1 { margin: 0 0 6px; font-size: clamp(1.6rem,3vw,2.2rem); color: #fff; }
.site-logo { margin: 0 0 10px; font-size: clamp(1.4rem,3vw,2rem); color: #fff;
  display: inline-block; background: rgba(0,0,0,0.55); padding: 6px 18px;
  border-radius: 6px; text-shadow: 0 1px 4px rgba(0,0,0,0.8); font-weight: 700; }
header a { color: #fff; text-decoration: none; }
header a:hover { text-decoration: underline; opacity: 0.85; }
header .tagline { margin: 0 0 10px; font-size: 0.95rem; opacity: 0.92; }

/* ── Header nav ──────────────────────────────── */
.header-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 12px; margin: 12px 0 14px; padding: 0; list-style: none;
  font-size: 0.82rem;
}
.header-nav a {
  color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.88);
  border-radius: 999px; padding: 3px 11px;
  transition: background .15s; white-space: nowrap;
}
.header-nav a:hover { background: rgba(255,255,255,0.88); color: var(--primary); }
.header-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }

/* ── Footer ──────────────────────────────────── */
footer { background: var(--primary); color: #fff; padding: 28px 20px; text-align: center; }
footer a { color: rgba(255,255,255,0.88); text-decoration: underline; }
footer a:hover { color: #fff; }

/* ── Main ────────────────────────────────────── */
main { max-width: 1150px; margin: auto; padding: 28px 20px; }
main p {
  background: rgba(255,255,255,0.93);
  padding: 10px 16px; border-radius: 6px; margin-bottom: 1em;
}
main ul {
  background: rgba(255,255,255,0.93);
  padding: 14px 18px 14px 36px; border-radius: 8px; margin: 14px 0;
}
h1 {
  color: var(--primary); font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 6px;
  background: rgba(255,255,255,0.94); display: inline-block;
  padding: 6px 14px; border-radius: 6px;
}
h2 {
  color: var(--primary); font-size: 1.25rem; margin-top: 2rem;
  background: rgba(255,255,255,0.94); display: inline-block;
  padding: 4px 12px; border-radius: 4px;
}
h3 { color: var(--primary); }
a { color: var(--link); text-decoration: underline; }

/* ── CTA buttons — universal, no variants, works on all themes ── */
.cta,
.cta-accent,
.cta-secondary {
  display: inline-block; padding: 14px 30px;
  background: var(--accent); color: var(--accent-text);
  font-weight: 900; border-radius: 999px; border: none;
  text-decoration: none; margin: 8px 5px; font-size: 1.02em;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: background .18s, transform .12s, box-shadow .18s, color .18s;
  white-space: nowrap; cursor: pointer;
}
.cta:hover,
.cta-accent:hover,
.cta-secondary:hover {
  background: var(--accent-hover);
  color: var(--accent-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.32);
  text-decoration: none;
}
.cta-bar {
  background: #fff; padding: 22px;
  text-align: center; border-radius: 10px; margin: 28px 0;
  border: 2px solid var(--accent); color: #222;
}
.cta-bar strong { color: #222; }

/* ── Cards ───────────────────────────────────── */
.card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  margin: 20px 0 24px 0; padding: 24px;
}

/* ── Tables ──────────────────────────────────── */
table { width: 100%; border-collapse: collapse; margin: 30px 0; }
td, th { border: 1px solid #ccc; padding: 12px; text-align: left; background: rgba(255,255,255,0.95); }
th { background: var(--primary); color: #fff; }

/* ── Image grid ──────────────────────────────── */
.img-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 10px; margin: 24px 0;
}
.img-grid img {
  width: 100%; height: 180px; object-fit: cover;
  border-radius: 8px; border: 1px solid #ddd; display: block;
}

/* ── Long-form content ───────────────────────── */
.content-body {
  background: rgba(255,255,255,0.95); border: 1px solid #e5eef5;
  border-radius: 12px; padding: clamp(20px,4vw,48px); margin: 36px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18); font-size: 1.05rem; line-height: 1.9;
}
.content-body p { margin: 0 0 1.2em; background: none; padding: 0; }
.speakable { font-size: 1.1rem; font-weight: 500; color: var(--primary);
  border-left: 4px solid var(--accent); padding-left: 16px; }

/* ── Quick answer box ────────────────────────── */
.quick-ai {
  background: rgba(255,255,255,0.96); padding: 18px 22px;
  border-radius: 10px; margin: 18px 0;
  border-left: 5px solid var(--accent); font-size: 0.97em; line-height: 1.6;
}

/* ── Address block ───────────────────────────── */
.address-block {
  background: rgba(255,255,255,0.95); padding: 14px 18px;
  border-left: 4px solid var(--primary); border-radius: 6px; margin: 18px 0;
}

/* ── Breadcrumb ──────────────────────────────── */
nav[aria-label="breadcrumb"] { font-size: 0.85em; margin: 8px 0; }
nav[aria-label="breadcrumb"] a { color: rgba(255,255,255,0.85); }

/* ── Town grid (town-pages.html) ─────────────── */
.town-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 10px; margin: 24px 0;
}
.town-card {
  background: #fff; border-radius: 10px; padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); text-decoration: none;
  color: var(--primary); font-weight: 600; font-size: 0.92rem;
  transition: box-shadow .15s, transform .1s; display: block;
}
.town-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.14); transform: translateY(-2px);
  text-decoration: none; color: var(--primary);
}
.town-card .tc-zip { display: block; font-size: 0.78rem; font-weight: 400; color: #888; margin-top: 2px; }

/* ── Sticky mobile call bar ──────────────────── */
.sticky-call-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #fff; padding: 10px 12px;
  border-top: 2px solid var(--accent);
  text-align: center; box-shadow: 0 -3px 14px rgba(0,0,0,0.18);
  transform: translateZ(0);
}
.sticky-call-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; max-width: 500px; margin: 0 auto;
}
.sticky-call-bar a.sticky-call,
.sticky-call-bar a.sticky-text {
  display: inline-block; flex: 1; font-size: 1.05rem; font-weight: 900;
  background: var(--accent); color: var(--accent-text);
  padding: 11px 14px; border-radius: 999px; border: none;
  text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  box-sizing: border-box; text-align: center; white-space: nowrap;
  transition: background .18s, transform .12s, box-shadow .18s;
}
.sticky-call-bar a.sticky-call:hover,
.sticky-call-bar a.sticky-text:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.32);
  text-decoration: none;
}
@media(max-width:768px) {
  .sticky-call-bar { display: block; }
  body { padding-bottom: calc(110px + env(safe-area-inset-bottom,0px)); }
  main { padding-bottom: calc(150px + env(safe-area-inset-bottom,0px)); }
}

/* ── Responsive ──────────────────────────────── */
@media(max-width:640px) {
  .img-grid { grid-template-columns: repeat(2,1fr); }
  .img-grid img { height: 140px; }
  .cta, .cta-accent, .cta-secondary {
    display: block; text-align: center; margin: 8px 0;
    white-space: normal; font-size: 0.9em; padding: 12px 16px;
    background: var(--accent); color: var(--accent-text);
  }
}

/* ── FAQ accordion ───────────────────────────── */
.faq-section details { background: #fff; border-radius: 8px; margin: 8px 0; padding: 4px; }
.faq-section summary {
  cursor: pointer; font-weight: 700; padding: 14px 16px;
  list-style: none; color: var(--primary); font-size: 1.02rem;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::before { content: "+ "; font-weight: 900; margin-right: 4px; }
.faq-section details[open] summary::before { content: "− "; }
.faq-section details p { background: none; padding: 4px 16px 14px; margin: 0; }

/* ── License line ────────────────────────────── */
.license-line { display: block; font-size: 0.82rem; margin: 4px 0; text-align: center; }
