:root {
  --forest: #205b35;
  --green: #337846;
  --leaf: #7da84f;
  --mint: #eef7e8;
  --sky: #82abc6;
  --gold: #efc55a;
  --paper: #fffdf5;
  --white: #ffffff;
  --ink: #1d241f;
  --muted: #667066;
  --line: rgba(32, 91, 53, 0.15);
  --shadow: 0 22px 60px rgba(29, 75, 41, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 26px 6vw;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
  z-index: 50;
}

.site-header.scrolled {
  background: rgba(255, 253, 245, 0.94);
  box-shadow: 0 10px 35px rgba(32, 91, 53, 0.08);
  padding-block: 16px;
}

.brand,
.footer-brand {
  align-items: center;
  display: flex;
  gap: 13px;
}

.brand-mark {
  display: grid;
  height: 54px;
  position: relative;
  width: 54px;
}

.brand-mark span {
  background: var(--green);
  border-radius: 100% 8px 100% 8px;
  height: 34px;
  position: absolute;
  transform-origin: bottom right;
  width: 19px;
}

.brand-mark span:nth-child(1) {
  left: 17px;
  top: 5px;
  transform: rotate(-44deg);
}

.brand-mark span:nth-child(2) {
  left: 23px;
  top: 13px;
  transform: rotate(0deg);
}

.brand-mark span:nth-child(3) {
  left: 30px;
  top: 20px;
  transform: rotate(44deg);
}

.brand-text strong,
.footer-brand strong {
  color: var(--forest);
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-text small,
.footer-brand small {
  color: var(--ink);
  display: block;
  font-size: 10px;
  font-weight: 800;
  margin-top: 4px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: center;
}

.main-nav a {
  color: #18231b;
  font-size: 14px;
  font-weight: 700;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
}

.main-nav a.active::after {
  background: var(--green);
  border-radius: 999px;
  bottom: -14px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.header-cta,
.btn {
  align-items: center;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  white-space: nowrap;
}

.header-cta,
.btn-primary {
  background: var(--green);
  box-shadow: 0 14px 30px rgba(51, 120, 70, 0.22);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--green);
  color: var(--forest);
}

.btn-soft {
  background: #f4eadc;
  color: #7b4b20;
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: none;
  height: 44px;
  padding: 0;
  width: 44px;
}

.nav-toggle span {
  background: var(--forest);
  border-radius: 999px;
  display: block;
  height: 3px;
  margin: 6px auto;
  width: 23px;
}

.hero {
  min-height: 760px;
  overflow: hidden;
  padding: 170px 6vw 82px;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-photo {
  background:
    linear-gradient(90deg, rgba(255, 253, 245, 0.99) 0%, rgba(255, 253, 245, 0.92) 38%, rgba(255, 253, 245, 0.18) 70%),
    linear-gradient(180deg, rgba(255, 253, 245, 0) 72%, var(--paper) 100%),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=82");
  background-position: center;
  background-size: cover;
  height: 100%;
  transform: scale(1.02);
}

.hero::after {
  background: var(--paper);
  border-radius: 55% 55% 0 0;
  bottom: -76px;
  content: "";
  height: 135px;
  left: -4vw;
  position: absolute;
  right: -4vw;
}

.hero-content {
  max-width: 690px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  align-items: center;
  color: var(--forest);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0;
  margin: 0 0 18px;
}

.eyebrow {
  background: var(--mint);
  border-radius: 999px;
  padding: 10px 18px;
}

.eyebrow span {
  background: var(--green);
  border-radius: 100% 8px 100% 8px;
  color: transparent;
  height: 17px;
  overflow: hidden;
  transform: rotate(-35deg);
  width: 17px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 22px;
}

h1 span,
.section-kicker,
.section-heading h2 span {
  color: var(--leaf);
}

.hero-content > p:not(.eyebrow) {
  color: #2e3931;
  font-size: 18px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 34px 0 50px;
}

.hero-features {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-features article {
  display: grid;
  gap: 2px 12px;
  grid-template-columns: 45px 1fr;
}

.hero-features span {
  align-items: center;
  background: #edf6e6;
  border: 2px solid rgba(125, 168, 79, 0.28);
  border-radius: 50%;
  display: grid;
  font-size: 20px;
  grid-row: span 2;
  height: 42px;
  place-items: center;
  width: 42px;
}

.hero-features strong {
  font-size: 13px;
}

.hero-features small {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 78px 6vw;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.ppdb-copy h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  margin-bottom: 18px;
}

.section-copy p,
.section-heading p:not(.section-kicker),
.ppdb-copy p {
  color: var(--muted);
  font-size: 17px;
}

.intro-section {
  align-items: start;
  display: grid;
  gap: 52px;
  grid-template-columns: 0.9fr 1.1fr;
}

.value-grid,
.facility-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid article,
.facility-grid article,
.program-card,
.activity-grid article,
.info-grid article,
.testimonial-grid article,
.download-grid article {
  background: var(--white);
  border: 1px solid rgba(32, 91, 53, 0.09);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.value-grid article,
.facility-grid article {
  padding: 26px;
}

.value-grid span {
  color: var(--leaf);
  font-weight: 900;
}

.value-grid h3,
.facility-grid strong {
  display: block;
  font-size: 19px;
  margin: 8px 0;
}

.value-grid p,
.facility-grid p,
.program-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.program-section {
  background: linear-gradient(180deg, rgba(238, 247, 232, 0), rgba(238, 247, 232, 0.72));
}

.program-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  overflow: hidden;
  padding: 26px;
}

.program-icon {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: grid;
  font-size: 25px;
  height: 62px;
  margin-bottom: 18px;
  place-items: center;
  width: 62px;
}

.program-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.program-card p {
  flex: 1;
}

.program-image,
.gallery-card {
  background-position: center;
  background-size: cover;
}

.program-image {
  border-radius: 18px;
  height: 160px;
  margin-top: 24px;
}

.stats-band {
  background: #edf4e9;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 48px 6vw;
}

.stats-band article {
  border-right: 1px solid var(--line);
  padding: 8px 28px;
  text-align: center;
}

.stats-band article:last-child {
  border-right: 0;
}

.stats-band span {
  color: var(--green);
  display: block;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.stats-band strong {
  display: block;
  margin-bottom: 5px;
}

.stats-band p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.facility-grid {
  margin-top: 28px;
}

.facility-grid span {
  align-items: center;
  background: var(--mint);
  border-radius: 14px;
  display: grid;
  font-size: 25px;
  height: 50px;
  margin-bottom: 14px;
  place-items: center;
  width: 50px;
}

.principal-section {
  align-items: center;
  background: linear-gradient(90deg, #eef7e8, #fbfff6);
  display: grid;
  gap: 46px;
  grid-template-columns: 0.74fr 1fr;
  padding: 76px 6vw;
}

.principal-photo {
  background:
    linear-gradient(180deg, rgba(32, 91, 53, 0.02), rgba(32, 91, 53, 0.12)),
    url("https://images.unsplash.com/photo-1544717305-2782549b5136?auto=format&fit=crop&w=900&q=82");
  background-position: center;
  background-size: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.principal-section h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 16px;
}

.principal-section p {
  color: var(--muted);
  font-size: 17px;
}

.principal-section strong {
  color: var(--forest);
}

.activity-section,
.testimonial-section {
  background: #f8fbf3;
}

.activity-grid,
.info-grid,
.download-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.activity-grid article,
.info-grid article,
.download-grid article {
  padding: 26px;
}

.activity-grid span {
  color: var(--leaf);
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
}

.activity-grid strong,
.download-grid strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.activity-grid p,
.download-grid p,
.info-grid p,
.testimonial-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card {
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-height: 250px;
  overflow: hidden;
  position: relative;
}

.gallery-card.large {
  grid-column: span 2;
}

.gallery-card::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(11, 40, 20, 0.68));
  content: "";
  inset: 0;
  position: absolute;
}

.gallery-card strong {
  bottom: 18px;
  color: #fff;
  font-size: 18px;
  left: 20px;
  position: absolute;
  right: 20px;
  z-index: 1;
}

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

.info-grid small {
  color: var(--leaf);
  font-weight: 900;
}

.info-grid h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 10px 0;
}

.info-grid a,
.download-grid a {
  color: var(--green);
  display: inline-flex;
  font-weight: 900;
  margin-top: 18px;
}

.testimonial-section {
  display: grid;
  gap: 32px;
  grid-template-columns: 0.78fr 1fr;
}

.testimonial-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-grid article {
  padding: 30px;
}

.testimonial-grid p {
  font-size: 18px;
}

.testimonial-grid strong {
  color: var(--forest);
  display: block;
  margin-top: 16px;
}

.ppdb-section {
  background:
    linear-gradient(90deg, rgba(32, 91, 53, 0.9), rgba(51, 120, 70, 0.78)),
    url("https://images.unsplash.com/photo-1577896851231-70ef18881754?auto=format&fit=crop&w=1700&q=82");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: grid;
  gap: 54px;
  grid-template-columns: 0.86fr 1fr;
  padding: 82px 6vw;
}

.ppdb-copy .section-kicker,
.ppdb-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.ppdb-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ppdb-points span {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 800;
  padding: 10px 14px;
}

.ppdb-steps {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding-left: 20px;
}

.ppdb-steps li {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.ppdb-form {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  color: var(--ink);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px;
}

.ppdb-form label {
  color: var(--forest);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
}

.ppdb-form input,
.ppdb-form select,
.ppdb-form textarea {
  background: #fbfbf7;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  min-height: 50px;
  outline: none;
  padding: 12px 14px;
}

.ppdb-form textarea {
  resize: vertical;
}

.ppdb-form input:focus,
.ppdb-form select:focus,
.ppdb-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(51, 120, 70, 0.12);
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  grid-column: 1 / -1;
  margin: 0;
}

.download-section {
  background: #f8fbf3;
}

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

.site-footer {
  background: linear-gradient(90deg, #1f5b35, #337846);
  color: #fff;
  display: grid;
  gap: 34px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  padding: 52px 6vw 24px;
}

.footer-main p,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.84);
}

.site-footer .brand-mark span {
  background: #fff;
}

.footer-brand strong,
.footer-brand small {
  color: #fff;
}

.site-footer h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 20px;
}

.whatsapp-float {
  align-items: center;
  background: #25d366;
  border-radius: 50%;
  bottom: 22px;
  box-shadow: 0 18px 35px rgba(12, 88, 38, 0.28);
  color: #fff;
  display: grid;
  font-size: 14px;
  font-weight: 900;
  height: 58px;
  place-items: center;
  position: fixed;
  right: 22px;
  width: 58px;
  z-index: 45;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    background: rgba(255, 253, 245, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    grid-column: 1 / -1;
    padding: 22px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a.active::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

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

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

  .stats-band article {
    border-bottom: 1px solid var(--line);
  }

  .intro-section,
  .ppdb-section,
  .principal-section,
  .testimonial-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding: 16px 22px;
  }

  .brand-mark {
    height: 44px;
    width: 44px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 130px 22px 76px;
  }

  .hero-photo {
    background:
      linear-gradient(180deg, rgba(255, 253, 245, 0.98) 0%, rgba(255, 253, 245, 0.88) 58%, rgba(255, 253, 245, 0.65) 100%),
      url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1000&q=82");
    background-position: center;
  }

  h1 {
    font-size: 38px;
  }

  .hero-actions,
  .hero-features,
  .program-grid,
  .stats-band,
  .value-grid,
  .facility-grid,
  .activity-grid,
  .info-grid,
  .testimonial-grid,
  .download-grid,
  .gallery-grid,
  .ppdb-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .section,
  .ppdb-section {
    padding: 58px 22px;
  }

  .gallery-card.large {
    grid-column: auto;
  }

  .stats-band {
    padding: 28px 22px;
  }

  .stats-band article {
    border-right: 0;
    padding: 24px 10px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
