@font-face { font-family: Outfit; src: url('/fonts/outfit-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Outfit; src: url('/fonts/outfit-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Outfit; src: url('/fonts/outfit-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Outfit; src: url('/fonts/outfit-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Newsreader; src: url('/fonts/newsreader-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Newsreader; src: url('/fonts/newsreader-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Newsreader; src: url('/fonts/newsreader-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #0e2a47;
  --navy-700: #16385c;
  --ink: #142433;
  --muted: #4e6070;
  --line: #e2e6de;
  --paper: #f4f3ee;
  --white: #fff;
  --green: #1b7a34;
  --lime: #c5d63a;
  --gold: #f5b400;
  --amber: #e08a00;
  --bad: #8d2b2b;
  --good-bg: #e8f5e9;
  --shadow: 0 18px 50px rgba(14, 42, 71, 0.08);
  --radius: 18px;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(197, 214, 58, 0.22), transparent 55%),
    radial-gradient(700px 380px at -10% 8%, rgba(27, 122, 52, 0.08), transparent 50%),
    var(--paper);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { font-family: Newsreader, Georgia, serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 0.4em; }
h3 { font-size: 1.35rem; margin: 0 0 0.3em; }
p { margin: 0 0 0.8em; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: white; padding: 0.6rem 1rem; z-index: 20; }
.skip:focus { top: 0.5rem; }
.ribbon { height: 7px; background: linear-gradient(90deg, #1b7a34, #3fa34a, #8bc34a, #c5d63a, #f6d32d, #f5b400); }
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header); padding: 0.6rem 6vw;
  background: rgba(244, 243, 238, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14, 42, 71, 0.08);
}
.brand img { display: block; width: 210px; height: auto; }
.nav-toggle { font: inherit; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; }
#site-nav { display: none; }
body.nav-open #site-nav {
  display: flex; flex-direction: column; gap: 0.35rem;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.8rem 6vw 1rem;
}
#site-nav a { text-decoration: none; padding: 0.35rem 0; font-weight: 600; }
.drop-panel { display: flex; flex-direction: column; padding-left: 0.8rem; }
.nav-phone { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-phone svg, .btn svg, .wa-float svg, .mobile-bar svg { width: 1.05rem; height: 1.05rem; }
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--navy); color: white; text-decoration: none; border: 0; border-radius: 999px;
  padding: 0.85rem 1.2rem; font: inherit; font-weight: 650; cursor: pointer;
}
.btn-small { padding: 0.55rem 0.95rem; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid rgba(14, 42, 71, 0.25); }
.btn-gold { background: var(--gold); color: var(--navy); }
.hero, .section, .page, .closer { padding: 2.2rem 6vw; }
.hero { display: grid; gap: 1.5rem; align-items: start; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--green); display: flex; align-items: center; gap: 0.4rem; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 40rem; }
.hero-points { padding-left: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin: 1rem 0 0; }
.facts div { background: rgba(255,255,255,0.7); border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem; }
.facts dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-weight: 650; }
.quote-card, .card, .side-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.2rem;
}
.quote-card { border-top: 6px solid transparent; background-image: linear-gradient(white, white), linear-gradient(90deg, #1b7a34, #c5d63a, #f5b400); background-origin: border-box; background-clip: padding-box, border-box; }
.section-head { max-width: 40rem; margin-bottom: 1rem; }
.cards { display: grid; gap: 0.9rem; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { border-color: var(--navy); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; }
.steps span { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: white; font-family: Newsreader, serif; }
.band-plain { background: rgba(255,255,255,0.45); }
.scale { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.band { border-radius: 14px; padding: 0.75rem; min-height: 6.2rem; display: flex; flex-direction: column; }
.band strong { font-size: 1.4rem; }
.band small { color: inherit; opacity: 0.85; }
.band-A0 { background: #1b5e20; color: white; }
.band-A { background: #2e7d32; color: white; }
.band-B { background: #7cb342; color: #10220a; }
.band-C { background: #d4e157; color: #1d2608; }
.band-D { background: #f6d32d; color: #2b2300; }
.band-E { background: #fb8c00; color: #2b1600; }
.band-F { background: #ef6c00; color: white; }
.band-G { background: #c62828; color: white; }
.towns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.towns a, .towns-large a { text-decoration: none; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.8rem; font-weight: 650; }
.towns-large { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
.towns-large a { border-radius: 14px; display: flex; justify-content: space-between; }
.about-teaser { display: grid; gap: 1rem; align-items: center; }
.monogram { width: 7rem; height: 7rem; border-radius: 50%; background: var(--navy); color: white; display: grid; place-items: center; font-family: Newsreader, serif; font-size: 2rem; }
.faq { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.2rem 0.9rem; margin: 0.5rem 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 0.7rem 0; }
.closer { background: var(--navy); color: white; border-radius: 0; }
.closer h2, .closer a:not(.btn) { color: white; }
.placeholder { background: #fff6df; border-bottom: 1px dashed var(--amber); padding: 0 0.15em; }
.site-footer { background: var(--navy); color: #d5deea; padding: 2.5rem 6vw 6.5rem; }
.site-footer a { color: white; display: block; text-decoration: none; margin: 0.25rem 0; }
.footer-grid { display: grid; gap: 1.4rem; }
.footer-name { color: white; font-family: Newsreader, serif; font-size: 1.5rem; }
.legal { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1rem; font-size: 0.9rem; }
.wa-float {
  position: fixed; right: 1rem; bottom: 5.2rem; z-index: 12;
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: #1b7a34; color: white; text-decoration: none; border-radius: 999px;
  padding: 0.75rem 0.95rem; font-weight: 700; box-shadow: var(--shadow);
}
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 11;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr;
  background: white; border-top: 1px solid var(--line);
}
.mobile-bar a { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.55rem; font-size: 0.82rem; font-weight: 700; }
.mobile-bar a:last-child { background: var(--navy); color: white; }
.page-head { max-width: 46rem; }
.page-grid, .contact-grid, .stack { display: grid; gap: 1rem; }
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.2em; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; color: var(--muted); font-size: 0.92rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; }
.form-grid { display: grid; gap: 0.75rem; }
.field label { display: block; font-weight: 650; margin-bottom: 0.25rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid #c9d0c8; border-radius: 10px; padding: 0.7rem 0.75rem; background: white;
}
textarea { resize: vertical; }
.field-bad input, .field-bad select, .field-bad textarea { border-color: var(--bad); }
.field-error { color: var(--bad); margin: 0.25rem 0 0; font-size: 0.92rem; }
.form-note { color: var(--muted); font-size: 0.92rem; }
.alert { border-radius: 12px; padding: 0.9rem 1rem; margin-bottom: 0.8rem; }
.alert-good { background: var(--good-bg); }
.alert-bad { background: #fdecec; color: var(--bad); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.quote-card-wide { max-width: 46rem; }
.narrow { max-width: 46rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  #site-nav, body.nav-open #site-nav {
    display: flex; flex-direction: row; align-items: center; gap: 1rem;
    position: static; background: transparent; border: 0; padding: 0;
  }
  .drop { position: relative; }
  .drop-panel {
    display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
    background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0.5rem;
    box-shadow: var(--shadow);
  }
  .drop:hover .drop-panel, .drop:focus-within .drop-panel { display: flex; }
  .hero { grid-template-columns: 1.15fr 0.85fr; padding-top: 3rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .scale { grid-template-columns: repeat(4, 1fr); }
  .page-grid { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; }
  .about-teaser { grid-template-columns: auto 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .site-footer { padding-bottom: 2.5rem; }
  .mobile-bar { display: none; }
  .wa-float { bottom: 1.2rem; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: 1 / -1; }
  .towns-large { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .brand img { width: 168px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .wa-float, .mobile-bar, .nav-toggle, .site-header, .site-footer { display: none; }
}
