/* =====================================================================
   LÁCTEUS — Hoja de estilos única
   Identidad: navy #1A5FC4 · sky #8ABFF5 · milk #F6F9FE · Sora + Inter
   ===================================================================== */

/* =============================== 1. Tokens =============================== */
:root {
  --navy: #1A5FC4;
  --navy-dark: #144A99;
  --navy-deep: #0E3670;
  --sky: #8ABFF5;
  --sky-mid: #2E80E8;
  --sky-soft: #E9F1FD;
  --milk: #F6F9FE;
  --ink: #10263B;
  --ink-soft: #4A5D70;
  --white: #FFFFFF;
  --line: rgba(26, 95, 196, 0.10);

  --display: 'Sora', 'Segoe UI', sans-serif;
  --sans: 'Inter', 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --shadow-card: 0 4px 24px rgba(26, 95, 196, 0.09);
  --shadow-lift: 0 18px 44px rgba(26, 95, 196, 0.16);

  --gutter: clamp(1.2rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 78px;
}

/* =============================== 2. Reset =============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--milk);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.08; letter-spacing: -0.015em; color: var(--navy); }
ul { list-style: none; padding: 0; }
::selection { background: var(--sky); color: var(--navy-dark); }
:focus-visible { outline: 2px solid var(--sky-mid); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1.1rem; background: var(--navy); color: #fff;
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--wide { width: min(1420px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ========================= 3. Transiciones de página ===================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .5s;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(root) { animation-name: vtOut; }
::view-transition-new(root) { animation-name: vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

/* =============================== 4. Splash =============================== */
.splash {
  position: fixed; inset: 0; z-index: 300;
  background: var(--milk);
  display: grid; place-items: center;
  animation: splashSafety .01s 4.5s forwards; /* red de seguridad CSS */
}
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }
.splash.is-out { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .55s var(--ease-out), visibility 0s .6s; }
.splash-mark { width: 54px; animation: splashDrop 1.1s var(--ease-bounce) both; }
.splash-word { margin-top: 14px; font-family: var(--display); font-weight: 800; letter-spacing: .16em; color: var(--navy); font-size: 15px; animation: splashFade .8s .25s var(--ease-out) both; }
@keyframes splashDrop { from { opacity: 0; transform: translateY(-26px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes splashFade { from { opacity: 0; letter-spacing: .4em; } to { opacity: 1; } }

/* ========================= 5. Cursor personalizado ======================= */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none;
  border-radius: 50%; opacity: 0; transition: opacity .3s var(--ease-out);
}
.cursor-dot { width: 7px; height: 7px; background: var(--navy); }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(26, 95, 196, .45);
  transition: opacity .3s var(--ease-out), width .25s var(--ease-out), height .25s var(--ease-out), border-color .25s var(--ease-out), background .25s var(--ease-out);
}
.cursor-dot.is-ready, .cursor-ring.is-ready { opacity: 1; }
.cursor-ring.is-hover { width: 52px; height: 52px; background: rgba(138, 191, 245, .18); border-color: var(--sky-mid); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ========================= 6. Barra de progreso ========================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  z-index: 210; pointer-events: none;
  background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--sky-mid), var(--sky));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ================================ 7. Nav ================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out), backdrop-filter .35s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 251, 254, .82);
  opacity: 0; transition: opacity .35s var(--ease-out);
}
@supports (backdrop-filter: blur(14px)) {
  .nav::before { background: rgba(247, 251, 254, .62); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); }
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(26, 95, 196, .06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: min(1420px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo img { height: 42px; width: auto; border-radius: 11px; transition: transform .3s var(--ease-out); }
.nav-logo span { font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: .05em; color: var(--navy); }
.nav-logo:hover img { transform: scale(1.06) rotate(-3deg); }
.nav-links { display: none; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav-links a:not(.btn) {
  font-weight: 500; font-size: 15px; color: var(--ink-soft); position: relative;
  padding: 6px 2px; transition: color .25s var(--ease-out);
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--sky-mid); border-radius: 2px;
  transition: right .3s var(--ease-out);
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-burger {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--white); box-shadow: var(--shadow-card);
}
.nav-burger span { position: relative; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: background .2s; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav.is-open .nav-burger span { background: transparent; }
.nav.is-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-burger span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; top: 0; left: 0; right: 0; z-index: 190;
  background: var(--milk);
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2.2rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(26, 95, 196, .12);
  transform: translateY(-105%);
  transition: transform .45s var(--ease-out);
  display: flex; flex-direction: column; gap: .4rem;
}
.nav.is-open ~ .nav-mobile { transform: translateY(0); }
.nav-mobile a {
  font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--navy);
  padding: .55rem 0; border-bottom: 1px solid var(--line);
}
.nav-mobile a[aria-current="page"] { color: var(--sky-mid); }
.nav-mobile .btn { margin-top: 1rem; align-self: flex-start; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger, .nav-mobile { display: none; }
}

/* =============================== 8. Botones ============================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(26, 95, 196, .25); }
.btn--primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(26, 95, 196, .3); }
.btn--sky { background: var(--sky); color: var(--navy-dark); }
.btn--sky:hover { background: #a9ccf7; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 11px 24px; }
.btn--ghost:hover { background: var(--sky-soft); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy); box-shadow: 0 8px 22px rgba(5, 30, 55, .28); }
.btn--white:hover { transform: translateY(-2px); }
.btn--linkedin svg { width: 17px; height: 17px; }

/* ============================ 9. Componentes ============================= */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sky-mid);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--sky-mid); border-radius: 2px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 12.5px; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 999px; line-height: 1.2;
}
.badge--info { background: var(--sky-soft); color: var(--navy); }
.badge--brand { background: var(--navy); color: #fff; }
.badge--outline { border: 1.5px solid var(--sky); color: var(--navy); background: rgba(255,255,255,.6); }

.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; margin-top: .9rem; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.06rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .kicker::before { display: none; }

/* Reveals */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensa: split gestiona sus hijos */
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word > i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform .9s var(--ease-out); }
.is-split-visible .split-word > i { transform: none; }

/* =============================== 10. Hero ================================ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 7rem;
  overflow: clip;
}
.hero-halo { position: absolute; pointer-events: none; filter: blur(90px); border-radius: 50%; }
.hero-halo--1 { width: 60vw; height: 60vw; right: -18vw; top: -22vw; background: radial-gradient(circle, rgba(138, 191, 245, .5), transparent 65%); }
.hero-halo--2 { width: 44vw; height: 44vw; left: -16vw; bottom: -10vw; background: radial-gradient(circle, rgba(26, 95, 196, .12), transparent 65%); }
.hero-grid { display: grid; gap: 3.5rem; align-items: center; position: relative; }
.hero-copy .badge { margin-bottom: 1.4rem; }
.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 800; line-height: 1.04; max-width: 15ch;
}
.hero-title em { font-style: normal; color: var(--sky-mid); position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .34em;
  background: var(--sky-soft); z-index: -1; border-radius: 4px;
}
.hero-sub { margin-top: 1.5rem; font-size: 1.13rem; color: var(--ink-soft); max-width: 52ch; }
.hero-ctas { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 10px; }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-card {
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift);
  padding: clamp(2rem, 4vw, 3.4rem);
  position: relative; z-index: 2;
  max-width: 430px; width: 100%;
}
@supports (backdrop-filter: blur(18px)) {
  .hero-card { background: rgba(255, 255, 255, .55); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
}
.hero-card img { width: 100%; height: auto; }
.hero-chip {
  position: absolute; z-index: 3;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow-card);
  font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--navy);
  padding: 10px 18px; display: inline-flex; align-items: center; gap: 8px;
  animation: chipFloat 5.2s ease-in-out infinite;
}
.hero-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-mid); font-style: normal; }
.hero-chip--1 { top: 6%; left: -4%; animation-delay: 0s; }
.hero-chip--2 { top: 38%; right: -7%; animation-delay: 1.3s; }
.hero-chip--3 { bottom: 12%; left: -8%; animation-delay: 2.4s; }
.hero-chip--4 { bottom: -3%; right: 4%; animation-delay: 3.1s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--ink-soft); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.hero-scroll i { width: 1.5px; height: 34px; background: linear-gradient(var(--navy), transparent); display: block; animation: scrollHint 1.8s var(--ease-soft) infinite; }
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
}

/* ============================= 11. Marquee =============================== */
.marquee {
  border-block: 1px solid var(--line);
  padding: 1.05rem 0; overflow: clip; background: #fff;
  display: flex;
}
.marquee-track { display: flex; gap: 3.2rem; flex-shrink: 0; padding-right: 3.2rem; animation: marquee 30s linear infinite; }
.marquee span {
  font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 3.2rem;
}
.marquee span::after { content: "◦"; color: var(--sky-mid); font-size: 1.15em; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ============================== 12. Stats ================================ */
.stats { padding: var(--section) 0; }
.stats-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
.stat {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  position: relative; overflow: clip;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.stat::after {
  content: ""; position: absolute; right: -34px; top: -34px; width: 100px; height: 100px;
  background: radial-gradient(circle, var(--sky-soft), transparent 70%); border-radius: 50%;
}
.stat b { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--navy); display: block; line-height: 1; }
.stat b small { font-size: .55em; font-weight: 700; color: var(--sky-mid); }
.stat span { display: block; margin-top: .6rem; color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
@media (min-width: 960px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================ 13. Ejes (cards) =========================== */
.ejes { padding: var(--section) 0; }
.ejes-grid { display: grid; gap: 1.4rem; }
.eje-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); overflow: clip;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.eje-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }
.eje-media { position: relative; aspect-ratio: 16 / 9.5; overflow: clip; }
.eje-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.eje-card:hover .eje-media img { transform: scale(1.06); }
.eje-num {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .06em;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  padding: 7px 13px; border-radius: 999px;
}
.eje-body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.eje-body h3 { font-size: 1.22rem; font-weight: 800; }
.eje-body p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.eje-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: .4rem; }
@media (min-width: 720px) { .ejes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .ejes-grid { grid-template-columns: repeat(4, 1fr); } .eje-media { aspect-ratio: 4 / 3; } }

/* ====================== 14. Bloque editorial (about) ===================== */
.about { padding: var(--section) 0; background: #fff; }
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-figures { position: relative; min-height: 420px; }
.about-figures img { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); position: absolute; object-fit: cover; }
.about-img-1 { width: 72%; aspect-ratio: 4 / 4.6; left: 0; top: 0; z-index: 1; }
.about-img-2 { width: 52%; aspect-ratio: 4 / 4.2; right: 0; bottom: -6%; z-index: 2; border: 6px solid #fff; }
.about-drop { position: absolute; width: 90px; right: 6%; top: -4%; z-index: 3; filter: drop-shadow(0 12px 24px rgba(26, 95, 196, .25)); animation: chipFloat 6s ease-in-out infinite; }
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; margin-top: .9rem; }
.about-copy > p { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.05rem; }
.about-list { margin-top: 1.8rem; display: grid; gap: .9rem; }
.about-list li { display: flex; gap: 13px; align-items: flex-start; font-size: .99rem; }
.about-list li b { color: var(--navy); }
.about-list li::before {
  content: "✓"; flex-shrink: 0; display: grid; place-items: center;
  width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--sky-soft); color: var(--navy); font-size: 12px; font-weight: 800;
}
@media (min-width: 960px) { .about-grid { grid-template-columns: .95fr 1.05fr; gap: 4.5rem; } }

/* ========================= 15. Socios (logos row) ======================== */
.logos-band { padding: calc(var(--section) * .7) 0; }
.logos-band h2 { text-align: center; font-size: 1rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; font-family: var(--sans); }
.logos-row { margin-top: 2.4rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.8rem, 5vw, 4rem); }
.logos-row img {
  height: clamp(58px, 8vw, 88px); width: auto; max-width: 220px; object-fit: contain;
  filter: grayscale(1) opacity(.55);
  transition: filter .4s var(--ease-out), transform .4s var(--ease-out);
}
.logos-row a:hover img { filter: none; transform: translateY(-3px); }

/* ============================ 16. Banda CTA ============================== */
.cta-band { padding: var(--section) 0; }
.cta-box {
  position: relative; overflow: clip;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, var(--navy-deep) 100%);
  border-radius: var(--r-xl);
  padding: clamp(2.8rem, 6vw, 4.8rem);
  color: #fff; text-align: center;
}
.cta-box::before, .cta-box::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.cta-box::before { width: 380px; height: 380px; background: rgba(138, 191, 245, .22); top: -160px; right: -100px; }
.cta-box::after { width: 300px; height: 300px; background: rgba(138, 191, 245, .13); bottom: -140px; left: -80px; }
.cta-box h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; max-width: 24ch; margin-inline: auto; position: relative; z-index: 1; }
.cta-box h2 em { font-style: normal; color: var(--sky); }
.cta-box p { margin: 1.1rem auto 0; max-width: 56ch; color: rgba(255, 255, 255, .82); position: relative; z-index: 1; }
.cta-box .btn { margin-top: 2.1rem; position: relative; z-index: 1; }

/* ======================== 17. Page hero (interiores) ===================== */
.page-hero {
  position: relative; overflow: clip;
  padding: calc(var(--nav-h) + clamp(3.4rem, 7vw, 5.5rem)) 0 clamp(3rem, 6vw, 4.6rem);
}
.page-hero .hero-halo--1 { width: 46vw; height: 46vw; top: -26vw; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; max-width: 18ch; margin-top: 1rem; }
.page-hero p.lead { margin-top: 1.3rem; max-width: 62ch; color: var(--ink-soft); font-size: 1.12rem; }

/* ====================== 18. Proyecto: objetivos OE ======================= */
.oe-section { padding: var(--section) 0; background: #fff; }
.oe-grid { display: grid; gap: 1.1rem; }
.oe-card {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--milk); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.4rem 1.5rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.oe-card:hover { transform: translateX(6px); border-color: var(--sky); box-shadow: var(--shadow-card); }
.oe-card b.oe-num {
  flex-shrink: 0; font-family: var(--display); font-weight: 800; font-size: 14px;
  color: var(--navy); background: var(--sky-soft); border-radius: 10px; padding: 8px 12px;
}
.oe-card p { color: var(--ink); font-size: .99rem; margin-top: 2px; }
@media (min-width: 960px) { .oe-grid { grid-template-columns: 1fr 1fr; } .oe-grid .oe-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* =========================== 19. PERT rediseñado ========================= */
.pert { padding: var(--section) 0; }
.pert-canvas { display: grid; gap: 1.6rem; margin-top: .6rem; }
.pert-col { display: grid; gap: 0; align-content: start; }
.pert-block {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  overflow: clip; border: 1px solid var(--line);
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.pert-block:hover { box-shadow: var(--shadow-lift); }
.pert-block summary {
  list-style: none; cursor: pointer; user-select: none;
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  color: #fff; padding: 1.15rem 1.4rem;
  display: flex; align-items: center; gap: 12px;
}
.pert-block summary::-webkit-details-marker { display: none; }
.pert-block summary .pert-pt {
  flex-shrink: 0; font-family: var(--display); font-weight: 800; font-size: 12px;
  background: var(--sky); color: var(--navy-dark); border-radius: 999px; padding: 5px 11px;
}
.pert-block summary h3 { color: #fff; font-size: 1.02rem; font-weight: 700; flex: 1; line-height: 1.3; }
.pert-block summary .pert-oe { font-size: 11.5px; font-weight: 600; color: var(--sky); white-space: nowrap; }
.pert-block summary .pert-caret { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; transition: transform .3s var(--ease-out); }
.pert-block summary .pert-caret svg { width: 11px; height: 11px; }
.pert-block[open] summary .pert-caret { transform: rotate(180deg); }
.pert-rows { padding: .6rem .9rem .9rem; display: grid; gap: .5rem; }
.pert-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--milk); border-radius: 12px; padding: .65rem .8rem;
  transition: background .25s var(--ease-out);
}
.pert-row:hover { background: var(--sky-soft); }
.pert-row .pert-logos { flex-shrink: 0; display: flex; gap: 6px; }
.pert-row .pert-logos img {
  width: 40px; height: 40px; object-fit: contain; background: #fff;
  border-radius: 9px; border: 1px solid var(--line); padding: 4px;
}
.pert-row p { font-size: .88rem; line-height: 1.4; color: var(--ink); }
.pert-row p b { color: var(--navy); }
.pert-arrow { display: grid; place-items: center; padding: .35rem 0; }
.pert-arrow svg { width: 22px; height: 26px; color: var(--sky-mid); }
.pert-side {
  background: linear-gradient(160deg, var(--sky-soft), #fff);
  border: 1.5px dashed var(--sky-mid); border-radius: var(--r-lg);
  padding: 1.3rem 1.3rem 1.5rem; align-self: stretch;
}
.pert-side h3 { font-size: 1rem; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.pert-side h3 .pert-pt { font-size: 12px; background: var(--navy); color: #fff; border-radius: 999px; padding: 5px 11px; font-family: var(--display); font-weight: 800; }
.pert-side p { margin-top: .7rem; font-size: .89rem; color: var(--ink-soft); }
.pert-side .pert-logos { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 8px; }
.pert-side .pert-logos img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); padding: 5px; }
.pert-note { margin-top: 1.2rem; font-size: .85rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
@media (min-width: 1280px) {
  .pert-canvas { grid-template-columns: 1fr 320px; align-items: stretch; }
}

/* ============================ 20. Ficha oficial ========================== */
.ficha { padding: var(--section) 0; background: #fff; }
.ficha-table {
  width: 100%; border-collapse: collapse; background: var(--milk);
  border-radius: var(--r-lg); overflow: clip; box-shadow: var(--shadow-card);
  font-size: .97rem;
}
.ficha-table th, .ficha-table td { text-align: left; padding: .95rem 1.3rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ficha-table tr:last-child th, .ficha-table tr:last-child td { border-bottom: 0; }
.ficha-table th { width: 34%; font-family: var(--display); font-weight: 700; color: var(--navy); font-size: .88rem; }
.ficha-table td b { color: var(--navy); }
.ficha-wrap { overflow-x: auto; border-radius: var(--r-lg); }

/* ============================ 21. Socios page ============================ */
.socios { padding: var(--section) 0; }
.socio-lider {
  display: grid; gap: 0; overflow: clip;
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lift);
  margin-bottom: 2rem;
}
.socio-lider-media { position: relative; min-height: 260px; }
.socio-lider-media img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.socio-lider-body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.socio-logo-plate {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 20px; display: grid; place-items: center; box-shadow: var(--shadow-card);
}
.socio-logo-plate img { max-height: 88px; width: auto; max-width: 260px; object-fit: contain; }
.socio-lider-body h3 { font-size: 1.5rem; font-weight: 800; }
.socio-lider-body p { color: var(--ink-soft); font-size: .99rem; }
.socio-dato { display: flex; gap: 10px; align-items: flex-start; background: var(--sky-soft); border-radius: 12px; padding: .8rem 1rem; font-size: .92rem; }
.socio-dato b { color: var(--navy); }
@media (min-width: 960px) { .socio-lider { grid-template-columns: .8fr 1.2fr; } .socio-lider-media { min-height: 100%; } }

.socios-grid { display: grid; gap: 1.4rem; }
.socio-card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 1.7rem; display: flex; flex-direction: column; gap: .9rem; align-items: flex-start;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.socio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.socio-card .socio-logo-plate { box-shadow: none; background: var(--milk); width: 100%; min-height: 120px; }
.socio-card h3 { font-size: 1.14rem; font-weight: 800; }
.socio-card p { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.socio-web { font-weight: 700; font-size: .9rem; color: var(--sky-mid); display: inline-flex; align-items: center; gap: 6px; transition: gap .25s var(--ease-out), color .25s var(--ease-out); }
.socio-web:hover { gap: 10px; color: var(--navy); }
.socio-web svg { width: 14px; height: 14px; }
@media (min-width: 720px) { .socios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .socios-grid { grid-template-columns: repeat(4, 1fr); } }

.colaboradores { padding: calc(var(--section) * .8) 0 var(--section); background: #fff; }
.colab-grid { display: grid; gap: 1.1rem; }
.colab-card {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--milk); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.colab-card:hover { border-color: var(--sky); box-shadow: var(--shadow-card); }
.colab-card img { width: 130px; height: 82px; object-fit: contain; background: #fff; border-radius: 10px; padding: 8px; border: 1px solid var(--line); flex-shrink: 0; }
.colab-card h3 { font-size: .99rem; font-weight: 700; }
.colab-card p { font-size: .86rem; color: var(--ink-soft); margin-top: 2px; }
@media (min-width: 960px) { .colab-grid { grid-template-columns: repeat(3, 1fr); } .colab-card { flex-direction: column; align-items: flex-start; } }

/* ============================ 22. Noticias =============================== */
.noticias { padding: var(--section) 0; }
.noticias-grid { display: grid; gap: 1.5rem; }
.noticia-card {
  display: flex; flex-direction: column; overflow: clip;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.noticia-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.noticia-card .media { aspect-ratio: 16 / 9; overflow: clip; }
.noticia-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.noticia-card:hover .media img { transform: scale(1.05); }
.noticia-card .body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.noticia-card time { font-size: .82rem; font-weight: 600; color: var(--sky-mid); letter-spacing: .04em; text-transform: uppercase; }
.noticia-card h3 { font-size: 1.22rem; font-weight: 800; line-height: 1.25; }
.noticia-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.noticia-card .socio-web { margin-top: .3rem; }
@media (min-width: 960px) { .noticias-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .noticias-grid { grid-template-columns: repeat(3, 1fr); } }

.linkedin-box {
  margin-top: 2.6rem;
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  color: #fff; border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; justify-content: space-between;
  position: relative; overflow: clip;
}
.linkedin-box::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(138, 191, 245, .18); filter: blur(50px); }
.linkedin-box h3 { color: #fff; font-size: 1.3rem; font-weight: 800; }
.linkedin-box p { color: rgba(255, 255, 255, .82); margin-top: .4rem; max-width: 46ch; font-size: .96rem; }
.linkedin-box .btn { position: relative; z-index: 1; }

/* Artículo de noticia */
.articulo { padding: calc(var(--nav-h) + 3.5rem) 0 var(--section); }
.articulo-head { max-width: 780px; margin-inline: auto; }
.articulo-head time { font-size: .85rem; font-weight: 600; color: var(--sky-mid); text-transform: uppercase; letter-spacing: .05em; }
.articulo-head h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 800; margin-top: .8rem; }
.articulo-hero { max-width: 980px; margin: 2.4rem auto 0; }
.articulo-hero img { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.articulo-body { max-width: 700px; margin: 2.8rem auto 0; font-size: 1.06rem; }
.articulo-body p + p { margin-top: 1.2rem; }
.articulo-body h2 { font-size: 1.45rem; margin: 2.2rem 0 .9rem; }
.articulo-body a { color: var(--sky-mid); font-weight: 600; border-bottom: 1.5px solid var(--sky); transition: color .2s, border-color .2s; }
.articulo-body a:hover { color: var(--navy); border-color: var(--navy); }
.articulo-body blockquote {
  margin: 1.8rem 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--sky);
  background: var(--sky-soft); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 1.05rem;
}
.articulo-back { margin-top: 3rem; text-align: center; }

/* ============================ 23. Contacto =============================== */
.contacto { padding: var(--section) 0; }
.contacto-grid { display: grid; gap: 1.5rem; }
.contacto-card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex; flex-direction: column; gap: .8rem; align-items: flex-start;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.contacto-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.contacto-card .icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--sky-soft);
  display: grid; place-items: center; color: var(--navy);
}
.contacto-card .icon svg { width: 24px; height: 24px; }
.contacto-card h3 { font-size: 1.14rem; font-weight: 800; }
.contacto-card p { color: var(--ink-soft); font-size: .95rem; }
.contacto-card a.big { font-family: var(--display); font-weight: 700; color: var(--sky-mid); font-size: 1.05rem; transition: color .2s; word-break: break-all; }
.contacto-card a.big:hover { color: var(--navy); }
@media (min-width: 960px) { .contacto-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================== 24. Footer =============================== */
.funding {
  background: #fff; border-top: 1px solid var(--line);
  padding: 2.4rem 0 2.2rem;
}
.funding-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.4rem, 4vw, 3rem); }
.funding-logos img { height: clamp(48px, 6.5vw, 72px); width: auto; max-width: 280px; object-fit: contain; }
.funding p {
  margin-top: 1.6rem; text-align: center; font-size: .88rem; color: var(--ink-soft);
  max-width: 72ch; margin-inline: auto;
}
.funding p b { color: var(--navy); }

.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); }
.footer-main { padding: 3.6rem 0 2.6rem; display: grid; gap: 2.4rem; }
.footer-brand .plate { background: #fff; border-radius: var(--r-md); padding: 16px 18px; display: inline-block; }
.footer-brand .plate img { height: 92px; width: auto; }
.footer-brand p { margin-top: 1.1rem; font-size: .92rem; max-width: 34ch; }
.footer h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: .9rem; }
.footer-col ul { display: grid; gap: .5rem; }
.footer-col a { font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.3rem 0; font-size: .82rem;
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; align-items: center;
}
.footer-bottom a { color: var(--sky); font-weight: 600; }
@media (min-width: 960px) { .footer-main { grid-template-columns: 1.3fr .7fr .7fr 1fr; gap: 3rem; } }

/* ======================= 25. Extras ===================================== */
/* Selector de idioma */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 3px; font-family: var(--display); font-weight: 700; font-size: 12.5px;
}
.lang-switch a, .lang-switch span {
  padding: 5px 11px; border-radius: 999px; color: var(--ink-soft); transition: color .2s, background .2s;
}
.lang-switch span { background: var(--navy); color: #fff; }
.lang-switch a:hover { color: var(--navy); background: var(--sky-soft); }
.nav-mobile .lang-switch { align-self: flex-start; margin-top: .8rem; }

/* Clusaga difunde */
.clusaga-note {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 1.5rem 1.8rem;
}
.clusaga-note img { height: 74px; width: auto; flex-shrink: 0; }
.clusaga-note div { flex: 1; min-width: 260px; }
.clusaga-note h3 { font-size: 1.05rem; font-weight: 800; }
.clusaga-note p { font-size: .93rem; color: var(--ink-soft); margin-top: .3rem; }

/* Widget de feed LinkedIn */
.feed-section { margin-top: 2.6rem; }
.feed-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.3rem; }
.feed-shell { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: clamp(1rem, 3vw, 2rem); }

/* ======================= 26. Reduced motion (intrusivos) ================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-chip, .about-drop { animation: none; }
  .hero-scroll i { animation: none; }
  /* micro-interacciones (hover, fades, counters) se mantienen */
}
