@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-400.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: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-600.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: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-serif-4-latin-600.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: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-serif-4-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #172033;
  --muted: #3e4c60;
  --paper: #f4f0e7;
  --paper-2: #fbf8f2;
  --line: #e3d9cb;
  --navy: #12263f;
  --navy-2: #1d3d63;
  --copper: #8a4b2b;
  --field: #1f6b4a;
  --field-soft: #e7f2ec;
  --focus: #0b57d0;
  --wa: #0e6b45;
  --shadow: 0 18px 40px rgba(18, 38, 63, 0.08);
  --serif: "Source Serif 4", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
  --max: 1160px;
  --header: 74px;
  --radius: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--navy-2); text-underline-offset: 0.16em; }

a:hover { color: var(--copper); }

p, ul, ol { margin: 0 0 1rem; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.35rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 100;
}
.skip-link:focus { top: 1rem; color: white; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 240, 231, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(1240px, calc(100% - 1.25rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.nav-toggle,
.sub-toggle {
  font: inherit;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 1rem 1rem;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a, .site-nav .sub-toggle {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  padding: 0.7rem 0.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.site-nav .sub { display: none; padding-left: 0.8rem; }
.site-nav .has-sub.is-open .sub { display: block; }

.header-phone, .header-wa {
  display: none;
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}

.crumbs {
  padding: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: #9aa3b0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--copper); }

.hero { padding: 1.4rem 0 2.5rem; }
.hero-grid, .split {
  display: grid;
  gap: 1.5rem;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--copper);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.8rem;
}
.kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--copper);
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }

.actions, .hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-2); color: white; }
.btn-ghost { background: transparent; border-color: #c9bfb0; color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-wa { background: var(--wa); color: white; }
.btn-wa:hover { background: #0b5838; color: white; }
.btn-small { min-height: 40px; padding: 0.4rem 0.85rem; font-size: 0.95rem; }

.frame {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.frame img, .frame svg { display: block; width: 100%; }
.frame figcaption, .caption {
  padding: 0.75rem 0.9rem 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.section { padding: 2.6rem 0; }
.section-head { max-width: 44rem; margin-bottom: 1.4rem; }
.section-alt {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.sheet {
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(18,38,63,0.035) 1px, transparent 1px),
    linear-gradient(rgba(18,38,63,0.035) 1px, transparent 1px),
    var(--paper-2);
  background-size: 28px 28px, 28px 28px, auto;
  border-radius: var(--radius);
  padding: 1.1rem;
}

.card-grid, .method-grid, .post-grid, .il-grid, .district-grid {
  display: grid;
  gap: 0.9rem;
}
.card, .method, .post-card, .il-card, .district-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem 1.15rem;
  text-decoration: none;
  color: inherit;
  display: block;
}
a.card:hover, a.post-card:hover, a.il-card:hover, a.district-card:hover {
  border-color: #c9b49a;
  color: inherit;
}
.card p, .method p, .post-card p, .il-card p, .district-card p { color: var(--muted); margin-bottom: 0; }
.card .more, .post-card .more { display: inline-block; margin-top: 0.8rem; font-weight: 600; color: var(--copper); }

.steps { display: grid; gap: 0.8rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.step-no {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.prose { max-width: 46rem; }
.prose h2, .prose h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.wide-prose { max-width: 74rem; }

.note, .callout {
  border-left: 3px solid var(--copper);
  background: #f8f1e8;
  padding: 0.9rem 1rem;
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}
.callout { border-left-color: var(--field); background: var(--field-soft); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); }
table.data th { background: #efe8dc; font-size: 0.92rem; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.75rem 0;
}
.faq details p { color: var(--muted); }

.cta-band {
  background: var(--navy);
  color: #f4f0e7;
  border-radius: 18px;
  padding: 1.4rem;
}
.cta-band h2 { color: white; }
.cta-band p { color: #d5deea; }
.cta-band a:not(.btn) { color: #f0d2bc; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); background: transparent; }
.cta-band .btn-ghost:hover { color: #fff; border-color: #fff; }
.header-wa { color: var(--field); font-weight: 600; text-decoration: none; white-space: nowrap; }

.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer {
  background: var(--navy);
  color: #d5deea;
  padding: 2.4rem 0 6.2rem;
  margin-top: 2rem;
}
.site-footer a { color: #f4f0e7; text-decoration: none; }
.site-footer a:hover { color: #f0d2bc; }
.footer-grid { display: grid; gap: 1.4rem; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0d2bc;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.35rem 0; }
.legal-line { margin-top: 1.4rem; font-size: 0.92rem; color: #b7c3d4; }

.mobile-cta {
  position: fixed;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.6rem;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  background: rgba(244, 240, 231, 0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.4rem;
  box-shadow: var(--shadow);
}
.mobile-cta a {
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.7rem 0.4rem;
}
.mobile-cta .call { background: var(--navy); color: white; }
.mobile-cta .wa { background: var(--wa); color: white; }

.form { display: grid; gap: 0.9rem; }
.form-grid { display: grid; gap: 0.9rem; }
label { display: grid; gap: 0.35rem; font-weight: 600; }
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: white;
  border: 1px solid #d4cbbd;
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
.help { font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: 0.25rem; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}
.form-status { min-height: 1.4rem; }
.form-status.is-error { color: #8c2f2f; }
.form-status.is-ok { color: var(--field); }

.il-tools { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1rem; }
.il-tools input { max-width: 320px; }
.region { margin: 1.4rem 0; }
.region h2 { font-size: 1.45rem; }

.consent {
  position: fixed;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 5rem;
  z-index: 50;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.consent p { margin: 0; flex: 1 1 220px; }

.page-hero { padding: 1.2rem 0 0.4rem; }

.link-row { display: flex; flex-wrap: wrap; gap: 0.45rem 0.8rem; }
.link-row a { font-weight: 600; }

.two-col { display: grid; gap: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
