:root {
  --blue-950: #16351b;
  --blue-900: #23592a;
  --blue-800: #2f7d32;
  --blue-700: #57a05b;
  --blue-100: #edf8ee;
  --blue-050: #f8fcf7;
  --white: #ffffff;
  --text-soft: rgba(22, 53, 27, 0.72);
  --line: rgba(47, 125, 50, 0.14);
  --line-strong: rgba(47, 125, 50, 0.24);
  --glass: rgba(255, 255, 255, 0.8);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --shadow-lg: 0 24px 60px rgba(21, 58, 27, 0.12);
  --shadow-md: 0 16px 34px rgba(21, 58, 27, 0.08);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Assistant", sans-serif;
  color: var(--blue-950);
  background: linear-gradient(180deg, #fefefe 0%, #f4fbf3 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.flag-wash {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(87, 160, 91, 0.16), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(47, 125, 50, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(243, 250, 242, 0.88), rgba(255, 255, 255, 0.96));
  opacity: 0.92;
}

.flag-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.78));
  backdrop-filter: blur(2px);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  transition: padding 180ms ease;
}

.topbar.is-compact {
  padding: 8px 0;
}

.nav-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.logo,
h1,
h2,
h3,
.footer-brand {
  font-family: "Varela Round", sans-serif;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-800);
  text-shadow: 0 6px 18px rgba(47, 125, 50, 0.14);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(47, 125, 50, 0.1);
  color: var(--blue-800);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--blue-950);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-slab,
.page-banner {
  padding: 84px 0 28px;
}

.hero-layout,
.feature-grid,
.split-panel,
.footer-row,
.resource-strip {
  display: grid;
  gap: 22px;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: stretch;
}

.hero-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.feature-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid-3,
.resource-strip,
.city-zone-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-panel {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: center;
}

.footer-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.hero-copy,
.hero-stack,
.feature-card,
.zone-card,
.resource-card,
.city-link,
.callout-panel,
.faq-card,
.site-footer,
.panel-copy {
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.hero-copy,
.panel-copy,
.callout-panel,
.feature-card,
.zone-card,
.resource-card,
.faq-card {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.hero-stack {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-xl);
}

.metric-card,
.city-link {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--glass-strong);
  padding: 18px 20px;
}

.metric-card strong {
  display: block;
  font-family: "Varela Round", sans-serif;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  color: var(--blue-800);
}

.metric-card span,
.intro,
.zone-summary,
.footer-note,
.panel-copy p,
.feature-card p,
.resource-card p,
.faq-answer p,
.city-link small {
  color: var(--text-soft);
}

.kicker,
.mini-tag {
  margin: 0 0 10px;
  color: var(--blue-700);
  font-weight: 800;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.4rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.intro,
.page-banner p,
.panel-copy p,
.feature-card p,
.zone-card p,
.resource-card p,
.footer-note,
.faq-answer p,
.city-link small,
.metric-card span {
  font-size: 1.02rem;
  line-height: 1.75;
}

.contact-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(47, 125, 50, 0.06);
  color: var(--blue-900);
  font-weight: 600;
}

.hero-actions,
.tag-cloud,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.btn:hover,
.city-link:hover,
.feature-card:hover,
.zone-card:hover,
.resource-card:hover {
  transform: translateY(-3px);
}

.btn-solid {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  box-shadow: 0 14px 28px rgba(47, 125, 50, 0.24);
}

.btn-outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.66);
  color: var(--blue-900);
}

.btn-small {
  min-height: 42px;
  padding-inline: 18px;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--blue-800);
}

.text-cta::after {
  content: "←";
  transition: transform 180ms ease;
}

.text-cta:hover::after {
  transform: translateX(-4px);
}

.section-block {
  padding: 28px 0 68px;
}

.section-soft {
  padding-top: 8px;
}

.section-title {
  margin-bottom: 20px;
}

.city-links {
  display: grid;
  gap: 14px;
}

.city-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.city-link-copy {
  display: grid;
  gap: 4px;
}

.city-link-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(47, 125, 50, 0.12), rgba(87, 160, 91, 0.2));
  color: var(--blue-900);
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.city-link span {
  font-family: "Varela Round", sans-serif;
  font-size: 1.15rem;
}

.city-link:hover .city-link-cta {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(47, 125, 50, 0.2);
}

.tall-card {
  min-height: 100%;
}

.bullet-list,
.number-list {
  margin: 0;
  padding-right: 20px;
  color: var(--text-soft);
  line-height: 1.85;
}

.tag-cloud span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 125, 50, 0.08);
  border: 1px solid rgba(47, 125, 50, 0.14);
  font-size: 0.95rem;
}

.callout-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq-stack {
  display: grid;
  gap: 16px;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: right;
  color: var(--blue-950);
  font-family: "Varela Round", sans-serif;
  font-size: 1.08rem;
  cursor: pointer;
}

.faq-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(47, 125, 50, 0.08);
  color: var(--blue-800);
  flex-shrink: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease, margin-top 220ms ease;
}

.faq-answer > * {
  overflow: hidden;
}

.faq-card.is-open .faq-answer {
  grid-template-rows: 1fr;
  margin-top: 14px;
}

.faq-card.is-open .faq-mark {
  background: var(--blue-800);
  color: var(--white);
}

.site-footer {
  margin: 20px auto 26px;
  padding: 26px 28px;
  border-radius: var(--radius-xl);
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--blue-800);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

.seo-context {
  padding: 36px 0 64px;
}

.seo-context-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px);
  background: var(--glass-strong);
  box-shadow: var(--shadow-lg);
}

.seo-context-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.seo-context-card p {
  margin: 0 0 12px;
  color: var(--text-soft);
  line-height: 1.8;
}

.seo-context-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .hero-layout,
  .split-panel,
  .feature-grid-3,
  .resource-strip,
  .city-zone-grid,
  .footer-row,
  .feature-grid-2 {
    grid-template-columns: 1fr;
  }

  .callout-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 10px 0;
  }

  .nav-row {
    border-radius: 28px;
    padding: 12px 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    text-align: center;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-small {
    width: 100%;
  }

  .city-link {
    flex-direction: column;
    align-items: stretch;
  }

  .city-link-cta {
    width: 100%;
  }

  .callout-panel .intro {
    width: 100%;
    margin-bottom: 0;
  }

  .hero-slab,
  .page-banner {
    padding-top: 74px;
  }

  .hero-copy,
  .feature-card,
  .zone-card,
  .resource-card,
  .faq-card,
  .callout-panel,
  .panel-copy {
    padding: 22px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  h2 {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .site-footer {
    padding: 22px;
  }
}
