:root {
  --green: #0b6e4f;
  --green-deep: #064433;
  --gold: #ffd23f;
  --ink: #17241c;
  --muted: #5d6a62;
  --paper: #f3f6f4;
  --line: rgba(11, 110, 79, 0.16);
  --photo: #c8c8c8;
  --header: 76px;
  --wrap: 1120px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 17px/1.6 var(--sans);
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow--green { color: var(--green); }

.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.masthead.is-stuck {
  background: rgba(6, 68, 51, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 20px;
}

.brand {
  position: relative;
  z-index: 2;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}

.brand__name {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.brand__name em {
  color: var(--gold);
  font-style: italic;
}

.brand__place {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--gold); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header) + 48px) 0 72px;
  color: #fff;
  background:
    url("assets/hero.jpg") center 30% / cover no-repeat;
  overflow: hidden;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 36, 28, 0.88) 0%, rgba(11, 110, 79, 0.55) 48%, rgba(0, 0, 0, 0.25) 100%);
}

.hero__copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: max(20px, calc((100% - var(--wrap)) / 2));
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 560;
}

.hero .eyebrow { color: #fff; }

.hero h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 560;
}

.hero__lead {
  max-width: 38ch;
  margin: 22px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__scroll {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.pill--gold {
  background: var(--gold);
  color: #14210a;
}

.pill--gold:hover { background: #ffe56a; }

.pill--whatsapp {
  gap: 8px;
  padding: 0 18px;
  line-height: 1;
  white-space: nowrap;
  background: #25d366;
  color: #000;
}

.pill--whatsapp svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.pill--whatsapp:hover { background: #1ebe5d; }

.pill--ghost {
  gap: 8px;
  padding: 0 18px;
  line-height: 1;
  white-space: nowrap;
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.75);
}

.pill--ghost svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.pill--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.pill--block {
  width: 100%;
  max-width: 100%;
}

.ribbon {
  margin: 0;
  padding: 16px 20px;
  background: var(--gold);
  color: #14210a;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story {
  padding: 96px 0 40px;
  scroll-margin-top: var(--header);
}

.story__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.story h2,
.people h2,
.programs h2,
.contact h2,
.reasons h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 58px);
}

.story__body p {
  margin: 0 0 16px;
  color: #2b3831;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.principles article {
  min-height: 240px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(6, 68, 51, 0.06);
}

.principles h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 28px;
}

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

.reasons {
  margin-top: 72px;
  padding: 88px 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 210, 63, 0.18), transparent 28%),
    var(--green);
  color: #fff;
}

.reasons .eyebrow { color: #fff; }

.reasons h2 { max-width: 12ch; }

.reasons ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}

.reasons li {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  counter-increment: reason;
}

.reasons li::before {
  content: "0" counter(reason);
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--serif);
  font-size: 42px;
}

.reasons strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 560;
}

.reasons span {
  display: block;
  color: rgba(255, 255, 255, 0.84);
}

.people {
  padding: 96px 0;
  scroll-margin-top: var(--header);
}

.people h3 {
  margin: 56px 0 22px;
  color: var(--green);
  font-size: 22px;
}

.people__row {
  display: grid;
  gap: 28px 18px;
}

.people__row--four { grid-template-columns: repeat(4, 1fr); }
.people__row--three { grid-template-columns: repeat(3, 1fr); }

.person { text-align: center; }

.avatar {
  display: block;
  width: 148px;
  height: 148px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #c8c8c8;
  box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line);
}

.person strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.person span {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.programs {
  padding: 20px 0 96px;
  scroll-margin-top: var(--header);
}

.program-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.program-list article {
  min-height: 280px;
  padding: 28px 24px;
  background: var(--green-deep);
  color: #fff;
  border-radius: 22px;
}

.program-list__index {
  margin: 0 0 28px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 40px;
}

.program-list h3 {
  margin: 0 0 12px;
  font-size: 32px;
  color: #fff;
}

.program-list p,
.program-list li { color: rgba(255, 255, 255, 0.84); }

.program-list ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.contact {
  padding: 28px 0 100px;
  scroll-margin-top: var(--header);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: start;
  min-width: 0;
  padding: 48px;
  background: var(--green);
  color: #fff;
  border-radius: 28px;
}

.contact__grid > * { min-width: 0; }

.contact .eyebrow { color: #fff; }

.contact h2 { max-width: 10ch; }

.contact dl {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
}

.contact dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact dd {
  margin: 4px 0 0;
}

.contact a[href^="mailto:"] { overflow-wrap: anywhere; }

.contact a { color: #fff; }

.contact dd a + a { margin-left: 16px; }

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.socials a + a { margin-left: 0; }

.socials a:hover {
  background: var(--gold);
  color: #14210a;
}

.socials svg {
  display: block;
}

.contact-form {
  display: grid;
  gap: 8px;
  padding: 28px;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
}

.contact-form h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 32px;
}

.contact-form label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fafafa;
  font: inherit;
  color: var(--ink);
}

.contact-form textarea { resize: vertical; }

.form-status {
  min-height: 1.3em;
  margin: 4px 0 0;
  font-size: 14px;
}

.colophon {
  padding: 28px 0 96px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.colophon p { margin: 0; }

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #000;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: opacity 0.2s ease, background 0.2s ease;
}

.whatsapp svg {
  width: 32px;
  height: 32px;
}

.whatsapp:hover { background: #1ebe5d; }

@media (max-width: 900px) {
  .story__grid,
  .principles,
  .reasons ol,
  .people__row--four,
  .people__row--three,
  .program-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact__grid { grid-template-columns: 1fr; }

  .people__row--four { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 32px;
    background: var(--green-deep);
  }

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

  .site-nav a {
    font-family: var(--serif);
    font-size: 40px;
    line-height: 1.15;
  }

  .hero { min-height: 100svh; align-items: flex-end; }

  .hero__actions { padding-right: 76px; }

  .hero h1 { max-width: none; font-size: 52px; }

  .hero__scroll { display: none; }

  .story__grid,
  .principles,
  .reasons ol,
  .people__row--four,
  .people__row--three,
  .program-list,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .story,
  .people { padding: 64px 0; }

  .reasons { padding: 64px 0; }

  .contact__grid { padding: 28px 20px; }

  .contact-form { padding: 22px 18px; }

  .contact-form h3 { font-size: 28px; }

  .avatar { width: 120px; height: 120px; }
}
