/* Layout: night-sky hero band with a strung roofline of bulbs, then calm stone-toned sections in a single 1080px column. */
:root {
  --bg: #f6f3f1;          /* pale sandstone */
  --surface: #ffffff;
  --fg: #1f2430;
  --muted: #5b606b;
  --line: #e2dbd6;
  --rock: #a5442b;        /* red rock accent */
  --rock-ink: #ffffff;
  --juniper: #2f5546;
  --bulb: #f0b142;        /* warm C9 glow */
  --night: #141a2a;       /* hero sky, both themes */
  --night-fg: #f2ede7;
  --night-muted: #b9b4c3;
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131722; --surface: #1b2030; --fg: #ece7e2; --muted: #a7a3ad; --line: #2c3243;
    --rock: #e27452; --rock-ink: #1a0f0b; --juniper: #8cc2a9; --bulb: #f5c260;
    --night: #0c1019; --night-fg: #f2ede7; --night-muted: #b9b4c3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131722; --surface: #1b2030; --fg: #ece7e2; --muted: #a7a3ad; --line: #2c3243;
  --rock: #e27452; --rock-ink: #1a0f0b; --juniper: #8cc2a9; --bulb: #f5c260;
  --night: #0c1019; --night-fg: #f2ede7; --night-muted: #b9b4c3;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.6 var(--font-body);
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); /* room for mobile call bar */
}
img { max-width: 100%; }
a { color: var(--rock); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--bulb); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap {
  max-width: 1080px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--juniper); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--night); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--night); color: var(--night-fg); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { color: var(--night-fg); text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bulb); box-shadow: 0 0 10px 3px rgba(240,177,66,.55); }
.nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--night-muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--night-fg); }
.header-phone { color: var(--night-fg); font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 700 1rem/1 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--rock); color: var(--rock-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--night-fg); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--night-fg); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }

/* Hero */
.hero { background: var(--night); color: var(--night-fg); position: relative; overflow: hidden; }
.hero .wrap { padding-block: 56px 72px; display: grid; gap: 22px; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--bulb); }
.hero .lede { color: var(--night-muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.price-tag { display: inline-flex; align-items: baseline; gap: 8px; font-size: 1rem; color: var(--night-muted); }
.price-tag strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; color: var(--night-fg); }
.promo { display: inline-block; background: rgba(240,177,66,.14); color: var(--bulb); border: 1px solid rgba(240,177,66,.35); padding: 6px 12px; border-radius: 999px; font-size: .9rem; font-weight: 700; }
.strand { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 70px; z-index: 0; pointer-events: none; }
.ridge { display: block; width: 100%; height: 56px; margin-top: -1px; background: var(--night); }
.hero-mini .wrap { padding-block: 44px 52px; }

/* Sections */
.section { padding-block: 64px; }
.section-head { display: grid; gap: 10px; margin-bottom: 32px; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.trust div { display: grid; gap: 4px; }
.trust strong { font-size: 1.02rem; }
.trust span { color: var(--muted); font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: 1.6rem; color: var(--rock); line-height: 1; }
.steps p { color: var(--muted); }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.plan.featured { border-color: var(--rock); border-width: 2px; }
.plan .amount { font-family: var(--font-display); font-size: 2rem; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); }
.note { color: var(--muted); font-size: .92rem; margin-top: 16px; }

.towns { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.town { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); text-decoration: none; color: var(--fg); }
.town:hover { border-color: var(--rock); }
.town strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.town span { color: var(--muted); font-size: .9rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.shot { aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); background: var(--night); color: var(--night-muted); display: grid; place-items: end start; padding: 14px; font-size: .88rem; position: relative; overflow: hidden; border: 1px dashed rgba(255,255,255,.18); }
.shot::before { content: ""; position: absolute; left: 8%; right: 8%; top: 34%; height: 2px; background: repeating-linear-gradient(90deg, var(--bulb) 0 8px, transparent 8px 22px); filter: drop-shadow(0 0 6px var(--bulb)); }
.shot span { position: relative; }

.concept { margin: 0; display: grid; gap: 8px; }
.concept img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.concept figcaption { color: var(--muted); font-size: .9rem; }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare td:not(:first-child) { text-align: center; }
.yes { color: var(--juniper); font-weight: 700; }
.no { color: var(--muted); }
.scroll-x { overflow-x: auto; }

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin-top: 10px; color: var(--muted); }

.cta-band { background: var(--night); color: var(--night-fg); }
.cta-band .wrap { padding-block: 56px; display: grid; gap: 16px; justify-items: start; }
.cta-band p { color: var(--night-muted); }

.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .85rem; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 36px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); color: var(--muted); font-size: .93rem; }
.site-footer strong { color: var(--fg); }
.site-footer a { color: var(--muted); }

/* Mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; display: none; gap: 10px; background: var(--night);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.callbar .btn { flex: 1; white-space: nowrap; padding-inline: 12px; }
@media (max-width: 760px) { .callbar { display: flex; } }
@media (min-width: 761px) { body { padding-bottom: 0; } }

/* Quote form */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 4vw, 32px); display: grid; gap: 22px; }
.progress { display: flex; gap: 6px; }
.progress span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--rock); }
.step-label { font-size: .85rem; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
legend { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 6px; padding: 0; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  font: inherit; font-weight: 400; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%;
}
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.opt { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-weight: 500; cursor: pointer; background: var(--bg); }
.opt:has(input:checked) { border-color: var(--rock); box-shadow: inset 0 0 0 1px var(--rock); }
.opt input { accent-color: var(--rock); }
.form-actions { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.hint { color: var(--muted); font-size: .88rem; font-weight: 400; }
.error { color: var(--rock); font-size: .92rem; font-weight: 600; }
.done { display: grid; gap: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .bulb { animation: twinkle 3.2s ease-in-out infinite; }
  .bulb:nth-child(3n) { animation-delay: .8s; }
  .bulb:nth-child(3n+1) { animation-delay: 1.7s; }
}
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
