:root {
  --brand-50: #f2fbf4;
  --brand-100: #dff5e3;
  --brand-300: #96d9a5;
  --brand-500: #59b875;
  --brand-700: #2f8250;
  --ink-900: #1f2a25;
  --ink-700: #3f4d46;
  --surface: #ffffff;
  --surface-soft: #f7faf8;
  --warning: #ffedc5;
  --max-width: 1180px;
  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
  --shadow: 0 16px 35px rgba(24, 61, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: radial-gradient(circle at 10% 0%, #eefaf1 0%, #ffffff 42%);
  line-height: 1.6;
}

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

a {
  color: var(--brand-700);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #0f5d2f;
  outline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e4eee7;
}

.topbar {
  background: var(--brand-700);
  color: #fff;
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: center;
  padding: 0.5rem 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.brand {
  text-decoration: none;
  color: var(--ink-900);
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-300), var(--brand-700));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.brand-text {
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: 1.15rem;
  display: block;
}

.brand-text span {
  font-size: 0.85rem;
  color: var(--ink-700);
}

.nav-toggle {
  display: none;
  border: 1px solid #d0e8d8;
  border-radius: 0.7rem;
  background: #fff;
  padding: 0.35rem 0.6rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--brand-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  padding: 0.74rem 1.2rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand-500);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-700);
}

.btn-outline {
  border-color: #ffffff;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline-dark {
  border-color: var(--brand-500);
  color: var(--brand-700);
  background: #fff;
}

.hero,
.page-hero {
  position: relative;
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.page-hero {
  min-height: 48vh;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(16, 36, 24, 0.72) 0%, rgba(17, 62, 39, 0.45) 52%, rgba(8, 33, 19, 0.62) 100%);
  z-index: -1;
}

.hero h1,
.page-hero h1,
h2,
h3 {
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  line-height: 1.1;
  margin: 0;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 16ch;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.quick-facts {
  background: linear-gradient(90deg, var(--brand-700), #215a38);
  color: #fff;
}

.quick-facts .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 0.8rem 0;
  text-align: center;
}

.quick-facts strong {
  display: block;
}

section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-kicker {
  display: inline-block;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid #e6eee8;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  color: var(--ink-900);
}

.card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.program-card {
  overflow: hidden;
  padding: 0;
}

.program-card .thumb {
  height: 190px;
  background-size: cover;
  background-position: center;
}

.program-card .content {
  padding: 1rem;
}

.icon-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: var(--brand-100);
  display: grid;
  place-items: center;
  color: var(--brand-700);
  font-size: 1.4rem;
  font-weight: 700;
}

.cta-band {
  background: linear-gradient(125deg, var(--brand-100), #ebf9ff);
  border-top: 1px solid #ddebe2;
  border-bottom: 1px solid #ddebe2;
}

.testimonials {
  background: var(--surface-soft);
}

.testimonial-track {
  position: relative;
  overflow: hidden;
  min-height: 190px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
}

.quote {
  font-size: 1.1rem;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.gallery-grid img {
  border-radius: 1rem;
  height: 170px;
  width: 100%;
  object-fit: cover;
}

.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-clean li {
  padding: 0.35rem 0;
}

.list-check li::before {
  content: "\2713";
  color: var(--brand-700);
  margin-right: 0.6rem;
  font-weight: 800;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0.9rem;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #e8eeeb;
  text-align: left;
}

.schedule-table th {
  background: var(--brand-100);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cedfd4;
  border-radius: 0.7rem;
  padding: 0.7rem 0.75rem;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.map-frame {
  width: 100%;
  height: 330px;
  border: 0;
  border-radius: 1rem;
}

.site-footer {
  background: #1d3427;
  color: #f1faf3;
  padding: 2.4rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 2fr 1fr 1fr;
}

.site-footer a {
  color: #ccf2d6;
}

.footer-note {
  border-top: 1px solid #31523f;
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #d4ead9;
}

.badge {
  display: inline-block;
  background: var(--warning);
  color: #4f3800;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.image-section {
  position: relative;
  background-position: center;
  background-size: cover;
  color: #fff;
  isolation: isolate;
}

.image-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(15, 36, 24, 0.75) 0%, rgba(18, 61, 39, 0.56) 100%);
  z-index: -1;
}

.image-section .card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink-900);
}

@media (max-width: 1000px) {
  .cards-4,
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 800px) {
  .quick-facts .container,
  .cards-2,
  .cards-3,
  .cards-4,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0.7rem;
    padding-bottom: 0.6rem;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

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

  .hero,
  .page-hero {
    min-height: 60vh;
  }
}
