/* =========================================================
   ENTRIE International — hoja de estilos única
   Marca: azul #2B6EA5 · azul claro #5397C7 · marino #182A3E
          gris #E8E8E8 · crema #F5F0EA · pizarra #4F5A62
   ========================================================= */

/* Fuentes alojadas en el propio servidor (más rápido, sin Google) */
@font-face { font-family: 'Red Hat Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/red-hat-display-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Red Hat Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/red-hat-display-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Red Hat Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/red-hat-display-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Red Hat Display'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/red-hat-display-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Red Hat Display'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/red-hat-display-latin-900-normal.woff2') format('woff2'); }

:root {
  --blue: #2B6EA5;
  --blue-l: #5397C7;
  --blue-xl: #E6F0F8;
  --navy: #182A3E;
  --navy-2: #22384F;
  --gray: #E8E8E8;
  --cream: #F5F0EA;
  --slate: #4F5A62;
  --white: #fff;
  --wa: #25D366;
  --err: #C0392B;

  --font: 'Red Hat Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(24, 42, 62, .06);
  --shadow: 0 10px 30px rgba(24, 42, 62, .10);
  --shadow-lg: 0 24px 60px rgba(24, 42, 62, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--slate); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }
.muted { color: #7b858c; font-size: .9rem; }
.lead { font-size: 1.2rem; color: var(--slate); }
.accent { color: var(--blue-l); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Iconos ---------- */
.ico { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.ico--sm { width: 1em; height: 1em; }
.ico .fill, svg .fill { fill: currentColor; stroke: none; }
#i-whatsapp path { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(43, 110, 165, .35); }
.btn--primary:hover { background: var(--navy); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--cream); color: var(--navy); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1ebe5a; color: #fff; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue); }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; }
.eyebrow--light { color: #A9CDEA; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); background: var(--blue-xl); padding: .3em .8em; border-radius: 999px; margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chips span { padding: .35em 1em; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 600; font-size: .9rem; }
.chips--blue span, .mv__card .chips span { background: var(--blue-xl); color: var(--blue); }
.mv__card--dark .chips span { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy); color: #C9D6E2; font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__info, .topbar__links { display: flex; align-items: center; gap: 1.4rem; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .45em; color: #C9D6E2; }
.topbar a:hover { color: #fff; }
.topbar .ico { color: var(--blue-l); }
.topbar__portal { font-weight: 700; color: #fff !important; background: rgba(255, 255, 255, .1); padding: .2rem .7rem; border-radius: 999px; }
.nav__portal { display: none; align-items: center; justify-content: center; gap: .45em; font-weight: 700; color: var(--navy); padding: .8rem; border: 2px solid var(--gray); border-radius: 999px; }

/* ---------- Cabecera ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(24, 42, 62, .08); }
.header__in { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand img { width: 158px; height: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 1rem; }
.nav__list { display: flex; list-style: none; gap: .2rem; margin-inline: auto; }
.nav__link { display: inline-flex; align-items: center; gap: .3em; padding: .6em .9em; border-radius: 10px; font-weight: 600; color: var(--navy); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.nav__link:hover, .nav__link.is-active, .has-drop.is-open > .nav__link { color: var(--blue); background: var(--blue-xl); }
.nav__link .ico { transition: transform .25s; }
.has-drop.is-open > .nav__link .ico { transform: rotate(180deg); }
.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--navy); white-space: nowrap; }
.nav__phone .ico { color: var(--blue); }

.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 12px); left: 50%; width: 600px; transform: translate(-50%, 8px); background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 1rem; opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.drop::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }
.drop__item { display: flex; gap: .8rem; padding: .8rem; border-radius: 12px; color: var(--navy); transition: background .2s; }
.drop__item:hover { background: var(--cream); color: var(--navy); }
.drop__item strong { display: block; font-size: .98rem; }
.drop__item small { display: block; color: var(--slate); font-size: .82rem; line-height: 1.35; }
.drop__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-xl); color: var(--blue); flex: none; }
.drop__all { display: flex; justify-content: center; align-items: center; gap: .4em; margin-top: .6rem; padding: .8rem; border-top: 1px solid var(--gray); font-weight: 700; }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--blue-xl); cursor: pointer; padding: 12px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero home ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg, .pagehero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pagehero__bg { object-position: center 30%; }
.hero__bg { object-position: center 30%; animation: zoom 18s ease-out both; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(24, 42, 62, .95) 0%, rgba(24, 42, 62, .82) 42%, rgba(24, 42, 62, .25) 100%); }
.hero__in { padding: 5rem 0 6rem; max-width: 1200px; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero__lead { font-size: 1.2rem; max-width: 560px; color: #DCE6EF; }
.hero__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__btns--center { justify-content: center; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Hero interior ---------- */
.pagehero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.pagehero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(24, 42, 62, .94), rgba(24, 42, 62, .7) 60%, rgba(43, 110, 165, .45)); }
.pagehero__in { padding: 5rem 0 4.5rem; max-width: 1200px; }
.pagehero h1 { color: #fff; max-width: 20ch; }
.pagehero p { font-size: 1.15rem; color: #DCE6EF; max-width: 640px; }
/* Cabecera sin foto: marino con el isotipo de marca */
.pagehero--plain { background: radial-gradient(circle at 85% 20%, #2B6EA5 0%, #182A3E 55%); }
.pagehero--plain::after { background: url('../img/isotipo.png') right -80px center / 520px no-repeat; opacity: .09; }
.pcard__img--brand { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; position: relative; overflow: hidden; }
.pcard__img--brand::after { content: ''; position: absolute; inset: 0; background: url('../img/isotipo.png') right -40px bottom -40px / 200px no-repeat; opacity: .12; }
.pcard__img--brand .ico { width: 64px; height: 64px; stroke-width: 1.5; opacity: .9; transition: transform .5s var(--ease); }
.pcard:hover .pcard__img--brand .ico { transform: scale(1.1) rotate(-4deg); }
.pagehero--program .pagehero__in { padding-bottom: 6rem; }
.crumbs { font-size: .85rem; color: #A9CDEA; margin-bottom: 1.2rem; }
.crumbs a { color: #DCE6EF; }
.crumbs a:hover { color: #fff; }

.formhero { background: var(--cream); padding: 3.5rem 0 2.5rem; }
.formhero p { max-width: 620px; font-size: 1.1rem; }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--tight { padding: 3rem 0 4.5rem; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #C9D6E2; }
.section--flush { padding: 0; }
.section--form { padding-top: 2.5rem; background: linear-gradient(var(--cream) 0 120px, #fff 120px); }
.section__head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section__head p { font-size: 1.1rem; }
.section__head--light h2 { color: #fff; }

/* ---------- Cifras ---------- */
.stats-band { position: relative; z-index: 2; margin-top: -3.5rem; }
.stats-band--flat { margin: 0; padding: 3rem 0; background: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.stats-band--flat .stats { background: transparent; box-shadow: none; }
.stat { padding: 2rem 1.2rem; text-align: center; border-right: 1px solid var(--gray); }
.stat:last-child { border-right: 0; }
.stats-band--flat .stat { border-color: rgba(255, 255, 255, .12); }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; color: var(--blue); line-height: 1.1; }
.stats-band--flat .stat strong { color: #fff; }
.stat > span { font-weight: 600; font-size: .95rem; }
.stats-band--flat .stat > span { color: #A9CDEA; }

/* ---------- Tarjetas de programa ---------- */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray); color: var(--slate); transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--slate); }
.pcard__img { aspect-ratio: 16 / 10; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__body { position: relative; padding: 2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pcard__ico { position: absolute; top: -26px; left: 1.4rem; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(43, 110, 165, .35); }
.pcard__ico .ico { width: 24px; height: 24px; }
.pcard h3 { margin-bottom: .4rem; }
.pcard p { font-size: .95rem; flex: 1; }
.pcard .tag { align-self: flex-start; }
.pcard__facts { display: grid; gap: .3rem; margin: 0 0 1rem; font-size: .88rem; }
.pcard__facts div { display: flex; justify-content: space-between; border-top: 1px dashed var(--gray); padding-top: .3rem; }
.pcard__facts dt { color: #7b858c; }
.pcard__facts dd { margin: 0; font-weight: 700; color: var(--navy); }
.pcard__list { list-style: none; margin-bottom: 1rem; font-size: .9rem; }
.pcard__list li { padding: .25rem 0 .25rem 1.2rem; position: relative; }
.pcard__list li::before { content: ''; position: absolute; left: 0; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-l); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.badge-float { position: absolute; right: -1rem; bottom: -1.5rem; display: flex; gap: .8rem; align-items: center; background: #fff; padding: 1rem 1.2rem; border-radius: var(--r); box-shadow: var(--shadow); max-width: 290px; font-size: .9rem; }
.badge-float .ico { width: 34px; height: 34px; color: var(--blue); }
.badge-float strong { display: block; color: var(--navy); }
.services { list-style: none; display: grid; gap: 1.3rem; margin: 1.8rem 0 2rem; }
.services li { display: flex; gap: 1rem; }
.services h3 { margin-bottom: .2rem; font-size: 1.1rem; }
.services p { margin: 0; font-size: .97rem; }
.services__ico { width: 50px; height: 50px; border-radius: 14px; background: #fff; color: var(--blue); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-sm); }
.services__ico .ico { width: 24px; height: 24px; }

/* ---------- Pasos ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.steps li { position: relative; background: #fff; padding: 2rem 1.5rem 1.6rem; border-radius: var(--r); border: 1px solid var(--gray); }
.section--cream .steps li { border-color: transparent; box-shadow: var(--shadow-sm); }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 2.9rem; right: -1.4rem; width: 1.4rem; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-l) 0 6px, transparent 6px 10px); }
.steps__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.steps li:hover .steps__n { background: var(--blue); }
.steps h3 { font-size: 1.12rem; }
.steps p { margin: 0; font-size: .95rem; }

/* ---------- Testimonios ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi { margin: 0; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r); padding: 2rem; display: flex; flex-direction: column; }
.testi__q { width: 36px; height: 36px; color: var(--blue-l); margin-bottom: 1rem; }
.testi blockquote { margin: 0 0 1.5rem; color: #E3EBF2; font-size: 1.02rem; flex: 1; }
.testi figcaption strong { display: block; color: #fff; }
.testi figcaption span { color: #A9CDEA; font-size: .9rem; }

/* ---------- Valores / beneficios ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.values--4 { grid-template-columns: repeat(4, 1fr); }
.value { padding: 2rem 1.6rem; border-radius: var(--r); background: #fff; border: 1px solid var(--gray); transition: border-color .3s, transform .3s var(--ease); }
.value:hover { border-color: var(--blue-l); transform: translateY(-4px); }
.value__ico, .mv__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue-xl); color: var(--blue); margin-bottom: 1.2rem; }
.value__ico .ico, .mv__ico .ico { width: 26px; height: 26px; }
.value p { margin: 0; font-size: .97rem; }

/* ---------- Misión / visión ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.mv__card { background: #fff; border-radius: var(--r-lg); padding: 2.6rem; box-shadow: var(--shadow-sm); }
.mv__card--dark { background: var(--navy); color: #C9D6E2; }
.mv__card--dark h2 { color: #fff; }
.mv__card--dark .mv__ico { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Organigrama ---------- */
.org { display: flex; flex-direction: column; align-items: center; }
.org__line { width: 2px; height: 48px; background: linear-gradient(var(--blue-l), var(--gray)); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; width: 100%; max-width: 980px; }
.team--2 { grid-template-columns: repeat(2, 1fr); max-width: 650px; }
.team--1 { grid-template-columns: 1fr; max-width: 320px; }
.team--managers .member { border-color: var(--blue-l); }
.member { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--gray); transition: transform .35s var(--ease), box-shadow .35s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member__img { aspect-ratio: 4 / 5; overflow: hidden; background: #5c6670; }
.member__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.member:hover .member__img img { transform: scale(1.04); }
.member__body { padding: 1.3rem 1.4rem 1.5rem; }
.member__body h3 { margin-bottom: .1rem; }
.member__role { display: block; color: var(--blue); font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }
.member__body p { margin: 0; font-size: .92rem; }
.member--lead { display: grid; grid-template-columns: 260px 1fr; align-items: center; max-width: 640px; width: 100%; border-color: var(--blue-l); box-shadow: var(--shadow); }
.member--lead .member__body { padding: 2rem; }
.member--lead h3 { font-size: 1.5rem; }
.wide-photo { width: 100%; max-height: 560px; object-fit: cover; }

/* ---------- Programa: datos ---------- */
.facts-bar { position: relative; z-index: 3; margin-top: -3rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.facts div { padding: 1.3rem 1.5rem; border-right: 1px solid var(--gray); }
.facts div:last-child { border: 0; }
.facts span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #7b858c; font-weight: 700; }
.facts strong { color: var(--navy); font-size: 1.1rem; }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--gray); margin-top: 2rem; }
.subnav__in { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { padding: 1rem 1.1rem; font-weight: 700; color: var(--slate); white-space: nowrap; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover, .subnav a.is-active { color: var(--blue); border-color: var(--blue); }

/* ---------- Requisitos ---------- */
.req { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
.req__card { background: #fff; padding: 2rem; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.req__card h3 { display: flex; align-items: center; gap: .5rem; }
.req__card h3 .ico { color: var(--blue); width: 24px; height: 24px; }
.req__card h4 { margin-top: 1.4rem; font-size: 1rem; }
.req__card--dark { background: var(--navy); color: #C9D6E2; }
.req__card--dark h3 { color: #fff; }
.req__card--dark h3 .ico { color: var(--blue-l); }
.checks { list-style: none; display: grid; gap: .6rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--blue-xl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B6EA5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.checks--lg { gap: .9rem; margin: 1.5rem 0; font-size: 1.05rem; }
.dates { display: grid; gap: .1rem; margin: 0 0 1.5rem; }
.dates div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.dates dt { color: #A9CDEA; }
.dates dd { margin: 0; color: #fff; font-weight: 700; text-align: right; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq__item { background: #fff; border: 1px solid var(--gray); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--blue-l); box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ico { color: var(--blue); transition: transform .25s; }
.faq__item[open] .faq__ico { transform: rotate(180deg); }
.faq__item p { padding: 0 1.4rem 1.3rem; margin: 0; }
.note { margin-top: 2rem; padding: 1rem 1.2rem; border-left: 4px solid var(--blue-l); background: var(--blue-xl); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .9rem; }

/* ---------- Visas ---------- */
.vcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.vcard { background: #fff; border: 1px solid var(--gray); border-radius: var(--r); padding: 1.8rem; display: flex; flex-direction: column; border-top: 5px solid var(--blue); transition: transform .3s var(--ease), box-shadow .3s; }
.vcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.vcard dl { margin: .5rem 0 1.5rem; flex: 1; }
.vcard dl div { padding: .6rem 0; border-bottom: 1px solid var(--gray); }
.vcard dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #7b858c; }
.vcard dd { margin: 0; color: var(--navy); font-weight: 600; }

.compare { background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow-sm); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
.table th, .table td { padding: .95rem 1rem; text-align: left; border-bottom: 1px solid var(--gray); }
.table thead th { background: var(--navy); color: #fff; font-weight: 700; }
.table thead th:first-child { border-radius: 10px 0 0 0; }
.table thead th:last-child { border-radius: 0 10px 0 0; }
.table tbody th { color: var(--navy); font-weight: 700; }
.table tbody tr:hover { background: var(--cream); }

.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.dest { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: var(--r-sm); border: 1px solid var(--gray); color: var(--slate); transition: border-color .2s, background .2s; }
.dest:hover { border-color: var(--blue-l); background: var(--cream); color: var(--slate); }
.dest img { width: 40px; height: 27px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.dest strong { display: block; color: var(--navy); }
.dest small { font-size: .82rem; line-height: 1.3; display: block; }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mini-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mini { display: flex; align-items: center; gap: .9rem; padding: 1.1rem; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--gray); color: var(--slate); transition: border-color .2s, transform .25s var(--ease); }
.mini:hover { border-color: var(--blue-l); transform: translateY(-3px); color: var(--slate); }
.mini strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.mini small { display: block; font-size: .82rem; line-height: 1.35; margin-top: .15rem; }
.mini__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-xl); color: var(--blue); flex: none; }
.mini__arrow { margin-left: auto; color: var(--blue-l); }

/* ---------- Formularios ---------- */
.formwrap { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.formwrap--rev { grid-template-columns: 380px 1fr; }
.card { background: #fff; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.card--navy { background: var(--navy); color: #C9D6E2; }
.card--navy h2 { color: #fff; font-size: 1.4rem; }
.formaside { display: grid; gap: 1.4rem; position: sticky; top: calc(var(--header-h) + 20px); }
.formaside .card h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
.form legend { display: flex; align-items: center; gap: .7rem; font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 1.2rem; padding: 0; }
.legend__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1rem; }
.form__title { font-size: 1.5rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; padding: .85em 1em; border: 1.5px solid #D6DBE0; border-radius: 12px; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B6EA5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1em center / 18px no-repeat; padding-right: 2.6em; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(83, 151, 199, .2); }
.field textarea { resize: vertical; min-height: 110px; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.field__err { display: block; color: var(--err); font-size: .85rem; font-weight: 600; margin-top: .35rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.4rem; }
.seg--3 { grid-template-columns: repeat(3, 1fr); margin: .2rem 0 .6rem; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt span { display: flex; align-items: center; justify-content: center; gap: .5em; padding: 1rem; border: 2px solid #D6DBE0; border-radius: 14px; font-weight: 700; color: var(--navy); cursor: pointer; text-align: center; transition: all .2s; height: 100%; }
.seg__opt span .ico { color: var(--blue); width: 22px; height: 22px; }
.seg__opt input:checked + span { border-color: var(--blue); background: var(--blue-xl); box-shadow: 0 0 0 3px rgba(83, 151, 199, .2); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--blue-l); }
.file { display: flex; align-items: center; gap: .8rem; padding: 1.2rem; border: 2px dashed #C3CBD3; border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; color: var(--slate); font-weight: 600 !important; }
.file:hover, .file.has-file { border-color: var(--blue); background: var(--blue-xl); }
.file .ico { width: 26px; height: 26px; color: var(--blue); }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; cursor: pointer; margin-bottom: 1.6rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--blue); flex: none; }
.form__secure { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .85rem; color: #7b858c; margin: 1rem 0 0; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.6rem; font-size: .95rem; }
.alert ul { margin: .4rem 0 0 1.2rem; }
.alert--error { background: #FBEAEA; color: #8E2A20; border: 1px solid #F1C4BF; }
[data-show], [data-show-motivo] { display: none; }
[data-show].is-shown, [data-show-motivo].is-shown { display: block; }
.grid2[data-show].is-shown { display: grid; }
.booking { background: var(--cream); padding: 1.4rem; border-radius: 16px; margin-bottom: 1.4rem; }
.booking__title { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--navy); }
.booking__title .ico { color: var(--blue); }
.mini-steps { list-style: none; counter-reset: m; display: grid; gap: 1rem; }
.mini-steps li { counter-increment: m; position: relative; padding-left: 2.6rem; font-size: .95rem; }
.mini-steps li::before { content: counter(m); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: .9rem; }
.mini-steps strong { color: #fff; }
.aside-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--navy); }
.aside-link .ico { color: var(--blue); }
.contact-cards { display: grid; gap: .8rem; }
.ccard { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); border: 1px solid var(--gray); color: var(--slate); transition: transform .25s var(--ease), border-color .2s; }
.ccard:hover { transform: translateX(4px); border-color: var(--blue-l); color: var(--slate); }
.ccard small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #7b858c; }
.ccard strong { display: block; color: var(--navy); word-break: break-word; }
.ccard em { display: block; font-style: normal; font-size: .85rem; }
.ccard__ico { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-xl); color: var(--blue); display: grid; place-items: center; flex: none; }
.ccard--wa .ccard__ico { background: #E3F8EA; color: #1a9e4b; }
.hours div { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--gray); font-size: .95rem; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--navy); font-weight: 700; }
.mapband iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.85); }

/* ---------- Gracias / 404 ---------- */
.thanks { padding: clamp(4rem, 10vw, 8rem) 0; background: radial-gradient(circle at 50% 0, var(--blue-xl), #fff 60%); }
.thanks__in { text-align: center; }
.thanks__ico { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--blue); color: #fff; margin-bottom: 1.6rem; box-shadow: 0 16px 40px rgba(43, 110, 165, .35); animation: pop .6s var(--ease) both; }
.thanks__ico .ico { width: 46px; height: 46px; stroke-width: 3; }
.thanks__ico--muted { background: var(--navy); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }

/* ---------- Pre-footer y footer ---------- */
.prefooter { background: linear-gradient(110deg, var(--blue) 0%, var(--blue-l) 100%); color: #fff; padding: 3.2rem 0; position: relative; overflow: hidden; }
.prefooter::after { content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; background: url('../img/isotipo.png') center / contain no-repeat; opacity: .12; filter: brightness(10); }
.prefooter__in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; position: relative; z-index: 1; }
.prefooter h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.prefooter p { margin: 0; color: #EAF3FA; }
.prefooter__btns { display: flex; gap: .8rem; flex-wrap: wrap; }

.footer { background: var(--navy); color: #A9B8C6; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.footer__brand img { width: 170px; margin-bottom: 1.2rem; }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer ul { list-style: none; display: grid; gap: .6rem; }
.footer a { color: #A9B8C6; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact .ico { color: var(--blue-l); margin-top: .2rem; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.footer__social a:hover { background: var(--blue); transform: translateY(-3px); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; font-size: .85rem; }
.footer__bottom p { margin: 0; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .ico { width: 32px; height: 32px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: ping 2.4s ease-out infinite; z-index: -1; }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__phone { display: none; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .mini-grid, .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .values--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .brand img { width: 140px; }
  .burger { display: flex; }
  .header { backdrop-filter: none; background: #fff; }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h)); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 1rem 20px 2rem; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .header.menu-open { box-shadow: none; }
  .nav__list { flex-direction: column; margin: 0; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 1rem .4rem; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--gray); }
  .nav__link:hover, .nav__link.is-active, .has-drop.is-open > .nav__link { background: none; }
  .drop { position: static; width: auto; transform: none; box-shadow: none; padding: 0 0 .6rem; opacity: 1; visibility: visible; display: none; border-radius: 0; }
  .drop::before { display: none; }
  .has-drop.is-open .drop { display: block; transform: none; }
  .drop__grid { grid-template-columns: 1fr; }
  .drop__item { padding: .7rem .4rem; }
  .nav__cta { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
  .nav__portal { display: inline-flex; }
  .nav__phone { display: inline-flex; justify-content: center; padding: .8rem; border: 2px solid var(--gray); border-radius: 999px; }
  body.no-scroll { overflow: hidden; }

  .split, .mv, .formwrap, .formwrap--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .formwrap--rev .formaside { order: 2; }
  .formaside { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .testis, .values, .req, .vcards { grid-template-columns: 1fr 1fr; }
  .req__card--dark { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .prefooter__in { flex-direction: column; align-items: flex-start; }
  .badge-float { right: 1rem; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hide-sm { display: none !important; }
  .topbar__info span:first-child { max-width: 58vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
  .topbar__info .ico { display: none; }
  .hero { min-height: auto; }
  .hero__in { padding: 3.5rem 0 5.5rem; }
  .hero::after { background: linear-gradient(180deg, rgba(24, 42, 62, .78), rgba(24, 42, 62, .95)); }
  .hero__btns .btn { width: 100%; }
  .stats, .facts { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--gray); }
  .stats-band--flat .stat:nth-child(-n+2) { border-color: rgba(255, 255, 255, .12); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--gray); }
  .facts div { padding: 1rem; }
  .cards4, .steps, .testis, .values, .values--4, .req, .vcards, .mini-grid, .mini-grid--3, .grid2, .team { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .dest { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .member--lead { grid-template-columns: 1fr; }
  .team { max-width: 420px; margin-inline: auto; }
  .seg, .seg--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom-in { flex-direction: column; }
  .badge-float { position: static; margin-top: 1rem; max-width: none; }
  .mv__card { padding: 1.8rem; }
  .pagehero__in { padding: 3.5rem 0; }
  .pagehero--program .pagehero__in { padding-bottom: 5rem; }
  .pagehero .hero__btns .btn { width: 100%; }
  .prefooter__btns, .prefooter__btns .btn { width: 100%; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .mapband iframe { height: 320px; }
}
