* { box-sizing: border-box; }

:root {
  --green-dark: #073b2a;
  --green: #0f6847;
  --green-light: #16895e;
  --gold: #c49332;
  --cream: #f7f3ea;
  --ink: #17211c;
  --muted: #65736c;
  --card: #ffffff;
  --line: #dfe7e2;
  --shadow: 0 18px 45px rgba(7, 59, 42, 0.12);
}

body {
  margin: 0;
  font-family: Arial, "Segoe UI", sans-serif;
  background: #f4f7f5;
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--green); }

.wrap {
  width: min(1180px, 94%);
  margin: auto;
}

.topbar {
  background: #05271c;
  color: white;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0;
}

.topbar a {
  color: white;
  text-decoration: none;
}

.site-header {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.16), transparent 35%),
    linear-gradient(135deg, #07412e, #0f6847);
  color: white;
  padding: 26px 0;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-logo {
    width: 120px;
    height: auto;
    display: block;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header h1 {
  margin: 0;
  font-size: 32px;
}

.site-header h1 a {
  color: white;
  text-decoration: none;
}

.site-header p {
  margin: 6px 0 0;
  opacity: 0.93;
}

.main-nav {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--green-dark);
  text-decoration: none;
  padding: 15px 13px;
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
}

.nav-links a:hover {
  color: white;
  background: var(--green);
}

.hero {
  background:
    linear-gradient(rgba(7,59,42,0.88), rgba(7,59,42,0.88)),
    radial-gradient(circle at 70% 25%, rgba(196,147,50,0.25), transparent 30%),
    linear-gradient(135deg, #0b5137, #16895e);
  color: white;
  padding: 62px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 420px;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero p {
  font-size: 19px;
  opacity: 0.94;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
button {
  background: var(--green);
  color: white;
  border: 0;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  display: inline-block;
}

.button.gold {
  background: var(--gold);
  color: #1f1807;
}

.button.outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.65);
}

.hero-card {
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 55px rgba(0,0,0,0.22);
}

.hero-card h3 {
  margin-top: 0;
  font-size: 26px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.stats div {
  background: var(--cream);
  padding: 16px;
  border-radius: 16px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 34px;
  color: var(--green);
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.search-box {
  display: grid;
  gap: 10px;
}

.search-box input,
.filter-form input,
.filter-form select {
  padding: 13px 14px;
  border: 1px solid #cfd9d4;
  border-radius: 12px;
  font-size: 15px;
  width: 100%;
}

.section {
  padding: 52px 0;
}

.section-title {
  margin-bottom: 24px;
}

.section-title span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

.section-title h2 {
  margin: 5px 0 0;
  font-size: 34px;
  color: var(--green-dark);
}

.section-title.small h2 {
  font-size: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.profile-card,
.news-card,
.event-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-card {
  text-decoration: none;
  color: var(--ink);
  transition: 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196,147,50,0.55);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--cream);
  font-size: 26px;
}

.feature-card h3,
.profile-card h3,
.news-card h3,
.event-card h3 {
  margin-bottom: 8px;
  color: var(--green-dark);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.stack {
  display: grid;
  gap: 16px;
}

.event-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
}

.date-box {
  background: var(--green);
  color: white;
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  align-self: start;
}

.date-box strong {
  display: block;
  font-size: 22px;
}

.date-box span {
  font-size: 13px;
  opacity: 0.88;
}

.muted { color: var(--muted); }

.city-band {
  background: var(--green-dark);
  color: white;
  padding: 48px 0;
}

.section-title.light h2 {
  color: white;
}

.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.city-pills a {
  color: white;
  text-decoration: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.city-pills a:hover {
  background: var(--gold);
  color: #1f1807;
}

.page-title {
  background: linear-gradient(135deg, #f8f4e9, #ffffff);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}

.page-title h2 {
  font-size: 42px;
  margin: 0;
  color: var(--green-dark);
}

.page-title p {
  font-size: 18px;
  color: var(--muted);
}

.filter-form {
  display: grid;
  grid-template-columns: 1fr 220px auto auto;
  gap: 10px;
  background: white;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 28px 0;
  box-shadow: var(--shadow);
}

.clear {
  padding: 12px 14px;
  text-decoration: none;
  font-weight: 800;
}

.directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding-bottom: 55px;
}

.profile-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-top h3 {
  margin-top: 0;
  font-size: 22px;
}

.location {
  margin: -4px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.badge {
  background: var(--cream);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.address {
  font-size: 16px;
  background: #f7faf8;
  border-left: 4px solid var(--gold);
  padding: 11px 13px;
  border-radius: 10px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.mini-button {
  background: var(--green);
  color: white;
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.mini-button.light {
  background: var(--cream);
  color: var(--green-dark);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.info-grid div {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}

.info-grid span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
  font-weight: 900;
}

.info-grid strong {
  display: block;
  color: var(--green-dark);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 38px 0 60px;
}

.submit-box {
  background: var(--cream);
  border-radius: 16px;
  padding: 16px;
}

.nice-list li {
  margin-bottom: 10px;
}

.site-footer {
  background: #05271c;
  color: white;
  padding-top: 36px;
}

.site-footer a { color: white; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}

.copyright {
  text-align: center;
  margin-top: 24px;
  padding: 15px;
  background: rgba(0,0,0,0.22);
  font-size: 14px;
}

@media (max-width: 950px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-row {
    align-items: flex-start;
  }

  .logo {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .site-header h1 {
    font-size: 24px;
  }

  .nav-links a {
    padding: 11px 10px;
    font-size: 14px;
  }

  .hero {
    padding: 42px 0;
  }

  .hero h2 {
    font-size: 34px;
  }

  .hero p {
    font-size: 17px;
  }

  .feature-grid,
  .directory,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .page-title h2 {
    font-size: 32px;
  }
}
