/* =========================================================
   NAMASTE ONG · Voluntariado en Nepal
   styles.css
   ========================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body,
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- Tokens (paleta extraída del logo) ---------- */
:root {
  /* Azules del logo */
  --teal:         #1E5FAA;   /* azul real (brand principal) */
  --teal-dark:    #123E7A;   /* azul profundo (títulos, hovers) */
  --teal-deep:    #0A1E5C;   /* navy oscuro (navegación dark, footer) */
  --blue-mid:     #2B76C7;
  --blue-light:   #3B8FD6;   /* azul luminoso (acentos) */
  --blue-soft:    #BDD7EC;
  --blue-air:     #E8F2F7;
  --blue-pale:    #D7E7F2;

  /* Neutros fríos alineados con el logo */
  --cream:        #F4F8FC;
  --beige:        #E8F2F7;
  --sand:         #BDD7EC;

  /* Acento (sustituye al dorado, ahora un azul luminoso) */
  --gold:         #3B8FD6;
  --gold-dark:    #1E5FAA;

  /* Tinta */
  --ink:          #0B1A3A;
  --ink-soft:     #334160;
  --line:         rgba(11,26,58,.12);
  --white:        #ffffff;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm:  0 2px 10px rgba(10,30,92,.08);
  --shadow:     0 10px 30px rgba(10,30,92,.12);
  --shadow-lg:  0 24px 60px rgba(10,30,92,.22);

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --container-lg: 1280px;

  --header-h: 92px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { color: var(--ink-soft); }

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

/* ---------- Utilities ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
  position: relative;
  padding-left: 38px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--light { color: var(--gold); }
.eyebrow--light::before { background: var(--gold); }

.section__title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  margin-bottom: 20px;
}
.section__title--light { color: var(--white); }
.section__lead {
  font-size: 1.05rem;
  max-width: 62ch;
  color: var(--ink-soft);
}
.section__lead--light { color: rgba(255,255,255,.86); }

.section__head--center {
  text-align: center;
  margin-inline: auto;
  max-width: 760px;
  margin-bottom: 60px;
}
.section__head--center .section__lead { margin-inline: auto; }
.section__head--center .eyebrow { padding-left: 38px; padding-right: 38px; }
.section__head--center .eyebrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section__head--light .eyebrow::after { background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary   { background: var(--teal);     color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-dark); }

.btn--accent    { background: var(--gold);     color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--gold-dark); color: var(--white); }

.btn--dark      { background: var(--ink);      color: var(--white); }
.btn--dark:hover { background: var(--teal-dark); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn--full { width: 100%; padding: 16px 26px; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }

/* ========================================================
   TOPBAR
   ======================================================== */
.topbar {
  background: var(--teal-deep);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 10px 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar__text { opacity: .85; }
.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar__right a:hover { color: var(--gold); }
.topbar__social {
  display: flex;
  gap: 10px;
}
.topbar__social a {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  transition: all .2s;
}
.topbar__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
@media (max-width: 720px) {
  .topbar__text { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ========================================================
   HEADER
   ======================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.98);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand__logo {
  height: 58px;
  width: auto;
  display: block;
}
.brand__logo--footer {
  height: 72px;
  margin-bottom: 10px;
}
@media (max-width: 620px) {
  .brand__logo { height: 46px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__list {
  display: flex;
  gap: 28px;
}
.nav__list a {
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav__list a:hover,
.nav__list a.is-active { color: var(--teal); }
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--teal);
  transition: width .25s ease;
}
.nav__list a:hover::after,
.nav__list a.is-active::after { width: 100%; }

.nav__cta { margin-left: 8px; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px 32px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s, opacity .3s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list {
    flex-direction: column;
    gap: 6px;
  }
  .nav__list a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__list a::after { display: none; }
  .nav__cta {
    text-align: center;
    margin-top: 10px;
  }
  .burger { display: flex; }
}

/* ========================================================
   HERO
   ======================================================== */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: 100px 0 110px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10,30,92,.25) 0%, rgba(10,30,92,.70) 100%),
    url("assets/hero-nepal.jpg");
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,30,92,.60) 0%, rgba(30,95,170,.30) 55%, transparent 100%);
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.08); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 60px;
  align-items: center;
}

.hero__content { max-width: 680px; }

.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
  line-height: 1.05;
  margin: 14px 0 24px;
  color: var(--white);
  font-weight: 700;
}
.hero__title-mark {
  display: inline-block;
  background: linear-gradient(180deg, transparent 60%, rgba(30,95,170,.95) 60%);
  padding: 0 10px;
  color: var(--white);
}
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.hero__mini {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.22);
  max-width: 620px;
}
.hero__mini li {
  display: flex;
  flex-direction: column;
}
.hero__mini strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}
.hero__mini span {
  font-size: .85rem;
  letter-spacing: .05em;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Hero badge card */
.hero__badge {
  background: rgba(255,255,255,.97);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  max-width: 320px;
  justify-self: end;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.6);
}
.hero__badge-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--beige);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero__badge p {
  font-size: .95rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.5;
}
.hero__badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.avatars {
  display: flex;
}
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.avatar:first-child { margin-left: 0; }
.avatar--a { background-color: var(--teal); }
.avatar--b { background-color: var(--gold); }
.avatar--c { background-color: var(--teal-dark); }
.avatar--d { background-color: var(--sand); }

.hero__badge-number {
  text-align: right;
}
.hero__badge-number strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--teal);
  line-height: 1;
}
.hero__badge-number span {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__badge { justify-self: start; max-width: 100%; width: 100%; }
  .hero { padding: 70px 0 90px; min-height: auto; }
}

/* ========================================================
   SECTIONS
   ======================================================== */
.section {
  padding: clamp(70px, 9vw, 120px) 0;
  position: relative;
}
.section--light { background: var(--white); }
.section--cream { background: var(--blue-air); }
.section--beige { background: var(--blue-pale); }
.section--teal  { background: var(--teal-deep); color: var(--white); }
.section--teal p { color: rgba(255,255,255,.9); }
.section--dark  { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }

/* Section dividers */
.section--teal::before,
.section--teal::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.10), transparent 70%);
  pointer-events: none;
}
.section--teal::before { top: 0; }
.section--teal::after { bottom: 0; transform: rotate(180deg); }

/* ========================================================
   ABOUT
   ======================================================== */
.grid--about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about__media {
  position: relative;
  min-height: 520px;
}
.about__img {
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  position: absolute;
  box-shadow: var(--shadow);
}
.about__img--main {
  inset: 0 40px 60px 0;
  background-image: url("assets/about-nepal.jpg");
}
.about__img--small {
  width: 55%;
  height: 220px;
  right: 0;
  bottom: 0;
  background-image: url("assets/program-pedagogico.jpg");
  border: 6px solid var(--white);
}
.about__ornament {
  position: absolute;
  top: 20px;
  right: -10px;
  width: 90px;
  height: 90px;
  z-index: 2;
  background: var(--white);
  border-radius: 50%;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}

.about__content { max-width: 560px; }
.about__content .section__lead { margin-bottom: 16px; }

.about__bullets {
  margin: 28px 0 36px;
  display: grid;
  gap: 14px;
}
.about__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
}
.about__bullet-ico {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--beige);
  border-radius: 50%;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .grid--about { grid-template-columns: 1fr; gap: 50px; }
  .about__media { min-height: 420px; max-width: 560px; }
  .about__img--main { inset: 0 30px 50px 0; }
}

/* ========================================================
   PROGRAMS — chip grid + detailed alternating cards
   ======================================================== */

/* Resumen superior (chips con números) */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 14px;
}
.program-chip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 22px 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.program-chip::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(.15);
  transform-origin: left;
  transition: transform .35s ease;
}
.program-chip:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-4px);
}
.program-chip:hover::after { transform: scaleX(1); }
.program-chip__num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: .04em;
}
.program-chip__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}
.program-chip__desc {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  line-height: 1.55;
}

/* Bloque con las cards detalladas */
.program-detail-wrap {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 90px;
}
.program-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.program-detail--reverse .program-detail__media { order: 2; }

.program-detail__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 55px -20px rgba(0,0,0,.55);
  aspect-ratio: 4 / 3;
  background: var(--teal-deep);
}
.program-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.program-detail:hover .program-detail__media img { transform: scale(1.04); }

.program-detail__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

.program-detail__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: rgba(255,255,255,.88);
}
.program-detail__body p {
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin: 0;
  font-size: 1rem;
}
.program-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin: 2px 0 4px;
}
.program-detail__list {
  list-style: none;
  padding: 18px 22px;
  margin: 6px 0 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.program-detail__list li {
  color: rgba(255,255,255,.86);
  font-size: .94rem;
  line-height: 1.6;
}
.program-detail__list li strong {
  color: var(--white);
  font-weight: 600;
  margin-right: 6px;
}
.program-detail__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  border-radius: 999px;
  text-decoration: none;
  align-self: flex-start;
  transition: background .25s ease, gap .25s ease, transform .25s ease;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
}
.program-detail__cta:hover {
  background: var(--white);
  gap: 14px;
  transform: translateY(-2px);
}

/* Bloque nota inferior */
.programs__note {
  margin-top: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  padding: 22px 28px;
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.programs__note p {
  color: rgba(255,255,255,.9);
  margin: 0;
  max-width: 62ch;
}

@media (max-width: 1080px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .program-detail { grid-template-columns: 1fr; gap: 30px; }
  .program-detail--reverse .program-detail__media { order: 0; }
  .program-detail-wrap { gap: 70px; margin-top: 56px; }
}
@media (max-width: 560px) {
  .programs-grid { grid-template-columns: 1fr; }
  .program-detail__list { padding: 16px 18px; }
  .program-detail__title { font-size: 1.45rem; }
}

/* ========================================================
   STATS / IMPACTO
   ======================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 28px;
  border-radius: var(--radius);
  text-align: left;
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--teal);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}
.stat__label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat__desc {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  display: block;
}

.impact-quote {
  margin-top: 70px;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  padding: 40px 20px;
  border-top: 1px solid var(--line);
}
.impact-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
  margin-top: 16px;
}

@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ========================================================
   NEPAL
   ======================================================== */
.grid--nepal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.nepal__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.nepal__card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  border-bottom: 3px solid var(--teal);
  transition: transform .3s ease, box-shadow .3s ease;
}
.nepal__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.nepal__card:nth-child(even) { border-bottom-color: var(--gold); }
.nepal__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}
.nepal__card:nth-child(even) .nepal__num { color: var(--gold-dark); }
.nepal__label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: .95rem;
}
.nepal__card p {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 900px) {
  .grid--nepal { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .nepal__grid { grid-template-columns: 1fr; }
}

/* ========================================================
   STEPS
   ======================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  background: var(--white);
  padding: 28px 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: transform .3s;
}
.step:hover { transform: translateY(-6px); }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 16px;
  font-size: 1rem;
}
.step:nth-child(even) .step__num { background: var(--gold); color: var(--ink); }
.step__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.step p {
  font-size: .9rem;
  line-height: 1.55;
  margin: 0;
}

.steps__cta {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 980px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps::before { display: none; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

/* ========================================================
   TESTIMONIAL
   ======================================================== */
.testimonial { padding: 0; }
.testimonial__bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/program-monasterios.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(30%);
}
.testimonial__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(10,30,92,.92) 0%, rgba(18,62,122,.85) 60%, rgba(11,26,58,.92) 100%);
}
.testimonial__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  max-width: 860px;
}
.testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  color: var(--white);
  margin: 22px 0 24px;
  font-style: italic;
  font-weight: 500;
}
.testimonial__author {
  color: var(--gold);
  font-size: .95rem;
  margin-bottom: 32px;
  letter-spacing: .05em;
}

/* ========================================================
   CONTACT
   ======================================================== */
.grid--contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact__info .section__lead { margin-bottom: 34px; }

.contact__list {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact__ico {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.contact__list span {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.contact__list a {
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.contact__list a:hover { color: var(--teal); }

.contact__note {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.contact__note p { margin: 0 0 4px; color: var(--ink); }
.contact__note p:first-child { font-family: var(--font-serif); font-size: 1.05rem; }
.contact__note small { color: var(--ink-soft); font-size: .82rem; }

/* Form */
.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field--row {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}
.field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: .95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30,95,170,.15);
}
.field textarea { resize: vertical; min-height: 120px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.check input { margin-top: 2px; accent-color: var(--teal); }

.form__status {
  margin: 0;
  font-size: .9rem;
  padding: 10px 14px;
  border-radius: 10px;
  display: none;
}
.form__status.is-success { display: block; background: #E7F4EF; color: #1D6B4F; }
.form__status.is-error   { display: block; background: #FCEBEB; color: #A62425; }

@media (max-width: 900px) {
  .grid--contact { grid-template-columns: 1fr; gap: 40px; }
  .contact__form { padding: 28px 24px; }
  .field--row { grid-template-columns: 1fr; }
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  padding-top: 80px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__col h4 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__col--brand p {
  color: rgba(255,255,255,.7);
  margin-top: 20px;
  font-size: .92rem;
  line-height: 1.6;
  max-width: 320px;
}
.footer__social {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, color .25s;
}
.footer__social a:hover { background: var(--gold); color: var(--ink); }

.footer__bottom {
  padding: 22px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.footer__bottom a { color: rgba(255,255,255,.7); }
.footer__bottom a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 520px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ========================================================
   REVEAL ANIMATIONS
   ======================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; }
  html { scroll-behavior: auto; }
}
