:root {
  --ink: #121417;
  --anthracite: #23272e;
  --paper: #f4f2ed;
  --body: #343a44;
  --orange: #e4570e;
  --orange-dark: #c94c0c;
  --wa: #128c7e;
  --wa-dark: #0e7468;
  --line: #e3dfd6;
  --muted: #5c6370;
  --white: #fff;
  --ok: #065f46;
  --ok-bg: #ecfdf5;
  --bad: #991b1b;
  --bad-bg: #fef2f2;
  --shadow: 0 16px 40px rgba(18, 20, 23, 0.08);
  --font: "Manrope", sans-serif;
  --display: "Barlow Condensed", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 3.6rem;
}
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a { color: inherit; }
h1, h2, h3, .hero-phone, .call-number, .big-phone, .foot-phone, .logo strong {
  font-family: var(--display);
  letter-spacing: 0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(3.1rem, 8vw, 5.4rem); line-height: 0.92; font-weight: 600; margin: 0.4rem 0 0; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 0.95; font-weight: 600; margin: 0.35rem 0 0; }
h3 { font-size: 1.35rem; line-height: 1.15; margin: 0; }
p { margin: 0.6rem 0 0; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--orange); color: white; padding: 0.5rem 0.8rem; z-index: 80;
}
.skip:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.topbar { display: none; background: var(--ink); color: rgba(255,255,255,.75); font-size: 0.78rem; letter-spacing: 0.03em; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; }
.bar { padding: 0.65rem 0; }
.bar-row { display: flex; align-items: center; gap: 0.8rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo strong { display: block; font-size: 1.45rem; line-height: 1; }
.logo small { display: block; color: var(--muted); letter-spacing: 0.18em; font-size: 0.68rem; }
.logo-light strong, .logo-light small { color: white; }
.desktop-nav { display: none; margin-left: 1rem; align-items: center; gap: 0.15rem; }
.desktop-nav > a, .drop > a { display: inline-flex; align-items: center; height: 2.5rem; padding: 0 0.75rem; text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.desktop-nav a:hover { color: var(--orange); }
.drop { position: relative; }
.drop-panel { display: none; position: absolute; top: 100%; left: 0; width: 18rem; background: white; border: 1px solid var(--line); padding: 0.4rem; box-shadow: var(--shadow); }
.drop:hover .drop-panel, .drop:focus-within .drop-panel { display: block; }
.drop-panel a { display: block; padding: 0.45rem 0.7rem; text-decoration: none; color: var(--body); font-size: 0.92rem; }
.drop-panel a:hover { background: var(--paper); color: var(--ink); }
.bar-cta { display: none; margin-left: auto; align-items: center; gap: 0.8rem; }
.bar-cta a:first-child { text-decoration: none; text-align: right; }
.bar-cta small { display: block; color: var(--muted); font-size: 0.7rem; }
.bar-cta strong { font-size: 1.7rem; line-height: 1; }
.nav-toggle { margin-left: auto; width: 2.7rem; height: 2.7rem; border: 1px solid var(--line); background: white; display: grid; align-content: center; gap: 5px; padding: 0 0.6rem; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); }
.mobile-menu { border-top: 1px solid var(--line); background: white; }
.mobile-menu a { display: block; padding: 0.7rem 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .menu-main, .mobile-menu .kicker { font-weight: 700; }
.mobile-menu .btn { margin: 0.8rem 0 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 3rem; padding: 0.7rem 1rem; text-decoration: none; border: 0; cursor: pointer; font-weight: 700; font-size: 0.95rem; }
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-wa { background: var(--wa); color: white; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); width: 100%; }
.icon { width: 1.05rem; height: 1.05rem; }

.hero { background: var(--ink); color: white; }
.hero h1, .page-hero h1, .district-band h2 { color: white; }
.hero-grid, .split, .article-grid { display: grid; gap: 1.6rem; }
.hero-grid { padding: 2.4rem 0 2.8rem; }
.kicker { color: var(--orange); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.lede, .hero .lede { color: rgba(255,255,255,.78); max-width: 38rem; font-size: 1.05rem; }
.hero-actions, .form-actions { display: grid; gap: 0.6rem; margin-top: 1.2rem; }
.hero-phone, .call-number, .big-phone, .foot-phone { font-size: 2.6rem; line-height: 1; color: white; text-decoration: none; }
.hero-note { color: rgba(255,255,255,.55); font-size: 0.78rem; letter-spacing: 0.04em; }
.hero img, .cover, .split img { width: 100%; aspect-ratio: 16/11; }
.band { background: var(--anthracite); color: white; }
.band h2 { color: var(--orange); font-size: 2.1rem; }
.band p { color: rgba(255,255,255,.75); font-size: 0.95rem; }
.band article { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.section { padding: 3.2rem 0; }
.section-head { display: flex; flex-direction: column; gap: 0.7rem; }
.section-head a, .more { color: var(--orange); font-weight: 700; text-decoration: none; }
.eyebrow { color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow span { color: var(--orange); }
.cards { display: grid; gap: 0.75rem; margin-top: 1.2rem; }
.card { background: white; border: 1px solid var(--line); padding: 1.1rem; text-decoration: none; color: var(--body); }
a.card:hover { border-color: var(--orange); }
.card span, .steps span { color: var(--orange); font-family: var(--display); font-size: 1.8rem; }
.card h3 { font-size: 2rem; }
a.card:hover h3 { color: var(--orange); }
.panel { background: white; }
.prose-lead { font-size: 1.02rem; }
.reason-grid, .steps { display: grid; gap: 0.9rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.reason-grid h3 { font-family: var(--font); font-size: 1rem; }
.steps li { background: white; border: 1px solid var(--line); padding: 1rem; }
.district-band { background: var(--ink); color: white; padding: 3.2rem 0; }
.district-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.district-links a, .link-grid a { display: block; border: 1px solid rgba(255,255,255,.12); padding: 0.55rem 0.7rem; text-decoration: none; }
.district-band .district-links a { color: white; }
.district-links a:hover, .link-grid a:hover { border-color: var(--orange); color: var(--orange); }
.quote blockquote { margin: 0; font-size: 0.95rem; }
.quote figcaption { margin-top: 0.8rem; font-size: 0.9rem; }
.quote span, .meta, .fine { color: var(--muted); font-size: 0.82rem; }
.faq details { background: white; border: 1px solid var(--line); padding: 0.8rem 1rem; margin-top: 0.5rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.page-hero { background: var(--ink); color: white; padding: 1.6rem 0 2.2rem; }
.page-hero .lede { color: rgba(255,255,255,.75); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem 0.7rem; list-style: none; padding: 0; margin: 0 0 0.8rem; font-size: 0.82rem; }
.crumbs a { color: rgba(255,255,255,.7); }
.crumbs span { color: white; }
.prose p, .prose li { font-size: 1.02rem; }
.prose h2, .prose h3 { margin-top: 1.6rem; }
.prose a { color: var(--orange); }
.article-grid h2 { margin-top: 2.2rem; }
.solutions section { border-left: 2px solid var(--orange); padding-left: 0.8rem; margin-top: 0.8rem; }
.ticks, .plain, .chips, .link-grid { display: grid; gap: 0.45rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.ticks li, .chips li, .chips a { background: white; padding: 0.65rem 0.8rem; }
.plain { list-style: disc; padding-left: 1.2rem; }
.link-grid { grid-template-columns: 1fr; }
.link-grid a { background: white; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.side { display: grid; gap: 0.8rem; align-content: start; }
.callbox { background: var(--ink); color: white; padding: 1.1rem; display: grid; gap: 0.55rem; }
.callbox .call-number { color: white; }
.form-card, .admin-card, .admin-form { background: white; padding: 1.2rem; }
.form-card h2, .admin-card h1 { font-size: 2.4rem; }
.form-grid, .admin-form, .contact-facts { display: grid; gap: 0.8rem; }
label { display: grid; gap: 0.3rem; font-size: 0.88rem; font-weight: 700; color: var(--ink); }
input, select, textarea { width: 100%; min-height: 3rem; border: 1px solid #ddd8ce; background: white; padding: 0.65rem 0.75rem; color: var(--ink); }
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(228,87,14,.35); border-color: var(--orange); }
.check { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 500; color: var(--body); }
.check input { width: 1.05rem; height: 1.05rem; min-height: 0; margin-top: 0.2rem; accent-color: var(--orange); }
.check a { color: var(--orange); }
.note { padding: 0.65rem 0.75rem; font-size: 0.92rem; }
.note.ok { background: var(--ok-bg); color: var(--ok); }
.note.bad { background: var(--bad-bg); color: var(--bad); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.service-list { display: grid; gap: 0.8rem; }
.service-row { display: grid; gap: 0.8rem; background: white; border: 1px solid var(--line); padding: 0.7rem; }
.service-row img { width: 100%; aspect-ratio: 4/3; }
.service-row h2 { font-size: 2.3rem; }
.service-row a { text-decoration: none; }
.search { margin-bottom: 1rem; }
.side-title { margin-top: 1.6rem; }
.district-catalog { display: grid; gap: 0.55rem; }
.district-catalog a { display: grid; gap: 0.2rem; background: white; border: 1px solid var(--line); padding: 0.8rem; text-decoration: none; }
.district-catalog span { color: var(--muted); font-size: 0.88rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0.8rem 0 0; }
.stats div { background: white; padding: 0.8rem; }
.stats dt { color: var(--muted); font-size: 0.82rem; }
.stats dd { margin: 0.2rem 0 0; font-family: var(--display); font-size: 2rem; color: var(--ink); }
.big-phone { color: var(--orange); font-size: 3rem; }
.contact-facts a { color: var(--orange); font-weight: 700; text-decoration: none; }
.narrow { max-width: 46rem; }
.posts h2 { font-size: 2.2rem; }
.posts h2 a { text-decoration: none; }
.posts h2 a:hover { color: var(--orange); }

.site-footer { background: var(--ink); color: rgba(255,255,255,.75); }
.foot-grid { display: grid; gap: 1.6rem; padding: 2.6rem 0; }
.site-footer h2 { color: white; font-size: 1.5rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer ul { list-style: none; margin: 0.7rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer .cols { grid-template-columns: 1fr 1fr; }
.foot-phone { color: white; }
.legal { border-top: 1px solid rgba(255,255,255,.1); }
.legal .wrap { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.9rem 0 1rem; font-size: 0.78rem; }
.legal p { display: flex; gap: 1rem; margin: 0; }

.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 3.4rem; color: white; text-decoration: none; font-weight: 700; }
.mobile-cta .wa { background: var(--wa); }
.wa-float { display: none; }

.admin-body { background: var(--paper); }
.admin-bar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: var(--ink); color: white; padding: 0.8rem 1rem; }
.admin-bar a { color: white; text-decoration: none; font-weight: 700; }
.admin-bar nav { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.admin-main { width: min(980px, calc(100% - 2rem)); margin: 1.4rem auto 3rem; }
.admin-card { max-width: 28rem; margin: 8vh auto; }
.admin-form { margin-top: 1rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 1rem 0; }
.stat-row div { background: white; padding: 1rem; }
.stat-row strong { display: block; font-family: var(--display); font-size: 2.4rem; color: var(--ink); line-height: 1; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 0.75rem; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
td form { display: grid; gap: 0.4rem; min-width: 9rem; }

@media (min-width: 720px) {
  .hero-actions, .form-actions { grid-template-columns: 1fr 1fr; }
  .cards-2, .cards-3, .service-list, .district-catalog { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .ticks, .link-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 180px 1fr; }
  .service-row img { aspect-ratio: auto; height: 100%; min-height: 9rem; }
  .legal .wrap { flex-direction: row; justify-content: space-between; align-items: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .topbar, .desktop-nav, .bar-cta { display: flex; }
  .nav-toggle, .mobile-menu, .mobile-cta { display: none; }
  body { padding-bottom: 0; }
  .legal .wrap { padding-bottom: 0.9rem; }
  .hero-grid, .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .article-grid { grid-template-columns: 1fr 320px; align-items: start; }
  .side { position: sticky; top: 6.5rem; }
  .band-grid { display: grid; }
  .band-grid, .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .steps, .foot-grid { grid-template-columns: repeat(4, 1fr); }
  .band-grid { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
  .band article { border-top: 0; border-left: 1px solid rgba(255,255,255,.1); padding: 1.6rem 1rem; }
  .band article:first-child { border-left: 0; }
  .district-band .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .district-links { grid-template-columns: repeat(3, 1fr); }
  .section-head { flex-direction: row; justify-content: space-between; align-items: end; }
  .wa-float { display: inline-flex; position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; background: var(--wa); color: white; text-decoration: none; font-weight: 700; padding: 0.85rem 1rem; box-shadow: var(--shadow); }
  .reason-grid { grid-template-columns: 1fr 1fr; }
}
