:root {
  --ink: #10263f;
  --ink-soft: #486071;
  --navy: #0b2f50;
  --blue: #075d89;
  --sun: #f5b73b;
  --sun-dark: #c9820b;
  --cream: #fbf8f1;
  --mist: #edf3f5;
  --line: #dbe5e8;
  --white: #fff;
  --success: #227a5a;
  --shadow: 0 22px 70px rgba(16, 38, 63, .12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--sun-dark); }
h1, h2, h3 { margin: 0 0 .65em; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.8rem); max-width: 13ch; }
h2 { font-size: clamp(2rem, 3.8vw, 3.45rem); max-width: 20ch; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p { margin: 0 0 1.25rem; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.eyebrow { margin-bottom: 1rem; color: var(--sun-dark); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.lead { max-width: 65ch; color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.muted { color: var(--ink-soft); }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 9999; padding: 12px 18px; background: var(--white); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(219,229,232,.8); background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 850; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--sun); box-shadow: 0 0 0 7px rgba(245,183,59,.17); }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--ink); font-size: .92rem; font-weight: 720; text-decoration: none; }
.site-nav a:hover { color: var(--blue); }
.menu-toggle { display: none; border: 0; border-radius: 12px; padding: 10px 13px; color: var(--ink); background: var(--mist); font: inherit; font-weight: 800; }

.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; padding: 12px 23px; font-weight: 850; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--navy); background: var(--sun); box-shadow: 0 13px 30px rgba(201,130,11,.22); }
.btn-primary:hover { color: var(--navy); background: #ffc95b; }
.btn-secondary { color: var(--white); background: var(--navy); }
.btn-outline { color: var(--navy); border-color: rgba(11,47,80,.25); background: rgba(255,255,255,.72); }

.hero { position: relative; min-height: min(830px, calc(100vh - 76px)); display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--navy); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,25,42,.92) 0%, rgba(5,25,42,.69) 43%, rgba(5,25,42,.14) 75%), linear-gradient(0deg, rgba(5,25,42,.76), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-block: clamp(90px, 15vh, 150px) 76px; }
.hero h1 { text-wrap: balance; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 30px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.83); font-size: .88rem; font-weight: 750; }
.trust-row li::before { content: "✓"; margin-right: 8px; color: var(--sun); }

.page-hero { padding: clamp(76px, 10vw, 130px) 0 70px; background: radial-gradient(circle at 82% 10%, rgba(245,183,59,.22), transparent 32%), linear-gradient(145deg, var(--cream), var(--mist)); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.6rem, 5.6vw, 5rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; color: var(--ink-soft); font-size: .82rem; }
.breadcrumbs a { color: inherit; }

.section { padding: clamp(68px, 9vw, 120px) 0; }
.section-soft { background: var(--cream); }
.section-dark { color: var(--white); background: var(--navy); }
.section-dark .muted, .section-dark .lead { color: rgba(255,255,255,.75); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); align-items: end; gap: 40px; margin-bottom: 42px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white); box-shadow: 0 10px 35px rgba(16,38,63,.06); }
.card-number { display: inline-grid; width: 42px; aspect-ratio: 1; place-items: center; margin-bottom: 24px; border-radius: 50%; color: var(--navy); background: var(--sun); font-weight: 900; }
.media-card { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--mist); }
.media-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.media-card figcaption { padding: 13px 18px; color: var(--ink-soft); background: var(--white); font-size: .8rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.stat { padding: 27px; background: var(--white); }
.stat strong { display: block; margin-bottom: 8px; font-size: 1.35rem; }

.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 50px rgba(16,38,63,.06); }
table { width: 100%; min-width: 650px; border-collapse: collapse; background: var(--white); }
th, td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--white); background: var(--navy); font-size: .86rem; letter-spacing: .03em; }
tr:last-child td { border-bottom: 0; }

.search-panel { border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); color: var(--white); background: var(--navy); box-shadow: var(--shadow); }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
input[type="search"] { width: 100%; min-height: 56px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 0 22px; color: var(--ink); background: var(--white); font: inherit; }
.search-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.search-results a { border-radius: 14px; padding: 12px 14px; color: var(--white); background: rgba(255,255,255,.09); text-decoration: none; }

.commune-directory-shell { margin-top: 28px; }
.commune-directory-count { margin: 0 0 14px; color: var(--ink-soft); font-size: .9rem; font-weight: 800; }
.commune-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.commune-directory li { min-width: 0; }
.commune-directory a { position: relative; display: flex; min-height: 104px; height: 100%; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; color: #2f6563; background: var(--white); box-shadow: 0 8px 24px rgba(16,38,63,.045); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.commune-directory a:hover { border-color: rgba(7,93,137,.38); color: var(--blue); box-shadow: 0 12px 30px rgba(16,38,63,.09); transform: translateY(-2px); }
.commune-directory strong { overflow-wrap: anywhere; font-size: 1.02rem; line-height: 1.25; }
.commune-directory a > span:not(.commune-arrow) { margin-top: 6px; color: var(--ink-soft); font-size: .88rem; }

.faq-list { display: grid; gap: 13px; }
details { border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; background: var(--white); }
summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 850; }
details p { padding-bottom: 8px; }

.business-directory { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.business-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--white); }
.business-card .btn { min-height: 44px; margin-top: auto; padding: 9px 16px; font-size: .86rem; }
.business-meta { margin-bottom: 16px; color: var(--ink-soft); font-size: .86rem; }

.weather-box { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.weather-cell { min-height: 112px; padding: 20px; background: var(--white); }
.weather-cell strong { display: block; margin-bottom: 7px; }
.weather-status { grid-column: 1 / -1; min-height: auto; color: var(--ink-soft); }

.legal-content h2 { margin-top: 2.4rem; font-size: 1.7rem; }
.legal-content h3 { margin-top: 1.7rem; }
.vud-shell { min-height: 540px; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px, 3vw, 32px); background: var(--white); box-shadow: var(--shadow); }

.sticky-cta { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: 14px; max-width: 470px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 12px; color: var(--white); background: rgba(11,47,80,.96); box-shadow: 0 18px 55px rgba(11,47,80,.32); transform: translateY(140%); transition: transform .3s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta a { color: var(--navy); background: var(--sun); }
.sticky-copy { display: flex; min-width: 170px; flex: 1; flex-direction: column; line-height: 1.35; }
.sticky-copy strong { font-size: .94rem; }
.sticky-copy small { margin-top: 3px; color: rgba(255,255,255,.72); font-size: .76rem; }
.sticky-label-mobile { display: none; }
.sticky-close { width: 35px; height: 35px; flex: 0 0 auto; border: 0; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.12); cursor: pointer; font-size: 1.15rem; }

.site-footer { padding: 70px 0 28px; color: rgba(255,255,255,.76); background: #071d30; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.site-footer .footer-heading { color: var(--white); font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; line-height: 1.15; margin: 0 0 1rem; }
.site-footer a { color: rgba(255,255,255,.78); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; inset: 76px 20px auto; display: none; align-items: stretch; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 18px; padding: 10px; background: var(--white); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px; }
  .section-head, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .search-results { grid-template-columns: 1fr 1fr; }
  .weather-box { grid-template-columns: 1fr 1fr; }
  .weather-cell:first-child, .weather-status { grid-column: 1 / -1; }
  .commune-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 68px; }
  .brand { font-size: .9rem; }
  .site-nav { top: 68px; }
  .hero { min-height: 760px; }
  .hero::after { background: linear-gradient(0deg, rgba(5,25,42,.93), rgba(5,25,42,.55)); }
  .hero-content { padding-bottom: 62px; }
  .hero-actions .btn { width: 100%; }
  .search-row { grid-template-columns: 1fr; }
  .search-results, .business-directory { grid-template-columns: 1fr; }
  .sticky-cta { right: 18px; bottom: 14px; left: 18px; max-width: none; min-height: 112px; gap: 12px; border-color: #d8e0df; border-radius: 26px; padding: 18px 12px 18px 22px; color: var(--ink); background: rgba(255,255,255,.98); box-shadow: 0 18px 45px rgba(16,38,63,.18); }
  .sticky-copy { min-width: 0; }
  .sticky-copy strong { font-size: .84rem; }
  .sticky-copy small { margin-top: 5px; color: #6b7478; font-size: .82rem; }
  .sticky-cta > span:not(.sticky-copy) { display: none; }
  .sticky-cta .btn { min-width: 126px; min-height: 72px; flex: 0 0 auto; padding-inline: 22px; color: var(--white); background: #0c4b3f; font-size: 1.13rem; }
  .sticky-cta > .btn { min-width: 0; flex: 1; }
  .sticky-cta > .sticky-copy + .btn { min-width: 126px; flex: 0 0 auto; }
  .sticky-cta .btn:hover { color: var(--white); background: #083e34; }
  .sticky-label-desktop { display: none; }
  .sticky-label-mobile { display: inline; }
  .sticky-close { position: absolute; top: -18px; right: -7px; width: 38px; height: 38px; color: var(--white); background: #164f48; box-shadow: 0 5px 15px rgba(16,38,63,.2); }
  .commune-directory-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 12px 38px rgba(16,38,63,.06); }
  .commune-directory-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .commune-directory { display: block; }
  .commune-directory li + li { border-top: 1px solid var(--line); }
  .commune-directory a { min-height: 118px; border: 0; border-radius: 0; padding: 24px; box-shadow: none; }
  .commune-directory a:hover { box-shadow: none; transform: none; }
  .commune-directory strong { font-size: 1.18rem; font-weight: 500; }
  .commune-directory a > span { font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
