:root {
  --ink: #14213D;
  --ink-soft: #3A4A6B;
  --paper: #EEF0EA;
  --paper-raised: #FFFFFF;
  --gold: #C68A2E;
  --gold-deep: #9C6C1E;
  --teal: #1F6F63;
  --teal-deep: #164F46;
  --charcoal: #1B1B18;
  --line: rgba(20, 33, 61, 0.14);
  --bg: var(--paper);
  --surface: var(--paper-raised);
  --text: var(--charcoal);
  --text-muted: #5B5B54;
  --nav-bg: rgba(238, 240, 234, 0.86);
}

:root:not([data-theme="light"]) {
  @media (prefers-color-scheme: dark) {
    --bg: #10151C;
    --surface: #171E27;
    --text: #EDEDE6;
    --text-muted: #A8ADA0;
    --line: rgba(237, 237, 230, 0.14);
    --nav-bg: rgba(16, 21, 28, 0.86);
    --ink: #E8ECF5;
    --ink-soft: #B9C2D6;
  }
}
:root[data-theme="dark"] {
  --bg: #10151C;
  --surface: #171E27;
  --text: #EDEDE6;
  --text-muted: #A8ADA0;
  --line: rgba(237, 237, 230, 0.14);
  --nav-bg: rgba(16, 21, 28, 0.86);
  --ink: #E8ECF5;
  --ink-soft: #B9C2D6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Karla', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* NAV */
header.site-nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(10px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; max-width: 1120px; margin: 0 auto;
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-mark { font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.brand-mark span { color: var(--teal); }
.brand-sub { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.03em; }
nav.links { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; }
nav.links a {
  text-decoration: none; color: var(--ink-soft);
  border-bottom: 1px solid transparent; padding-bottom: 3px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
nav.links a:hover, nav.links a.active { color: var(--teal); border-color: var(--teal); }
.nav-cta {
  background: var(--ink); color: var(--bg) !important;
  padding: 10px 20px; border-radius: 3px; text-decoration: none;
  font-weight: 600; font-size: 0.9rem; white-space: nowrap;
}
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 3px; padding: 8px 12px; color: var(--ink); font-size: 0.85rem; cursor: pointer;
}
@media (max-width: 860px) {
  nav.links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); flex-direction: column; align-items: flex-start;
    padding: 18px 28px; gap: 16px; border-bottom: 1px solid var(--line);
  }
  nav.links.open { display: flex; }
  .menu-toggle { display: inline-block; }
}

/* HERO (shared shell; content differs per page) */
.hero { background: var(--ink); color: #F3F1E8; padding: 84px 0 0 0; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: end; }
.hero-eyebrow { color: var(--gold); font-size: 0.95rem; margin-bottom: 18px; font-family: 'Zilla Slab', serif; font-style: italic; }
.hero h1 { color: #FBFAF4; font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 15ch; }
.hero p.lede { margin-top: 22px; max-width: 48ch; font-size: 1.1rem; color: #CBD1DE; }
.hero-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: 0.98rem; transition: transform 0.15s ease, background 0.15s ease; border: none; cursor: pointer; }
.btn-primary { background: var(--gold); color: #201400; }
.btn-primary:hover { background: #D69A3E; }
.btn-ghost { border: 1px solid rgba(243,241,232,0.35); color: #F3F1E8; background: transparent; }
.btn-ghost:hover { border-color: #F3F1E8; }

.hero-card { background: #182A4C; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; padding: 30px; margin-bottom: 8px; }
.hero-card .stat-big { font-family: 'Zilla Slab', serif; font-size: 2.5rem; color: var(--gold); line-height: 1; }
.hero-card .stat-label { color: #B9C2D6; font-size: 0.9rem; margin-top: 6px; }
.hero-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 20px 0; }
.hero-card .stat-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: #CBD1DE; padding: 6px 0; }
.hero-card .stat-row b { color: #F3F1E8; font-weight: 600; }

.hero-strip { margin-top: 60px; border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; }
.hero-strip .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; color: #9AA4BC; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* PAGE HERO (simpler, for sub-pages like the locations hub) */
.page-hero { background: var(--ink); color: #F3F1E8; padding: 64px 0; }
.page-hero .kicker { color: var(--gold); font-family: 'Zilla Slab', serif; font-style: italic; margin-bottom: 12px; }
.page-hero h1 { color: #FBFAF4; font-size: clamp(2rem, 4vw, 2.8rem); max-width: 22ch; }
.page-hero p { margin-top: 18px; color: #CBD1DE; max-width: 60ch; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: #9AA4BC; margin-bottom: 18px; }
.breadcrumb a { color: #CBD1DE; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* SECTIONS */
section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .kicker { font-family: 'Zilla Slab', serif; font-style: italic; color: var(--teal); font-size: 1.02rem; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { margin-top: 16px; color: var(--text-muted); font-size: 1.05rem; max-width: 58ch; }

/* STAT GRID */
.gap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.gap-item { background: var(--surface); padding: 34px 28px; }
.gap-item .num { font-family: 'Zilla Slab', serif; font-size: 2.3rem; color: var(--ink); }
.gap-item .num small { font-size: 1.05rem; color: var(--teal); }
.gap-item p { color: var(--text-muted); font-size: 0.95rem; margin-top: 8px; }
@media (max-width: 720px) { .gap-grid { grid-template-columns: 1fr; } }

/* SERVICES */
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 170px 1fr 190px; gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.service-row h3 { font-size: 1.2rem; }
.service-row .tag { font-size: 0.78rem; color: var(--teal); font-weight: 600; letter-spacing: 0.02em; }
.service-row p { color: var(--text-muted); margin: 0; font-size: 0.97rem; }
.service-row .price { font-family: 'Zilla Slab', serif; font-size: 0.98rem; color: var(--gold-deep); text-align: right; }
@media (max-width: 820px) { .service-row { grid-template-columns: 1fr; gap: 6px; } .service-row .price { text-align: left; margin-top: 4px; } }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary {
  cursor: pointer; padding: 18px 4px; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: 'Zilla Slab', serif; font-size: 1.3rem; color: var(--teal); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\\2212"; }
.faq-item p { color: var(--text-muted); padding: 0 4px 20px; margin: 0; font-size: 0.98rem; max-width: 68ch; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step .step-num { font-family: 'Zilla Slab', serif; font-size: 1.05rem; color: var(--gold-deep); border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 4px; margin-bottom: 16px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.94rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* LOCALITY / COVERAGE LISTS */
.tier-label { font-family: 'Zilla Slab', serif; font-style: italic; color: var(--teal-deep); margin: 34px 0 6px; font-size: 1rem; }
.tier-label:first-of-type { margin-top: 0; }
.locality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.locality { padding: 16px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; font-size: 0.95rem; padding-right: 24px; }
.locality b { color: var(--ink); font-weight: 600; }
.locality span { color: var(--text-muted); font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 820px) { .locality-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .locality-grid { grid-template-columns: 1fr; } }
.coverage-note { margin-top: 28px; font-size: 0.88rem; color: var(--text-muted); max-width: 60ch; }

/* LOCATIONS HUB CARDS */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.city-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
  padding: 28px; text-decoration: none; display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.city-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.city-card .region { font-size: 0.78rem; color: var(--teal); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 8px; }
.city-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.city-card .pop { font-family: 'Zilla Slab', serif; color: var(--gold-deep); font-size: 1.1rem; margin-bottom: 10px; }
.city-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.city-card .go { margin-top: 16px; font-size: 0.85rem; color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .city-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .city-grid { grid-template-columns: 1fr; } }

/* TRUST */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.trust-item h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--teal-deep); }
.trust-item p { color: var(--text-muted); font-size: 0.96rem; }
@media (max-width: 820px) { .trust-grid { grid-template-columns: 1fr; gap: 30px; } }

/* CONTACT */
.contact { background: var(--ink); color: #F3F1E8; }
.contact .section-head h2 { color: #FBFAF4; }
.contact .section-head p { color: #B9C2D6; }
.contact .section-head .kicker { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; color: #CBD1DE; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; background: #182A4C;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 3px;
  color: #F3F1E8; font-family: 'Karla', sans-serif; font-size: 0.98rem;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.contact-direct h3 { color: #FBFAF4; font-size: 1.15rem; margin-bottom: 14px; }
.contact-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.96rem; }
.contact-line span:first-child { color: #9AA4BC; }
.contact-line a { color: #F3F1E8; text-decoration: none; }
.contact-line a:hover { color: var(--gold); }
.placeholder-note { margin-top: 20px; font-size: 0.82rem; color: #8891A6; border-left: 2px solid var(--gold); padding-left: 12px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

footer.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
footer.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: var(--text-muted); }
footer.site-footer .foot-links { display: flex; gap: 18px; }
footer.site-footer .foot-links a { text-decoration: none; color: var(--text-muted); }
footer.site-footer .foot-links a:hover { color: var(--teal); }
