/* ==========================================================================
   Forward Access — Hoja de estilos principal
   Mobile-first · Tokens en :root · Sin frameworks
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink-950: #0a1a33;
  --ink-900: #0d2140;
  --ink-800: #132b52;
  --ink-700: #1b3767;
  --paper: #f4f6fb;
  --paper-2: #e9eef7;
  --white: #ffffff;

  --text: #0b1325;
  --text-2: #3b4661;
  --muted: #66728e;
  --line: #dfe5ef;

  --on-dark: #eef2fc;
  --on-dark-2: #b7c3da;
  --on-dark-3: #8a98b5;
  --line-dark: rgba(255, 255, 255, 0.09);

  --blue: #2b5fd9;
  --azure: #1683cf;
  --cyan: #08bcd6;
  --cyan-soft: #63d6e8;
  --grad: linear-gradient(120deg, #2b5fd9 0%, #1a8fd6 50%, #08bcd6 100%);
  --grad-v: linear-gradient(180deg, #2b5fd9 0%, #08bcd6 100%);
  --grad-soft: linear-gradient(120deg, rgba(43, 95, 217, 0.16), rgba(8, 188, 214, 0.16));
  --grad-text: linear-gradient(120deg, #1d4ec4 0%, #1672c8 55%, #0a92c2 100%);
  --grad-deep: linear-gradient(125deg, #12367f 0%, #1a55bd 55%, #157fc0 100%);

  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-lg: 0 40px 90px -40px rgba(13, 33, 64, 0.45);
  --shadow-glow: 0 12px 28px -14px rgba(23, 84, 190, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --section: clamp(84px, 11vw, 150px);
  --nav-h: 78px;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

main { display: block; background: var(--paper); }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
p, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

::selection { background: var(--cyan); color: #04121a; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 2000;
  padding: 12px 18px; border-radius: 12px;
  background: #fff; color: var(--text); font-weight: 700;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--azure);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.on-dark .eyebrow, .eyebrow--light { color: var(--cyan-soft); }

.h-1 { font-size: clamp(2.1rem, 4.8vw, 3.9rem); }
.h-2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.h-3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.2; }

.lead { font-size: clamp(1.04rem, 1.35vw, 1.2rem); line-height: 1.7; color: var(--text-2); }
.on-dark .lead { color: var(--on-dark-2); }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
}

.section { position: relative; padding-block: var(--section); }
.section--paper { background: var(--paper); color: var(--text); }
.section--white { background: var(--white); color: var(--text); }
.section--dark { background: var(--ink-900); color: var(--on-dark); }
.section--deep { background: var(--ink-950); color: var(--on-dark); }

.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h-1, .section-head .h-2 { margin-top: 20px; }
.section-head .lead { margin-top: 22px; }

.section-head--split { max-width: none; display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 0.8fr; gap: 64px; }
  .section-head--split .lead { margin-top: 0; }
}

/* ---------- Botones ---------- */
.btn {
  --h: 56px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 0.97rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { transition: transform 0.5s var(--ease); }
.btn:hover .icon--go { transform: translateX(4px); }
.btn:hover .icon--out { transform: translate(2px, -2px); }
.btn:active { transform: scale(0.98); }

.btn--primary {
  color: #fff; background: var(--grad);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, #08bcd6 0%, #1a8fd6 50%, #2b5fd9 100%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { box-shadow: 0 18px 36px -14px rgba(23, 84, 190, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

.btn--ghost {
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }

.btn--white { background: #fff; color: var(--ink-900); box-shadow: 0 18px 40px -18px rgba(10, 26, 51, 0.6); }
.btn--white:hover { box-shadow: 0 24px 50px -18px rgba(10, 26, 51, 0.75); }

.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); }

.btn--outline { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn--outline:hover { border-color: var(--text); }

.btn--sm { --h: 46px; padding: 0 20px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn__play {
  width: 32px; height: 32px; margin-left: -12px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink-900);
}
.btn__play .icon { width: 12px; height: 12px; margin-left: 2px; }
.btn--outline .btn__play { background: var(--ink-900); color: #fff; }

@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.93rem; color: var(--azure);
  transition: gap 0.4s var(--ease), color 0.3s;
}
.link-arrow:hover { gap: 12px; color: var(--blue); }

/* ==========================================================================
   Transición entre páginas / preloader
   ========================================================================== */
.pt {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  pointer-events: none; visibility: hidden;
}
.pt__panel { position: absolute; inset: 0; transform: scaleY(0); transform-origin: bottom; }
.pt__panel--accent { background: var(--grad); }
.pt__panel--ink { background: var(--ink-950); }
.pt__brand { position: relative; display: grid; justify-items: center; gap: 22px; opacity: 0; }
.pt__brand img { width: 92px; height: auto; }
.pt__progress { width: 140px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.pt__progress span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }

html.is-loading .pt,
html.is-leaving .pt { visibility: visible; pointer-events: auto; }
html.is-loading .pt__panel { transform: scaleY(1); }
html.is-loading .pt__brand { opacity: 1; }
/* Seguridad: si el JS no carga, la cortina desaparece sola */
html.is-loading .pt { animation: pt-failsafe 0s linear 4s forwards; }
@keyframes pt-failsafe { to { visibility: hidden; pointer-events: none; } }

/* Estados iniciales de animación (solo si el JS está activo) */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-split] { visibility: hidden; }
.split-line { padding-bottom: 0.2em; margin-bottom: -0.2em; }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
.no-anim [data-split] { visibility: visible !important; }

/* ==========================================================================
   Navegación
   ========================================================================== */
.nav {
  --nav-fg: #fff; --nav-fg-2: var(--on-dark-2); --nav-hover: rgba(255, 255, 255, 0.08);
  --nav-btn: rgba(255, 255, 255, 0.08); --nav-btn-line: rgba(255, 255, 255, 0.16);
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: 14px;
  transition: transform 0.7s var(--ease);
}
.nav--light, .nav.is-scrolled {
  --nav-fg: var(--text); --nav-fg-2: var(--text-2); --nav-hover: rgba(13, 33, 64, 0.06);
  --nav-btn: #fff; --nav-btn-line: var(--line);
}
.nav.is-open {
  --nav-fg: #fff; --nav-fg-2: var(--on-dark-2); --nav-hover: rgba(255, 255, 255, 0.08);
  --nav-btn: rgba(255, 255, 255, 0.08); --nav-btn-line: rgba(255, 255, 255, 0.16);
}
.nav.is-hidden { transform: translateY(-130%); }

.nav__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 8px 0 18px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.nav.is-scrolled .nav__bar {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(13, 33, 64, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 14px 34px -20px rgba(13, 33, 64, 0.4);
}
.nav.is-open .nav__bar { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 38px; width: auto; }
.nav__logo .logo-dark { display: none; }
.nav--light .nav__logo .logo-light, .nav.is-scrolled .nav__logo .logo-light { display: none; }
.nav--light .nav__logo .logo-dark, .nav.is-scrolled .nav__logo .logo-dark { display: block; }
.nav.is-open .nav__logo .logo-light { display: block; }
.nav.is-open .nav__logo .logo-dark { display: none; }

.nav__links { display: none; }
.nav__link {
  position: relative; display: inline-flex; align-items: center;
  padding: 10px 16px; border-radius: 999px;
  font-size: 0.93rem; font-weight: 600; color: var(--nav-fg-2);
  transition: color 0.3s, background-color 0.3s;
}
.nav__link:hover { color: var(--nav-fg); background: var(--nav-hover); }
.nav__link.is-active { color: var(--nav-fg); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--azure);
  transform: translateX(-50%);
}

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cta { display: none; }

.nav__toggle {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  background: var(--nav-btn); border: 1px solid var(--nav-btn-line);
  display: grid; place-items: center;
  transition: background-color 0.4s, border-color 0.4s;
}
.nav__toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--nav-fg);
  transition: transform 0.6s var(--ease), top 0.6s var(--ease), width 0.6s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 27px; right: 20px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 23px; right: 14px; transform: rotate(-45deg); }

@media (min-width: 640px) {
  .nav__cta { display: inline-flex; }
}
@media (min-width: 1080px) {
  .nav__bar { padding: 0 8px 0 24px; }
  .nav__links { display: flex; gap: 2px; }
  .nav__toggle { display: none; }
}

/* ---------- Menú móvil ---------- */
.menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 36px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--ink-950); color: #fff;
  overflow-y: auto; overscroll-behavior: contain;
  /* Solo opacidad: se anima en la GPU (clip-path repinta toda la pantalla en cada cuadro) */
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(43, 95, 217, 0.18), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(22, 131, 207, 0.12), transparent 70%);
}
.menu.is-open {
  opacity: 1; visibility: visible;
  transition: opacity 0.45s var(--ease), visibility 0s;
}
.menu__links { position: relative; display: grid; gap: 2px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; width: 100%; text-align: left;
  padding: 8px 0;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em;
  font-size: clamp(2.1rem, 10vw, 3.4rem); line-height: 1.1;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease), color 0.3s;
}
.menu__links small { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; color: var(--on-dark-3); letter-spacing: 0; }
.menu__links .is-active { color: var(--cyan-soft); }
.menu.is-open .menu__links a {
  opacity: 1; transform: none;
  transition-delay: calc(0.12s + var(--i, 0) * 0.06s);
}
.menu__foot {
  position: relative; margin-top: auto; padding-top: 40px;
  display: grid; gap: 22px;
  opacity: 0; transition: opacity 0.6s var(--ease) 0s;
}
.menu.is-open .menu__foot { opacity: 1; transition-delay: 0.4s; }
.menu__contact { display: grid; gap: 6px; color: var(--on-dark-2); font-size: 0.95rem; }
.menu__contact a { color: #fff; font-weight: 600; }
.menu__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (min-width: 1080px) { .menu { display: none; } }

/* ---------- Redes sociales ---------- */
.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14); color: var(--on-dark);
  transition: background-color 0.4s var(--ease), border-color 0.4s, transform 0.4s var(--ease);
}
.socials a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }

/* ==========================================================================
   HERO (inicio)
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 72px));
  background: var(--ink-950); color: var(--on-dark);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }

.hero__inner {
  position: relative; z-index: 2; flex: 1;
  display: grid; gap: clamp(48px, 7vw, 72px); align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; }
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.82rem; font-weight: 600; color: var(--on-dark-2);
}
.pill__tag {
  padding: 3px 10px; border-radius: 999px; background: var(--grad);
  color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.live-dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2ee6a8; flex: none;
}
.live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #2ee6a8; opacity: 0; animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }

.hero__title {
  display: grid; margin-top: 28px;
  font-size: clamp(2.45rem, 6vw, 4.7rem);
  font-weight: 600; letter-spacing: -0.045em; line-height: 1.02;
  color: #fff;
}
.hero__line { grid-area: 1 / 1; align-self: end; }
.hero__line--sm { font-size: 0.86em; }
.hero__line:not(:first-child) { visibility: hidden; }
.hero__line .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.hero__line .word__in { display: inline-block; }
/* El degradado solo se pinta dentro de la caja: se amplía hacia abajo para no cortar g, p, y */
.hero__line .word__in.is-grad { padding-bottom: 0.2em; margin-bottom: -0.2em; }
.hero__line em { font-style: normal; }
.hero__line .is-grad, .hero__line em:not(:has(.word)) {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.hero__lead { margin-top: 26px; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 519px) {
  .hero__actions .btn, .talent__actions .btn, .cta__actions .btn, .split-cta__actions .btn { flex: 1 1 100%; }
}

.hero__controls { display: flex; align-items: center; gap: 18px; max-width: 540px; margin-top: clamp(36px, 5vw, 56px); }
.hero__counter { font-family: var(--font-display); font-size: 0.92rem; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.hero__counter strong { color: #fff; font-weight: 600; }
.hero__bars { display: flex; gap: 8px; }
.hero__bar {
  position: relative; width: 46px; height: 20px;
  display: flex; align-items: center;
}
.hero__bar::before { content: ""; position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.hero__bar span {
  position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
}
.hero__bar.is-active span { transform: scaleX(1); }
.js .hero__bar.is-active span { transform: scaleX(0); }
.hero__arrows { display: flex; gap: 8px; margin-left: auto; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14); color: #fff;
  transition: background-color 0.4s var(--ease), border-color 0.4s;
}
.round-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
.round-btn .icon { width: 18px; height: 18px; }

/* Visual */
.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 40px;
  background: var(--grad); filter: blur(70px); opacity: 0.35; z-index: 0;
}
.hero__frame {
  position: relative; z-index: 1; overflow: hidden;
  aspect-ratio: 4 / 3.6; border-radius: 30px;
  background: var(--ink-800);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.hero__slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.hero__slide.is-active { visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 26, 51, 0) 45%, rgba(10, 26, 51, 0.65) 100%);
}
.hero__caption {
  position: absolute; left: 22px; bottom: 20px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
}

.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(13, 33, 64, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  font-size: 0.8rem; color: var(--on-dark-2); line-height: 1.35;
}
.float-card strong { display: block; color: #fff; font-size: 0.9rem; font-weight: 700; }
.float-card__icon {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--grad); color: #fff;
}
.float-card__icon .icon { width: 20px; height: 20px; }
.float-card--a { left: 12px; top: 14px; }
.float-card--b { right: 12px; bottom: 56px; }
.float-card__inner { animation: floaty 7s ease-in-out infinite; }
.float-card--b .float-card__inner { animation-delay: -3.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.mini-bars i { display: block; width: 6px; border-radius: 3px; background: var(--grad-v); animation: bars 2.4s ease-in-out infinite; transform-origin: bottom; }
.mini-bars i:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.mini-bars i:nth-child(2) { height: 75%; animation-delay: -0.8s; }
.mini-bars i:nth-child(3) { height: 55%; animation-delay: -1.4s; }
.mini-bars i:nth-child(4) { height: 95%; animation-delay: -0.5s; }
.mini-bars i:nth-child(5) { height: 65%; animation-delay: -1.1s; }
@keyframes bars { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.55); } }

@media (min-width: 640px) {
  .float-card--a { left: -18px; top: 9%; }
  .float-card--b { right: -18px; bottom: 14%; }
}
@media (min-width: 1024px) {
  .float-card--a { left: -44px; }
  .float-card--b { right: -28px; }
}

/* Franja de atributos (Efectividad / Contacto / Actitud) */
.hero__features { position: relative; z-index: 2; margin-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(24px, 4vw, 40px); }
.features-strip {
  display: grid; gap: 1px; overflow: hidden;
  border-radius: 24px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 820px) { .features-strip { grid-template-columns: repeat(3, 1fr); } }
.feature-link {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 20px; background: rgba(13, 33, 64, 0.92);
  transition: background-color 0.5s var(--ease);
}
@media (min-width: 820px) { .feature-link { padding: 26px 26px; } }
.feature-link:hover { background: rgba(22, 44, 84, 0.96); }
.feature-link__icon {
  width: 52px; height: 52px; border-radius: 15px; flex: none;
  display: grid; place-items: center;
  background: var(--grad-soft); color: var(--cyan-soft);
  border: 1px solid rgba(8, 188, 214, 0.25);
  transition: background 0.5s var(--ease), color 0.5s;
}
.feature-link:hover .feature-link__icon { background: var(--grad); color: #fff; }
.feature-link__icon .icon { width: 24px; height: 24px; }
.feature-link__title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: #fff; letter-spacing: -0.02em; }
.feature-link__text { display: block; font-size: 0.86rem; color: var(--on-dark-3); margin-top: 2px; }
.feature-link__arrow {
  margin-left: auto; width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12); color: #fff;
  transition: transform 0.5s var(--ease), background 0.5s, border-color 0.5s;
}
.feature-link__arrow .icon { width: 18px; height: 18px; }
.feature-link:hover .feature-link__arrow { background: #fff; color: var(--ink-900); border-color: #fff; transform: rotate(-45deg); }


/* ---------- Hero corporativo (fondo claro) ---------- */
.hero--light {
  background:
    radial-gradient(1100px 620px at 85% 12%, #e7effb 0%, rgba(231, 239, 251, 0) 62%),
    linear-gradient(180deg, #f5f8fd 0%, #ffffff 100%);
  color: var(--text);
}
.hero--light .hero__title { color: var(--ink-950); }
.hero--light .hero__line .is-grad,
.hero--light .hero__line em:not(:has(.word)) {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
}
.hero--light .lead { color: var(--text-2); }
.hero--light .pill {
  background: #fff; border-color: var(--line); color: var(--text-2);
  box-shadow: 0 8px 20px -14px rgba(13, 33, 64, 0.3);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.pill .icon { width: 16px; height: 16px; color: var(--azure); }
.hero--light .hero__counter { color: var(--muted); }
.hero--light .hero__counter strong { color: var(--text); }
.hero--light .hero__bar::before { background: rgba(13, 33, 64, 0.12); }
.hero--light .round-btn { background: #fff; border-color: var(--line); color: var(--text); }
.hero--light .round-btn:hover { background: #fff; border-color: var(--text); }
.hero--light .hero__media::before {
  inset: 10% -4% -5% 12%; border-radius: 36px;
  background: linear-gradient(160deg, #dbe7fa 0%, #edf3fc 100%);
  filter: none; opacity: 1;
}
.hero--light .hero__frame { box-shadow: 0 40px 80px -40px rgba(13, 33, 64, 0.5); }
.hero--light .float-card {
  background: #fff; border-color: var(--line); color: var(--muted);
  box-shadow: 0 24px 48px -24px rgba(13, 33, 64, 0.38);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hero--light .float-card strong { color: var(--text); }
.hero--light .features-strip { background: var(--line); border-color: var(--line); box-shadow: 0 30px 60px -48px rgba(13, 33, 64, 0.45); }
.hero--light .feature-link { background: #fff; }
.hero--light .feature-link:hover { background: #f6f9fd; }
.hero--light .feature-link__icon { background: #eef4fd; color: var(--blue); border-color: #dbe6f8; }
.hero--light .feature-link:hover .feature-link__icon { background: var(--grad); color: #fff; border-color: transparent; }
.hero--light .feature-link__title { color: var(--text); }
.hero--light .feature-link__text { color: var(--muted); }
.hero--light .feature-link__arrow { border-color: var(--line); color: var(--text); }
.hero--light .feature-link:hover .feature-link__arrow { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

/* ==========================================================================
   Marquesinas (logos / afiches)
   ========================================================================== */
.logos { position: relative; background: var(--ink-950); color: var(--on-dark-3); padding: 28px 0 clamp(70px, 9vw, 110px); }
.logos__label { text-align: center; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 28px; }

.marquee {
  --gap: 16px; --duration: 45s;
  display: flex; gap: var(--gap); overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: var(--gap); flex: none; min-width: 100%;
  justify-content: space-around;
  animation: marquee var(--duration) linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }

.logo-chip {
  display: flex; align-items: center; gap: 14px; flex: none;
  padding: 8px 22px 8px 8px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.4s, background-color 0.4s;
}
.logo-chip:hover { border-color: rgba(8, 188, 214, 0.4); background: rgba(8, 188, 214, 0.06); }
.logo-chip img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.logo-chip span { font-family: var(--font-display); font-weight: 600; color: var(--on-dark); white-space: nowrap; font-size: 0.98rem; }
.logos--light { background: #fff; color: var(--muted); padding-top: 8px; }
.logos--light .logo-chip { background: #fff; border-color: var(--line); box-shadow: 0 10px 24px -20px rgba(13, 33, 64, 0.45); }
.logos--light .logo-chip:hover { background: #f6f9fd; border-color: rgba(22, 131, 207, 0.35); }
.logos--light .logo-chip span { color: var(--text); }

.poster {
  position: relative; flex: none; overflow: hidden;
  width: clamp(150px, 17vw, 230px); aspect-ratio: 1; border-radius: 20px;
  background: var(--ink-800);
}
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.poster figcaption {
  position: absolute; inset: auto 0 0; padding: 30px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(10, 26, 51, 0.92));
  color: #fff; font-size: 0.8rem; font-weight: 700; line-height: 1.3;
  transform: translateY(100%); transition: transform 0.6s var(--ease);
}
.poster:hover img { transform: scale(1.07); }
.poster:hover figcaption { transform: none; }

/* ==========================================================================
   Video
   ========================================================================== */
.video {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 9; border-radius: clamp(18px, 3vw, 34px);
  background: #000; box-shadow: var(--shadow-lg);
}
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.video:hover .video__poster { transform: scale(1.03); }
.video__player, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__overlay {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: #fff; text-align: center; padding: 20px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.video__overlay--start {
  flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 18px; text-align: left;
  padding: clamp(16px, 3.4vw, 40px);
  background: linear-gradient(20deg, rgba(10, 26, 51, 0.85) 0%, rgba(10, 26, 51, 0.25) 45%, rgba(10, 26, 51, 0) 70%);
}
.video__overlay--end { background: rgba(10, 26, 51, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; }
.video__overlay--end img { width: 70px; height: auto; }
.video__overlay--end h3 { font-size: clamp(1.3rem, 2.6vw, 2rem); }
.video.is-playing .video__overlay--start { opacity: 0; visibility: hidden; }
.video.is-ended .video__overlay--end { opacity: 1; visibility: visible; }

.video__play {
  --s: clamp(54px, 7vw, 88px);
  position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: 0 20px 50px -10px rgba(8, 188, 214, 0.7);
  transition: transform 0.6s var(--ease);
}
.video__play .icon { width: 32%; height: 32%; margin-left: 6%; }
.video__play::before, .video__play::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  animation: ring 2.6s var(--ease) infinite;
}
.video__play::after { animation-delay: 1.3s; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
.video__overlay--start:hover .video__play { transform: scale(1.08); }
.video__meta { display: grid; gap: 4px; padding-bottom: 4px; }
.video__label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-soft); }
.video__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.4rem); letter-spacing: -0.02em; }
@media (max-width: 479px) { .video__name { display: none; } }
.video.is-busy .video__play .icon { opacity: 0; }
.video.is-busy .video__play::before { border-color: transparent; border-top-color: #fff; animation: spin 0.8s linear infinite; inset: 24%; opacity: 1; }

/* ==========================================================================
   Misión / Visión / Valores
   ========================================================================== */
.pillars { display: grid; gap: 20px; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pillar {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), border-color 0.4s;
}
.pillar:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(12, 22, 48, 0.45); border-color: transparent; }
.pillar__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.07); }
.pillar__num {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; color: #fff;
  background: rgba(13, 33, 64, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pillar__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 28px 28px 30px; }
.pillar__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.55rem; }
.pillar__title a::after { content: ""; position: absolute; inset: 0; }
.pillar__go {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; border: 1px solid var(--line); color: var(--text);
  transition: transform 0.5s var(--ease), background 0.5s, color 0.5s, border-color 0.5s;
}
.pillar__go .icon { width: 18px; height: 18px; }
.pillar:hover .pillar__go { background: var(--grad); color: #fff; border-color: transparent; transform: rotate(-45deg); }
.pillar__text { color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.chip {
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; color: var(--text-2);
  background: var(--paper); border: 1px solid var(--line);
}

/* ==========================================================================
   Talento / Reportes (oscuro)
   ========================================================================== */
.talent { overflow: hidden; }
.talent__grid { position: relative; z-index: 2; display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 1024px) { .talent__grid { grid-template-columns: 1fr 1fr; } }
.talent__title { margin-top: 20px; font-size: clamp(1.9rem, 3.7vw, 3.1rem); }
.talent__text { margin-top: 24px; }
.talent__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.report {
  position: relative; border-radius: var(--radius-xl); padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}
.report__title { font-size: clamp(1.25rem, 2vw, 1.6rem); color: #fff; line-height: 1.25; }
.report__sub { margin-top: 10px; color: var(--on-dark-2); font-size: 0.95rem; }
.report__channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.report__channel {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--on-dark);
}
.report__channel .icon { width: 16px; height: 16px; color: var(--cyan-soft); }

.dash {
  margin-top: 26px; padding: 20px; border-radius: 22px;
  background: rgba(10, 26, 51, 0.75); border: 1px solid rgba(255, 255, 255, 0.08);
}
.dash__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.78rem; color: var(--on-dark-3); }
.dash__live { display: inline-flex; align-items: center; gap: 8px; color: #2ee6a8; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.dash__main { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; margin-top: 18px; }
.dash__label { font-size: 0.82rem; color: var(--on-dark-2); }
.dash__value { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 600; color: #fff; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.dash__ring { position: relative; width: 76px; height: 76px; }
.dash__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dash__ring circle { fill: none; stroke-width: 7; }
.dash__ring .bg { stroke: rgba(255, 255, 255, 0.08); }
.dash__ring .fg { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 64; transition: stroke-dashoffset 1.2s var(--ease); }
.dash__ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: #fff; }
.dash__gates { display: grid; gap: 12px; margin-top: 20px; }
.gate { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--on-dark-2); }
.gate__bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.gate__bar span { display: block; height: 100%; border-radius: 6px; background: var(--grad); transition: width 1.2s var(--ease); }
.gate b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.dash__note { margin-top: 16px; font-size: 0.72rem; color: var(--on-dark-3); }
.report__cta { margin-top: 24px; }

.stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 1px; overflow: hidden;
  margin-top: clamp(64px, 8vw, 110px);
  border-radius: var(--radius-lg); background: var(--line-dark); border: 1px solid var(--line-dark);
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: clamp(26px, 3.4vw, 42px); background: var(--ink-900); }
.stat__value {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.05em; line-height: 1;
  font-size: clamp(2.8rem, 5.6vw, 4.4rem); font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 14px; color: var(--on-dark-2); font-size: 0.97rem; max-width: 300px; }

/* ==========================================================================
   Servicios
   ========================================================================== */
.services { display: grid; gap: 20px; }
@media (min-width: 860px) { .services { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.service {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(8, 188, 214, 0.13), transparent 45%);
  transition: opacity 0.5s;
}
.service::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -45px rgba(12, 22, 48, 0.5); }
.service:hover::before { opacity: 1; }
.service:hover::after { transform: scaleX(1); }
.service__top { display: flex; align-items: flex-start; justify-content: space-between; }
.service__icon {
  width: 62px; height: 62px; border-radius: 18px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: var(--shadow-glow);
}
.service__icon .icon { width: 28px; height: 28px; }
.service__num { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.service h3 { margin-top: 32px; }
.service p { margin-top: 12px; color: var(--text-2); }

/* ==========================================================================
   Citas / "El primer contacto"
   ========================================================================== */
.quotes { overflow: hidden; color: var(--on-dark); background: var(--ink-950); text-align: center; }
.quotes__bg { position: absolute; inset: 0; overflow: hidden; }
.quotes__bg img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; filter: saturate(0.5); opacity: 0.3; }
.quotes__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(10, 26, 51, 0.55), rgba(10, 26, 51, 0.95)),
    linear-gradient(180deg, var(--ink-950), transparent 20%, transparent 80%, var(--ink-950));
}
.quotes .container { position: relative; z-index: 2; }
.quotes__slider { position: relative; display: grid; max-width: 920px; margin: 0 auto; }
.quote { grid-area: 1 / 1; display: grid; justify-items: center; gap: 26px; }
.quote:not(:first-child) { visibility: hidden; opacity: 0; }
.quote__mark { width: clamp(44px, 5vw, 60px); height: auto; aspect-ratio: 1; opacity: 0.95; }
.quote__text {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(1.18rem, 2.3vw, 1.85rem); line-height: 1.45; color: #fff;
}
.quote__text b { font-weight: 600; color: var(--cyan-soft); }
.quotes__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 48px; }
.quotes__dots { display: flex; gap: 8px; }
.quotes__dot { position: relative; width: 42px; height: 22px; display: flex; align-items: center; }
.quotes__dot::before { content: ""; position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.quotes__dot span { position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   ¿Por qué nosotros?
   ========================================================================== */
.why { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .why { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
  .why__intro { position: sticky; top: 130px; }
}
.why__intro .h-1 { margin-top: 20px; }
.why__intro .lead { margin-top: 22px; }
.why__intro .btn { margin-top: 34px; }
.why__list { display: grid; gap: 18px; }
.why-item {
  display: grid; gap: 22px; padding: 16px; border-radius: 28px;
  background: var(--paper); border: 1px solid var(--line);
  transition: background-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
}
.why-item:hover { background: #fff; box-shadow: 0 40px 70px -45px rgba(12, 22, 48, 0.45); }
@media (min-width: 640px) { .why-item { grid-template-columns: 220px 1fr; align-items: center; padding: 16px 28px 16px 16px; } }
.why-item__media { overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 10; }
@media (min-width: 640px) { .why-item__media { aspect-ratio: 1 / 0.9; } }
.why-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.why-item:hover .why-item__media img { transform: scale(1.07); }
.why-item__body { padding: 0 8px 10px; }
@media (min-width: 640px) { .why-item__body { padding: 0; } }
.why-item__icon {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; color: var(--azure);
  background: var(--grad-soft); border: 1px solid rgba(8, 188, 214, 0.22);
}
.why-item__icon .icon { width: 22px; height: 22px; }
.why-item h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.why-item p { margin-top: 10px; color: var(--text-2); font-size: 1.02rem; }

/* ==========================================================================
   Vitrina de eventos (inicio)
   ========================================================================== */
.showcase { overflow: hidden; }
.showcase .marquee + .marquee { margin-top: 16px; }
.showcase__cta { display: flex; justify-content: center; margin-top: clamp(44px, 6vw, 64px); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-wrap { position: relative; z-index: 2; background: linear-gradient(180deg, var(--paper) 0 50%, var(--ink-950) 50% 100%); }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px);
  background: var(--grad-deep); color: #fff;
  box-shadow: 0 50px 90px -50px rgba(13, 33, 64, 0.7);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 380px at 95% 0%, rgba(255, 255, 255, 0.16), transparent 70%);
}
.cta__mark { position: absolute; right: -4%; bottom: -18%; width: min(52%, 560px); opacity: 0.1; z-index: -1; filter: brightness(0) invert(1); }
.cta__title { max-width: 760px; font-size: clamp(2rem, 4.6vw, 3.8rem); }
.cta__text { max-width: 560px; margin-top: 22px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, 0.88); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.1); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 104px); background: var(--ink-950); color: var(--on-dark-2); }
.footer__band {
  display: grid; gap: 24px; align-items: center;
  padding: clamp(32px, 4vw, 44px); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark);
}
@media (min-width: 900px) { .footer__band { grid-template-columns: 1fr auto; gap: 48px; } }
.footer__band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: #fff; }
.footer__band p { margin-top: 8px; font-size: 0.95rem; max-width: 520px; }
.footer__band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 519px) { .footer__band-actions .btn { flex: 1 1 100%; } }

.footer__grid {
  display: grid; gap: 40px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 56px);
}
.footer__brand { grid-column: 1 / -1; max-width: 360px; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr; gap: 48px; }
  .footer__brand { grid-column: auto; }
}
.footer__brand img { height: 44px; width: auto; }
.footer__brand p { margin-top: 22px; font-size: 0.95rem; line-height: 1.75; }
.footer__brand .socials { margin-top: 26px; }
.footer__title { font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; color: #fff; margin-bottom: 18px; letter-spacing: -0.01em; }
.footer__list { display: grid; gap: 12px; font-size: 0.95rem; }
.footer__list a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s; }
.footer__list a:hover { color: #fff; }
.footer__list .icon { width: 15px; height: 15px; opacity: 0.6; }
.footer__contact { display: grid; gap: 14px; font-size: 0.95rem; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--cyan-soft); }
.footer__contact a { word-break: break-word; transition: color 0.3s; }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 26px; border-top: 1px solid var(--line-dark);
  font-size: 0.86rem; color: var(--on-dark-3);
}
.to-top { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--on-dark-2); transition: color 0.3s; }
.to-top span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.14); transition: background 0.4s, border-color 0.4s; }
.to-top:hover { color: #fff; }
.to-top:hover span { background: var(--grad); border-color: transparent; }
.to-top .icon { width: 16px; height: 16px; }

.footer__giant {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8;
  font-size: 11.6vw; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: -0.12em; user-select: none; pointer-events: none;
}

/* ==========================================================================
   Cabecera de páginas internas
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  /* Siempre ocupa la primera pantalla completa, tenga más o menos contenido */
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + clamp(70px, 11vw, 140px)) 0 clamp(70px, 9vw, 120px);
  background: var(--ink-950); color: var(--on-dark);
}
.page-hero__bg { position: absolute; inset: 0; overflow: hidden; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 15% 60%, rgba(10, 26, 51, 0.96) 25%, rgba(10, 26, 51, 0.55) 70%, rgba(10, 26, 51, 0.35)),
    linear-gradient(180deg, rgba(10, 26, 51, 0.6), transparent 30%, transparent 70%, var(--ink-950));
}
.page-hero__img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; opacity: 0.6; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__title { margin-top: 22px; font-size: clamp(2.8rem, 8vw, 6.4rem); letter-spacing: -0.05em; line-height: 0.98; color: #fff; }
.page-hero__lead { margin-top: 24px; max-width: 560px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.crumbs { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 600; color: var(--on-dark-3); }
.crumbs a { color: var(--on-dark-2); transition: color 0.3s; }
.crumbs a:hover { color: #fff; }
.crumbs .icon { width: 14px; height: 14px; }
.crumbs [aria-current] { color: #fff; }

/* Muro de afiches animado */
.wall {
  position: absolute; top: -30%; bottom: -30%; right: -12%; width: min(92%, 980px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  transform: rotate(-12deg); opacity: 0.85;
}
@media (min-width: 720px) { .wall { grid-template-columns: repeat(4, 1fr); } }
.wall__col { display: flex; flex-direction: column; gap: 14px; animation: wall-up 60s linear infinite; }
.wall__col:nth-child(even) { animation-name: wall-down; animation-duration: 70s; }
.wall__col img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@keyframes wall-down { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }
.wall__col:nth-child(4) { display: none; }
@media (min-width: 720px) { .wall__col:nth-child(4) { display: flex; } }

/* ==========================================================================
   Página Eventos
   ========================================================================== */
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.search { position: relative; flex: 1 1 320px; max-width: 460px; }
.search .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 56px; padding: 0 20px 0 52px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--text); outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(8, 188, 214, 0.14); }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.result-count { font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.result-count strong { color: var(--text); }

.events-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) { .events-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .events-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.event-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; background: #fff; border: 1px solid var(--line);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -38px rgba(12, 22, 48, 0.55); }
.event-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.06); }
.event-card__tag {
  position: absolute; left: 10px; top: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 8px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  background: rgba(13, 33, 64, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(-6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.event-card__tag .icon { width: 13px; height: 13px; color: #2ee6a8; }
.event-card:hover .event-card__tag { opacity: 1; transform: none; }
.event-card__body { padding: 14px 14px 18px; }
@media (min-width: 640px) { .event-card__body { padding: 18px 18px 22px; } }
.event-card__title { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; line-height: 1.32; letter-spacing: -0.015em; }
@media (min-width: 640px) { .event-card__title { font-size: 1rem; } }

.empty {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: 60px 20px; border-radius: var(--radius-lg); border: 1px dashed var(--line); color: var(--muted);
}
.empty .icon { width: 34px; height: 34px; color: var(--azure); }
.empty strong { font-family: var(--font-display); color: var(--text); font-size: 1.15rem; }
.load-more { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }

/* ==========================================================================
   Página Productores
   ========================================================================== */
.producers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 720px) { .producers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.producer {
  position: relative; overflow: hidden; border-radius: 26px;
  background: var(--ink-900); color: #fff;
  box-shadow: 0 30px 60px -45px rgba(13, 33, 64, 0.7);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.producer:hover { transform: translateY(-8px); box-shadow: 0 46px 80px -46px rgba(13, 33, 64, 0.85); }
.producer__logo { aspect-ratio: 1; overflow: hidden; }
.producer__logo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.producer:hover .producer__logo img { transform: scale(1.06); }
.producer__name {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 18px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
}
.producer__name .icon { width: 18px; height: 18px; color: var(--cyan-soft); }

.split-cta {
  display: grid; gap: 28px; align-items: center;
  margin-top: clamp(56px, 7vw, 90px); padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line);
}
@media (min-width: 900px) { .split-cta { grid-template-columns: 1fr auto; gap: 48px; } }
.split-cta h2 { font-size: clamp(1.5rem, 2.8vw, 2.3rem); }
.split-cta p { margin-top: 10px; color: var(--text-2); }
.split-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Página Cotización
   ========================================================================== */
.quote-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .quote-layout { grid-template-columns: 1.45fr 0.85fr; gap: 32px; } }
.contact-card {
  padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-xl);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 50px 90px -60px rgba(12, 22, 48, 0.45);
}
.contact-card__title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.contact-card__text { margin-top: 12px; color: var(--text-2); max-width: 560px; }
.contact-card__sub { margin-top: clamp(36px, 5vw, 48px); font-size: 1.15rem; letter-spacing: -0.02em; }

.channels { display: grid; gap: 12px; margin-top: 32px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px 14px 14px; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line);
  transition: background-color 0.4s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.channel:hover { background: #fff; border-color: rgba(22, 131, 207, 0.35); box-shadow: 0 24px 44px -32px rgba(12, 22, 48, 0.5); }
.channel__icon {
  width: 52px; height: 52px; border-radius: 15px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: var(--shadow-glow);
}
.channel__icon .icon { width: 22px; height: 22px; }
.channel__body { min-width: 0; }
.channel__body small { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.channel__body strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(0.98rem, 1.6vw, 1.12rem); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.channel__go {
  margin-left: auto; width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; border: 1px solid var(--line); color: var(--text);
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.channel__go .icon { width: 17px; height: 17px; }
.channel:hover .channel__go { background: var(--ink-900); color: #fff; border-color: var(--ink-900); transform: rotate(45deg); }

.checklist { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; gap: 14px 24px; } }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.93rem; color: var(--text-2); }
.checklist strong { display: block; color: var(--text); font-size: 0.98rem; }
.checklist__icon {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: var(--azure);
  background: var(--grad-soft); border: 1px solid rgba(8, 188, 214, 0.22);
}
.checklist__icon .icon { width: 19px; height: 19px; }

.aside { display: grid; gap: 20px; }
@media (min-width: 1024px) { .aside { position: sticky; top: 120px; } }
.info-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-xl);
  background: var(--ink-900); color: var(--on-dark-2);
}
.info-card h2 { font-size: 1.6rem; color: #fff; }
.info-card > p { margin-top: 12px; }
.info-list { display: grid; gap: 16px; margin-top: 26px; }
.info-list li { display: flex; gap: 14px; align-items: center; }
.info-list__icon {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: grid; place-items: center; color: var(--cyan-soft);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08);
}
.info-list__icon .icon { width: 20px; height: 20px; }
.info-list small { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); }
.info-list a, .info-list span { color: #fff; font-weight: 600; word-break: break-word; }
.info-card .socials { margin-top: 26px; }
.info-card__links { display: grid; gap: 10px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.info-card__links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; color: #fff; padding: 6px 0; }
.info-card__links a .icon { width: 18px; height: 18px; color: var(--cyan-soft); transition: transform 0.4s var(--ease); }
.info-card__links a:hover .icon { transform: translate(3px, -3px); }

.steps { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); }
.steps h3 { font-size: 1.15rem; }
.steps ol { display: grid; gap: 18px; margin-top: 20px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; counter-increment: s; font-size: 0.95rem; color: var(--text-2); }
.steps li::before {
  content: counter(s); width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: #fff; background: var(--grad);
}
.steps li strong { display: block; color: var(--text); font-size: 0.98rem; }

/* ==========================================================================
   Rendimiento
   ========================================================================== */
/* Animaciones infinitas fuera de pantalla: en pausa (lo controla main.js) */
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* Pantallas táctiles: sin backdrop-filter. El desenfoque se recalcula en cada
   cuadro del scroll (sobre todo en la barra fija) y es lo que más pesa en móvil. */
@media (hover: none) {
  .nav.is-scrolled .nav__bar { background: rgba(255, 255, 255, 0.97); }
  .nav.is-scrolled .nav__bar, .btn--ghost, .pill, .float-card, .pillar__num,
  .event-card__tag, .video__overlay--end {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .float-card { background: rgba(13, 33, 64, 0.94); }
  .pillar__num { background: rgba(13, 33, 64, 0.72); }
  .event-card__tag { background: rgba(13, 33, 64, 0.8); }
}

/* ==========================================================================
   Movimiento reducido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track, .wall__col { animation: none !important; }
  .marquee { overflow-x: auto; }
}
