:root {
  --blue: #243f8f;
  --blue-dark: #101f4f;
  --yellow: #f3df26;
  --ink: #182033;
  --muted: #5f6980;
  --line: #dfe5ef;
  --soft: #f6f8fc;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(16, 31, 79, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-dark);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 31, 79, 0.72);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(16, 31, 79, 0.12);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav-menu a {
  color: var(--ink);
}

.brand img,
.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.62);
}

.brand strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.82;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-menu a {
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--yellow);
}

.site-header.is-scrolled .nav-menu a:hover {
  color: var(--blue);
}

.nav-menu .nav-cta {
  padding: 11px 16px;
  color: var(--blue-dark);
  background: var(--yellow);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
  background: transparent;
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: 800;
}

.site-header.is-scrolled .nav-toggle {
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  transform: translateY(calc(var(--hero-scroll, 0) * 90px));
}

.hero-slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 900ms ease, transform 6500ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 18, 47, 0.9) 0%, rgba(9, 18, 47, 0.66) 48%, rgba(9, 18, 47, 0.18) 100%),
    linear-gradient(0deg, rgba(9, 18, 47, 0.82), transparent 52%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 172px 0 108px;
  transform: translateY(calc(var(--hero-scroll, 0) * -34px));
}

.hero-eyebrow,
.hero h1,
.hero-lede,
.hero-actions {
  animation: heroTextIn 760ms ease both;
}

.hero h1 {
  animation-delay: 100ms;
}

.hero-lede {
  animation-delay: 210ms;
}

.hero-actions {
  animation-delay: 320ms;
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.94;
}

.hero-changing-text {
  display: block;
  width: fit-content;
  margin-top: 18px;
  padding: 9px 14px 11px;
  color: var(--blue-dark);
  background: var(--yellow);
  border-radius: 6px;
  font-size: clamp(1.15rem, 2.8vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 260ms ease;
}

.hero-changing-text.is-changing,
.hero-lede.is-changing {
  opacity: 0;
  transform: translateY(12px);
}

.hero-lede {
  max-width: 710px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 38px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.42);
  transition: width 180ms ease, background 180ms ease;
}

.hero-dot.is-active {
  width: 58px;
  background: var(--yellow);
}

.scroll-cue {
  position: absolute;
  right: min(44px, 5vw);
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.scroll-cue span::after {
  content: "";
  display: block;
  width: 1px;
  height: 18px;
  background: var(--yellow);
  animation: scrollCue 1.6s ease-in-out infinite;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  color: var(--blue-dark);
  background: var(--yellow);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollCue {
  0% {
    transform: translateY(-22px);
  }
  100% {
    transform: translateY(46px);
  }
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.intro {
  background: var(--white);
}

.intro-grid,
.impact-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.section-kicker {
  color: var(--blue);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  color: var(--blue-dark);
}

h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.2rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.programs,
.gallery-section {
  background: var(--soft);
}

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

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

.program-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.program-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.program-card div {
  padding: 24px;
}

.program-card p {
  margin-top: 12px;
  color: var(--muted);
}

.impact-band {
  padding: 88px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.impact-band h2,
.impact-band h3,
.impact-stats dt {
  color: var(--white);
}

.impact-band p {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.impact-band .section-kicker {
  color: var(--yellow);
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.impact-stats div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.impact-stats dt {
  font-weight: 900;
  font-size: 1.05rem;
}

.impact-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 26px;
  align-items: stretch;
}

.story-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 30px;
  align-items: center;
}

.story-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.story-feature p:not(.section-kicker),
.quote-panel p {
  margin-top: 18px;
  color: var(--muted);
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-dark);
}

.quote-panel h3,
.quote-panel p {
  color: var(--white);
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.gallery {
  columns: 3 260px;
  column-gap: 18px;
}

.gallery figure {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 31, 79, 0.1);
}

.gallery img {
  width: 100%;
  object-fit: cover;
}

.gallery figcaption {
  padding: 12px 14px;
  color: var(--blue-dark);
  font-weight: 900;
}

.cta-section {
  padding: 96px 0;
  background: var(--white);
}

.cta-grid {
  align-items: center;
}

.cta-grid p {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
}

.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact-card p {
  margin-top: 12px;
  color: var(--muted);
}

.contact-card .button {
  margin-top: 24px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--white);
  background: #1da851;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(29, 168, 81, 0.28);
  font-weight: 900;
  text-decoration: none;
}

.whatsapp-float::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--blue-dark);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: var(--white);
  font-weight: 900;
}

.footer-meta {
  display: grid;
  gap: 6px;
  text-align: right;
}

.designer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.designer-credit a {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: none;
}

.designer-credit a:hover {
  text-decoration: underline;
}

.heart-beat {
  position: relative;
  width: 13px;
  height: 13px;
  background: #ff4f7b;
  transform: rotate(45deg);
  animation: heartBeat 1.12s ease-in-out infinite;
}

.heart-beat::before,
.heart-beat::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ff4f7b;
}

.heart-beat::before {
  left: -7px;
}

.heart-beat::after {
  top: -7px;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
  }
  18% {
    transform: rotate(45deg) scale(1.2);
  }
  32% {
    transform: rotate(45deg) scale(0.94);
  }
  46% {
    transform: rotate(45deg) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .heart-beat {
    animation: none;
  }
}

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

  .nav-menu {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a,
  .site-header .nav-menu a {
    padding: 12px;
    color: var(--ink);
  }

  .nav-menu .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 680px;
  }

  .scroll-cue {
    display: none;
  }

  .intro-grid,
  .impact-grid,
  .cta-grid,
  .story-grid,
  .story-feature {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, var(--max));
    min-height: 74px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    max-width: 160px;
    font-size: 0.78rem;
  }

  .nav-menu {
    top: 74px;
    left: 12px;
    right: 12px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: min(100% - 24px, var(--max));
    padding: 136px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 16vw, 4rem);
  }

  .hero-changing-text {
    font-size: clamp(1rem, 6vw, 1.4rem);
  }

  .hero-controls {
    bottom: 22px;
  }

  .button {
    width: 100%;
  }

  .section,
  .cta-section {
    padding: 68px 0;
  }

  .impact-band {
    padding: 68px 0;
  }

  .impact-stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta,
  .designer-credit {
    text-align: left;
    justify-content: flex-start;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 48px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .whatsapp-float::before {
    display: none;
  }

  .whatsapp-float::after {
    content: "WA";
    color: var(--white);
    font-size: 0.78rem;
    letter-spacing: 0;
    font-weight: 900;
  }
}
