/* Intercambio — landing independiente */

:root {
  --brand: #066aab;
  --brand-deep: #055a91;
  --accent: #fcb900;
  --accent-deep: #e0a600;
  --black: #000000;
  --white: #ffffff;
  --gray: #c8c8c8;
  --gray-soft: #f1f1f1;
  --gray-pale: #fafafa;

  /* Semánticos */
  --ink: var(--black);
  --ink-soft: #222222;
  --paper: var(--gray-pale);
  --paper-alt: var(--gray-soft);
  --gold: var(--accent);
  --gold-deep: var(--accent-deep);
  --teal: var(--brand);
  --muted: #6e6e6e;
  --line: rgba(0, 0, 0, 0.1);
  --font-display: "Oswald", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 9.5rem;
  --header-h-scrolled: 5.5rem;
  --topbar-h: 2.6rem;
  --toc-h: 3.25rem;
  --container: 1120px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.1);

  /* Copyright block */
  --clr-black: var(--black);
  --clr-white: var(--white);
  --primary: var(--accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: 0.02em;
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.04em;
}

.section {
  padding: clamp(3rem, 6vh, 5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Topbar (antes del header, siempre visible) */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  min-height: var(--topbar-h);
  background: var(--black);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.topbar.is-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1.25rem;
  min-height: var(--topbar-h);
  padding: 0.35rem 0;
}

.topbar__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.25rem;
}

.topbar__link:hover,
.topbar__social-link:hover {
  color: var(--gold);
}

.topbar__address {
  color: rgba(255, 255, 255, 0.72);
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar__social-link {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s ease, background 0.25s ease;
}

/* Header: solo logo + nav */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    top 0.3s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  top: 0;
  background: rgba(0, 0, 0, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
  transition: min-height 0.3s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  min-height: var(--header-h-scrolled);
}

.site-logo img {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  transition: width 0.3s var(--ease), transform 0.3s var(--ease);
}

.site-header.is-scrolled .site-logo img {
  width: 80px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.site-nav > a:hover,
.nav-item__link:hover {
  color: var(--gold);
}

.site-nav > a.nav-cta {
  padding: 0.7rem 1.15rem;
  background: var(--accent);
  color: var(--ink);
  text-shadow: none;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 0 rgba(252, 185, 0, 0.45);
  animation: nav-cta-pulse 1.8s ease-in-out infinite;
}

.site-nav > a.nav-cta--educativos {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
  animation: none;
}

.site-nav > a.nav-cta::after {
  display: none;
}

.site-nav > a.nav-cta:hover,
.site-nav > a.nav-cta.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
  transform: translateY(-2px);
}

.site-nav > a.nav-cta--educativos:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

@keyframes nav-cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(252, 185, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(252, 185, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav > a.nav-cta {
    animation: none;
  }
}

.site-nav > a::after,
.nav-item__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav > a:hover::after,
.site-nav > a.is-active::after,
.nav-item__link:hover::after,
.nav-item__link.is-active::after {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
}

.nav-item__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item__link::before {
  content: none;
}

.nav-sub {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 0;
  min-width: 220px;
  padding: 0.55rem;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  z-index: 60;
}

.nav-item--has-sub:hover .nav-sub,
.nav-item--has-sub.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-sub a {
  display: block;
  padding: 0.7rem 0.85rem;
  text-shadow: none;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.nav-sub a:hover,
.nav-sub a.is-current {
  background: rgba(252, 185, 0, 0.15);
  color: var(--accent);
}

.nav-sub a::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero__slider {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  animation: hero-fade 12s ease-in-out infinite;
  will-change: opacity, transform;
  overflow: hidden;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__slide--1 {
  animation-name: hero-fade-a;
}

.hero__slide--2 {
  animation-name: hero-fade-b;
}

/* Crossfade infinito: A visible → B visible → A visible */
@keyframes hero-fade-a {
  0%,
  8% {
    opacity: 1;
    transform: scale(1.04);
  }
  42%,
  58% {
    opacity: 0;
    transform: scale(1);
  }
  92%,
  100% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes hero-fade-b {
  0%,
  8% {
    opacity: 0;
    transform: scale(1);
  }
  42%,
  58% {
    opacity: 1;
    transform: scale(1.04);
  }
  92%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.hero__overlay {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(3.5rem, 8vh, 5.5rem);
  max-width: 40rem;
  margin-left: max(calc((100% - var(--container)) / 2), 1.25rem);
  margin-right: auto;
  width: min(100% - 2.5rem, 40rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero .eyebrow {
  color: var(--gold);
}

.hero__lead {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Programas */
.programas {
  background: var(--paper);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(6, 106, 171, 0.35);
}

.program-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-soft);
}

.program-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.program-card:hover .program-card__media img {
  transform: scale(1.06);
}

.program-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.program-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.2rem 1.4rem;
  border-top: 3px solid var(--gold);
  flex: 1;
}

.program-card h3 {
  margin: 0;
  color: var(--ink);
  text-transform: uppercase;
}

.program-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Razones */
.razones {
  background: var(--ink);
  color: var(--white);
}

.razones .eyebrow {
  color: var(--gold);
}

.razones .section-head h2 {
  color: var(--white);
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.reason {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reason:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.reason__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.reason h3 {
  margin-bottom: 0.55rem;
}

.reason p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 52rem;
}

/* About */
.about {
  background: var(--paper-alt);
}

.about__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.about__intro {
  max-width: 42rem;
}

.about__intro p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.about__blocks {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}

.about-block {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem;
  border-radius: 4px;
}

.about-block h3 {
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.about-block p {
  color: var(--muted);
  font-size: 0.98rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat span {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}

/* Testimonials */
.testimonials {
  background: var(--paper);
}

.testimonials__layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: min(100% - 2.5rem, var(--container));
}

.testimonials__intro {
  max-width: 28rem;
}

.testimonials__intro .eyebrow {
  color: var(--brand);
}

.testimonials__intro h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.25;
  color: var(--ink);
}

.testimonials__sub {
  margin: 0.85rem 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}

.testimonials__carousel {
  min-width: 0;
}

.testimonials__wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
}

.testimonials__viewport {
  overflow: hidden;
  border-radius: 6px;
}

.testimonials__track {
  display: flex;
  transition: transform 0.45s var(--ease);
}

.testimonial {
  flex: 0 0 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.testimonial__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
  list-style: none;
  padding: 0;
}

.testimonial__stars li {
  width: 1.05rem;
  height: 1.05rem;
  background: var(--accent);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.testimonial p {
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-soft);
}

.testimonial strong {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.testimonial span {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonials__nav {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.testimonials__nav:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.testimonials__dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  background: var(--gray);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.testimonials__dots button.is-active {
  background: var(--accent);
  width: 1.4rem;
  border-radius: 999px;
}

/* Partners / marcas */
.partners {
  --partners-gap: 1.25rem;
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(2.75rem, 6vh, 4.5rem);
}

.partners__layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1.25fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.partners__intro {
  max-width: 22rem;
}

.partners__intro .eyebrow {
  color: var(--accent);
}

.partners__intro h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.25;
  color: var(--white);
}

.partners__carousel {
  min-width: 0;
}

.partners__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partners__track {
  display: flex;
  gap: var(--partners-gap);
  width: 100%;
  will-change: transform;
  transition: transform 0.55s var(--ease);
}

.partners__item {
  flex: 0 0 calc((100% - 2 * var(--partners-gap)) / 3);
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 0.75rem 1rem;
}

.partners__item img {
  width: auto;
  height: clamp(2.5rem, 4.55vw, 3.4rem);
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
  .partners__track {
    transition: none;
  }
}

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 3.5rem;
  justify-content: space-between;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.8fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-block h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-block p + p {
  margin-top: 0.55rem;
}

.footer-block a:hover {
  color: var(--gold);
}

.footer-block ul {
  display: grid;
  gap: 0.45rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.footer-nav__label {
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-nav a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-nav li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
}

.social {
  display: flex;
  gap: 0.65rem;
}

.social__link {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.social__link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-copyright {
  background-color: var(--clr-black);
  padding: 2rem 7%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-legal {
  color: var(--clr-white);
  font-size: 0.875rem;
  margin: 0.5rem 0;
  line-height: 1.6;
  font-weight: 600;
}

.copyright-brand {
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
  color: var(--primary);
}

.copyright-author {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  margin: 0.5rem 0;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.copyright-author-link {
  color: var(--clr-white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.copyright-author-link:hover {
  color: var(--primary);
}

/* WhatsApp */
.wa {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.wa.wa--direct {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.wa.wa--direct:hover {
  background: #1ebe57;
  transform: scale(1.05);
  color: #fff;
}

.wa.wa--direct .wa__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: 0;
  pointer-events: none;
}

.wa.wa--direct .wa__icon {
  position: relative;
  z-index: 1;
  display: block;
  transition: none;
}

.wa__toggle {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.wa__toggle:hover {
  background: #1ebe57;
  transform: scale(1.05);
}

.wa.is-open .wa__toggle {
  background: #128c7e;
}

.wa__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}

.wa.is-open .wa__pulse {
  animation: none;
  opacity: 0;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.wa__icon {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.3s var(--ease);
}

.wa__icon--close {
  opacity: 0;
  transform: rotate(-45deg) scale(0.7);
}

.wa.is-open .wa__icon--chat {
  opacity: 0;
  transform: rotate(45deg) scale(0.7);
}

.wa.is-open .wa__icon--close {
  opacity: 1;
  transform: none;
}

.wa__menu {
  width: min(calc(100vw - 2rem), 280px);
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(12, 18, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.32s var(--ease), visibility 0.28s;
}

.wa.is-open .wa__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.wa__menu-title {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.2rem 0.35rem;
}

.wa__option {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.wa__option:hover {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.35);
}

.wa__option strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .program-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__blocks,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar__address {
    display: none;
  }

  .topbar {
    font-size: 0.78rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem 1rem;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: none;
  }

  .site-nav > a.nav-cta {
    margin-top: 0.65rem;
    text-align: center;
    justify-content: center;
    border-bottom: 0;
    animation: none;
  }

  .site-nav > a.nav-cta--educativos {
    margin-top: 0.35rem;
  }

  .site-logo img {
    width: 110px;
  }

  .site-header.is-scrolled .site-logo img {
    width: 72px;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-item__link {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 0;
  }

  .nav-item__link::after {
    display: none;
  }

  .nav-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0.5rem 0.75rem;
    display: none;
    min-width: 0;
  }

  .nav-item--has-sub.is-open .nav-sub {
    display: block;
  }

  .nav-sub a {
    border-bottom: 0;
    padding: 0.55rem 0;
    font-size: 0.8rem;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .reason {
    grid-template-columns: 3rem 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .testimonials__layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .testimonials__intro {
    max-width: none;
  }

  .partners__layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .partners__intro {
    max-width: none;
  }

  .testimonials__wrap {
    grid-template-columns: 1fr;
  }

  .testimonials__nav {
    display: none;
  }

  .hero__content {
    margin-left: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero__slide,
  .testimonials__track {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__slide--1 {
    opacity: 1;
    transform: none;
  }

  .hero__slide--2 {
    opacity: 0;
  }
}

/* Página interior de programa */
.page-inner {
  overflow-x: hidden;
}

/* Breadcrumb — debajo del hero */
.breadcrumb {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 0.85rem 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.25rem;
  color: #b0b0b0;
}

.breadcrumb__link {
  color: var(--brand);
  text-decoration: none;
}

.breadcrumb__link:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

.breadcrumb__current {
  color: var(--ink-soft);
}

.page-inner .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-inner .site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.btn--outline {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn--outline:hover {
  background: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}

.program-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  padding-top: calc(var(--topbar-h) + var(--header-h) + 1rem);
}

.program-hero__media {
  position: absolute;
  inset: 0;
}

.program-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.program-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
}

.program-hero__content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3.25rem;
}

.program-hero .eyebrow {
  color: var(--accent);
}

.program-hero__lead {
  margin: 1rem 0 1.1rem;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.program-hero__note {
  margin: 0 0 1.75rem;
  max-width: 52rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.55;
  font-style: italic;
}

.program-spotlight {
  background: var(--accent);
  color: var(--ink);
  padding: clamp(1.6rem, 3.5vw, 2.35rem) 0;
  position: relative;
  overflow: hidden;
}

.program-spotlight::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.45rem;
  background: var(--ink);
}

.program-spotlight__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: center;
}

.program-spotlight__tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  padding: 0.5rem 0.85rem;
  background: var(--brand);
  border: 2px solid var(--brand-deep);
  white-space: nowrap;
  animation: spotlight-pulse 1.6s ease-in-out infinite;
}

.program-spotlight__text {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink);
}

.program-spotlight__copy {
  display: grid;
  gap: 0.65rem;
}

.program-spotlight__text strong {
  font-weight: 700;
}

@keyframes spotlight-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(6, 106, 171, 0.55);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(6, 106, 171, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-spotlight__tag {
    animation: none;
  }
}

@media (max-width: 640px) {
  .program-spotlight__inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.program-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  scroll-margin-top: calc(var(--header-h-scrolled) + var(--toc-h) + 0.75rem);
}

.program-section--alt {
  background: var(--gray-soft);
}

/* TOC horizontal sticky (páginas de programa) */
.program-toc {
  position: sticky;
  top: var(--header-h-scrolled);
  z-index: 40;
  background: linear-gradient(90deg, #061820 0%, #0a2f45 42%, #066aab 100%);
  border-top: 0;
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.program-toc__inner {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  min-height: var(--toc-h);
}

.program-toc__title {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  margin: 0;
  max-width: min(280px, 38%);
  padding: 0.65rem 1.15rem 0.65rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.program-toc__links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.4rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.program-toc__links::-webkit-scrollbar {
  display: none;
}

.program-toc__link {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.program-toc__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.program-toc__link.is-active {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(252, 185, 0, 0.35);
}

@media (max-width: 768px) {
  .program-toc__inner {
    gap: 0.75rem;
  }

  .program-toc__title {
    max-width: 42%;
    padding-right: 0.75rem;
    font-size: 0.78rem;
  }

  .program-toc__link {
    flex: 0 0 auto;
    padding: 0.5rem 0.85rem;
    font-size: 0.72rem;
  }
}

/* Beneficios */
.benefits {
  background:
    linear-gradient(160deg, #061820 0%, #0a2f45 48%, #066aab 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 185, 0, 0.22), transparent 70%);
  pointer-events: none;
}

.benefits__head {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.benefits .eyebrow {
  color: var(--accent);
}

.benefits__head h2 {
  color: var(--white);
}

.benefits__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.benefits__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.benefit-card {
  padding: 1.5rem 1.35rem 1.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.3s var(--ease),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(252, 185, 0, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.benefit-card__icon {
  display: inline-grid;
  place-items: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.55rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.benefit-card h3 {
  margin-bottom: 0.45rem;
  color: var(--white);
  font-size: 1.05rem;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
}

/* Requisitos */
.requirements {
  background: #f8f8f8;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.requirements__head {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.requirements .eyebrow {
  color: var(--brand);
}

.requirements__head h2 {
  color: var(--ink);
}

.requirements__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.requirements__grid li {
  --req-color: var(--brand);
  position: relative;
  padding: 1.45rem 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--req-color);
  border-radius: 8px;
  color: var(--ink-soft);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.requirements__grid li:nth-child(9n + 1) {
  --req-color: #066aab;
}

.requirements__grid li:nth-child(9n + 2) {
  --req-color: #fcb900;
}

.requirements__grid li:nth-child(9n + 3) {
  --req-color: #000000;
}

.requirements__grid li:nth-child(9n + 4) {
  --req-color: #055a91;
}

.requirements__grid li:nth-child(9n + 5) {
  --req-color: #e0a600;
}

.requirements__grid li:nth-child(9n + 6) {
  --req-color: #2a8fb0;
}

.requirements__grid li:nth-child(9n + 7) {
  --req-color: #6e6e6e;
}

.requirements__grid li:nth-child(9n + 8) {
  --req-color: #15607a;
}

.requirements__grid li:nth-child(9n) {
  --req-color: #9a7b1a;
}

.requirements__grid li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.requirements__grid h3 {
  margin-bottom: 0.45rem;
  color: var(--req-color);
  font-size: 1.05rem;
}

.requirements__grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.check-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.25rem;
}

.check-grid li {
  position: relative;
  padding: 1rem 1rem 1rem 2.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.check-grid li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--white);
}

.check-grid--brand li::before {
  background: var(--brand);
}

.stages {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

.stages--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stages--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.15rem 0.85rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 220px;
  overflow: hidden;
  transition:
    background 0.45s var(--ease),
    border-color 0.45s ease,
    color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s var(--ease);
}

.stage::after {
  content: "";
  position: absolute;
  top: 1.9rem;
  right: -0.55rem;
  width: 0.55rem;
  height: 2px;
  background: var(--gray);
  z-index: 1;
}

.stage:last-child::after {
  display: none;
}

.stage__num {
  position: relative;
  z-index: 2;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--gray-soft);
  color: var(--ink);
  border: 1px solid var(--line);
  transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}

.stage__body h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  line-height: 1.25;
  transition: color 0.45s ease;
}

.stage__body p,
.stage__body ul {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  transition: color 0.45s ease;
}

.stage__body ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.stage__body ul li {
  position: relative;
  padding-left: 0.85rem;
}

.stage__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.stage.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(6, 106, 171, 0.35);
  transform: translateY(-4px);
}

.stage.is-active .stage__num {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

.stage.is-active .stage__body h3,
.stage.is-active .stage__body p,
.stage.is-active .stage__body ul {
  color: rgba(255, 255, 255, 0.92);
}

.stage.is-active .stage__body ul li::before {
  background: var(--accent);
}

.stage.is-active::after {
  background: var(--accent);
}

.program-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.page-inner .site-footer {
  justify-content: flex-start;
  min-height: auto;
}

@media (max-width: 1100px) {
  .stages,
  .stages--5 {
    grid-template-columns: repeat(7, minmax(140px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x proximity;
  }

  .stages--5 {
    grid-template-columns: repeat(5, minmax(160px, 1fr));
  }

  .stages--6 {
    grid-template-columns: repeat(6, minmax(150px, 1fr));
  }

  .stage {
    scroll-snap-align: start;
  }
}

@media (max-width: 960px) {
  .check-grid,
  .benefits__grid,
  .benefits__grid--4,
  .requirements__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .check-grid,
  .benefits__grid,
  .requirements__grid {
    grid-template-columns: 1fr;
  }

  .stages {
    grid-template-columns: 1fr;
  }

  .stage::after {
    display: none;
  }

  .stage {
    min-height: 0;
  }
}

/* ——— Página Sobre Nosotros ——— */
.about-hero {
  position: relative;
  min-height: 72vh;
  min-height: 72dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  padding-top: calc(var(--topbar-h) + var(--header-h) + 1rem);
}

.about-hero__media {
  position: absolute;
  inset: 0;
  background-image: var(--about-img);
  background-size: cover;
  background-position: center;
}

.about-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(6, 106, 171, 0.42) 55%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.about-hero__content {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0 3rem;
  max-width: 46rem;
}

.about-hero .eyebrow {
  color: var(--accent);
}

.about-hero__lead {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.about-mv {
  background: var(--paper);
}

.about-mv__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-mv__card .eyebrow {
  color: var(--brand);
}

.about-mv__card h2 {
  margin-bottom: 1rem;
  color: var(--ink);
}

.about-mv__card p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-brand {
  background: var(--gray-soft);
  padding-block: clamp(2.5rem, 6vh, 4rem);
}

.about-brand__inner {
  display: grid;
  place-items: center;
}

.about-brand__inner img {
  width: min(11rem, 42vw);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
}

.about-team {
  background: var(--paper);
}

.about-team__head {
  max-width: 40rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.about-team__head .eyebrow {
  color: var(--brand);
}

.about-team__head p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  list-style: none;
}

.about-member {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.about-member--ceo {
  grid-column: span 2;
  grid-row: span 2;
}

.about-member__photo {
  aspect-ratio: 4 / 5;
  margin-bottom: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #0a2f45 0%, #066aab 100%);
  display: grid;
  place-items: center;
  flex: 1 1 auto;
}

.about-member--ceo .about-member__photo {
  aspect-ratio: auto;
  min-height: 100%;
  height: 100%;
}

.about-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) brightness(1.08);
  transition: filter 0.45s var(--ease), transform 0.45s var(--ease);
}

.about-member:hover .about-member__photo img {
  filter: grayscale(0) brightness(1.12) contrast(1.04);
  transform: scale(1.03);
}

.about-member__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.75rem 1rem 1rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.82) 100%
  );
  color: var(--white);
  pointer-events: none;
}

.about-member h3 {
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
  color: var(--white);
}

.about-member--ceo h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.about-member p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
}

.about-member--ceo p {
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .about-team__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .about-mv__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .about-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .about-member--ceo {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .about-member--ceo .about-member__photo {
    aspect-ratio: 4 / 5;
    max-height: 28rem;
  }

  .about-hero {
    min-height: 62vh;
    min-height: 62dvh;
  }
}

@media (max-width: 480px) {
  .about-team__grid {
    grid-template-columns: 1fr;
    max-width: 18rem;
    margin-inline: auto;
  }

  .about-member--ceo {
    grid-column: auto;
  }
}

/* ——— Página Contáctanos ——— */
.contact-hero {
  background:
    linear-gradient(145deg, #061820 0%, #0a2f45 45%, #066aab 100%);
  color: var(--white);
  padding: calc(var(--topbar-h) + var(--header-h) + 2rem) 0 3.5rem;
}

.contact-hero .eyebrow {
  color: var(--accent);
}

.contact-hero__lead {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

/* ——— Listado de programas ——— */
.programs-hero {
  background:
    linear-gradient(145deg, #061820 0%, #0a2f45 45%, #066aab 100%);
  color: var(--white);
  padding: calc(var(--topbar-h) + var(--header-h) + 2rem) 0 3.25rem;
}

.programs-hero .eyebrow {
  color: var(--accent);
}

.programs-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.programs-hero__lead {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.page-programs .programas {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.contact-section {
  background: #f8f8f8;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(300px, 1.35fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-aside h2 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.contact-aside p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.contact-aside p + p {
  margin-top: 0.65rem;
}

.contact-aside a:hover {
  color: var(--brand);
}

.contact-form {
  background: #fff;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1.1rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.contact-field {
  display: grid;
  gap: 0.4rem;
}

.contact-field label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23066aab' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}

.contact-field select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.contact-field textarea {
  resize: vertical;
  min-height: 9rem;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(6, 106, 171, 0.15);
}

.contact-field input.is-invalid,
.contact-field select.is-invalid,
.contact-field textarea.is-invalid {
  border-color: #c0392b;
}

.contact-form__error {
  margin: 0;
  color: #c0392b;
  font-size: 0.95rem;
}

.contact-form__success {
  margin: 0;
  color: #1e7a46;
  font-size: 0.95rem;
}

.contact-form__submit {
  justify-self: start;
  margin-top: 0.35rem;
}

@media (max-width: 768px) {
  .contact-layout,
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding-top: 7rem;
  }
}

/* ——— Ofertas laborales ——— */
.jobs-hero {
  background:
    linear-gradient(145deg, #061820 0%, #0a2f45 45%, #066aab 100%);
  color: var(--white);
  padding: calc(var(--topbar-h) + var(--header-h) + 2rem) 0 3.5rem;
}

.jobs-hero .eyebrow {
  color: var(--accent);
}

.jobs-hero__lead {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.jobs-section {
  background: #f8f8f8;
  padding-block: clamp(3rem, 6vw, 4.75rem);
}

.jobs-section__head {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.jobs-section__head .eyebrow {
  color: var(--brand);
}

.jobs-section__head p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.job-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e8e8e8;
}

.job-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.job-card:hover .job-card__media img {
  transform: scale(1.04);
}

.job-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.job-card__body h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.3;
}

.job-card__body p {
  margin: 0;
  color: var(--brand);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 600;
}

@media (max-width: 960px) {
  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

