@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #11243b;
  --navy-soft: #1a3554;
  --green: #49a66f;
  --green-dark: #28794d;
  --green-pale: #eaf6ee;
  --cream: #f7f6f1;
  --white: #ffffff;
  --text: #223043;
  --muted: #667386;
  --line: #dce3e7;
  --shadow: 0 18px 50px rgba(17, 36, 59, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
code { padding: .15em .4em; border-radius: 6px; background: #e8edf0; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: .7rem 1rem;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-tinted { background: var(--cream); }
.section-dark { color: white; background: var(--navy); }
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--green-dark);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-dark .eyebrow { color: #8dd5aa; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.14; }
h1 { margin-bottom: 1.35rem; font-size: clamp(2.7rem, 7vw, 5.7rem); letter-spacing: -.06em; }
h1 span { color: var(--green); }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.04em; }
h3 { margin-bottom: .65rem; font-size: 1.2rem; }
p { margin-top: 0; }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading > p:last-child, .section-copy > p { color: var(--muted); }
.section-heading.light h2 { color: white; }
.section-heading.light > p:last-child { color: #bbc8d5; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(17, 36, 59, .08);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: white;
  background: var(--green);
  font-weight: 800;
}
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand small { margin-top: 3px; color: var(--muted); font-size: .69rem; }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a { color: var(--navy); font-size: .82rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a.active { color: var(--green-dark); }
.main-nav .nav-cta { padding: .7rem .9rem; border-radius: 10px; color: white; background: var(--green); }
.main-nav .nav-cta:hover { color: white; background: var(--green-dark); }
.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; display: block; margin: 5px; background: var(--navy); transition: .25s; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 105px;
  background:
    radial-gradient(circle at 88% 12%, rgba(73, 166, 111, .18), transparent 28%),
    linear-gradient(135deg, #f9fbf8, #eef5f2);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -40% auto;
  width: 520px;
  height: 520px;
  border: 80px solid rgba(73, 166, 111, .08);
  border-radius: 50%;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; }
.hero-copy > p:not(.eyebrow) { max-width: 640px; color: var(--muted); font-size: 1.12rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--green); box-shadow: 0 12px 26px rgba(73, 166, 111, .25); }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { border-color: var(--line); color: var(--navy); background: white; }
.hero-card { overflow: hidden; border: 10px solid white; border-radius: 30px; background: white; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-image { min-height: 390px; border-radius: 20px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px 10px 12px; text-align: center; }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { color: var(--navy); font-size: 1.5rem; }
.hero-stats span { color: var(--muted); font-size: .72rem; }

.placeholder-image {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end start;
  padding: 24px;
  color: white;
  background:
    linear-gradient(145deg, transparent 35%, rgba(17, 36, 59, .66)),
    radial-gradient(circle at 30% 25%, #a8d7b8, transparent 30%),
    linear-gradient(135deg, #4fa974, #1b4e52);
}
.placeholder-image::before, .placeholder-image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
}
.placeholder-image::before { width: 180px; height: 180px; right: -30px; top: 20px; }
.placeholder-image::after { width: 260px; height: 260px; left: -70px; bottom: -130px; }
.placeholder-image span { position: relative; z-index: 1; font-weight: 800; }
.accent-two { background: linear-gradient(145deg, transparent 35%, rgba(17, 36, 59, .67)), radial-gradient(circle at 70% 28%, #8ab5c8, transparent 30%), linear-gradient(135deg, #567b9a, #203d58); }
.accent-three { background: linear-gradient(145deg, transparent 35%, rgba(17, 36, 59, .67)), radial-gradient(circle at 30% 30%, #edc187, transparent 28%), linear-gradient(135deg, #be8056, #70473d); }
.accent-four { background: linear-gradient(145deg, transparent 35%, rgba(17, 36, 59, .67)), radial-gradient(circle at 70% 30%, #c5a5d7, transparent 28%), linear-gradient(135deg, #80649b, #3f365b); }
.accent-five { background: linear-gradient(145deg, transparent 35%, rgba(17, 36, 59, .67)), radial-gradient(circle at 40% 20%, #d1db9d, transparent 28%), linear-gradient(135deg, #778d4c, #385445); }

.two-column, .membership-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(45px, 8vw, 105px); }
.check-list { padding: 0; margin: 30px 0 0; list-style: none; }
.check-list li { margin: 12px 0; padding-left: 32px; position: relative; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: .74rem; }
.info-panel { padding: 34px; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow); }
.info-panel h3 { color: white; }
dl { margin: 0; }
dl div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
dl div:last-child { border: 0; }
dt { color: #aebccc; }
dd { margin: 0; color: white; font-weight: 700; text-align: right; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person-card { padding: 30px 22px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .2s, box-shadow .2s; }
.person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.avatar { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 18px; color: white; background: linear-gradient(135deg, var(--green), var(--navy-soft)); font-weight: 800; }
.person-card .role { margin-bottom: 18px; color: var(--muted); font-size: .88rem; }
.person-card a { color: var(--green-dark); font-size: .78rem; font-weight: 700; overflow-wrap: anywhere; }

.event-list { border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 28px; padding: 26px 4px; border-bottom: 1px solid var(--line); }
.event time { width: 70px; padding: 10px; border-radius: 14px; color: white; background: var(--navy); text-align: center; }
.event time strong, .event time span { display: block; line-height: 1; }
.event time strong { font-size: 1.7rem; }
.event time span { margin-top: 7px; color: #91d3aa; font-size: .7rem; font-weight: 800; }
.event h3, .event p { margin-bottom: .25rem; }
.event p { color: var(--muted); font-size: .9rem; }
.event .event-type { margin: 0 0 .3rem; color: var(--green-dark); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.event > a { color: var(--green-dark); font-weight: 800; text-decoration: none; }
.content-note { margin-top: 24px; color: var(--muted); font-size: .82rem; }

.news-grid { grid-template-columns: repeat(3, 1fr); }
.news-card { overflow: hidden; border-radius: 19px; color: var(--text); background: white; }
.news-image { height: 210px; }
.news-content { padding: 25px; }
.news-content time { color: var(--green-dark); font-size: .72rem; font-weight: 800; }
.news-content h3 { margin-top: .65rem; }
.news-content p { color: var(--muted); font-size: .9rem; }
.text-button { padding: 0; border: 0; color: var(--green-dark); background: transparent; font-weight: 800; cursor: pointer; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 15px; }
.gallery-item { width: 100%; border: 0; border-radius: 17px; text-align: left; cursor: pointer; transition: transform .25s; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.large { grid-row: span 2; }

.membership { color: white; background: linear-gradient(135deg, var(--navy), #183b4b); }
.membership h2 { color: white; }
.membership .section-copy > p { color: #bdc9d5; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 32px; }
.benefits p { padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(255,255,255,.06); }
.benefits strong, .benefits span { display: block; }
.benefits strong { color: #8ed7aa; font-size: 1.75rem; }
.benefits span { color: #bdc9d5; font-size: .78rem; }

.contact-form { padding: 34px; border-radius: var(--radius); color: var(--text); background: white; box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 22px; }
.contact-form > label:not(.privacy-check) { display: block; margin: 14px 0 6px; font-size: .78rem; font-weight: 800; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: #fbfcfc; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(73,166,111,.14); }
.contact-form textarea { resize: vertical; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; color: var(--muted); font-size: .76rem; }
.privacy-check input { margin-top: 4px; accent-color: var(--green); }
.form-status { min-height: 1.5em; margin: 12px 0 0; color: var(--green-dark); font-size: .8rem; font-weight: 700; }

.download-list { display: grid; gap: 13px; }
.download-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 14px; background: white; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.download-card:hover { transform: translateX(4px); box-shadow: 0 10px 25px rgba(17,36,59,.08); }
.download-card strong, .download-card small { display: block; }
.download-card small { color: var(--muted); }
.file-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: white; background: #c24b4b; font-size: .7rem; font-weight: 800; }

.contact-details { font-style: normal; }
.contact-details p { margin: 0 0 24px; color: var(--muted); }
.contact-details a { color: var(--green-dark); font-weight: 800; }

.site-footer { padding: 60px 0 22px; color: #bdc8d3; background: #0c1c2d; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 45px; }
.footer-brand { color: white; }
.footer-brand small { color: #94a5b6; }
.footer-grid h2 { margin-bottom: 16px; color: white; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div > a:not(.brand), .footer-link { display: block; margin: 8px 0; border: 0; color: #bdc8d3; background: transparent; font-size: .83rem; text-decoration: none; cursor: pointer; }
.footer-grid > div > a:hover, .footer-link:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #bdc8d3; text-decoration: none; }

dialog { width: min(calc(100% - 32px), 620px); padding: 40px; border: 0; border-radius: 20px; box-shadow: 0 25px 80px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(5, 18, 31, .72); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 12px; right: 15px; border: 0; background: transparent; font-size: 1.7rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .nav-toggle { width: 46px; height: 46px; display: block; position: relative; z-index: 102; }
  .main-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; gap: 22px; background: white; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { font-size: 1.1rem; }
  .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); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .section { padding: 74px 0; }
  .hero-grid, .two-column, .membership-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 65px; }
  .hero-grid { gap: 50px; }
  .hero-card { max-width: 620px; transform: none; }
  .hero-image { min-height: 330px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 570px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 62px 0; }
  h1 { font-size: clamp(2.6rem, 15vw, 4rem); }
  .brand small { display: none; }
  .hero-card { border-width: 6px; }
  .hero-image { min-height: 260px; }
  .hero-stats { gap: 5px; }
  .hero-stats strong { font-size: 1.2rem; }
  .card-grid, .news-grid { grid-template-columns: 1fr; }
  .event { grid-template-columns: 64px 1fr; gap: 16px; }
  .event time { width: 60px; }
  .event > a { grid-column: 2; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.large { grid-row: span 1; }
  .benefits { grid-template-columns: 1fr; }
  .contact-form, .info-panel { padding: 25px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
