/* =========================================================
   ADD VIA — Hoja de estilos principal
   Paleta: navy oscuro, celeste, gris y blanco
   ========================================================= */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("../fonts/montserrat-latin.woff2") format("woff2"); }

:root {
  --navy-950: #041330;
  --navy-900: #061c45;
  --navy: #0a2a66;
  --navy-700: #143a80;
  --sky: #1fa3e6;
  --sky-600: #0a72ab;
  --sky-300: #7fd0f6;
  --sky-50: #eaf7fe;
  --gray-50: #f5f8fc;
  --gray-100: #eaf0f7;
  --gray-200: #d9e2ee;
  --gray-400: #647389;
  --ink: #12203a;
  --muted: #56667f;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(6, 28, 69, .06);
  --shadow: 0 14px 40px -12px rgba(6, 28, 69, .22);
  --shadow-lg: 0 30px 70px -20px rgba(6, 28, 69, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 84px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; }
::selection { background: var(--sky); color: #fff; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy-900); color: #cfdcf0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.hl { color: var(--sky); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--sky-300); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 680px; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 17px 30px; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: #0877b8; color: #fff; box-shadow: 0 12px 30px -10px rgba(31, 163, 230, .7); }
.btn-primary:hover { background: var(--sky-600); transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(31, 163, 230, .8); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--sky-600);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease), box-shadow .35s, border-color .35s;
}
.site-header.scrolled { height: 68px; box-shadow: 0 8px 30px -18px rgba(6, 28, 69, .35); border-color: var(--gray-100); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; max-width: 210px; transition: height .35s var(--ease); }
.scrolled .brand img { height: 38px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  position: relative; display: block;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--navy-900); padding: 10px 13px; border-radius: 8px;
  transition: color .25s;
}
.menu a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--sky); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.menu a:hover { color: var(--sky-600); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.menu a.active { color: var(--sky-600); }
.nav .btn { padding: 13px 22px; }
.menu .menu-cta { display: none; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 10px;
  background: var(--gray-50); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { content: ""; left: 0; top: -7px; }
.nav-toggle span::after { content: ""; left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero principal ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 170px;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; animation: kenburns 22s ease-out both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(4, 19, 48, .96) 0%, rgba(6, 28, 69, .88) 38%, rgba(6, 28, 69, .45) 68%, rgba(6, 28, 69, .2) 100%),
    linear-gradient(0deg, rgba(4, 19, 48, .7) 0%, transparent 40%);
}
.hero__content { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em;
  background: var(--sky); opacity: .35; border-radius: 4px;
  transform: scaleX(0); transform-origin: left; animation: underline 1s .9s var(--ease) forwards;
}
.hero .lead { color: #c9d7ee; margin-bottom: 40px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(31, 163, 230, .7); animation: pulse 2.2s infinite; }
.hero__badge {
  position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); top: calc(var(--header-h) + 70px);
  background: rgba(255, 255, 255, .96); color: var(--navy-900);
  border-radius: 18px; padding: 20px 24px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px; max-width: 290px;
  animation: floaty 6s ease-in-out infinite;
}
.hero__badge strong { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--sky); line-height: 1; }
.hero__badge > span { font-size: .88rem; line-height: 1.35; font-weight: 500; }
.hero__strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(0deg, rgba(4, 19, 48, .75), rgba(4, 19, 48, .35));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__strip .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero__strip .item { display: flex; align-items: center; gap: 16px; padding: 28px 24px 28px 0; }
.hero__strip .item + .item { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero__strip .ico {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(31, 163, 230, .18); color: var(--sky-300);
}
.hero__strip .ico svg { width: 24px; height: 24px; }
.hero__strip b { display: block; font-family: var(--font-head); color: #fff; font-size: 1rem; }
.hero__strip small { color: #a9bddb; font-size: .86rem; }

/* ---------- Hero de páginas internas ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 100px;
  color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-900);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(4, 19, 48, .97) 10%, rgba(6, 28, 69, .82) 55%, rgba(6, 28, 69, .5) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 860px; }
.page-hero .lead { color: #c9d7ee; }
.page-hero .eyebrow { color: var(--sky-300); }
.crumbs { font-size: .85rem; color: #93a9cc; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.page-hero--light { background: var(--gray-50); color: var(--ink); }
.page-hero--light::before { background: radial-gradient(900px 500px at 85% 20%, rgba(31, 163, 230, .16), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(10, 42, 102, .08), transparent 60%); }
.page-hero--light h1 { color: var(--navy-900); }
.page-hero--light .lead { color: var(--muted); }
.page-hero--light .eyebrow { color: var(--sky-600); }
.page-hero--light .crumbs { color: var(--gray-400); }
.page-hero--light .crumbs a:hover { color: var(--navy); }

/* decorativo: rejilla de puntos */
.dots::after {
  content: ""; position: absolute; right: -40px; top: 40px; width: 320px; height: 320px; z-index: -1;
  background-image: radial-gradient(rgba(127, 208, 246, .35) 1.5px, transparent 1.5px);
  background-size: 22px 22px; mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}

/* ---------- La brecha ---------- */
.gap-visual {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--gray-100); overflow: hidden; margin-bottom: 70px;
}
.gap-col { padding: 44px 44px; }
.gap-col h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.gap-col h3 small { font-family: var(--font-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-400); font-weight: 600; }
.gap-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.gap-col li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.gap-col li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--gray-200); flex: none; }
.gap-col--do { background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #d6e3f7; }
.gap-col--do h3 { color: #fff; }
.gap-col--do li::before { background: var(--sky); }
.gap-mid {
  position: relative; width: 190px; display: grid; place-items: center;
  background: repeating-linear-gradient(90deg, var(--gray-50) 0 10px, #fff 10px 20px);
}
.gap-mid .gap-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 8px, transparent 8px 16px); background-size: 32px 2px; animation: dash 1.2s linear infinite; }
.gap-mid .gap-label {
  position: relative; z-index: 1; background: #0877b8; color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(31, 163, 230, .8);
}
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain {
  position: relative; padding: 30px 28px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--gray-100);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.pain:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pain .num { font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: var(--sky-600); letter-spacing: .12em; margin-bottom: 12px; display: block; }
.pain p { margin: 0; color: var(--muted); font-size: .98rem; }
.pain b { color: var(--navy-900); display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 6px; line-height: 1.3; }
.root-cause {
  margin-top: 56px; display: flex; gap: 28px; align-items: center;
  padding: 34px 40px; border-radius: var(--radius-lg);
  background: var(--sky-50); border-left: 5px solid var(--sky);
}
.root-cause .tag { font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-600); flex: none; }
.root-cause p { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--navy-900); line-height: 1.4; }

/* ---------- Territorios / Qué hacemos ---------- */
.territories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.territory {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: 44px 36px 40px; background: #fff; border: 1px solid var(--gray-100);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.territory::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  opacity: 0; transition: opacity .45s var(--ease);
}
.territory > * { position: relative; z-index: 1; }
.territory:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.territory:hover::before { opacity: 1; }
.territory:hover h3, .territory:hover .big { color: #fff; }
.territory:hover p { color: #c6d5ec; }
.territory:hover .ico { background: var(--sky); color: #fff; }
.territory .big { font-family: var(--font-head); font-weight: 800; font-size: 4.5rem; line-height: 1; color: var(--gray-100); position: absolute; right: 26px; top: 20px; transition: color .45s; }
.territory:hover .big { color: rgba(255, 255, 255, .08); }
.territory .ico { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-600); margin-bottom: 26px; transition: background .45s, color .45s; }
.territory .ico svg { width: 28px; height: 28px; }
.territory p { color: var(--muted); margin: 0; transition: color .45s; }

/* ---------- Carrusel de programas ---------- */
.programs-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 300px);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 30px; margin: 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--sky) var(--gray-100);
}
.programs-rail::-webkit-scrollbar { height: 6px; }
.programs-rail::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 6px; }
.programs-rail::-webkit-scrollbar-thumb { background: var(--sky); border-radius: 6px; }
.program-card {
  scroll-snap-align: start; position: relative; overflow: hidden;
  border-radius: var(--radius-lg); aspect-ratio: 3 / 4; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; box-shadow: var(--shadow-sm); isolation: isolate;
}
.program-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.program-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 19, 48, .95) 8%, rgba(6, 28, 69, .55) 50%, rgba(6, 28, 69, .05) 100%); transition: background .5s; }
.program-card:hover img { transform: scale(1.07); }
.program-card:hover::before { background: linear-gradient(0deg, rgba(4, 19, 48, .96) 15%, rgba(14, 139, 204, .55) 100%); }
.program-card .n { font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .14em; color: var(--sky-300); }
.program-card h3 { color: #fff; margin: 8px 0 10px; font-size: 1.3rem; }
.program-card p { font-size: .9rem; color: #c6d5ec; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.program-card:hover p, .program-card:focus-visible p { max-height: 120px; opacity: 1; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.rail-head .section-head { margin-bottom: 0; }
.rail-btns { display: flex; gap: 10px; }
.rail-btns button {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--gray-200); background: #fff;
  cursor: pointer; display: grid; place-items: center; color: var(--navy); transition: all .3s var(--ease);
}
.rail-btns button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.rail-btns svg { width: 20px; height: 20px; }

/* ---------- Galería (carrusel manual) ---------- */
.gallery { position: relative; }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(640px, 82%);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 0 10px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline: 3px solid var(--sky); outline-offset: 6px; border-radius: var(--radius-lg); }
.slide { position: relative; margin: 0; scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-900); box-shadow: var(--shadow); }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s; opacity: .72; }
.slide.is-active img { opacity: 1; }
.slide:hover img { transform: scale(1.04); }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 30px 26px; color: #fff;
  background: linear-gradient(0deg, rgba(4, 19, 48, .92), rgba(4, 19, 48, 0));
}
.slide figcaption small { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-300); }
.slide figcaption b { display: block; font-family: var(--font-head); font-size: 1.3rem; margin: 4px 0 4px; }
.slide figcaption span { color: #c6d5ec; font-size: .95rem; }
.gallery__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.gallery__dots { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: var(--gray-200); cursor: pointer; padding: 0; transition: width .35s var(--ease), background .3s; }
.gallery__dots button.on { width: 34px; background: var(--sky); }
.gallery__count { font-family: var(--font-head); font-weight: 700; color: var(--navy-900); letter-spacing: .08em; font-size: .9rem; }
.gallery__count span { color: var(--gray-400); }
.gallery__nav { display: flex; align-items: center; gap: 14px; }
.gallery__hint { font-size: .85rem; color: var(--muted); display: none; }
@media (max-width: 640px) {
  .gallery__track { grid-auto-columns: 88%; gap: 14px; }
  .slide figcaption { padding: 50px 20px 18px; }
  .slide figcaption b { font-size: 1.1rem; }
  .gallery__hint { display: block; }
  .gallery__bar .rail-btns { display: none; }
}

/* ---------- ADDESTRA ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.split--rev > :first-child { order: 2; }
.media-frame { position: relative; }
.media-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.media-frame::before {
  content: ""; position: absolute; left: -22px; top: -22px; width: 55%; height: 60%;
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--sky), var(--navy)); z-index: -1; opacity: .9;
}
.media-frame .float-card {
  position: absolute; right: -26px; bottom: -30px; background: #fff; border-radius: 16px;
  padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; max-width: 280px;
}
.float-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-50); color: var(--sky-600); display: grid; place-items: center; flex: none; }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card b { font-family: var(--font-head); color: var(--navy-900); display: block; font-size: .95rem; line-height: 1.25; }
.float-card small { color: var(--muted); font-size: .82rem; }
.brand-logo { height: 58px; width: auto; margin-bottom: 26px; }
.pillars { display: grid; gap: 14px; margin: 30px 0 36px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--gray-100); transition: border-color .3s, transform .3s var(--ease); }
.pillar:hover { border-color: var(--sky); transform: translateX(6px); }
.pillar .k { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }
.pillar b { font-family: var(--font-head); color: var(--navy-900); display: block; }
.pillar span { color: var(--muted); font-size: .95rem; }
.flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.flow span { font-family: var(--font-head); font-weight: 800; letter-spacing: .12em; font-size: .85rem; padding: 12px 18px; border-radius: 10px; background: var(--navy-900); color: #fff; }
.flow span:nth-of-type(2) { background: var(--navy-700); }
.flow span:nth-of-type(3) { background: var(--sky); }
.flow i { color: var(--sky); font-style: normal; font-weight: 800; }

/* Componentes metodológicos */
.components { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius-lg); overflow: hidden; }
.component { background: var(--navy-900); padding: 40px 34px; transition: background .4s; }
.component:hover { background: var(--navy); }
.component .n { font-family: var(--font-head); font-weight: 800; color: var(--sky); font-size: .85rem; letter-spacing: .14em; }
.component h3 { color: #fff; margin: 14px 0 8px; font-size: 1.15rem; letter-spacing: .02em; }
.component p { margin: 0; color: #a9bddb; font-size: .95rem; }

/* Role play observado */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.role { text-align: center; padding: 22px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--gray-100); }
.role .ico { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: var(--sky-50); color: var(--navy); display: grid; place-items: center; }
.role .ico svg { width: 26px; height: 26px; }
.role b { font-family: var(--font-head); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-900); }
.role small { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; line-height: 1.4; }
.cycle { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cycle span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--sky-50); color: var(--navy); font-weight: 600; font-size: .9rem; }
.cycle span svg { width: 16px; height: 16px; color: var(--sky-600); }

/* ---------- Autoridad ---------- */
.authority { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.portrait {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); box-shadow: var(--shadow-lg);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #9fb6da; }
.portrait__ph .ini { font-family: var(--font-head); font-weight: 800; font-size: 6rem; color: rgba(255, 255, 255, .12); line-height: 1; }
.portrait__ph small { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 10px; }
.portrait__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px 26px; background: linear-gradient(0deg, rgba(4, 19, 48, .95), transparent); color: #fff; }
.portrait__name b { display: block; font-family: var(--font-head); font-size: 1.25rem; }
.portrait__name span { color: var(--sky-300); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.stat-row { display: flex; gap: 46px; margin: 34px 0; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; color: var(--navy); line-height: 1; }
.stat b .hl { color: var(--sky); }
.stat > span { color: var(--muted); font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gray-200); font-size: .88rem; font-weight: 500; color: var(--navy-900); background: #fff; }
.quote {
  position: relative; margin: 36px 0 0; padding: 28px 30px 28px 34px; border-radius: 16px;
  background: var(--gray-50); font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--navy-900); line-height: 1.5;
}
.quote::before { content: "\201C"; position: absolute; left: 18px; top: -18px; font-size: 5rem; color: var(--sky); line-height: 1; font-family: Georgia, serif; }
.quote cite { display: block; margin-top: 12px; font-family: var(--font-body); font-style: normal; font-weight: 500; font-size: .85rem; color: var(--muted); }

/* ---------- Biblioteca ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.story-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--gray-100);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.story-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.story-card .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.story-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story-card:hover .ph img { transform: scale(1.06); }
.story-card .tag {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.story-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.story-card h3 { font-size: 1.22rem; margin-bottom: 10px; transition: color .3s; }
.story-card:hover h3 { color: var(--sky-600); }
.story-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.story-card .meta { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--gray-400); padding-top: 16px; border-top: 1px solid var(--gray-100); }
.story-card.featured { grid-column: span 3; display: grid; grid-template-columns: 1.2fr 1fr; }
.story-card.featured .ph { aspect-ratio: auto; min-height: 380px; }
.story-card.featured .body { padding: 50px 48px; justify-content: center; }
.story-card.featured h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.story-card.featured p { flex: none; font-size: 1.05rem; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filters button {
  font: 600 .88rem var(--font-body); padding: 11px 20px; border-radius: 999px;
  border: 1.5px solid var(--gray-200); background: #fff; color: var(--navy-900); cursor: pointer; transition: all .3s var(--ease);
}
.filters button:hover { border-color: var(--sky); color: var(--sky-600); }
.filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.story-card.hide { display: none; }

/* Artículo */
.article-hero { position: relative; padding: calc(var(--header-h) + 80px) 0 0; color: #fff; background: linear-gradient(180deg, var(--navy-900) 0, var(--navy-900) calc(100% - 160px), #fff calc(100% - 160px)); }
.article-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.article-hero .sub { color: #b9cbe6; font-size: 1.15rem; margin: -6px 0 22px; }
.article-meta { display: flex; gap: 22px; flex-wrap: wrap; color: #93a9cc; font-size: .9rem; margin-bottom: 50px; }
.article-meta .tag { background: var(--sky-300); color: var(--navy-950); padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.article-cover { position: relative; }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.article-body { padding: 60px 0 40px; }
.prose { font-size: 1.12rem; line-height: 1.85; color: #2a3953; }
.prose p { margin-bottom: 1.4em; }
.prose > p:first-of-type::first-letter {
  float: left; font-family: var(--font-head); font-weight: 800; font-size: 4.2rem; line-height: .9;
  color: var(--sky); padding: 6px 12px 0 0;
}
.lesson {
  margin: 56px 0 20px; padding: 44px 46px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #fff; position: relative; overflow: hidden;
}
.lesson::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(31, 163, 230, .18); }
.lesson small { font-family: var(--font-head); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-300); font-size: .75rem; }
.lesson p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; margin: 12px 0 0; position: relative; z-index: 1; }
.related {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 26px; align-items: center;
  padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--gray-100); background: var(--gray-50); margin-top: 40px;
}
.related img { width: 160px; height: 120px; object-fit: cover; border-radius: 12px; }
.related small { color: var(--sky-600); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.related b { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: 1.15rem; margin-top: 4px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.pager a { padding: 22px 24px; border-radius: 14px; border: 1px solid var(--gray-100); transition: all .3s var(--ease); }
.pager a:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.pager small { color: var(--gray-400); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.pager b { display: block; font-family: var(--font-head); color: var(--navy-900); margin-top: 4px; line-height: 1.3; }
.pager .next { text-align: right; }
.progress { position: fixed; left: 0; top: 0; height: 3px; background: var(--sky); z-index: 200; width: 0; }

/* ---------- Cursos ---------- */
.course-nav {
  position: sticky; top: 68px; z-index: 50; background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-100);
}
.course-nav .container { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.course-nav .container::-webkit-scrollbar { display: none; }
.course-nav a { flex: none; padding: 9px 15px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); transition: all .25s; }
.course-nav a b { color: var(--sky-600); margin-right: 6px; font-family: var(--font-head); }
.course-nav a:hover, .course-nav a.on { background: var(--navy); color: #fff; }
.course-nav a.on b, .course-nav a:hover b { color: var(--sky-300); }
.course { padding: 110px 0; border-bottom: 1px solid var(--gray-100); scroll-margin-top: 130px; }
.course:nth-of-type(even) { background: var(--gray-50); }
.course__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: start; }
.course:nth-of-type(even) .course__media { order: 2; }
.course__media { position: sticky; top: 150px; }
.course__media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.course__media .num { position: absolute; left: -18px; top: -26px; font-family: var(--font-head); font-weight: 800; font-size: 5.5rem; line-height: 1; color: var(--sky); text-shadow: 0 8px 30px rgba(31, 163, 230, .35); }
.course__tagline { font-family: var(--font-head); font-weight: 600; color: var(--sky-600); font-size: 1.1rem; margin-bottom: 30px; }
.ficha { display: grid; gap: 14px; }
.ficha__row { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--gray-100); }
.course:nth-of-type(odd) .ficha__row { background: var(--gray-50); border-color: transparent; }
.ficha__row .ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-600); }
.ficha__row .ico svg { width: 24px; height: 24px; }
.ficha__row h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-600); margin: 2px 0 6px; font-weight: 700; }
.ficha__row p { margin: 0; color: var(--ink); }
.ficha__row ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ficha__row li { position: relative; padding-left: 20px; font-size: .97rem; }
.ficha__row li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.ficha__row .chips { margin-top: 6px; }
.ficha__row .chip { font-size: .82rem; padding: 6px 12px; }
.course .btn { margin-top: 26px; }
.row-problem { background: linear-gradient(135deg, var(--navy-900), var(--navy)) !important; border: 0 !important; }
.row-problem h3 { color: var(--sky-300) !important; }
.row-problem p { color: #e3ecf9 !important; font-weight: 500; }
.row-problem .ico { background: rgba(255, 255, 255, .1) !important; color: var(--sky-300) !important; }

/* ---------- Soluciones (mapa) ---------- */
.map { display: grid; gap: 14px; }
.map__head, .map__row { display: grid; grid-template-columns: 1.1fr 40px 1fr 40px 240px; align-items: center; gap: 10px; }
.map__head { padding: 0 26px 10px; font-family: var(--font-head); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-400); font-weight: 700; }
.map__row { padding: 22px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--gray-100); transition: all .4s var(--ease); }
.map__row:hover { box-shadow: var(--shadow); transform: translateX(6px); border-color: var(--sky-300); }
.map__row .pb { color: var(--ink); font-weight: 500; }
.map__row .cap { color: var(--muted); font-size: .95rem; }
.map__row .arr { color: var(--sky); display: grid; place-items: center; }
.map__row .arr svg { width: 22px; height: 22px; }
.map__row .prog { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: .95rem; line-height: 1.3; }
.map__row .prog img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.map__row:hover .prog { color: var(--sky-600); }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.aud-card { padding: 40px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--gray-100); }
.aud-card.dark { background: linear-gradient(145deg, var(--navy-900), var(--navy)); color: #c6d5ec; border: 0; }
.aud-card.dark h3 { color: #fff; }
.aud-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.aud-card li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.aud-card li svg { width: 20px; height: 20px; color: var(--sky); flex: none; }
.aud-card .note { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(127, 208, 246, .25); font-size: .92rem; }
.aud-card:not(.dark) .note { border-color: var(--gray-100); color: var(--muted); }

/* ---------- Nosotros ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.value { padding: 50px 40px; background: #fff; position: relative; }
.value + .value { border-left: 1px solid var(--gray-100); }
.value .w { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy); letter-spacing: .04em; }
.value:nth-child(2) .w { color: var(--navy-700); }
.value:nth-child(3) .w { color: var(--sky); }
.value p { color: var(--muted); margin: 10px 0 0; }
.value::before { content: ""; position: absolute; left: 40px; top: 0; width: 50px; height: 4px; background: var(--sky); border-radius: 0 0 4px 4px; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li svg { flex: none; width: 24px; height: 24px; color: #fff; background: var(--sky); border-radius: 50%; padding: 4px; margin-top: 2px; }
.statement { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.25; color: #fff; max-width: 960px; letter-spacing: -.02em; }
.statement .hl { color: var(--sky-300); }
.diffs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.diff { display: flex; gap: 18px; padding: 26px; border-radius: 16px; background: #fff; border: 1px solid var(--gray-100); transition: all .35s var(--ease); }
.diff:hover { border-color: var(--sky-300); box-shadow: var(--shadow); }
.diff .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.diff .ico svg { width: 22px; height: 22px; }
.diff b { font-family: var(--font-head); color: var(--navy-900); display: block; margin-bottom: 4px; }
.diff span { color: var(--muted); font-size: .95rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; }
.contact-card { padding: 44px; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--navy-900), var(--navy)); color: #c6d5ec; position: sticky; top: 110px; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 50px solid rgba(31, 163, 230, .15); }
.contact-card h3 { color: #fff; }
.c-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); position: relative; z-index: 1; }
.c-item .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(31, 163, 230, .18); color: var(--sky-300); display: grid; place-items: center; flex: none; }
.c-item .ico svg { width: 22px; height: 22px; }
.c-item small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #8ea6cb; }
.c-item a, .c-item span { color: #fff; font-weight: 600; word-break: break-word; }
.c-item a:hover { color: var(--sky-300); }
.steps { margin-top: 30px; display: grid; gap: 14px; position: relative; z-index: 1; }
.steps div { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; }
.steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #0877b8; color: #fff; font-family: var(--font-head); display: grid; place-items: center; font-size: .8rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; color: var(--navy-900); }
.field input, .field select, .field textarea {
  font: 400 1rem var(--font-body); color: var(--ink); padding: 15px 16px; border-radius: 12px;
  border: 1.5px solid var(--gray-200); background: #fff; transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(31, 163, 230, .15); }
.hp { position: absolute; left: -9999px; }
.alert { grid-column: 1 / -1; padding: 16px 20px; border-radius: 12px; font-weight: 500; display: none; }
.alert.ok { display: block; background: #e8f8ef; color: #17683c; border: 1px solid #b7e6c9; }
.alert.err { display: block; background: #fdecec; color: #9b2121; border: 1px solid #f3c2c2; }
.form-note { grid-column: 1 / -1; font-size: .82rem; color: var(--gray-400); margin: 0; }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; padding: 110px 0; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 80% 0%, rgba(31, 163, 230, .35), transparent 60%), linear-gradient(90deg, rgba(4, 19, 48, .95), rgba(4, 19, 48, .7)); }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 720px; margin: 0 0 12px; }
.cta-band p { color: #b9cbe6; margin: 0; max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-50); padding: 80px 0 30px; border-top: 1px solid var(--gray-100); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 330px; }
.site-footer h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-900); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer li a, .site-footer li span { color: var(--muted); font-size: .95rem; transition: color .25s; }
.site-footer li a:hover { color: var(--sky-600); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.social a:hover { background: var(--sky); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--gray-200); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--gray-400); font-size: .85rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }
.reveal[data-d="4"] { transition-delay: .4s; }
.reveal[data-d="5"] { transition-delay: .5s; }
.hero .anim { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; }
.hero .anim:nth-child(2) { animation-delay: .15s; }
.hero .anim:nth-child(3) { animation-delay: .3s; }
.hero .anim:nth-child(4) { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 163, 230, .7); } 70% { box-shadow: 0 0 0 12px rgba(31, 163, 230, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 163, 230, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dash { to { background-position: 32px 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero .anim { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu a { padding: 10px 9px; font-size: .86rem; }
  .split, .authority { gap: 50px; }
  .authority { grid-template-columns: 340px 1fr; }
  .map__head { display: none; }
  .map__row { grid-template-columns: 1fr; gap: 8px; }
  .map__row .arr { display: none; }
  .map__row .cap::before { content: "Desarrollamos: "; font-weight: 700; color: var(--sky-600); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px 40px;
    background: #fff; transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto;
  }
  .scrolled .menu { top: 68px; }
  .nav-open .menu { transform: none; }
  .menu a { font-size: 1.15rem; padding: 18px 4px; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .menu a::after { display: none; }
  .menu .menu-cta { display: block; margin-top: 24px; }
  .menu .menu-cta a { border: 0; text-align: center; color: #fff; padding: 18px; border-radius: 10px; font-size: .9rem; }
  .section { padding: 84px 0; }
  .hero { padding-bottom: 60px; min-height: auto; flex-direction: column; align-items: stretch; }
  .hero__badge { display: none; }
  .hero__strip { position: relative; margin-top: 60px; background: none; border: 0; backdrop-filter: none; }
  .hero__strip .container { grid-template-columns: 1fr; gap: 0; }
  .hero__strip .item, .hero__strip .item + .item { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .hero-wrap { display: block; }
  .gap-visual { grid-template-columns: 1fr; }
  .gap-mid { width: auto; height: 90px; }
  .gap-mid .gap-line { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(0deg, var(--sky) 0 8px, transparent 8px 16px); }
  .gap-col { padding: 34px 28px; }
  .pain-grid, .territories, .stories, .components, .values, .diffs, .audience { grid-template-columns: 1fr 1fr; }
  .story-card.featured { grid-column: span 2; grid-template-columns: 1fr; }
  .story-card.featured .ph { min-height: 260px; }
  .story-card.featured .body { padding: 32px 28px; }
  .split, .authority, .course__grid, .contact-grid { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .course:nth-of-type(even) .course__media { order: 0; }
  .course__media { position: relative; top: 0; max-width: 520px; }
  .course__media .num { left: 10px; font-size: 4rem; }
  .authority .portrait { max-width: 420px; }
  .media-frame .float-card { right: 12px; }
  .contact-card { position: relative; top: 0; }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .value + .value { border-left: 0; border-top: 1px solid var(--gray-100); }
  .values { grid-template-columns: 1fr; }
  .article-hero { background: linear-gradient(180deg, var(--navy-900) 0, var(--navy-900) calc(100% - 90px), #fff calc(100% - 90px)); }
  .article-body { padding-top: 40px; }
}
@media (max-width: 640px) {
  .container, .narrow { width: calc(100% - 32px); }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 42px; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero h1 .hl { white-space: normal; }
  .btn { width: 100%; padding: 16px 22px; white-space: normal; text-align: center; line-height: 1.3; }
  .btn-row { flex-direction: column; }
  .pain-grid, .territories, .stories, .components, .diffs, .audience, .form { grid-template-columns: 1fr; }
  .story-card.featured { grid-column: auto; }
  .root-cause { flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 24px; }
  .territory, .aud-card, .contact-card { padding: 32px 24px; }
  .component { padding: 30px 24px; }
  .page-hero { padding: calc(var(--header-h) + 50px) 0 64px; }
  .media-frame::before { left: -10px; top: -10px; }
  .media-frame .float-card { position: relative; right: auto; bottom: auto; margin: -30px 14px 0; }
  .related { grid-template-columns: 1fr; }
  .related img { width: 100%; height: 170px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
  .lesson { padding: 32px 26px; }
  .prose { font-size: 1.05rem; }
  .course { padding: 70px 0; }
  .ficha__row { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { padding: 76px 0; }
  .stat-row { gap: 30px; }
  .stat b { font-size: 2.6rem; }
  .programs-rail { grid-auto-columns: 78%; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* Accesibilidad: enlace para saltar al contenido */
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* =========================================================
   Ajustes de la lista de correcciones (sin cambiar la estructura)
   ========================================================= */
/* 1. Encabezado blanco sólido: el logo ADD VIA con buen contraste */
.site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--gray-100); }

/* 13. Cinco componentes en una fila */
.components { grid-template-columns: repeat(5, 1fr); }
.component { padding: 36px 26px; }

/* 14. Roles del Roleplay 360° en 2 columnas para que se lean completos */
.roles { grid-template-columns: repeat(2, 1fr); }

/* 19. Imágenes de fondo más visibles (el texto sigue sobre la zona oscura) */
.hero::before {
  background:
    linear-gradient(100deg, rgba(4, 19, 48, .94) 0%, rgba(6, 28, 69, .8) 36%, rgba(6, 28, 69, .3) 64%, rgba(6, 28, 69, .05) 100%),
    linear-gradient(0deg, rgba(4, 19, 48, .6) 0%, transparent 35%);
}
.page-hero__bg img { opacity: 1; }
.page-hero:not(.page-hero--light)::before { background: linear-gradient(100deg, rgba(4, 19, 48, .95) 10%, rgba(6, 28, 69, .72) 48%, rgba(6, 28, 69, .2) 100%); }
.cta-band__bg img { opacity: .6; }
.cta-band::before { background: linear-gradient(90deg, rgba(4, 19, 48, .95) 0%, rgba(4, 19, 48, .78) 45%, rgba(4, 19, 48, .3) 100%); }

/* 20. Movimiento lento y continuo en las imágenes de fondo */
.hero__bg img, .page-hero__bg img, .cta-band__bg img { animation: kbslow 26s ease-in-out infinite alternate; transform-origin: 65% 50%; }
@keyframes kbslow { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }

@media (max-width: 1100px) { .components { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .components { grid-template-columns: 1fr 1fr; }
  .components .component:last-child { grid-column: 1 / -1; }
  .hero::before { background: linear-gradient(180deg, rgba(4, 19, 48, .82) 0%, rgba(6, 28, 69, .88) 100%); }
}
@media (max-width: 640px) {
  .components { grid-template-columns: 1fr; }
  .gallery__bar .rail-btns { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .page-hero__bg img, .cta-band__bg img { animation: none !important; }
}

/* Cabecera blanca con imagen (ADDESTRA y Contacto) */
.page-hero--light { background: #fff; }
.page-hero__split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.page-hero__photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: var(--gray-100); }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; animation: kbslow 26s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@media (max-width: 960px) { .page-hero__split { grid-template-columns: 1fr; gap: 40px; } }
@media (prefers-reduced-motion: reduce) { .page-hero__photo img { animation: none !important; } }

/* =========================================================
   2026-11-04 · Cabecera más alta para el logo de ADD VIA.
   2026-11-06 · Logo "Entrenamiento comercial pharma" (más alargado):
   alturas ajustadas para que ocupe el mismo ancho que el anterior.
   ========================================================= */
:root { --header-h: 100px; }
.brand img { height: 62px; max-width: none; }
.scrolled .brand img { height: 42px; }
@media (max-width: 1199px) and (min-width: 961px) {   /* hasta 1199: a 1181-1189 el botón se salía 5-7 px */
  .brand img, .scrolled .brand img { height: 41px; }
  .nav { gap: 14px; }
}
@media (max-width: 1023px) and (min-width: 961px) {
  .nav .nav-cta { display: none; }   /* no entra; el menú ya tiene "Contacto" (igual que en celular) */
}
@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .brand img { height: 50px; }
  .scrolled .brand img { height: 41px; }
}

/* Historias con subtítulos y portadas tipo infografía (se muestran completas) */
.prose h2 { font-size: 1.35rem; line-height: 1.3; color: var(--navy-900); margin: 1.8em 0 .6em; letter-spacing: -.01em; }
.prose strong { color: var(--navy-900); }
.article-cover img.cover-full { aspect-ratio: auto; height: auto; max-width: 1000px; margin-inline: auto; object-fit: contain; background: #fff; }
