/* ==========================================================
   Varcus Academy · estilos según el manual de marca
   Tipografías: GRAFIKA TYPE.1 (nombre) · Gill Sans Nova (textos)
  
   ========================================================== */

@font-face {
  font-family: "Grafika Type1";
  src: local("GRAFIKA TYPE.1 Regular"), local("Grafika Type.1"),
       url("../assets/fonts/GRAFIKA-TYPE1.028d7da5bb0d.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Gill Sans Nova";
  font-weight: 400;
  src: local("Gill Sans Nova Medium"), local("GillSansNova-Medium");
}
@font-face {
  font-family: "Gill Sans Nova";
  font-weight: 700;
  src: local("Gill Sans Nova Bold"), local("GillSansNova-Bold");
}

:root {
  /* Paleta oficial (manual de marca) */
  --turquesa: #0B738D;
  --gris: #606161;
  /* Apoyos tomados de las bandas y piezas del manual (aproximados) */
  --turquesa-medio: #2493AE;
  --turquesa-claro: #57C8DB;
  --gris-suave: #F5F6F6;
  --gris-linea: #E4E6E6;
  --agua: #E1EEF0;
  --blanco: #fff;
  --tinta: var(--gris);

  --f-marca: "Grafika Type1", "Oswald", "Arial Narrow", sans-serif;
  --f-texto: "Gill Sans Nova", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  --punta: 26px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--f-texto); color: var(--gris); background: var(--blanco); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--tinta); }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--turquesa-claro); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.contenedor { width: min(1120px, 100% - 3rem); margin-inline: auto; }
.saltar { position: absolute; left: -999px; background: var(--turquesa); color: #fff; padding: .5rem 1rem; z-index: 20; }
.saltar:focus { left: 1rem; top: 1rem; }

/* ---------- Botones y bandas terminadas en punta ---------- */
.boton {
  display: inline-block; padding: .9rem 1.8rem; border: 0; cursor: pointer;
  background: var(--turquesa); color: #fff; font: 700 1rem var(--f-texto); text-decoration: none;
  border-radius: 980px; transition: background .25s var(--ease), transform .25s var(--ease);
}
.boton:hover { background: var(--turquesa-medio); transform: translateY(-1px); }
.boton--punta {
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
  padding-right: 1.2rem;
  background: linear-gradient(135deg, rgba(11, 115, 141, .94), rgba(36, 147, 174, .86));
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 8px 22px rgba(11, 115, 141, .18), inset 0 1px rgba(255, 255, 255, .22);
}
.boton--punta:hover {
  background: linear-gradient(135deg, rgba(11, 115, 141, .98), rgba(36, 147, 174, .94));
  box-shadow: 0 12px 26px rgba(11, 115, 141, .25), inset 0 1px rgba(255, 255, 255, .3);
}
.boton--claro { background: #fff; color: var(--turquesa); }
.boton--claro:hover { background: var(--agua); }
.banda {
  background: var(--turquesa-medio); color: #fff; font-weight: 700; font-size: 1.15rem;
  padding: .8rem 3rem .8rem 1.2rem; margin: 1.5rem 0; max-width: 30rem;
  clip-path: polygon(0 0, calc(100% - var(--punta)) 0, 100% 50%, calc(100% - var(--punta)) 100%, 0 100%);
}

/* ---------- Cabecera (banner de navegación) ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gris-linea);
}
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.marca { display: flex; align-items: center; height: 100%; }
.marca img {
  width: auto; height: 34px; max-height: 34px;
  transition: transform .35s var(--ease), filter .35s var(--ease);
  transform-origin: center;
}
.marca:hover img, .marca:focus-visible img {
  transform: translateY(-2px) rotate(-1deg) scale(1.04);
  filter: drop-shadow(0 5px 7px rgba(11, 115, 141, .22));
}
.menu { display: flex; align-items: center; gap: 2.25rem; }
.menu a:not(.boton) { color: var(--tinta); font-weight: 400; font-size: .95rem; text-decoration: none; opacity: .8; transition: opacity .2s; }
.menu a:not(.boton):hover { opacity: 1; color: var(--turquesa); }
.menu a.boton { padding: .5rem 1.2rem; font-size: .9rem; }
.menu-btn { display: none; background: none; border: 0; color: var(--tinta); font: 400 .95rem var(--f-texto); padding: .4rem .2rem; }

/* ---------- Bienvenida animada con el búho de la marca ---------- */
.owl-intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 50% 42%, rgba(36, 147, 174, .34), transparent 35%),
    linear-gradient(145deg, rgba(6, 61, 75, .98), rgba(11, 115, 141, .97));
  opacity: 1;
  visibility: visible;
  transition: opacity .36s var(--ease), visibility .36s;
}
.js .owl-intro { display: grid; }
.owl-intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.owl-intro__scene { position: relative; display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 2rem; text-align: center; }
.owl-intro__halo {
  position: absolute;
  top: 8%;
  left: 50%;
  width: clamp(150px, 28vw, 230px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(87, 200, 219, .25), inset 0 0 42px rgba(87, 200, 219, .12);
  transform: translateX(-50%);
  animation: owl-halo 2.6s ease-in-out infinite;
}
.owl-intro__owl { position: relative; width: clamp(100px, 17vw, 142px); height: 160px; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .2)); animation: owl-arrive .72s var(--ease) both; }
.owl-intro__brand { display: flex; align-items: baseline; gap: .65rem; margin-top: .3rem; color: #fff; font: 400 clamp(1.7rem, 5vw, 2.4rem)/1 var(--f-marca); letter-spacing: .06em; animation: owl-copy .4s .18s both; }
.owl-intro__brand span { color: rgba(255, 255, 255, .72); font: 700 .65rem/1 var(--f-texto); letter-spacing: .34em; }
.owl-intro__message { margin-top: .4rem; color: rgba(255, 255, 255, .82); font-size: .94rem; animation: owl-copy .4s .28s both; }
.owl-intro__progress { width: 112px; height: 3px; margin-top: .75rem; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .2); }
.owl-intro__progress i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #8ce0ed; transform: scaleX(0); transform-origin: left; animation: owl-progress .85s .08s var(--ease) forwards; }
@keyframes owl-arrive { from { opacity: 0; transform: translateY(24px) scale(.84) rotate(-5deg); } 72% { opacity: 1; transform: translateY(-4px) scale(1.03) rotate(1deg); } to { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }
@keyframes owl-copy { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes owl-halo { 50% { opacity: .55; transform: translateX(-50%) scale(1.08); } }
@keyframes owl-progress { to { transform: scaleX(1); } }

/* ---------- Hero: estilo limpio, tipografía grande, foco en el logo ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6.5rem); background: linear-gradient(180deg, #fff 0%, var(--gris-suave) 100%); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.hero__eyebrow, .sobrelinea { color: var(--turquesa); font-size: .82rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero__eyebrow { margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.65rem, 5vw, 4.35rem); letter-spacing: -.03em; margin-bottom: .45em; }
.hero h1 span { display: block; }
.t-turquesa { color: var(--turquesa); }
.t-gris { color: var(--gris); }
.hero__texto { max-width: 46rem; }
.hero__texto > p:not(.hero__eyebrow):not(.banda) { font-size: 1.2rem; color: var(--gris); }
.hero__texto > p.banda { color: #fff; font-size: 1.15rem; }
.hero .boton { margin-top: .5rem; padding: 1rem 2.2rem; font-size: 1.05rem; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__visual { position: relative; isolation: isolate; display: flex; min-height: 440px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 2.5rem; border-radius: 30px; color: #fff; text-align: center; background: radial-gradient(circle at 50% 38%, rgba(87, 200, 219, .38), transparent 37%), linear-gradient(145deg, #07566a, var(--turquesa)); box-shadow: 0 28px 60px -24px rgba(11, 115, 141, .5); }
.hero__visual::before, .hero__visual::after { position: absolute; z-index: -1; content: ""; border: 1px solid rgba(255, 255, 255, .19); border-radius: 50%; }
.hero__visual::before { width: 330px; aspect-ratio: 1; }
.hero__visual::after { width: 410px; aspect-ratio: 1; }
.hero__llave { position: absolute; z-index: -1; top: -5.7rem; left: -.4rem; color: rgba(255, 255, 255, .07); font: 400 28rem/.9 var(--f-texto); }
.hero__visual-logo {
  width: clamp(140px, 18vw, 205px); max-height: 205px; object-fit: contain; margin-bottom: 1.1rem;
  filter: brightness(1.45) drop-shadow(0 8px 18px rgba(0, 0, 0, .14));
  transform-origin: center; transition: transform .35s var(--ease), filter .35s var(--ease);
}
.hero__visual-logo:hover {
  transform: translateY(-4px) rotate(-1deg) scale(1.045);
  filter: brightness(1.45) drop-shadow(0 13px 22px rgba(0, 0, 0, .2));
}
.hero__visual-etiqueta { margin: 0 0 .7rem; color: rgba(255, 255, 255, .76); font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.hero__visual-frase { max-width: 13ch; margin: 0; color: #fff; font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.08; }
.hero__visual-sello { margin-top: 1.2rem; padding: .35rem .85rem; border: 1px solid rgba(255, 255, 255, .42); border-radius: 99px; color: rgba(255, 255, 255, .92); font-size: .78rem; letter-spacing: .08em; }

/* ---------- Secciones ---------- */
.seccion { padding-block: clamp(4rem, 8vw, 7rem); }
.seccion--gris { background: var(--gris-suave); }
.seccion h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-align: center; }
.intro { font-size: 1.15rem; text-align: center; margin-inline: auto; }
#t-propuesta + .intro, #t-programas + .intro, #t-experiencia + .intro, #t-nosotros + .intro { margin-bottom: 2.5rem; }
.sobrelinea { margin: 0 auto .7rem; text-align: center; }
.propuesta { padding-block: clamp(4rem, 5.5vw, 5.5rem); background: var(--agua); text-align: center; }
.propuesta h2 { margin-bottom: .65rem; }
.propuesta .intro { margin-bottom: 1.8rem; }
.pilares { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; text-align: left; }
.pilares li { padding: .25rem 1.5rem; }
.pilares li:first-child { padding-left: 0; }
.pilares li + li { border-left: 1px solid rgba(11, 115, 141, .22); }
.pilares li:last-child { padding-right: 0; }
.pilares__encabezado, .metodologia__encabezado { display: flex; align-items: center; gap: .65rem; }
.pilares__encabezado { margin-bottom: .55rem; }
.propuesta__icono { --icono-fondo: #dff1f3; --icono-color: var(--turquesa); display: grid; width: 2.65rem; height: 2.65rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--icono-fondo); color: var(--icono-color); }
.propuesta__icono svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pilares__encabezado .propuesta__icono { width: 2.7rem; height: 2.7rem; }
.pilares h3 { margin: 0; color: var(--turquesa); font-size: 1.2rem; }
.pilares p { margin: 0; font-size: .97rem; }
.pilares li:nth-child(2) .propuesta__icono, .metodologia__lista li:nth-child(2) .propuesta__icono { --icono-fondo: #fff1d8; --icono-color: #925f06; }
.pilares li:nth-child(3) .propuesta__icono, .metodologia__lista li:nth-child(3) .propuesta__icono { --icono-fondo: #eeeafd; --icono-color: #6655a8; }
.metodologia__lista li:nth-child(4) .propuesta__icono { --icono-fondo: #fdeae5; --icono-color: #a35342; }
.metodologia__lista li:nth-child(5) .propuesta__icono { --icono-fondo: #e6f2e8; --icono-color: #397451; }
.metodologia { margin-top: 2.25rem; padding-top: 1.7rem; border-top: 1px solid rgba(11, 115, 141, .18); }
.metodologia__titulo { max-width: 30ch; margin: 0 auto .55rem; color: var(--gris); font-size: clamp(1.55rem, 2.7vw, 2rem); line-height: 1.12; text-align: center; }
.metodologia__intro { max-width: 68ch; margin: 0 auto 1.25rem; font-size: 1rem; line-height: 1.5; text-align: center; }
.metodologia__intro strong { color: var(--turquesa); }
.metodologia__lista { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 0; row-gap: 1.25rem; margin: 0; padding: 0; text-align: left; }
.metodologia__lista li { min-width: 0; padding: .1rem 1rem; }
.metodologia__lista li + li { border-left: 1px solid rgba(11, 115, 141, .2); }
.metodologia__encabezado { min-height: 3.55rem; margin-bottom: .4rem; gap: .5rem; }
.metodologia__encabezado .propuesta__icono { width: 2.25rem; height: 2.25rem; }
.metodologia__encabezado .propuesta__icono svg { width: 1.2rem; height: 1.2rem; }
.metodologia__lista h4 { margin: 0; color: var(--turquesa); font-size: 1rem; line-height: 1.2; }
.metodologia__lista p { margin: 0; font-size: .9rem; line-height: 1.45; }

.tarjetas { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem; }
.carrusel-programas { margin-top: 3rem; }
.carrusel-programas__ventana { min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
.carrusel-programas__ventana--sin-transicion { scroll-behavior: auto !important; scroll-snap-type: none; }
.carrusel-programas__ventana--animando { scroll-behavior: auto; scroll-snap-type: none; }
.carrusel-programas__control {
  display: none; place-items: center; width: 3rem; height: 3rem; padding: 0;
  border: 1px solid var(--gris-linea); border-radius: 50%; background: #fff; color: var(--turquesa);
  box-shadow: 0 6px 18px rgba(26, 68, 78, .08); cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), opacity .2s var(--ease);
}
.carrusel-programas--activo { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3rem; align-items: center; gap: .9rem; }
.carrusel-programas--activo .carrusel-programas__control { display: grid; }
.carrusel-programas--activo .carrusel-programas__ventana { scrollbar-width: none; }
.carrusel-programas--activo .carrusel-programas__ventana::-webkit-scrollbar { display: none; }
.carrusel-programas__control:hover:not(:disabled) { transform: scale(1.06); border-color: var(--turquesa); background: var(--turquesa); color: #fff; }
.carrusel-programas__control:disabled { opacity: .38; cursor: default; box-shadow: none; }
.carrusel-programas__control svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.programas__nota { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem .55rem; margin: 1rem auto 0; color: var(--gris); font-size: .98rem; line-height: 1.45; text-align: center; }
.programas__nota strong { color: var(--turquesa); }
.programas__nota-separador { color: var(--turquesa-medio); }
.tarjetas--programas { display: flex; width: 100%; gap: 1.25rem; margin: 0; padding: .5rem 0 1rem; scroll-snap-type: x mandatory; }
.tarjetas--programas > .tarjeta-slide { display: flex; flex: 0 0 calc((100% - 2.5rem) / 3); min-width: 0; scroll-snap-align: start; }
.tarjetas--programas .tarjeta {
  display: flex; flex: 1; flex-direction: column; align-items: flex-start; width: 100%; min-height: 20rem;
  appearance: none; color: var(--gris); font: inherit; text-align: left; cursor: pointer;
}
.tarjetas--programas .tarjeta:focus-visible { outline-offset: 4px; }
.tarjeta:hover .tarjeta__conocer { background: var(--turquesa); color: #fff; }
.tarjeta__conocer {
  display: inline-flex; align-items: center; align-self: flex-end; gap: .45rem; margin-top: auto; padding: .48rem .8rem;
  border-radius: 999px; background: var(--agua); color: var(--turquesa); font-size: .88rem; font-weight: 700;
  line-height: 1; transition: color .2s var(--ease), background .2s var(--ease);
}
.tarjeta__conocer svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.area-modal {
  position: fixed; inset: 0; width: min(58rem, calc(100% - 2rem)); height: min(86vh, 54rem); height: min(86dvh, 54rem);
  max-width: none; max-height: none; margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; color: var(--gris);
}
.area-modal::backdrop { background: rgba(23, 40, 45, .58); backdrop-filter: blur(5px); animation: area-modal-fondo-entrada .48s cubic-bezier(.16, 1, .3, 1) both; }
.area-modal.area-modal--cerrando::backdrop { animation: area-modal-fondo-salida .48s cubic-bezier(.4, 0, 1, 1) both; }
@keyframes area-modal-fondo-entrada { from { opacity: 0; } to { opacity: 1; } }
@keyframes area-modal-fondo-salida { from { opacity: 1; } to { opacity: 0; } }
.area-modal__panel {
  position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: 4.4rem clamp(1.2rem, 4vw, 3rem) 1.5rem; border: 1px solid rgba(11, 115, 141, .12);
  border-radius: 28px; background: #fff; box-shadow: 0 28px 90px rgba(10, 36, 43, .25);
}
.area-modal__cerrar {
  position: absolute; z-index: 2; top: .9rem; right: .9rem; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--gris-linea); border-radius: 50%;
  background: #fff; color: var(--turquesa); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.area-modal__cerrar:hover { transform: rotate(90deg); background: var(--turquesa); color: #fff; }
.area-modal__cerrar svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.area-modal__encabezado { max-width: 68ch; margin-bottom: 1.6rem; }
.area-modal__etiqueta { margin: 0 0 .6rem; color: var(--turquesa); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.area-modal__encabezado h2 { margin: 0 0 .8rem; color: var(--tinta); font-size: clamp(1.8rem, 4vw, 2.65rem); text-align: left; }
.area-modal__frase { margin: 0 0 .55rem; color: var(--turquesa); font-size: 1.18rem; font-weight: 700; line-height: 1.35; }
.area-modal__descripcion { margin: 0; max-width: none; font-size: 1rem; line-height: 1.6; }
.area-modal__cursos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .9rem; }
.area-modal__curso { display: flex; flex-direction: column; gap: .65rem; padding: 1.2rem; border: 1px solid var(--gris-linea); border-radius: 18px; background: #f8fafa; }
.area-modal__curso h3 { margin: 0; color: var(--turquesa); font-size: 1.15rem; line-height: 1.2; }
.area-modal__curso > p { margin: 0; max-width: none; font-size: .94rem; line-height: 1.55; }
.area-modal__insignia { align-self: flex-start; padding: .32rem .62rem; border-radius: 999px; background: var(--agua); color: var(--turquesa); font-size: .75rem; font-weight: 700; }
.area-modal__datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.area-modal__datos div { padding: .65rem .75rem; border-radius: 12px; background: #fff; }
.area-modal__datos dt { color: var(--gris); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.area-modal__datos dd { margin: .2rem 0 0; color: var(--tinta); font-size: .9rem; font-weight: 700; line-height: 1.35; }
.area-modal__aprendizajes strong { color: var(--tinta); }
.area-modal__proyecto { padding: .7rem .8rem; border-left: 3px solid var(--turquesa-medio); border-radius: 0 10px 10px 0; background: #fff; }
.area-modal__proyecto strong { color: var(--tinta); }
.area-modal__acciones { display: flex; justify-content: flex-end; margin-top: 1.1rem; }
.area-modal__boton-cerrar { min-height: 2.8rem; padding: .65rem 1.2rem; border: 1px solid var(--turquesa); border-radius: 999px; background: var(--turquesa); color: #fff; font: 700 .95rem var(--f-texto); cursor: pointer; }
.area-modal__boton-cerrar:hover { background: var(--turquesa-medio); border-color: var(--turquesa-medio); }
@media (prefers-reduced-motion: reduce) {
  .area-modal::backdrop, .area-modal.area-modal--cerrando::backdrop { animation-duration: .001ms; }
}
@media (prefers-reduced-motion: reduce) {
  .carrusel-programas__ventana { scroll-behavior: auto; }
}
.tarjeta {
  position: relative; padding: 2rem 1.6rem; background: #fff; border-radius: 20px;
  border: 1px solid var(--gris-linea); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tarjeta:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .18); }
.tarjeta h3 { color: var(--turquesa); font-size: 1.3rem; margin-top: 1.1rem; }
.tarjeta p { font-size: .98rem; margin-bottom: 0; }
.tarjeta .tarjeta__temas { margin: 0 0 .55rem; color: var(--turquesa); font-size: .88rem; font-weight: 700; line-height: 1.4; }
.icono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--turquesa); }
.icono--claro { background: var(--turquesa-medio); }
.icono svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.proposito { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.proposito .tarjeta { padding: 1.5rem 1.35rem; }
.proposito .proposito__etiqueta { margin: 0; color: var(--turquesa); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.proposito .tarjeta h3 { margin: .55rem 0 .65rem; }
.proposito__finalidad { grid-column: 1 / -1; margin: 0; padding: .5rem 1rem; border-left: 3px solid var(--turquesa); color: var(--gris); text-align: center; }
.proposito__finalidad strong { color: var(--tinta); }

.nosotros { display: grid; grid-template-columns: 220px 1fr; gap: 3.5rem; align-items: center; }
.nosotros__buho {
  justify-self: center;
  transition: transform .5s var(--ease), filter .5s var(--ease);
  will-change: transform;
}
.nosotros__buho:hover { transform: scale(1.06) rotate(-3deg); filter: drop-shadow(0 12px 20px rgba(11, 115, 141, .25)); }
.nosotros .sobrelinea, .nosotros h2, .nosotros .intro { text-align: left; margin-inline: 0; }
.simbolos { margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.simbolos dt { font-weight: 700; color: var(--turquesa); }
.simbolos dd { margin: 0; max-width: 60ch; }

.cta { background: var(--turquesa); color: #fff; padding-block: 2.6rem; }
.cta__fila { display: flex; align-items: center; justify-content: center; text-align: center; }
.cta p { max-width: none; margin: 0 auto; font: 700 clamp(1.3rem, 2.6vw, 1.8rem) var(--f-texto); text-align: center; }
.contacto__ilustracion {
  display: grid; position: relative; isolation: isolate; place-items: center;
  width: 136px; aspect-ratio: 1; margin: 1.5rem auto 0; overflow: visible;
  border: 1px solid rgba(11, 115, 141, .16); border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff, #f1f8f9 68%, var(--agua));
  box-shadow: 0 14px 32px -18px rgba(11, 115, 141, .42);
}
.contacto__ilustracion::before {
  position: absolute; z-index: -1; inset: -8px; content: "";
  border: 1px solid rgba(36, 147, 174, .17); border-radius: 50%;
}
.contacto__ilustracion svg { width: 84px; height: 72px; overflow: visible; fill: none; stroke: var(--turquesa); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.contacto__avion { fill: rgba(87, 200, 219, .24); stroke: var(--turquesa); transform-box: fill-box; transform-origin: center; animation: correo-vuelo 2.4s ease-in-out infinite; }
.contacto__rastro { stroke: var(--turquesa-medio); opacity: .8; }
@keyframes correo-vuelo { 50% { transform: translate(2px, -2px); } }

.contacto { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
form { display: grid; gap: .4rem; }
label { font-weight: 700; color: var(--turquesa); margin-top: .6rem; }
.campo-opcional { color: var(--gris); font-size: .85rem; font-weight: 400; }
input, textarea {
  font: inherit; color: var(--tinta); padding: .8rem .9rem; border: 1px solid var(--gris-linea);
  background: var(--gris-suave); border-radius: 12px; transition: border-color .2s, background .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--turquesa-medio); background: #fff; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3261e; }
form .boton { justify-self: start; margin-top: 1rem; }
#estado { margin: .5rem 0 0; font-weight: 700; }
#estado.ok { color: var(--turquesa); }
#estado.error { color: #b3261e; }
.contacto__nota { margin: .5rem 0 0; color: var(--gris); font-size: .86rem; }
#estado.pendiente { color: var(--gris); }
.errorlist { margin: 0; padding-left: 1.2rem; color: #b3261e; font-size: .88rem; }
.contacto__trampa { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Pie ---------- */
.pie { background: var(--tinta); color: #fff; padding-block: 1.25rem; }
.pie__fila { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: .8rem 1.15rem; align-items: center; }
.pie__marca { font-family: var(--f-marca); font-size: 1.4rem; line-height: 1; white-space: nowrap; }
.pie__marca strong { font-weight: 400; margin-right: .5rem; }
.pie__marca span { font-size: .8rem; letter-spacing: .35em; }
.pie__fila > span:not(.pie__marca) { font-size: .78rem; opacity: .78; white-space: nowrap; }
.redes { display: flex; flex-wrap: nowrap; align-items: center; gap: .8rem; white-space: nowrap; }
.redes__item { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-size: .84rem; opacity: .88; white-space: nowrap; }
a.redes__item { text-decoration: none; transition: opacity .2s; }
a.redes__item:hover, a.redes__item:focus-visible { opacity: 1; }
.redes__item svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.redes__item svg .redes__punto { fill: var(--turquesa); stroke: none; }
.redes__item--tiktok svg { fill: currentColor; stroke: none; }
@media (min-width: 981px) and (max-width: 1100px) {
  .pie__fila { grid-template-columns: max-content minmax(0, 1fr); }
  .redes { grid-column: 1; grid-row: 2; }
  .pie__fila > span:last-child { grid-column: 2; grid-row: 2; justify-self: end; }
}
.whatsapp-flotante {
  position: fixed; z-index: 30; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border: 2px solid #fff; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 5px 18px rgba(15, 51, 39, .28); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.whatsapp-flotante:hover { transform: translateY(-3px) scale(1.04); background: #20bd5a; box-shadow: 0 8px 22px rgba(15, 51, 39, .34); }
.whatsapp-flotante:focus-visible { outline: 3px solid var(--tinta); outline-offset: 4px; }
.whatsapp-flotante svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) {
  .whatsapp-flotante { right: max(.9rem, env(safe-area-inset-right)); bottom: max(.9rem, env(safe-area-inset-bottom)); width: 3.4rem; height: 3.4rem; }
  .whatsapp-flotante svg { width: 1.8rem; height: 1.8rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .metodologia__lista { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 0; row-gap: 1.2rem; }
  .metodologia__lista li { grid-column: span 2; padding: .25rem .7rem; }
  .metodologia__lista li + li { border-left: 0; }
  .metodologia__lista li:nth-child(4) { grid-column: 2 / span 2; }
  .metodologia__lista li:nth-child(5) { grid-column: 4 / span 2; }
  .metodologia__encabezado { min-height: 3.5rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__texto { max-width: 52rem; margin-inline: auto; text-align: center; }
  .hero__acciones { justify-content: center; }
  .hero__visual { width: min(520px, 100%); min-height: 320px; margin-inline: auto; }
  .nosotros, .contacto { grid-template-columns: 1fr; }
  .nosotros__buho { width: 140px; }
  .menu-btn { display: block; }
  .menu {
    display: none; position: absolute; top: calc(100% + .4rem); left: 1rem; right: 1rem;
    flex-direction: column; align-items: stretch; gap: .2rem; padding: .75rem;
    border: 1px solid var(--gris-linea); border-radius: 20px; background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 45px rgba(18, 63, 75, .16);
  }
  .menu.abierto { display: flex; }
  .menu a:not(.boton) { min-height: 44px; display: flex; align-items: center; padding: .6rem .8rem; border-radius: 12px; }
  .menu a:not(.boton):hover { background: var(--gris-suave); }
  .menu a.boton { min-height: 46px; display: flex; align-items: center; justify-content: center; margin-top: .3rem; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .45rem .8rem;
    border: 1px solid var(--gris-linea); border-radius: 999px; background: #fff; color: var(--turquesa);
    font-weight: 700; cursor: pointer;
  }
  .menu-btn::before {
    content: ""; display: inline-block; width: 15px; height: 12px; border-block: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  }
}
@media (max-width: 760px) {
  .tarjetas--programas > .tarjeta-slide { flex-basis: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 72px; }
  body { font-size: 1rem; line-height: 1.6; }
  .contenedor { width: min(100% - 2rem, 34rem); }
  .cabecera__fila { height: 62px; }
  .marca img { height: 30px; max-height: 30px; }
  .hero { padding-block: 2.4rem 2.7rem; background: radial-gradient(circle at 90% 0%, rgba(87, 200, 219, .13), transparent 16rem), linear-gradient(180deg, #fff, var(--gris-suave)); }
  .hero__grid { gap: 1.6rem; }
  .hero__texto { text-align: left; }
  .hero__eyebrow { display: inline-flex; margin: 0 0 .9rem; padding: .32rem .7rem; border-radius: 999px; background: rgba(87, 200, 219, .16); font-size: .68rem; letter-spacing: .09em; }
  .hero h1 { max-width: 18ch; margin-bottom: .65rem; font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.04; letter-spacing: -.04em; }
  .hero__texto > p:not(.hero__eyebrow):not(.banda) { max-width: 38ch; margin-bottom: .8rem; color: #555e61; font-size: 1rem; line-height: 1.55; }
  .hero__texto > p.banda { width: fit-content; max-width: 100%; margin: .85rem 0 1.15rem; padding: .48rem .85rem; clip-path: none; border: 1px solid rgba(11, 115, 141, .12); border-radius: 999px; background: rgba(87, 200, 219, .16); color: var(--turquesa); font-size: .9rem; }
  .hero__acciones { flex-direction: column; align-items: stretch; gap: .6rem; }
  .hero .boton, .hero .hero__acciones .boton { width: min(100%, 23rem); min-height: 48px; margin: 0; padding: .78rem 1rem; text-align: center; font-size: .96rem; }
  .hero .hero__acciones .boton--claro { border: 1px solid rgba(11, 115, 141, .2); background: rgba(255, 255, 255, .65); }
  .hero__visual { width: 100%; min-height: 218px; padding: 1.2rem; border-radius: 24px; box-shadow: 0 18px 36px -24px rgba(11, 115, 141, .65); }
  .hero__visual::before { width: 230px; }
  .hero__visual::after { width: 290px; }
  .hero__llave { display: none; }
  .hero__visual-logo { width: 102px; max-height: 108px; margin-bottom: .5rem; }
  .hero__visual-etiqueta { margin-bottom: .45rem; font-size: .6rem; letter-spacing: .13em; }
  .hero__visual-frase { max-width: 18ch; font-size: 1.28rem; line-height: 1.12; }
  .hero__visual-sello { margin-top: .65rem; padding: .25rem .7rem; font-size: .68rem; }
  .seccion { padding-block: 3.4rem; }
  .seccion h2 { max-width: 23ch; margin-inline: auto; font-size: clamp(1.65rem, 7vw, 2.1rem); line-height: 1.1; }
  .sobrelinea { margin-bottom: .55rem; font-size: .68rem; letter-spacing: .1em; }
  .intro { max-width: 42ch; font-size: 1rem; line-height: 1.6; }
  #t-propuesta + .intro, #t-programas + .intro, #t-experiencia + .intro, #t-nosotros + .intro { margin-bottom: 1.6rem; }
  .propuesta { padding-block: 3.5rem; }
  .propuesta h2 br { display: none; }
  .propuesta .intro { margin-bottom: 1.3rem; }
  .pilares { grid-template-columns: 1fr; gap: 0; }
  .pilares li, .pilares li:first-child, .pilares li:last-child { padding: .85rem 0; }
  .pilares li + li { border-top: 1px solid rgba(11, 115, 141, .18); border-left: 0; }
  .pilares__encabezado { gap: .6rem; margin-bottom: .4rem; }
  .pilares__encabezado .propuesta__icono { width: 2.35rem; height: 2.35rem; }
  .pilares__encabezado .propuesta__icono svg { width: 1.2rem; height: 1.2rem; }
  .pilares h3 { font-size: 1.08rem; }
  .pilares p { font-size: .94rem; line-height: 1.5; }
  .metodologia { margin-top: 1.8rem; padding-top: 1.35rem; }
  .metodologia__titulo { margin-bottom: .45rem; font-size: clamp(1.4rem, 5vw, 1.7rem); }
  .metodologia__intro { margin-bottom: 1rem; font-size: .95rem; line-height: 1.5; }
  .metodologia__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; row-gap: 1rem; }
  .metodologia__lista li, .metodologia__lista li:nth-child(4), .metodologia__lista li:nth-child(5) { grid-column: auto; padding: 0; }
  .metodologia__lista li + li { border-left: 0; }
  .metodologia__lista li:last-child { grid-column: 1 / -1; width: calc((100% - 1rem) / 2); justify-self: center; }
  .metodologia__encabezado { min-height: 0; align-items: flex-start; gap: .45rem; }
  .metodologia__encabezado .propuesta__icono { width: 2rem; height: 2rem; }
  .metodologia__encabezado .propuesta__icono svg { width: 1.1rem; height: 1.1rem; }
  .metodologia__lista h4 { margin: 0 0 .25rem; font-size: .98rem; }
  .metodologia__lista p { font-size: .88rem; line-height: 1.45; }
  .tarjetas { grid-template-columns: 1fr; gap: .75rem; margin-top: 1.55rem; }
  .carrusel-programas { margin-top: 1.55rem; }
  .programas__nota { margin-top: .75rem; font-size: .9rem; }
  .carrusel-programas--activo { grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem; gap: .35rem; }
  .carrusel-programas__ventana { grid-column: 2; grid-row: 1; }
  .carrusel-programas__control { width: 2.6rem; height: 2.6rem; }
  .carrusel-programas__control[data-carrusel-anterior] { grid-column: 1; grid-row: 1; justify-self: center; }
  .carrusel-programas__control[data-carrusel-siguiente] { grid-column: 3; grid-row: 1; justify-self: center; }
  .tarjetas--programas { gap: .75rem; }
  .tarjetas--programas > .tarjeta-slide { flex-basis: 100%; }
  .tarjetas--programas .tarjeta { min-height: 0; }
  .tarjetas .tarjeta { display: grid; grid-template-columns: 2.55rem minmax(0, 1fr); align-content: start; column-gap: .75rem; row-gap: .45rem; padding: 1rem; border-radius: 16px; box-shadow: 0 5px 16px rgba(26, 68, 78, .035); }
  .tarjetas .tarjeta:hover { transform: none; box-shadow: 0 5px 16px rgba(26, 68, 78, .035); }
  .tarjetas .icono { grid-column: 1; grid-row: 1; width: 2.5rem; height: 2.5rem; }
  .tarjetas .icono svg { width: 21px; height: 21px; }
  .tarjetas .tarjeta h3 { grid-column: 2; align-self: center; margin: 0; font-size: 1.05rem; line-height: 1.18; }
  .tarjetas .tarjeta p { grid-column: 1 / -1; margin-top: .15rem; font-size: .94rem; line-height: 1.52; }
  .tarjetas .tarjeta .tarjeta__temas { margin: .15rem 0 0; color: var(--turquesa); font-size: .88rem; }
  .tarjetas .tarjeta .tarjeta__conocer { grid-column: 1 / -1; justify-self: end; margin-top: .25rem; }
  .area-modal { width: calc(100% - 1rem); height: min(90vh, 50rem); height: min(90dvh, 50rem); }
  .area-modal__panel { padding: 4rem 1rem 1rem; border-radius: 20px; }
  .area-modal__cerrar { top: .7rem; right: .7rem; width: 2.6rem; height: 2.6rem; }
  .area-modal__encabezado { margin-bottom: 1.1rem; }
  .area-modal__frase { font-size: 1.05rem; }
  .area-modal__descripcion { font-size: .94rem; }
  .area-modal__cursos { grid-template-columns: 1fr; gap: .7rem; }
  .area-modal__curso { padding: 1rem; border-radius: 16px; }
  .nosotros { gap: .8rem; }
  .nosotros__buho { width: 88px; margin-bottom: .35rem; }
  .nosotros .sobrelinea, .nosotros h2, .nosotros .intro { text-align: center; margin-inline: auto; }
  .nosotros .intro { margin-bottom: 1.45rem; }
  .proposito { grid-template-columns: 1fr; gap: .75rem; margin: 1.4rem 0; }
  .proposito .tarjeta { padding: 1.1rem; border-radius: 16px; }
  .proposito .tarjeta h3 { margin: .4rem 0 .45rem; font-size: 1.08rem; }
  .proposito .tarjeta p:last-child { font-size: .94rem; line-height: 1.55; }
  .proposito__finalidad { grid-column: auto; }
  .proposito__finalidad { padding: .85rem 1rem; border-radius: 0 12px 12px 0; background: var(--gris-suave); font-size: .94rem; text-align: left; }
  .simbolos { gap: .8rem; margin-top: 1.35rem; }
  .simbolos div { padding-top: .7rem; border-top: 1px solid var(--gris-linea); }
  .simbolos dt { font-size: .96rem; }
  .simbolos dd { font-size: .92rem; line-height: 1.5; }
  .cta { padding-block: 1.7rem; }
  .cta p { max-width: 25ch; font-size: clamp(1.15rem, 5vw, 1.42rem); line-height: 1.25; }
  .contacto { gap: 1rem; }
  .contacto h2 { margin-inline: 0; text-align: left; }
  .contacto .intro { margin-inline: 0; text-align: left; }
  .contacto__ilustracion { display: none; }
  .contacto form { gap: .25rem; }
  .contacto label { margin-top: .4rem; font-size: .94rem; }
  .contacto input, .contacto textarea { min-height: 48px; padding: .75rem .85rem; border-radius: 12px; background: #fff; font-size: 1rem; }
  .contacto textarea { min-height: 120px; }
  .contacto form .boton { width: 100%; min-height: 48px; justify-self: stretch; margin-top: .65rem; }
  .contacto__nota { font-size: .88rem; }
  .pie { padding-block: 1.65rem; }
  .pie__fila { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .7rem; text-align: center; }
  .pie__marca { margin-bottom: .1rem; }
  .pie__fila > span:not(.pie__marca) { font-size: .82rem; }
  .pie__fila > span:last-child { white-space: normal; }
  .redes { order: initial; width: auto; justify-content: center; gap: .8rem 1rem; }
  .redes__item { font-size: .85rem; }
}
@media (max-width: 420px) {
  .metodologia__lista { grid-template-columns: 1fr; }
  .metodologia__lista li:last-child { grid-column: auto; width: auto; justify-self: stretch; }
}
