/* ============================================================
   Plus Code — landing styles
   Fonts: Montserrat (headings) · Open Sans (body)
   ============================================================ */
:root {
  --blue:       #0051b1;
  --blue-mid:   #2c78d3;
  --blue-light: #5199ee;
  --blue-soft:  #d7eaff;
  --navy:       #002856;
  --navy-deep:  #003471;
  --yellow:     #ffc21b;
  --green:      #24cf50;
  --ink:        #272b33;
  --ink-soft:   #2d2d2d;
  --body:       #535353;
  --line:       #e4e7ec;
  --bg-soft:    #f8f8f8;
  --bg-gray:    #f2f2f2;
  --radius:     12px;
  --maxw:       1180px;
  --quote:      #3d6089;
  --ease:       cubic-bezier(.2, 0, 0, 1);   /* R98: snappy, nunca ease-in (R99) */
  /* feedback #4: escala de elevación unificada (R96) */
  --shadow-sm:  0 0 0 1px rgba(0,40,86,.05), 0 6px 16px rgba(0,40,86,.07);
  --shadow-md:  0 0 0 1px rgba(0,40,86,.05), 0 14px 34px rgba(0,40,86,.1);
  --shadow-lg:  0 0 0 1px rgba(0,40,86,.04), 0 24px 60px rgba(0,40,86,.16);
}

*,*::before,*::after { box-sizing: border-box; }

/* R253 + R262: foco visible y navegable por teclado en todo interactivo */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,h2,h3,h4 { font-family: "Montserrat", system-ui, sans-serif; color: var(--ink); margin: 0; line-height: 1.2; text-wrap: balance; } /* R1: evita viudas en títulos */
p { text-wrap: pretty; } /* R1: evita huérfanas en párrafos */
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
/* feedback #2: una sola regla de título de sección (idéntica en todos los breakpoints) */
:root { --title: clamp(28px, 1.5rem + 1.6vw, 36px); }
.section__title { font-size: var(--title); font-weight: 800; text-align: center; letter-spacing: .01em; text-transform: uppercase; line-height: 1.15; }
.section__lead { max-width: 640px; margin: 18px auto 0; text-align: center; color: var(--body); font-size: 17px; }

.rule { display: block; width: 64px; height: 4px; background: var(--blue); border-radius: 4px; margin: 16px 0; }
.rule--center { margin-left: auto; margin-right: auto; }
.rule--light { background: var(--yellow); }

/* feedback #1: encabezado de sección con presencia y separación clara del contenido */
.section-head { max-width: 680px; margin: 0 auto 8px; }
.section-head .section__lead { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 6px; cursor: pointer; border: 0;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn svg { flex: none; }
/* feedback #9: botón que llama la atención (pulso + flecha que avanza en hover) */
.btn--attention { position: relative; animation: btn-attention 2.6s var(--ease) infinite; }
.btn--attention svg { transition: transform .25s var(--ease); }
.btn--attention:hover svg { transform: translateX(4px); }
@keyframes btn-attention {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,81,177,.45); }
  40% { box-shadow: 0 0 0 12px rgba(0,81,177,0); }
}
.btn:hover { transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: #2d2d2d; box-shadow: 0 8px 20px rgba(255,194,27,.35); }
.btn--yellow:hover { box-shadow: 0 12px 26px rgba(255,194,27,.45); }
.btn--dark { background: #2d2d2d; color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #00428f; }
.btn--ghost { background: #fff; color: var(--blue); border: 1px solid var(--line); }
.btn--outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
/* secundario sobre fondos oscuros (jerarquía: solo Apply es amarillo) */
.btn--ghost-light { background: rgba(255,255,255,.06); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- Header ---------- */
/* feedback #4: nav más atractiva, glass al hacer scroll */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(0,40,86,.82);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 8px 28px rgba(0,18,46,.28);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { transition: transform .2s var(--ease); }
.brand:hover { transform: translateY(-1px); }
.brand__mark { transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand { display: inline-flex; align-items: center; color: #fff; flex: none; }
.brand__logo { height: 30px; width: auto; display: block; }
.footer .brand__logo { height: 32px; }
.brand--light { color: #fff; }

.nav__links { display: flex; align-items: center; gap: 6px; }
/* feedback #3: links con hover tipo pill */
.nav__links a:not(.btn--apply-nav) {
  color: #fff; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 14px;
  padding: 8px 16px; border-radius: 999px;
  transition: background .2s var(--ease);
}
.nav__links a:not(.btn--apply-nav):hover { background: rgba(255,255,255,.16); }
/* feedback #6 + #3(nuevo): sección activa = solo underline, sin chip de fondo */
.nav__links a:not(.btn--apply-nav).active { background: transparent; position: relative; }
.nav__links a:not(.btn--apply-nav).active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px; background: var(--yellow); }
/* feedback #1: más contraste (texto casi negro + bold sobre amarillo) */
.btn--apply-nav { background: var(--yellow); color: #1a1a1a; font-weight: 700; padding: 10px 22px; border-radius: 6px; letter-spacing: .04em; margin-left: 8px; }
.btn--apply-nav:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,194,27,.45); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; margin-top: -76px; padding-top: 76px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--navy) 0%, rgba(0,81,177,.92) 55%, rgba(81,153,238,.78) 100%);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__inner { max-width: 640px; padding-top: 90px; padding-bottom: 120px; }
/* feedback #11: panel de código animado, ad-hoc a los colores del hero */
.hero__code { position: relative; background: rgba(7, 28, 58, .55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 42px 22px 22px; box-shadow: 0 30px 70px rgba(0,18,46,.45); font-family: "SF Mono", Menlo, monospace; min-height: 220px; }
.hero__code .dots { position: absolute; top: 15px; left: 18px; display: flex; gap: 7px; }
.hero__code .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f56; }
.hero__code .dots i:nth-child(2){ background:#ffbd2e; } .hero__code .dots i:nth-child(3){ background:#27c93f; }
.hero__code-file { position: absolute; top: 16px; left: 0; right: 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.55); }
.hero__code pre { margin: 0; }
.hero__code code { font-size: 14px; line-height: 1.75; color: #d6e4ff; white-space: pre-wrap; }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 48px); font-weight: 800; text-transform: uppercase; line-height: 1.1; letter-spacing: -0.01em; } /* R5: tracking más ajustado en display grande */
.hero p { margin: 22px 0 32px; font-size: 17px; color: rgba(255,255,255,.92); }
/* feedback #5: trust signal bajo el CTA del hero */
.hero__trust { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.9); }
.hero__trust strong { color: #fff; }
.hero__trust-avatars { display: inline-flex; }
.hero__trust-avatars img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); margin-left: -10px; }
.hero__trust-avatars img:first-child { margin-left: 0; }
/* (pendiente blanca del hero eliminada: ahora transiciona a la banda de stats oscura) */

/* ---------- Stats band (feedback #4) ---------- */
/* fluye desde el hero como un mismo bloque oscuro, y la diagonal pasa aquí (stats → sección blanca) */
.stats { position: relative; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; padding: 44px 0 80px; }
.stats::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; background: #fff; clip-path: polygon(0 100%, 100% 100%, 100% 38%, 0 100%); }
.stats__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); height: 44px; width: 1px; background: rgba(255,255,255,.18); }
.stat__num { display: block; font-family: "Montserrat",sans-serif; font-weight: 800; font-size: clamp(30px,4vw,42px); line-height: 1; }
.stat__label { display: block; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.82); letter-spacing: .02em; }

/* ---------- Experience / features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 54px; }
/* feedback #3: tarjeta real con imagen flush + icono montado + cuerpo */
.feature { position: relative; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__media { position: relative; overflow: hidden; }
.feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,40,86,.28)); opacity: 0; transition: opacity .3s var(--ease); }
.feature__media img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.07); }
.feature:hover .feature__media::after { opacity: 1; }
.feature__icon { position: absolute; top: 200px; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(150deg, var(--blue-light), var(--blue)); display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px rgba(0,81,177,.35); border: 3px solid #fff; }
.feature__icon svg { width: 24px; height: 24px; }
.feature__body { padding: 38px 24px 28px; }
.feature h3 { margin: 0 0 10px; color: var(--blue); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.feature p { font-size: 15px; margin: 0; }

/* ---------- Student life ---------- */
.student-life { background: var(--bg-soft); }
/* feedback: cada bloque con separador superior (incluido el 1º → separa del intro) */
.sl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.sl-row:first-of-type { margin-top: 56px; }
.sl-text h3 { color: var(--blue); font-size: clamp(22px,2.6vw,30px); font-weight: 700; margin-bottom: 16px; }
.sl-text p { margin: 0 0 14px; }
/* feedback #7: foto mentores con hover zoom + framing */
.sl-photo-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(0,40,86,.18); }
.sl-photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,40,86,.35)); opacity: 0; transition: opacity .35s var(--ease); }
.sl-photo { display: block; width: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.sl-photo-wrap:hover .sl-photo { transform: scale(1.06); }
.sl-photo-wrap:hover::after { opacity: 1; }

/* feedback #5: link-arrow atractivo (flecha que se desliza + subrayado animado) */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--blue); position: relative; }
.link-arrow::after { content: "\2794"; transition: transform .25s var(--ease); }
.link-arrow::before { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--blue-mid); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow:hover::before { transform: scaleX(1); background: var(--blue-mid); }

/* feedback #4: code window con typing loop + caret parpadeante */
.code-window { background: #1e2330; border-radius: var(--radius); padding: 44px 22px 22px; margin: 0; position: relative; box-shadow: 0 18px 40px rgba(0,40,86,.25); min-height: 168px; overflow: hidden; }
.code-window .dots { position: absolute; top: 16px; left: 18px; display: flex; gap: 7px; }
.code-window .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f56; }
.code-window .dots i:nth-child(2){ background:#ffbd2e; } .code-window .dots i:nth-child(3){ background:#27c93f; }
.code-window code { font-family: "SF Mono", Menlo, monospace; font-size: 13.5px; line-height: 1.7; color: #c7d0e0; white-space: pre-wrap; }
.code-caret { display: inline-block; width: 8px; height: 1.05em; vertical-align: text-bottom; background: #82aaff; margin-left: 1px; animation: caret-blink 1s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.c-key { color: #c792ea; } .c-fn { color: #82aaff; } .c-str { color: #c3e88d; } .c-punc { color: #89ddff; }
.c-prop { color: #ffc21b; } .c-num { color: #f78c6c; } .c-comment { color: #5f7e9e; font-style: italic; }

/* feedback #6: avatar row mejorada — anillo, lift y spread en hover */
.avatar-row { display: flex; align-items: center; margin-top: 22px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; margin-left: -14px; transition: transform .3s var(--ease); }
.avatar:first-child { margin-left: 0; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg-soft); box-shadow: 0 4px 10px rgba(0,40,86,.15); display: block; }
.avatar-row:hover .avatar { transform: translateX(6px); }
.avatar-row:hover .avatar:nth-child(1) { transform: translateX(0); }
.avatar-row:hover .avatar:nth-child(2) { transform: translateX(7px); }
.avatar-row:hover .avatar:nth-child(3) { transform: translateX(14px); }
.avatar:hover { transform: translateY(-6px) scale(1.06) !important; z-index: 2; }
.avatar-more { margin-left: 22px; font-weight: 700; color: var(--blue); font-size: 14px; }

.schedule-card { background: linear-gradient(160deg, var(--blue-light), var(--blue)); border-radius: var(--radius); color: #fff; padding: 26px; box-shadow: var(--shadow-lg); }
.schedule-card__head { margin-bottom: 14px; }
.schedule-card__head strong { display: block; font-family: "Montserrat",sans-serif; font-size: 20px; }
.schedule-card__head span { font-size: 13px; opacity: .85; }
.schedule-list { list-style: none; margin: 0; padding: 0; }
/* feedback #8: fila activa que recorre el horario en loop */
.schedule-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 14px; margin: 0 -14px; border-top: 1px solid rgba(255,255,255,.22); font-size: 14.5px; border-radius: 8px; transition: background .4s var(--ease); }
.schedule-list li.is-active { background: rgba(255,255,255,.18); }
.schedule-list li.is-active .act::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-left: 8px; box-shadow: 0 0 0 0 rgba(36,207,80,.6); animation: pulse-dot 1.4s var(--ease) infinite; }
@keyframes pulse-dot { 0%{box-shadow:0 0 0 0 rgba(36,207,80,.55)} 70%{box-shadow:0 0 0 7px rgba(36,207,80,0)} 100%{box-shadow:0 0 0 0 rgba(36,207,80,0)} }
.schedule-list .time { opacity: .9; white-space: nowrap; }
.schedule-list .act { font-weight: 600; text-align: right; }

/* ---------- Curriculum ---------- */
.curriculum { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
/* feedback #10: texto centrado verticalmente respecto a la tarjeta = más balanceado */
.curriculum__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.curriculum__text { max-width: 460px; }
.curriculum__text h2 { color: #fff; font-size: var(--title); font-weight: 800; line-height: 1.15; }
.curriculum__text p { color: rgba(255,255,255,.88); margin: 0 0 16px; }
.curriculum .rule { background: var(--blue-light); }

.curriculum__card { background: #fff; border-radius: 16px; padding: 0 0 8px; box-shadow: var(--shadow-lg); overflow: hidden; }
/* feedback #5: header del curriculum en una línea, más contraste y vistoso */
.cc-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: linear-gradient(120deg, var(--blue), var(--navy)); color: #fff; padding: 20px 24px; }
.cc-title { font-family: "Montserrat",sans-serif; font-weight: 800; font-size: 18px; line-height: 1.2; white-space: nowrap; letter-spacing: -.01em; }
.cc-hours { background: var(--yellow); color: #1a1a1a; padding: 7px 14px; border-radius: 999px; font-family: "Montserrat",sans-serif; font-size: 13px; font-weight: 800; white-space: nowrap; }
/* feedback #11: cc-table y cc-extra unificadas (mismas filas, mismo pill, mismos divisores) */
.cc-table, .cc-extra { list-style: none; margin: 0; padding: 8px 26px; }
.cc-table { background: var(--blue-soft); padding-top: 16px; padding-bottom: 16px; }
.cc-table li, .cc-extra li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; }
.cc-table li + li, .cc-extra li + li { border-top: 1px solid rgba(0,81,177,.12); }
/* feedback: marcador a la izquierda de cada item */
.cc-lang, .cc-extra li span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 700; font-size: 14.5px; }
/* cc-table: mini-logo real de cada tecnología en badge azul */
.cc-ico { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--blue); display: inline-grid; place-items: center; }
.cc-ico img { width: 14px; height: 14px; filter: brightness(0) invert(1); }
/* cc-extra: check en círculo */
.cc-extra li span:first-child::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,81,177,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230051b1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.cc-meta, .cc-extra li span:last-child { background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 14px; white-space: nowrap; } /* R252: blanco/#0051b1 pasa AA */
.cc-extra { padding-bottom: 16px; }

/* logos blancos reales + nombre del lenguaje debajo */
.tech-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px 44px; margin-top: 64px; }
.tech { display: flex; flex-direction: column; align-items: center; gap: 12px; transition: transform .25s var(--ease); }
.tech img { height: 38px; width: auto; opacity: .9; filter: brightness(0) invert(1); }
.tech span { font-family: "Montserrat",sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.7); text-transform: uppercase; }
.tech:hover { transform: translateY(-3px); }
.tech:hover span { color: #fff; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; background: var(--bg-soft); text-align: center; }
.newsletter__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .12; }
.newsletter__inner { position: relative; max-width: 640px; }
/* feedback #6: icono de email en badge azul junto al título */
.newsletter__title { display: flex; align-items: center; justify-content: center; gap: 18px; }
/* feedback #2: icono más grande + interlineado ajustado para balance con las 2 líneas */
.newsletter__icon { flex: none; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(150deg, var(--blue-light), var(--blue)); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,81,177,.3); }
.newsletter__icon svg { width: 30px; height: 30px; }
.newsletter h2 { color: var(--blue); font-size: clamp(22px,3vw,30px); font-weight: 700; text-align: left; line-height: 1.15; }
.newsletter__form { display: flex; gap: 12px; margin: 28px 0 16px; }
/* feedback #4: más contraste (borde más marcado + fondo) */
.newsletter__form input { flex: 1; border: 1.5px solid #b8c4d6; border-radius: 8px; padding: 15px 16px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); box-shadow: inset 0 1px 2px rgba(0,40,86,.06); }
.newsletter__form input::placeholder { color: #8a97a8; }
.newsletter__form input:focus { border-color: var(--blue); outline: 3px solid rgba(0,81,177,.18); outline-offset: 0; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13px; color: var(--body); }
.checkbox input { margin-top: 3px; }
/* feedback #5 (nuevo): validación de email */
.newsletter__form input.is-invalid { border-color: #d64a39; outline: 3px solid rgba(214,74,57,.18); }
/* feedback #5: validación en píldora con fondo tenue, icono y aire */
.form-error { display: inline-flex; align-items: center; gap: 8px; margin: 18px auto 0; padding: 10px 18px; background: rgba(214,74,57,.1); border: 1px solid rgba(214,74,57,.22); border-radius: 999px; color: #b23323; font-size: 13.5px; font-weight: 600; }
.form-error svg { flex: none; }
/* modal de confirmación */
.m-confirm { display: flex; gap: 16px; align-items: flex-start; background: rgba(36,207,80,.1); border-radius: 14px; padding: 22px; margin-bottom: 6px; }
.m-confirm__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.m-confirm__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.m-confirm .m-lead { margin: 0; font-size: 15px; }

/* ---------- Community ---------- */
/* feedback #12: pings animados sobre el mapa */
.world-map-wrap { position: relative; width: 100%; max-width: 880px; margin: 44px auto 16px; }
.world-map { display: block; width: 100%; height: auto; opacity: .9; }
.map-ping { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(0,81,177,.55); animation: map-ping 2.6s var(--ease) infinite; animation-delay: var(--d, 0s); }
.map-ping::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #fff; opacity: .9; }
@keyframes map-ping { 0% { box-shadow: 0 0 0 0 rgba(0,81,177,.5); } 70% { box-shadow: 0 0 0 16px rgba(0,81,177,0); } 100% { box-shadow: 0 0 0 0 rgba(0,81,177,0); } }
/* feedback #9: testimonios en tarjetas con altura uniforme */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 40px; align-items: stretch; }
.testimonial { margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 26px 28px; box-shadow: var(--shadow-md); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial img { width: 66px; height: 66px; border-radius: 50%; margin: 0 0 16px; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,40,86,.18); }
.testimonial blockquote { margin: 0; flex: 1; font-style: italic; color: var(--quote); font-size: 15px; line-height: 1.6; }
.testimonial blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 40px; line-height: .4; color: var(--blue-light); margin-bottom: 12px; }
.testimonial figcaption { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; }
.testimonial figcaption strong { display: block; color: var(--blue); font-family: "Montserrat",sans-serif; }
.testimonial figcaption span { font-size: 13px; color: var(--body); }

/* ---------- Speakers + opportunities ---------- */
.speakers { display: block; }
.speakers__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.sp-cell { padding: 70px 8%; display: flex; flex-direction: column; justify-content: center; }
.sp-cell--dark { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); color: #fff; }
.sp-cell--right { align-items: flex-start; }
.sp-cell h2 { color: #fff; font-size: var(--title); font-weight: 800; line-height: 1.15; }
.sp-cell p { color: rgba(255,255,255,.9); margin: 0 0 26px; }
/* feedback #4: celdas de logos más oscuras, coherentes con las celdas dark */
.sp-cell--logos { background: linear-gradient(135deg, #013a82, #00295a); align-items: center; }
.sp-cell--logos2 { background: linear-gradient(135deg, #00295a, #013a82); }
/* feedback #5/#6: cada logo en su tarjeta con nombre debajo */
.logo-wall { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 0; width: 100%; }
.logo-wall li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 110px; padding: 18px 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  /* feedback #7: respiración muy sutil y lenta, escalonada */
  animation: logo-breathe 7s ease-in-out infinite;
}
.logo-wall li:nth-child(2) { animation-delay: .9s; }
.logo-wall li:nth-child(3) { animation-delay: 1.8s; }
.logo-wall li:nth-child(4) { animation-delay: 2.7s; }
.logo-wall li:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); transform: translateY(-3px); animation-play-state: paused; }
@keyframes logo-breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .logo-wall li { animation: none; } }
.logo-wall img { height: 34px; width: auto; max-width: 120px; opacity: .95; filter: brightness(0) invert(1); }
.logo-name { font-family: "Montserrat",sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.7); text-transform: uppercase; }
.logo-word { color: #fff; font-family: "Montserrat",sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.01em; line-height: 34px; }
.logo-word--lp { font-weight: 400; font-style: italic; }
.logo-word--lp strong { font-weight: 800; font-style: normal; }

/* ---------- Founder ---------- */
.founder__inner { display: grid; grid-template-columns: 0.85fr 1fr; gap: 70px; align-items: center; }
.founder__photo { position: relative; }
.founder__photo::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border: 2px solid var(--line); border-radius: 4px; z-index: 0; }
.founder__photo img { position: relative; z-index: 1; filter: grayscale(1); width: 100%; }
.founder__text h2 { font-size: var(--title); font-weight: 800; line-height: 1.15; }
.founder__text p { margin: 0 0 16px; }

/* ---------- Tuition · calculadora ISA ---------- */
.tuition { background: var(--bg-soft); }
.tuition__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; margin-top: 56px; max-width: 980px; margin-inline: auto; align-items: stretch; }
.tuition__grid > * { min-width: 0; } /* evita que el track 1fr se expanda por min-content */

/* calculadora */
.calc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
/* feedback #4/#6: header balanceado, chip debajo del separador */
.calc__head { margin-bottom: 30px; }
.calc__head h3 { font-size: 24px; font-weight: 800; }
.calc__head .rule { margin: 14px 0 16px; }
.calc__chip { display: inline-block; background: rgba(0,81,177,.08); color: var(--blue); font-family: "Montserrat",sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .03em; padding: 7px 14px; border-radius: 999px; white-space: nowrap; margin-bottom: 12px; }
.calc__intro { margin: 0; color: var(--body); font-size: 14.5px; line-height: 1.6; }

.calc__field { margin-bottom: 8px; }
.calc__label { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.calc__label span { font-weight: 700; color: var(--ink); font-size: 14px; }
.calc__label b { color: var(--blue); font-family: "Montserrat",sans-serif; font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--p,40%), #e3ebf5 var(--p,40%)); cursor: pointer; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 6px solid var(--blue); box-shadow: 0 4px 12px rgba(0,40,86,.3); transition: transform .15s var(--ease); }
.calc input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc input[type=range]:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.calc__ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--body); font-weight: 600; }

.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.calc__tile { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; text-align: center; }
.calc__k { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--body); font-weight: 700; }
.calc__v { display: block; font-family: "Montserrat",sans-serif; font-weight: 800; font-size: 34px; color: var(--blue); margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.calc__sub { display: block; font-size: 12px; color: var(--body); }

.calc__progress { margin-top: 30px; padding-top: 4px; }
.calc__progress-bar { height: 8px; border-radius: 999px; background: #e3ebf5; overflow: hidden; }
.calc__progress-bar span { display: block; height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue-light), var(--blue)); transition: width .35s var(--ease); }
.calc__note { margin: 12px 0 0; font-size: 13px; color: var(--body); }

/* feedback #10: panel equilibrado con intro + CTA grande */
.tuition-why { background: linear-gradient(160deg, var(--blue), var(--navy)); border-radius: 20px; padding: 40px; color: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.tuition-why::after { content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(81,153,238,.35), transparent 70%); pointer-events: none; }
.why-head { position: relative; }
.tuition-why h3 { color: #fff; font-size: 24px; font-weight: 800; }
.tuition-why .rule { margin-top: 14px; margin-bottom: 18px; }
.why-intro { margin: 0; color: rgba(255,255,255,.85); font-size: 14.5px; line-height: 1.6; }
.why-list { list-style: none; margin: 28px 0; padding: 0; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.why-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.92); line-height: 1.5; }
.why-list strong { color: #fff; }
.why-list svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* feedback #2 (nuevo): CTA del panel más grande y full-width */
.why-foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.why-foot .btn { width: 100%; padding: 18px; font-size: 15px; }
.why-note { font-size: 13px; color: rgba(255,255,255,.7); }
.btn--lg { padding: 17px 42px; font-size: 15px; }

/* feedback #11 + #8: disclaimer en su propia línea, debajo del botón */
.disclaimer { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 16px; font-size: 13px; color: var(--body); opacity: .85; }
.disclaimer svg { color: var(--blue); flex: none; }

/* ---------- Application process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 54px; }
.proc-card { border-radius: 12px; padding: 30px 22px; color: #fff; text-align: center; box-shadow: var(--shadow-md); }
/* feedback #8: degradado azul→navy en los 4, pero todos con contraste AA para texto blanco */
.proc-card--1 { background: #2f6fd0; } .proc-card--2 { background: #1f5cbf; }
.proc-card--3 { background: var(--blue); } .proc-card--4 { background: var(--navy); }
.proc-card h3 { color: #fff; font-size: 20px; font-weight: 700; text-transform: uppercase; min-height: 50px; }
.proc-pills { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
/* feedback #5: pills con efecto glass */
.proc-pills span { display: flex; align-items: center; justify-content: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 16px; padding: 7px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
/* feedback #3 + #9: required con dot verde sutil, optional outline punteado */
.proc-pill--req::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(36,207,80,.25); }
.proc-pill--opt { background: transparent !important; border: 1px dashed rgba(255,255,255,.6) !important; color: rgba(255,255,255,.85); box-shadow: none !important; }
.proc-card p { color: rgba(255,255,255,.92); font-size: 14px; margin: 0; }
.process__cta { text-align: center; margin-top: 44px; }
.process__cta p { margin-top: 14px; font-size: 14px; }

/* ---------- FAQ ---------- */
/* feedback #6: fondo sutil de sección + preguntas en tarjeta blanca con más presencia */
.faq { background: var(--bg-soft); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 50px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.faq-item:hover { box-shadow: 0 8px 22px rgba(0,40,86,.08); }
.faq-item[open] { border-color: rgba(0,81,177,.35); box-shadow: 0 10px 28px rgba(0,40,86,.1); }
.faq-item summary { list-style: none; cursor: pointer; color: var(--ink); font-family:"Montserrat",sans-serif; font-weight: 700; font-size: 16px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; transition: color .2s var(--ease); }
.faq-item summary:hover { color: var(--blue); }
.faq-item[open] summary { color: var(--blue); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: "Montserrat",sans-serif; font-size: 22px; font-weight: 400; color: var(--blue); margin-left: 12px; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 20px 18px; font-size: 15px; }
.faq-item p a { font-weight: 700; }
.faq__cta { display: flex; justify-content: center; gap: 16px; margin-top: 50px; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(135deg, var(--blue) 0%, #4a8de0 100%); color: #fff; padding: 64px 0 48px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer__brand p { color: rgba(255,255,255,.85); font-size: 14px; margin: 18px 0; max-width: 320px; }
.footer .brand { margin-bottom: 4px; }
.socials { display: flex; gap: 14px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; transition: background .2s var(--ease); } /* R256: touch target 44x44 */
.socials a:hover { background: rgba(255,255,255,.28); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: #fff; font-size: 19px; margin-bottom: 8px; font-weight: 700; }
.footer__col a { color: rgba(255,255,255,.85); font-size: 14px; }
.footer__col a:hover { color: #fff; }

/* ---------- Final CTA band (feedback #3) ---------- */
/* gradiente más rico: rotación de hue navy→azul→cian + glow doble (R45) */
.final-cta { background: linear-gradient(120deg, #001f47 0%, var(--blue) 55%, #1f7fd6 100%); color: #fff; text-align: center; padding: 92px 0; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; bottom: -120px; left: -60px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(0,40,86,.6), transparent 70%); pointer-events: none; }
.final-cta::after { content: ""; position: absolute; top: -100px; right: 6%; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(39,200,255,.3), transparent 70%); pointer-events: none; }
.final-cta .container { position: relative; }
.final-cta h2 { color: #fff; font-size: var(--title); font-weight: 800; }
.final-cta p { max-width: 540px; margin: 16px auto 30px; color: rgba(255,255,255,.9); font-size: 17px; }
.final-cta__note { display: block; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- Sticky mobile CTA (feedback #2) ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: rgba(0,40,86,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -6px 24px rgba(0,18,46,.3);
    transform: translateY(120%); transition: transform .35s var(--ease);
  }
  .mobile-cta.is-visible { transform: translateY(0); }
  .mobile-cta__text { display: flex; flex-direction: column; line-height: 1.25; color: #fff; }
  .mobile-cta__text strong { font-family: "Montserrat",sans-serif; font-size: 15px; }
  .mobile-cta__text span { font-size: 12px; color: rgba(255,255,255,.8); }
  .mobile-cta .btn { padding: 12px 22px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* ============================================================
   Modal
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,18,46,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .28s var(--ease); }
.modal__dialog {
  position: relative; width: 100%; max-width: 620px; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 18px; padding: 40px; box-shadow: 0 40px 90px rgba(0,18,46,.4);
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.modal.is-open .modal__overlay { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-gray); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s var(--ease); }
.modal__close:hover { background: #e6e9ee; }
.modal__back { position: absolute; top: 18px; left: 22px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--blue); font-family: "Montserrat",sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; padding: 6px 8px; margin-left: -8px; border-radius: 6px; transition: background .2s var(--ease); }
.modal__back[hidden] { display: none; }
.modal__back:hover { background: rgba(0,81,177,.08); }
.modal__head { margin-bottom: 22px; padding-right: 40px; }
.modal__dialog.has-back .modal__head { margin-top: 26px; }
.modal__eyebrow { display: block; font-family: "Montserrat",sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.modal__head h2 { font-size: clamp(24px,3.4vw,30px); font-weight: 800; }

/* modal body content */
.modal__body { font-size: 15px; color: var(--body); }
.m-lead { font-size: 17px; color: var(--ink); margin: 0 0 20px; }
.modal__body h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 26px 0 14px; }
.modal__body h4 { font-size: 15px; font-weight: 700; color: var(--blue); margin: 0 0 6px; }
.modal__body p { margin: 0 0 12px; }
.modal__body a { font-weight: 700; }
.m-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.m-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.m-check { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.m-list strong { color: var(--ink); }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 4px 0 6px; }
.m-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.m-card p { margin: 0; font-size: 14px; }
/* feedback #3 (nuevo): sin línea izquierda, caja suave */
.m-callout { background: rgba(0,81,177,.07); border: 1px solid rgba(0,81,177,.12); border-radius: 12px; padding: 16px 18px; margin: 22px 0; color: var(--ink); font-size: 15px; }
.m-note { font-size: 13px; color: var(--body); margin-top: 18px; }
.m-actions { margin-top: 28px; }
.m-timeline { list-style: none; margin: 0; padding: 0; }
.m-timeline li { display: flex; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.m-timeline li:first-child { border-top: 0; }
.m-time { font-family: "Montserrat",sans-serif; font-weight: 700; color: var(--blue); white-space: nowrap; min-width: 120px; }
.m-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: s; }
.m-steps li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.m-steps li span { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; font-family:"Montserrat",sans-serif; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.m-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.m-logos span { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-family:"Montserrat",sans-serif; font-weight: 700; font-size: 13px; color: var(--blue); }
.m-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 8px 0 6px; }
.m-stats > div { background: linear-gradient(160deg, var(--blue), var(--navy)); border-radius: 14px; padding: 20px 12px; text-align: center; color: #fff; }
.m-stat { display: block; font-family:"Montserrat",sans-serif; font-weight: 800; font-size: 30px; }
.m-stat-k { display: block; font-size: 12px; color: rgba(255,255,255,.85); margin-top: 4px; }
/* modal forms */
.m-form { display: flex; flex-direction: column; gap: 16px; }
.m-field { display: flex; flex-direction: column; gap: 7px; }
.m-field label { font-weight: 700; color: var(--ink); font-size: 14px; }
.m-form input, .m-form textarea, .m-form select { border: 1.5px solid #b8c4d6; border-radius: 8px; padding: 13px 14px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; }
.m-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230051b1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.m-form input:focus, .m-form textarea:focus, .m-form select:focus { border-color: var(--blue); outline: 3px solid rgba(0,81,177,.18); }
.m-form .btn { margin-top: 4px; align-self: flex-start; }
.m-formnote { font-size: 12px; color: var(--body); margin: 0; }
.m-success { display: flex; gap: 14px; align-items: center; background: rgba(36,207,80,.1); border-radius: 12px; padding: 22px; }
.m-success svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.m-success p { margin: 0; color: var(--ink); }

@media (max-width: 560px) {
  .modal__dialog { padding: 30px 22px; }
  .m-grid, .m-stats { grid-template-columns: 1fr; }
  .modal__body h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .modal__overlay, .modal__dialog { transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  /* feedback #7 (nuevo): curriculum centrado y compacto en tablet */
  .curriculum__inner { grid-template-columns: 1fr; gap: 36px; justify-items: center; text-align: center; }
  .curriculum__text { max-width: 600px; }
  .curriculum__text .rule { margin-inline: auto; }
  .curriculum__card { max-width: 540px; width: 100%; }
  /* feedback #1: founder centrado y aprovechado en tablet */
  .founder__inner { grid-template-columns: 1fr; gap: 36px; justify-items: center; text-align: center; }
  .founder__photo { max-width: 320px; }
  .founder__text { max-width: 600px; }
  .founder__text .rule { margin-inline: auto; }
  /* feedback #8 (nuevo): mantener 2x2 en tablet, no apilar a 1 columna */
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__code { display: none; }
}

/* feedback (nuevo): menú hamburguesa entra a 900px para que el nav no apriete el logo */
@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .site-header { background: var(--blue); }
  .site-header.scrolled { background: var(--blue); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; background: var(--blue);
    flex-direction: column; gap: 0; padding: 8px 24px 24px;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: 0 12px 24px rgba(0,0,0,.2);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a:not(.btn--apply-nav) { width: 100%; padding: 14px 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav__links a:not(.btn--apply-nav).active::after { display: none; }
  .btn--apply-nav { margin: 12px 0 0; align-self: flex-start; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .feature-grid, .testimonials, .tuition__grid, .faq-grid { grid-template-columns: 1fr; }
  .calc, .tuition-why { padding: 26px; }
  .calc__out { grid-template-columns: 1fr; }
  /* stats 2x2 en móvil, sin la línea divisoria vertical */
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .stat + .stat::before { display: none; }
  /* feedback #8: tech-strip como grid en móvil */
  .tech-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 12px; justify-items: center; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .sl-row, .sl-row--reverse { grid-template-columns: 1fr; gap: 28px; }
  .sl-row--reverse .sl-media { order: -1; }
  .newsletter__form { flex-direction: column; }
  .faq__cta { flex-direction: column; align-items: center; }
  .faq__cta .btn { width: 100%; max-width: 280px; }
}

@media (max-width: 600px) {
  /* speakers: 2x2 en tablet, 1 columna solo en móvil */
  .speakers__grid { grid-template-columns: 1fr; grid-template-rows: none; }
}

@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 56px; padding-bottom: 90px; }
  .sp-cell { padding: 54px 24px; }
  .section__lead { font-size: 15px; }
  .logo-wall li { font-size: 18px; }
  .tech-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
/* feedback #2: stagger por posición dentro de cada grid (R103) */
.feature-grid .feature:nth-child(2), .process-grid .proc-card:nth-child(2), .stats__grid .stat:nth-child(2), .testimonials .testimonial:nth-child(2) { transition-delay: .09s; }
.feature-grid .feature:nth-child(3), .process-grid .proc-card:nth-child(3), .stats__grid .stat:nth-child(3), .testimonials .testimonial:nth-child(3) { transition-delay: .18s; }
.process-grid .proc-card:nth-child(4), .stats__grid .stat:nth-child(4) { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
