/* Variables generales: cambiar estos valores modifica los colores de toda la página. */
:root {
  --navy: #172575;
  --navy-dark: #101b59;
  --blue: #1989c2;
  --mint: #72d8bd;
  --mint-light: #ddf7ee;
  --sky-soft: #eef8fd;
  --cream: #f7f9f4;
  --white: #ffffff;
  --ink: #14204d;
  --muted: #68718f;
  --line: #dde2ee;
  --shadow: 0 18px 50px rgba(20, 32, 77, 0.12);
}

/* Reinicio básico para que tamaños y espacios sean previsibles. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Nunito", Arial, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Encabezado principal. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 75px;
  padding: 0 28px;
  color: var(--white);
  background: rgba(14, 22, 100, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(16, 27, 89, 0.18);
  font-family: "Mulish", sans-serif;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; line-height: 1.08; }
.site-header .brand { font-size: 0.98rem; font-weight: 700; line-height: 1.3; }
.brand img { width: 52px; height: 52px; padding: 4px; object-fit: contain; background: var(--white); border-radius: 10px; }
.site-header .brand img { width: 50px; height: 50px; padding: 6px; border-radius: 8px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18); }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.5rem); margin-left: auto; font-size: 0.95rem; font-weight: 700; }
.desktop-nav > a { position: relative; padding: 10px 0; opacity: 0.9; }
.desktop-nav > a:hover { opacity: 1; }
.nav-dropdown { position: relative; }
.nav-dropdown > button { display: flex; gap: 6px; padding: 10px 0; color: var(--white); background: none; border: 0; cursor: pointer; font: inherit; opacity: 0.9; }
.nav-dropdown > button:hover, .nav-dropdown:focus-within > button { opacity: 1; }
.nav-dropdown > button span { color: var(--mint); font-size: 0.76rem; }
.dropdown-menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 50%; display: grid; width: 205px; padding: 9px; visibility: hidden; background: var(--white); border: 1px solid rgba(20, 47, 116, 0.12); border-radius: 14px; box-shadow: 0 18px 38px rgba(13, 34, 87, 0.2); opacity: 0; transform: translate(-50%, -5px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.dropdown-menu a { padding: 10px 12px; color: var(--navy); border-radius: 9px; font-size: 0.88rem; }
.dropdown-menu a:hover, .dropdown-menu .active { color: var(--navy); background: var(--mint-light); }
.header-cta { padding: 11px 19px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 999px; font-weight: 800; }
.menu-button { position: relative; z-index: 23; display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; place-content: center; gap: 5px; color: var(--white); background: transparent; border: 0; cursor: pointer; }
.menu-button span { display: block; width: 21px; height: 2px; background: currentColor; border-radius: 99px; transition: transform 180ms ease, opacity 180ms ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Elementos reutilizables para títulos, secciones y botones. */
.section { width: min(1180px, calc(100% - 44px)); margin: 0 auto; padding: 105px 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--navy); font-size: 0.79rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow span { width: 42px; height: 5px; background: var(--mint); border-radius: 99px; }
.eyebrow.light { color: var(--white); }
.eyebrow.dark { color: var(--navy); }
.section-heading h2, .journey-copy h2, .cea-section h2, .contact-banner h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.05; letter-spacing: -0.035em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-heading.centered { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 23px; border-radius: 999px; font-weight: 900; transition: transform 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--navy); box-shadow: 0 12px 24px rgba(23, 37, 117, 0.22); }
.button-secondary { color: var(--navy); border: 1px solid rgba(23, 37, 117, 0.25); }
.button-mint { color: var(--navy-dark); background: var(--mint); }

/* Presentación principal. */
.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  min-height: 665px;
  padding: 76px clamp(22px, 7vw, 120px);
  overflow: hidden;
  background: radial-gradient(circle at 12% 25%, var(--mint-light) 0 12%, transparent 32%), linear-gradient(135deg, #f8fbff, #ffffff 62%);
}
.hero-copy { max-width: 660px; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(3.1rem, 6.2vw, 6.2rem); line-height: 0.94; letter-spacing: -0.055em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-title-mobile { display: none; }
.hero-kicker { max-width: 610px; margin: 25px 0 0; color: var(--navy); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 900; line-height: 1.3; }
.hero-text { max-width: 630px; margin: 30px 0; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; max-width: 720px; padding: 15px; background: var(--white); border-radius: 30px; box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 50%; border-radius: 20px; }
.hero-badge { position: absolute; right: -22px; bottom: -25px; display: flex; flex-direction: column; padding: 18px 24px; color: var(--navy-dark); background: var(--mint); border: 7px solid var(--white); border-radius: 20px; box-shadow: var(--shadow); }
.hero-badge span { font-size: 0.9rem; }

/* Franja con datos rápidos. */
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); color: var(--white); background: var(--navy); }
.trust-strip article { padding: 28px clamp(24px, 5vw, 80px); border-right: 1px solid rgba(255, 255, 255, 0.14); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { margin-bottom: 4px; font-size: 1.22rem; }
.trust-strip span { color: #cbd2ff; font-size: 0.92rem; }
.trust-mobile-label, .trust-mobile-icon { display: none; }

/* Introducción sobre Anglia. */
.intro-section { padding-top: 76px; padding-bottom: 76px; }
.intro-section .section-heading h2 { font-size: clamp(2.15rem, 3.6vw, 3.5rem); }
.intro-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(34px, 6vw, 82px); margin-top: 32px; }
.lead { margin: 0; color: var(--navy); font-size: clamp(1.35rem, 2.15vw, 2rem); font-weight: 800; line-height: 1.34; }
.intro-copy { color: var(--muted); font-size: 1rem; line-height: 1.62; }
.intro-copy p:first-child { margin-top: 0; }
.intro-copy p:last-child { margin-bottom: 0; }

/* Recorrido de niveles. */
.journey-section { color: var(--white); background: var(--navy-dark); }
.journey-inner { padding-top: 74px; padding-bottom: 62px; }
.journey-copy { max-width: 780px; }
.journey-copy h2 { font-size: clamp(2.15rem, 3.6vw, 3.5rem); }
.journey-copy p:last-child { max-width: 680px; margin-bottom: 0; color: #d7dcff; font-size: 1.02rem; line-height: 1.58; }
.level-path { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; margin-top: 34px; }
.level-path span { display: flex; align-items: center; justify-content: center; min-height: 62px; padding: 8px; color: var(--navy-dark); background: var(--mint); border-radius: 12px; font-size: 0.9rem; font-weight: 900; text-align: center; }
.level-path span:nth-child(n+4) { color: var(--white); background: var(--blue); }
.full-chart { margin-top: 20px; padding: 14px 18px; background: rgba(255, 255, 255, 0.08); border-radius: 13px; }
.full-chart summary { cursor: pointer; font-size: 0.9rem; font-weight: 800; }
.full-chart img { margin-top: 20px; border-radius: 12px; }
.mobile-swipe-hint, .mobile-level-summary { display: none; }

/* Presentación breve de Anglia en dos columnas para evitar un bloque de texto extenso. */
.about-anglia { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(45px, 7vw, 100px); align-items: start; }
.about-anglia-copy { padding-top: 43px; color: #d7dcff; font-size: 1.08rem; line-height: 1.72; }
.about-anglia-copy p:first-child { margin-top: 0; }
.about-anglia-copy p:last-child { margin-bottom: 0; }

/* Dos recorridos visuales diferenciados para Primaria y Secundaria. */
.programs-section { padding-top: 90px; padding-bottom: 70px; }
.programs-section .section-heading { margin-bottom: 34px; }
.programs-section .section-heading h2 { font-size: clamp(1.6rem, 1.9vw, 2rem); }
.programs-section .section-heading > p:last-child { margin-top: 14px; font-size: 1rem; }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.program-card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 18px 48px rgba(20, 34, 102, 0.08); }
.program-card::before { position: absolute; top: 0; right: 0; left: 0; height: 7px; content: ""; background: var(--mint); }
.secondary-card::before { background: var(--blue); }
.primary-card { background: linear-gradient(145deg, var(--white), #f1fbf7); }
.secondary-card { background: linear-gradient(145deg, var(--white), #f0f8fd); }
.program-label { display: inline-flex; margin: 0 0 18px; padding: 7px 12px; color: var(--navy); background: var(--mint-light); border-radius: 999px; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.secondary-card .program-label { color: #0c6591; background: #dff3fc; }
.program-card h3 { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.05; }
.program-card > p:not(.program-label) { color: var(--muted); line-height: 1.65; }
.skill-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 26px 0; padding: 0; list-style: none; }
.skill-list li { display: flex; align-items: center; gap: 10px; padding: 14px; color: var(--navy); background: var(--white); border: 1px solid rgba(23, 37, 117, 0.1); border-radius: 13px; }
.skill-list span { font-size: 1.25rem; }
.program-details { padding-top: 5px; color: var(--muted); font-size: 0.94rem; line-height: 1.58; }
.program-details p:last-child { margin-bottom: 0; }
.secondary-highlight { display: grid; gap: 5px; margin-top: 14px; padding: 17px 18px; background: var(--white); border: 1px solid rgba(25, 137, 194, 0.16); border-radius: 14px; }
.secondary-highlight strong { color: var(--navy); }
.secondary-highlight span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* Galería compacta: seis momentos visibles en escritorio y desplazables en celular. */
.gallery-section { width: min(1260px, calc(100% - 44px)); margin: 0 auto; padding: 42px 0 58px; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 25px; }
.gallery-heading .eyebrow { margin-bottom: 10px; }
.gallery-heading h2 { margin: 0; color: var(--navy); font-size: clamp(1.8rem, 2.7vw, 2.8rem); line-height: 1.08; }
.gallery-heading > p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.55; text-align: right; }
.photo-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.photo-gallery a { position: relative; display: block; min-width: 0; overflow: hidden; background: var(--cream); border-radius: 13px; box-shadow: 0 10px 25px rgba(20, 34, 102, 0.1); }
.photo-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 220ms ease; }
.photo-gallery a:hover img { transform: scale(1.045); }
.gallery-swipe-hint { display: none; }

/* Beneficios en formato desplegable: toda la información sigue disponible sin ocupar una grilla extensa. */
.benefits-section { padding-top: 82px; padding-bottom: 82px; }
.benefits-layout { display: grid; grid-template-columns: minmax(250px, 0.72fr) minmax(480px, 1.28fr); gap: clamp(45px, 7vw, 90px); max-width: 1020px; margin: 0 auto; align-items: start; }
.benefits-intro { position: sticky; top: 120px; }
.benefits-intro h2 { max-width: 390px; margin: 18px 0 15px; color: var(--navy); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.04; }
.benefits-intro > p:not(.eyebrow) { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.65; }
.benefits-intro small { display: inline-block; margin-top: 22px; color: var(--blue); font-weight: 800; }
.benefit-accordion { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 48px rgba(20, 34, 102, 0.08); }
.benefit-item { border-bottom: 1px solid var(--line); }
.benefit-item:last-child { border-bottom: 0; }
.benefit-item summary { display: grid; grid-template-columns: 42px 1fr 26px; gap: 15px; min-height: 70px; padding: 13px 20px; align-items: center; color: var(--navy); cursor: pointer; list-style: none; }
.benefit-item summary::-webkit-details-marker { display: none; }
.benefit-item summary:hover { background: #f7fafc; }
.benefit-number { display: grid; width: 38px; height: 38px; place-items: center; color: var(--blue); background: var(--mint-light); border-radius: 50%; font-size: 0.78rem; font-weight: 900; }
.benefit-item summary strong { font-size: 1rem; line-height: 1.3; }
.benefit-toggle { position: relative; width: 24px; height: 24px; }
.benefit-toggle::before,
.benefit-toggle::after { position: absolute; top: 11px; left: 5px; width: 14px; height: 2px; content: ""; background: var(--blue); border-radius: 10px; transition: transform 180ms ease; }
.benefit-toggle::after { transform: rotate(90deg); }
.benefit-item[open] { background: var(--cream); }
.benefit-item[open] .benefit-toggle::after { transform: rotate(0deg); }
.benefit-content { padding: 0 62px 18px 77px; }
.benefit-content p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.58; }

/* Sección propia del colegio. */
.cea-section { color: var(--white); background: linear-gradient(125deg, var(--navy), #24399a); }
.cea-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(55px, 8vw, 120px); }
.cea-lead { color: #d9dfff; font-size: 1.1rem; line-height: 1.72; }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process-list li { display: grid; grid-template-columns: 55px 1fr; padding: 21px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); counter-increment: steps; }
.process-list li::before { grid-row: 1 / 3; content: "0" counter(steps); color: var(--mint); font-weight: 900; }
.process-list strong, .process-list span { grid-column: 2; }
.process-list strong { margin-bottom: 5px; font-size: 1.22rem; }
.process-list span { color: #cfd6ff; }

/* Reconocimiento independiente para no alterar el equilibrio de la sección anterior. */
.coordinator-section { padding: 42px 22px; background: var(--cream); }
.coordinator-profile { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; width: min(1040px, 100%); margin: 0 auto; padding: 34px 38px 34px 44px; overflow: hidden; align-items: center; background: radial-gradient(circle at 100% 0, rgba(114, 216, 189, 0.22), transparent 34%), linear-gradient(135deg, var(--white), #f5fbff); border: 1px solid rgba(25, 137, 194, 0.16); border-radius: 24px; box-shadow: 0 18px 45px rgba(20, 34, 102, 0.1); }
.coordinator-profile::before { position: absolute; top: 0; bottom: 0; left: 0; width: 7px; content: ""; background: linear-gradient(var(--mint), var(--blue)); }
.coordinator-copy p { display: inline-flex; width: fit-content; margin: 0 0 11px; padding: 6px 11px; color: var(--navy); background: var(--mint-light); border-radius: 999px; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.coordinator-copy h2 { margin: 0 0 9px; color: var(--navy); font-size: clamp(1.65rem, 2.5vw, 2.15rem); line-height: 1.1; }
.coordinator-copy span { display: block; max-width: 720px; color: var(--muted); font-size: 0.96rem; line-height: 1.58; }
.coordinator-copy span strong { color: var(--ink); font-weight: 800; }
.coordinator-contact { display: inline-flex; gap: 9px; min-height: 48px; padding: 0 21px; align-items: center; justify-content: center; color: var(--white); background: linear-gradient(120deg, var(--navy), #2942a7); border-radius: 999px; box-shadow: 0 10px 22px rgba(23, 37, 117, 0.2); font-size: 0.9rem; font-weight: 900; white-space: nowrap; transition: transform 180ms ease, box-shadow 180ms ease; }
.coordinator-contact::after { content: "→"; font-size: 1.15rem; line-height: 1; }
.coordinator-contact:hover { box-shadow: 0 13px 26px rgba(23, 37, 117, 0.27); transform: translateY(-2px); }
.contact-label-mobile { display: none; }

/* Preguntas desplegables. */
.faq-list { max-width: 900px; margin-top: 50px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; padding: 24px 0; cursor: pointer; color: var(--navy); font-size: 1.15rem; font-weight: 900; list-style: none; }
.faq-list summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 720px; margin: 0 0 24px; color: var(--muted); line-height: 1.65; }

/* Bloque final de contacto. */
.contact-banner { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding: 70px clamp(22px, 7vw, 120px); color: var(--white); background: var(--navy-dark); }
.contact-banner div { max-width: 820px; }
.contact-banner p:last-child { color: #d3d9ff; font-size: 1.08rem; }
.contact-banner .button { flex: 0 0 auto; }

/* Pie de página. */
.site-footer { display: flex; align-items: center; gap: 35px; padding: 35px clamp(22px, 5vw, 80px); color: var(--white); background: #0a123d; }
.footer-brand { margin-right: auto; }
.site-footer p { color: #bbc3ed; font-size: 0.9rem; }

/* Escritorio: conserva las dos columnas, pero reduce la escala y el aire excesivo. */
@media (min-width: 981px) {
  .section { padding: 82px 0; }
  .section-heading h2,
  .journey-copy h2,
  .cea-section h2,
  .contact-banner h2 { font-size: clamp(2.15rem, 3.6vw, 3.55rem); }
  .section-heading.centered { margin-bottom: 38px; }

  .hero {
    gap: clamp(34px, 4vw, 68px);
    min-height: 570px;
    padding: 54px clamp(30px, 5.5vw, 92px);
  }
  .hero-copy { max-width: 610px; }
  .hero h1 { font-size: clamp(3.15rem, 5vw, 5.25rem); }
  .hero-text { margin: 24px 0; font-size: clamp(1.03rem, 1.25vw, 1.2rem); }
  .hero-visual { max-width: 640px; }
  .hero-badge { right: -16px; bottom: -20px; padding: 14px 20px; }

  .trust-strip article { padding-top: 22px; padding-bottom: 22px; }
  .intro-section { padding-top: 64px; padding-bottom: 64px; }
  .intro-grid { gap: clamp(32px, 5vw, 68px); margin-top: 28px; }
  .journey-inner { padding-top: 64px; padding-bottom: 54px; }
  .level-path { margin-top: 30px; }
  .level-path span { min-height: 58px; }

  .benefits-section { padding-top: 72px; padding-bottom: 72px; }

  .cea-grid { gap: clamp(48px, 6vw, 90px); }
  .process-list li { padding: 17px 0; }
  .faq-list { margin-top: 38px; }
  .faq-list summary { padding: 20px 0; }
  .contact-banner { padding: 54px clamp(30px, 5.5vw, 92px); }
}

/* Adaptación para tabletas y celulares. */
@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: grid; }
  .mobile-nav {
    position: fixed;
    z-index: 22;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    padding: 76px 18px 24px;
    overflow-y: auto;
    color: var(--white);
    background: #111a63;
    border: 0;
    border-radius: 18px 0 0 18px;
    box-shadow: -16px 18px 42px rgba(10, 18, 61, 0.3);
    font-family: "Mulish", sans-serif;
  }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; }
  .mobile-nav-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    font: 400 1.7rem/1 "Mulish", sans-serif;
    cursor: pointer;
  }
  .mobile-nav a {
    padding: 15px 16px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus-visible { background: rgba(255, 255, 255, 0.1); }
  .mobile-nav-group { display: grid; margin: 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .mobile-nav-project { display: flex; width: 100%; min-height: 54px; padding: 15px 16px; align-items: center; justify-content: space-between; color: var(--white); background: transparent; border: 0; font: 700 1.08rem/1.4 "Mulish", sans-serif; text-align: left; cursor: pointer; }
  .mobile-nav-project span { transition: transform 180ms ease; }
  .mobile-nav-project[aria-expanded="true"] span { transform: rotate(180deg); }
  .mobile-submenu { background: rgba(255, 255, 255, 0.06); }
  .mobile-submenu:not([hidden]) { display: grid; }
  .mobile-nav-group a { min-height: 48px; padding: 13px 16px 13px 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 0; font-size: 0.98rem; font-weight: 700; }
  .mobile-nav-group a.active { color: var(--mint); background: rgba(255, 255, 255, 0.07); }
  .mobile-nav-group a.active::before { color: var(--mint); }
  .mobile-nav .mobile-nav-cta { margin: 14px 0 0; padding: 14px 16px; color: var(--white); background: transparent; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 999px; text-align: center; }
  .mobile-nav .mobile-nav-cta:hover,
  .mobile-nav .mobile-nav-cta:focus-visible { color: var(--navy); background: var(--white); }
  body.menu-open::before { position: fixed; z-index: 21; inset: 0; content: ""; background: rgba(0, 0, 0, 0.55); }
  body.menu-open { overflow: hidden; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 75px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 720px); }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip article { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .level-path { grid-template-columns: repeat(3, 1fr); }
  .about-anglia { grid-template-columns: 1fr; gap: 10px; }
  .about-anglia-copy { max-width: 760px; padding-top: 0; }
  .program-grid { grid-template-columns: 1fr; }
  .gallery-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .gallery-heading > p { max-width: 680px; text-align: left; }
  .photo-gallery { display: flex; padding-bottom: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .photo-gallery a { flex: 0 0 30%; scroll-snap-align: start; }
  .benefits-layout { grid-template-columns: 1fr; gap: 34px; max-width: 760px; }
  .benefits-intro { position: static; }
  .benefits-intro h2,
  .benefits-intro > p:not(.eyebrow) { max-width: 650px; }
  .cea-grid { grid-template-columns: 1fr; }
  .coordinator-profile { grid-template-columns: minmax(0, 1fr) auto; padding: 30px 32px 30px 38px; }
  .coordinator-contact { width: fit-content; }
  .contact-banner { align-items: flex-start; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-brand { margin-bottom: 15px; }
}

@media (max-width: 620px) {
  /* Cabecera más baja para dejar visible más contenido en cada pantalla. */
  .site-header { min-height: 68px; padding: 8px 16px; }
  .brand { gap: 9px; }
  .brand img { width: 43px; height: 43px; border-radius: 9px; }
  .brand span { font-size: 0.86rem; }
  .menu-button { width: 42px; height: 42px; padding: 9px; }
  .mobile-nav { top: 0; right: 0; width: min(86vw, 340px); }
  body.menu-open::before { inset: 0; }

  /* Secciones más compactas exclusivamente en celulares. */
  .section { width: min(100% - 32px, 1180px); padding: 58px 0; }
  .section-heading h2, .journey-copy h2, .cea-section h2, .contact-banner h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.02;
  }
  .eyebrow { gap: 9px; margin-bottom: 15px; font-size: 0.68rem; letter-spacing: 0.12em; }
  .eyebrow span { width: 31px; height: 4px; }

  /* Portada móvil compacta: título, bajada, botón y fotografía en la primera pantalla. */
  .hero { gap: 18px; min-height: auto; padding: 24px 16px 30px; }
  .hero .eyebrow { display: none; }
  .hero-title-desktop { display: none; }
  .hero-title-mobile { display: inline; }
  .hero h1 { max-width: 330px; font-size: clamp(2.25rem, 10.5vw, 2.75rem); line-height: 0.96; }
  .hero-kicker { max-width: 340px; margin: 12px 0 0; font-size: 1rem; line-height: 1.35; }
  .hero-text { display: none; }
  .hero-actions { display: none; }
  .button { min-height: 46px; padding: 0 18px; font-size: 0.9rem; }
  .hero-visual { padding: 8px; border-radius: 19px; transform: none; }
  .hero-visual img { border-radius: 13px; }
  .hero-badge { position: static; width: 100%; margin-top: 8px; padding: 11px 14px; border: 0; border-radius: 12px; box-shadow: none; }

  /* Los tres datos principales quedan visibles juntos, como en el menú institucional. */
  .trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 12px 10px;
    background: var(--navy-dark);
  }
  .trust-strip article {
    display: grid;
    min-width: 0;
    min-height: 58px;
    padding: 5px 7px;
    place-content: center;
    justify-items: center;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    text-align: center;
  }
  .trust-strip article:last-child { border-right: 0; }
  .trust-strip strong { margin: 0; font-size: 0.85rem; line-height: 1.1; }
  .trust-strip article:not(:first-child) strong, .trust-strip .trust-detail { display: none; }
  .trust-strip .trust-mobile-label { display: block; margin-top: 4px; color: #d6dcff; font-size: 0.62rem; line-height: 1.1; }
  .trust-mobile-icon { display: block; width: 19px; height: 19px; margin-bottom: 4px; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .trust-book-icon { width: 22px; height: 22px; stroke-width: 1.7; }

  /* Introducción con párrafos y tamaños adecuados para lectura rápida. */
  .intro-section { padding-top: 34px; padding-bottom: 36px; }
  .intro-section .section-heading h2 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .intro-section .eyebrow { margin-bottom: 11px; }
  .intro-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 17px; }
  .lead { font-size: 1.05rem; line-height: 1.32; }
  .intro-copy { font-size: 0.86rem; line-height: 1.48; }
  .intro-copy p { margin: 0 0 12px; }
  .intro-copy p:last-child { margin-bottom: 0; }

  /* En celular se muestran todos los niveles juntos, sin carrusel ni imagen extensa. */
  .journey-inner { padding-top: 34px; padding-bottom: 34px; }
  .journey-copy .eyebrow { margin-bottom: 11px; }
  .journey-copy h2 { font-size: clamp(1.68rem, 8vw, 2.1rem); }
  .about-anglia { gap: 14px; }
  .about-anglia-copy { font-size: 0.86rem; line-height: 1.46; }
  .about-anglia-copy p { margin: 0 0 12px; }
  .about-anglia-copy p:last-child { margin-bottom: 0; }
  .level-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
  }
  .level-path span {
    min-height: 52px;
    padding: 8px 5px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 11px;
    font-size: 0.76rem;
    line-height: 1.15;
  }
  .mobile-level-summary {
    display: block;
    margin: 15px 0 0;
    color: #bfc7f3;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.45;
  }
  .full-chart { display: none; }
  .mobile-swipe-hint { display: block; margin: 11px 0 0; color: #aeb9f1; font-size: 0.76rem; font-weight: 800; }

  /* En móvil los beneficios quedan como filas desplegables, sin carrusel horizontal. */
  .benefits-section { padding-top: 28px; padding-bottom: 34px; }
  .benefits-layout { gap: 14px; }
  .benefits-intro .eyebrow { margin-bottom: 10px; }
  .benefits-intro h2 { margin: 8px 0 9px; font-size: clamp(1.55rem, 7.2vw, 1.92rem); line-height: 1.04; }
  .benefits-intro > p:not(.eyebrow) { font-size: 0.82rem; line-height: 1.42; }
  .benefits-intro small { margin-top: 8px; font-size: 0.72rem; }
  .benefit-accordion { border-radius: 16px; }
  .benefit-item summary { grid-template-columns: 30px 1fr 26px; gap: 9px; min-height: 56px; padding: 9px 11px; touch-action: manipulation; }
  .benefit-number { width: 28px; height: 28px; font-size: 0.66rem; }
  .benefit-item summary strong { font-size: 0.84rem; }
  .benefit-toggle { width: 26px; height: 26px; background: var(--sky-soft); border-radius: 50%; }
  .benefit-toggle::before,
  .benefit-toggle::after { top: 12px; left: 6px; }
  .benefit-item[open] summary { background: var(--mint-light); }
  .benefit-content { padding: 2px 12px 14px 50px; }
  .benefit-content p { font-size: 0.82rem; line-height: 1.45; }

  /* Las tarjetas ocupan todo el ancho y conservan una lectura cómoda en celular. */
  .programs-section { padding-top: 42px; padding-bottom: 42px; }
  .programs-section .section-heading { margin-bottom: 24px; }
  .program-grid { gap: 14px; }
  .program-card { padding: 20px 16px 18px; border-radius: 17px; }
  .program-card::before { height: 5px; }
  .program-label { margin-bottom: 10px; padding: 5px 9px; font-size: 0.66rem; }
  .program-card h3 { margin-bottom: 10px; font-size: 1.45rem; }
  .program-card > p:not(.program-label) { margin: 0; font-size: 0.84rem; line-height: 1.45; }
  .skill-list { gap: 6px; margin: 14px 0; }
  .skill-list li { gap: 7px; padding: 8px 7px; border-radius: 10px; font-size: 0.82rem; }
  .skill-list span { font-size: 1rem; }
  .program-details { padding-top: 0; font-size: 0.81rem; line-height: 1.43; }
  .program-details p { margin: 0 0 10px; }
  .secondary-highlight { gap: 3px; margin-top: 8px; padding: 11px 12px; border-radius: 11px; }
  .secondary-highlight strong { font-size: 0.9rem; }
  .secondary-highlight span { font-size: 0.81rem; line-height: 1.4; }
  .secondary-card { padding: 17px 14px 14px; }
  .secondary-card .program-label { margin-bottom: 8px; }
  .secondary-card h3 { margin-bottom: 8px; font-size: 1.35rem; }
  .secondary-card > p:not(.program-label) { font-size: 0.8rem; line-height: 1.38; }
  .secondary-card .secondary-highlight { gap: 2px; margin-top: 6px; padding: 8px 10px; border-radius: 9px; }
  .secondary-card .secondary-highlight strong { font-size: 0.84rem; }
  .secondary-card .secondary-highlight span { font-size: 0.76rem; line-height: 1.33; }
  .gallery-section { width: calc(100% - 32px); padding: 34px 0 44px; }
  .gallery-heading { margin-bottom: 19px; }
  .gallery-heading h2 { font-size: 1.75rem; }
  .gallery-heading > p { font-size: 0.92rem; }
  .gallery-swipe-hint { display: flex; gap: 7px; margin: -7px 0 14px; align-items: center; color: var(--blue); font-size: 0.78rem; font-weight: 900; }
  .gallery-swipe-hint span { font-size: 1rem; }
  .photo-gallery { gap: 9px; margin-right: -16px; padding-right: 16px; }
  .photo-gallery a { flex-basis: 72%; border-radius: 12px; }

  /* Proceso, preguntas y contacto final con menos espacios verticales. */
  .cea-section .section { padding-top: 34px; padding-bottom: 36px; }
  .cea-section .eyebrow { margin-bottom: 11px; }
  .cea-section h2 { max-width: 320px; font-size: clamp(1.72rem, 8.2vw, 2.15rem); line-height: 1.02; }
  .cea-lead { margin: 14px 0 0; font-size: 0.87rem; line-height: 1.48; }
  /* El proceso se lee como una secuencia continua y no como cuatro tarjetas separadas. */
  .cea-grid { gap: 18px; }
  .process-list { position: relative; display: grid; gap: 0; margin-top: 2px; }
  .process-list::before { position: absolute; top: 15px; bottom: 15px; left: 15px; width: 2px; content: ""; background: rgba(114, 216, 189, 0.48); }
  .process-list li { position: relative; grid-template-columns: 40px 1fr; min-height: 60px; padding: 0 0 14px; border-bottom: 0; }
  .process-list li:last-child { min-height: 36px; padding-bottom: 0; }
  .process-list li::before { z-index: 1; display: grid; width: 32px; height: 32px; place-items: center; color: var(--navy-dark); background: var(--mint); border: 3px solid var(--navy); border-radius: 50%; font-size: 0.66rem; line-height: 1; }
  .process-list strong { margin: 3px 0 2px 8px; font-size: 0.98rem; }
  .process-list span { margin-left: 8px; font-size: 0.84rem; line-height: 1.38; }
  .coordinator-section { padding: 18px 16px; }
  .coordinator-profile { grid-template-columns: 1fr; gap: 14px; padding: 21px 17px 20px 23px; border-radius: 17px; }
  .coordinator-copy p { margin-bottom: 8px; padding: 5px 9px; font-size: 0.62rem; }
  .coordinator-copy h2 { margin-bottom: 7px; font-size: 1.45rem; }
  .coordinator-copy span { font-size: 0.87rem; line-height: 1.48; }
  .coordinator-contact { grid-column: 1; width: auto; min-height: auto; padding: 3px 0 5px; gap: 7px; justify-self: start; color: var(--navy); background: transparent; border-bottom: 2px solid var(--mint); border-radius: 0; box-shadow: none; font-size: 0.84rem; }
  .coordinator-contact:hover { box-shadow: none; transform: none; }
  .coordinator-contact::after { color: var(--blue); font-size: 1rem; }
  .contact-label-desktop { display: none; }
  .contact-label-mobile { display: inline; }
  .faq-list { margin-top: 32px; }
  .faq-list summary { padding: 19px 0; font-size: 1rem; }
  .faq-list p { font-size: 0.92rem; }
  .contact-banner { gap: 18px; padding: 34px 16px 36px; }
  .contact-banner .eyebrow { margin-bottom: 11px; }
  .contact-banner h2 { max-width: 340px; font-size: clamp(1.72rem, 8.2vw, 2.12rem); line-height: 1.03; }
  .contact-banner p:last-child { margin: 13px 0 0; font-size: 0.87rem; line-height: 1.48; }
  .contact-banner .button { width: auto; min-height: 44px; padding: 0 21px; align-self: flex-start; font-size: 0.84rem; }
  .site-footer { padding: 30px 16px; }
}
