:root {
  --green-900: #17351f;
  --green-800: #22472c;
  --green-700: #2f643d;
  --green-100: #edf6ee;
  --green-50: #f6fbf6;
  --earth: #8b653d;
  --sand: #f2eadc;
  --ink: #172018;
  --muted: #627065;
  --white: #fff;
  --shadow: 0 20px 60px rgba(23, 53, 31, .13);
  --radius: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--green-50);
  line-height: 1.6;
}
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(18px, 3vw, 42px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23,53,31,.08);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--green-900); text-decoration: none; min-width: 0; }
.brand-logo { width: min(370px, 40vw); height: 64px; object-fit: contain; object-position: left center; }
.brand-text { display: none; }
.brand small { display: block; color: var(--muted); font-size: .82rem; margin-top: -2px; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a, .nav-drop-toggle, .menu-toggle {
  border: 0; background: transparent; color: var(--green-900); padding: 10px 12px; border-radius: 999px; font: inherit; cursor: pointer;
}
.main-nav a.active, .main-nav a:hover, .nav-drop-toggle:hover { background: var(--green-100); text-decoration: none; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: 10px;
  background: #fff; box-shadow: var(--shadow); border-radius: 18px; display: none;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu { display: grid; }
.nav-dropdown-menu a { border-radius: 12px; }
.menu-toggle { display: none; background: var(--green-800); color: white; }
.hero {
  background: var(--green-50);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 70px);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 640px);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}
.hero-content { max-width: 660px; }
.hero-image { margin: 0; }
.hero-image img {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 800; color: var(--earth); }
h1, h2, h3 { line-height: 1.12; color: var(--green-900); }
.hero h1 { color: var(--green-900); font-size: clamp(1.95rem, 4.2vw, 3.75rem); margin: 10px 0 16px; letter-spacing: -.045em; max-width: 760px; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.45rem); max-width: 650px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button, button.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border-radius: 999px; background: var(--green-800); color: white; font-weight: 700; border: 0; cursor: pointer; text-decoration: none; }
.button:hover { background: var(--green-700); text-decoration: none; }
.button.secondary { background: #fff; color: var(--green-900); border: 1px solid rgba(23,53,31,.16); }
.button.ghost { background: transparent; border: 1px solid rgba(23,53,31,.22); color: var(--green-900); }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(46px, 7vw, 84px) clamp(18px, 3vw, 28px); }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-header h2, .page-hero h1 { font-size: clamp(2rem, 4vw, 3.6rem); margin: 0; letter-spacing: -.04em; }
.section-header p { max-width: 640px; color: var(--muted); margin: 10px 0 0; }
.grid { display: grid; gap: 22px; }
.grid.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: white; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid rgba(23,53,31,.06); }
.card h3 { margin-top: 0; font-size: 1.35rem; }
.card-date { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; min-height: 76px; border-radius: 18px; background: var(--green-100); color: var(--green-900); font-weight: 800; margin-bottom: 18px; }
.card-date span:first-child { font-size: 1.7rem; line-height: 1; }
.meta { color: var(--muted); font-size: .95rem; }
.news-card { overflow: hidden; padding: 0; }
.news-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--sand); }
.news-card .card-body { padding: 24px; }
.home-news-band { background: #fff; box-shadow: inset 0 1px 0 rgba(23,53,31,.06), inset 0 -1px 0 rgba(23,53,31,.06); }
.home-news-band .section { max-width: var(--max); }
.feature { background: white; border-radius: calc(var(--radius) + 10px); box-shadow: var(--shadow); padding: clamp(28px, 6vw, 58px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.feature-tiles { display: grid; gap: 12px; }
.feature-tile { background: var(--green-100); padding: 18px; border-radius: 18px; }
.home-gallery { padding-top: 0; }
.home-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.page-hero {
  --page-hero-bg: none;
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 9vw, 118px) clamp(18px, 4vw, 42px);
  background-image: linear-gradient(135deg, rgba(237,246,238,.92), rgba(255,255,255,.82)), var(--page-hero-bg);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(23,53,31,.08);
}
.page-hero > div { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-hero p { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.content { max-width: 860px; margin: 0 auto; padding: clamp(42px, 7vw, 78px) 18px; }
.content h2 { margin-top: 2.2em; }
.content ul, .feature ul, .card ul { list-style: none; padding-left: 0; }
.content li, .feature li, .card li { position: relative; padding-left: 32px; margin: .55em 0; }
.content li::before, .feature li::before, .card li::before { content: ""; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; background: var(--list-icon, url('../images/list-icon.svg')) center / contain no-repeat; }
.fee-list { display: grid; gap: 14px; }
.fee-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; background: white; border-radius: 18px; padding: 20px; box-shadow: 0 10px 34px rgba(23,53,31,.08); }
.fee-value { font-weight: 800; color: var(--green-900); text-align: right; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.board-card { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.board-role { color: var(--earth); font-weight: 800; }
.contact-box { background: var(--green-900); color: white; border-radius: var(--radius); padding: 30px; }
.contact-box h2 { color: white; }
.contact-box a { color: white; text-decoration: underline; }
.empty { background: rgba(255,255,255,.7); border: 1px dashed rgba(23,53,31,.28); padding: 22px; border-radius: 18px; color: var(--muted); }
.site-footer { margin-top: 60px; color: white; background-image: linear-gradient(rgba(23,53,31,.86), rgba(23,53,31,.88)), var(--footer-bg); background-size: cover; background-position: center; }
.footer-overlay { padding: clamp(44px, 7vw, 80px) clamp(18px, 4vw, 42px) 24px; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h2 { color: white; font-size: 1.1rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { max-width: var(--max); margin: 36px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .92rem; color: rgba(255,255,255,.78); }
.article-image { width: 100%; border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow); }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 18px; }
.not-found h1 { font-size: clamp(3rem, 12vw, 8rem); margin: 0; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .brand-logo { width: min(275px, 64vw); height: 52px; }
  .main-nav { position: absolute; left: 14px; right: 14px; top: 76px; display: none; flex-direction: column; align-items: stretch; background: #fff; padding: 12px; border-radius: 20px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .nav-dropdown-menu { position: static; box-shadow: none; padding: 4px 0 4px 12px; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu { display: grid; }
  .grid.cards-3, .grid.cards-2, .feature, .footer-grid, .home-gallery-grid { grid-template-columns: 1fr; }
  .section-header { display: block; }
  .hero { padding-top: 34px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
}
