:root {
  --bg: #f6f5ef;
  --surface: #ffffff;
  --primary: #3b6d3c;
  --primary-dark: #2c532b;
  --accent: #f7a72b;
  --text: #2b2b2b;
  --muted: #666666;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(135deg, #43774f 0%, #6aa172 100%);
  color: #fff;
  padding: 48px 0 56px;
  text-align: center;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.mobile-nav-toggle {
  display: none;
}

.mobile-nav-icon {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav-icon::before,
.mobile-nav-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav-icon::before {
  top: -6px;
}

.mobile-nav-icon::after {
  top: 6px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.instagram-link {
  color: #ffffff;
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}

.instagram-link:hover {
  transform: translateY(-1px);
}

.stats-section {
  margin-top: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(22, 35, 20, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.stat-card {
  border-radius: 18px;
  background: var(--surface);
  padding: 22px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(22, 35, 20, 0.06);
}

.stat-card h3 {
  margin: 0 0 8px;
  color: var(--primary-dark);
}

.stats-note {
  margin-top: 18px;
  color: var(--muted);
}

.info-section {
  margin-top: 32px;
  padding: 30px;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(22, 35, 20, 0.06);
}

.info-section h2 {
  margin-top: 0;
}

.site-header h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.subtitle {
  margin: 0;
  opacity: 0.9;
}

.hero {
  padding: 48px 0 24px;
}

.hero h2 {
  margin: 0 0 16px;
  font-size: 2rem;
}

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.links-section {
  margin-top: 32px;
}

.section-description {
  margin: 0;
  color: var(--muted);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.link-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 18px;
  text-decoration: none;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(22, 35, 20, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(22, 35, 20, 0.12);
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(22, 35, 20, 0.08);
}

.card h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.events-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.event-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(22, 35, 20, 0.08);
}

.event-card h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.event-card a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.event-card a:hover {
  text-decoration: underline;
}

.info-section,
.contact-section {
  margin-top: 40px;
  padding: 30px;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(22, 35, 20, 0.06);
}

.info-section ul {
  padding-left: 1.3rem;
}

button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: var(--primary);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background: var(--primary-dark);
}

.message-area {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: #eef7e9;
  color: #21421c;
}

.hidden {
  display: none;
}

.site-footer {
  padding: 22px 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(44, 83, 43, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(22, 35, 20, 0.18);
}

.cookie-copy h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--primary-dark);
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
}

.cookie-accept {
  flex: 0 0 auto;
  border-radius: 12px;
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1100px);
  }

  .site-header {
    padding: 28px 0 32px;
    text-align: left;
  }

  .site-header h1 {
    font-size: 2.1rem;
    line-height: 1.08;
  }

  .subtitle {
    font-size: 0.98rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 700;
  }

  .site-nav {
    display: none;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    text-align: center;
  }

  .hero {
    padding: 34px 0 18px;
  }

  .hero h2 {
    font-size: 1.6rem;
    line-height: 1.18;
  }

  .stats-section,
  .info-section,
  .contact-section,
  .card,
  .event-card {
    border-radius: 12px;
    padding: 20px;
  }

  .stats-grid,
  .cards,
  .links-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .link-card {
    min-height: 54px;
    border-radius: 12px;
  }

  button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    border-radius: 12px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 16px;
  }
}
