/* ════════════════════════════════════════════════════════════════
   ACUC Digital Group, núcleo (casa matriz)
   Estilos estáticos. Sin build. Servido tal cual desde la raíz.
   ════════════════════════════════════════════════════════════════ */

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

:root {
  --blue:   #0097F4;
  --orange: #F97316;
  --black:  #0A0A0A;
  --white:  #FFFFFF;
  --ink:    #0A0A0A;
  --muted:  #5B6066;
  --line:   #E7E9EC;
  --wa:     #25D366;

  /* Split-screen: colores de overlay/fallback y opacidad del tinte sobre el video */
  --nova-color: #E8E6F5;            /* lavanda claro */
  --lfi-color:  #0097F4;            /* azul ACUC */
  --nova-overlay-opacity: 0.82;
  --lfi-overlay-opacity:  0.82;
}

html { -webkit-font-smoothing: antialiased; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .wordmark, .display {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.05;
  letter-spacing: -.02em;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* focus visible */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── NAV ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, padding .3s, transform .35s ease;
}
header.scrolled { border-bottom-color: var(--line); padding: 11px 28px; }
header.header-hidden { transform: translateY(-100%); }
.logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.nav-link {
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink);
  opacity: .78; transition: opacity .2s;
}
.nav-links a.nav-link:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: 14px;
  padding: 11px 20px; border-radius: 10px; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(37,211,102,.28);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,211,102,.4); }
.wa-ico { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

@media (max-width: 880px) {
  .nav-links a.nav-link { display: none; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; position: relative; overflow: hidden;
  padding: 120px 28px 80px;
}
.hero::before {
  content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; max-width: 130vw;
  background: radial-gradient(circle, rgba(0,151,244,.10) 0%, transparent 62%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  color: var(--blue); margin-bottom: 26px; opacity: 0;
}
.wordmark {
  font-weight: 800; font-size: clamp(5rem, 26vw, 19rem); line-height: .9;
  display: flex; justify-content: center; user-select: none;
}
.wordmark .char { display: inline-block; will-change: transform, opacity; }
.wordmark .c-blue { color: var(--blue); }
.hero-tagline {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(1.35rem, 3.4vw, 2.25rem); letter-spacing: -.02em;
  max-width: 720px; margin: 34px auto 0; opacity: 0;
}
.hero-support {
  font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--muted);
  max-width: 540px; margin: 18px auto 0; opacity: 0;
}
.hero-cta-row { margin-top: 38px; opacity: 0; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: 16px;
  padding: 16px 30px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,.3); transition: transform .2s, box-shadow .2s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(37,211,102,.45); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0;
}
.scroll-hint .line { width: 1px; height: 34px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint .line::after {
  content: ''; position: absolute; top: -34px; left: 0; width: 100%; height: 34px;
  background: var(--blue); animation: scrolldot 1.8s ease-in-out infinite;
}
@keyframes scrolldot { 0% { top: -34px; } 60%,100% { top: 34px; } }

/* ── SECTION HEADERS ── */
.sec-head { max-width: 680px; margin: 0 auto; text-align: center; }
.sec-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--blue); margin-bottom: 16px;
}
.sec-title { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
.sec-sub { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }

/* Reveal al entrar en viewport (clase agregada por JS; sin JS queda visible) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ══════════════ SPLIT SCREEN (video de fondo) ══════════════ */
.split {
  display: flex; width: 100%; height: 100vh; min-height: 620px; overflow: hidden;
}
.split-half {
  position: relative; flex: 1 1 50%; display: flex; overflow: hidden;
  transition: flex-grow .6s cubic-bezier(.4,0,.2,1); text-decoration: none;
  isolation: isolate;
}
/* video de fondo */
.split-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
/* overlay de color tintado: opacidad calibrable por variable.
   También funciona como fallback solido si el video no carga
   (queda el color de fondo de .split-nova / .split-lfi debajo). */
.split-nova { background: var(--nova-color); }
.split-lfi  { background: var(--lfi-color); }
.split-overlay { position: absolute; inset: 0; z-index: 1; transition: opacity .5s; }
.split-nova .split-overlay { background: var(--nova-color); opacity: var(--nova-overlay-opacity); }
.split-lfi  .split-overlay { background: var(--lfi-color);  opacity: var(--lfi-overlay-opacity); }

/* contenido: flex en columna a altura completa, botones anclados con margin-top:auto
   para que ambos CTA arranquen a la misma linea base */
.split-inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 64px; max-width: 560px;
  padding-top: clamp(120px, 22vh, 220px); padding-bottom: clamp(80px, 16vh, 160px);
}
.split-nova .split-inner { color: var(--black); }
.split-lfi  .split-inner { color: var(--white); }
.split-name {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.6rem); margin-bottom: 16px;
  white-space: nowrap;
}
.split-tag { font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.5; max-width: 380px; }
.split-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 11px;
  background: #fff; color: var(--black); transition: transform .2s;
}
.split-half:hover .split-link { transform: translateY(-2px); }
.split-link .arr { transition: transform .25s; }
.split-half:hover .split-link .arr { transform: translateX(4px); }

/* hover: expandir una mitad, achicar la otra */
.split-half:hover { flex-grow: 1.9; }
.split-half:hover .split-overlay { opacity: calc(var(--nova-overlay-opacity) - .08); }
.split-lfi:hover .split-overlay { opacity: calc(var(--lfi-overlay-opacity) - .08); }

@media (max-width: 820px) {
  .split { flex-direction: column; height: auto; }
  .split-half { flex: none; min-height: 78vh; }
  .split-half:hover { flex-grow: 0; }
  .split-inner { padding: 56px 32px; padding-top: 90px; padding-bottom: 56px; }
  .split-name { font-size: clamp(1.7rem, 8vw, 2.6rem); white-space: normal; }
}

/* ══════════════ CONSTELACIÓN ══════════════ */
.constel {
  background: #07101D; color: #fff; padding: 110px 28px 90px; position: relative;
}
.constel .sec-label { color: #4FB6FF; }
.constel .sec-title { color: #fff; }
.constel .sec-sub { color: #9FB2C6; }
.constel-stage {
  position: relative; width: 100%; max-width: 1100px; height: 560px;
  margin: 40px auto 0;
}
#constel-canvas { display: block; width: 100%; height: 100%; cursor: default; }
/* Enlaces de respaldo: ocultos a la vista, presentes para teclado y lectores
   de pantalla (la constelación Canvas no es navegable por si sola). */
.constel-fallback {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 620px) {
  .constel-stage { height: 440px; }
}

/* ══════════════ EQUIPO ══════════════ */
.team-sec { padding: 110px 28px; background: #fff; }
.team-layout {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start;
  margin: 56px auto 0; max-width: 1100px;
}
.video-frame {
  position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden;
  background: linear-gradient(150deg, #0A0A0A, #15314a); cursor: pointer; border: 1px solid var(--line);
}
.video-frame .poster-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(0,151,244,.35), transparent 60%); }
.video-frame .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center; transition: transform .25s, box-shadow .25s;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.video-frame:hover .play { transform: translate(-50%,-50%) scale(1.08); box-shadow: 0 14px 50px rgba(0,151,244,.5); }
.video-frame .play svg { width: 26px; height: 26px; fill: var(--black); margin-left: 4px; }
.video-frame .poster-cap {
  position: absolute; left: 22px; bottom: 20px; color: #fff; font-weight: 700;
  font-family: 'Inter', sans-serif; font-size: 1.05rem; z-index: 2;
}
.video-frame .poster-cap small { display: block; font-family: 'DM Sans', sans-serif; font-weight: 400; color: #C9CDD3; font-size: .82rem; margin-top: 2px; }

.bios { display: flex; flex-direction: column; gap: 30px; }
.bio { display: flex; gap: 18px; align-items: flex-start; }
.bio img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); flex-shrink: 0; }
.bio-name { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.18rem; }
.bio-role { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); margin: 3px 0 8px; }
.bio-text { color: var(--muted); font-size: .98rem; }

@media (max-width: 860px) {
  .team-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ══════════════ INFORMACIÓN DE REFERENCIA (GEO) ══════════════ */
/* Bloque discreto tipo colofon: presente en el HTML para motores
   generativos, pero sobrio y sin robar protagonismo. */
.geo-ref { background: #FAFBFC; border-top: 1px solid var(--line); padding: 52px 28px; }
.geo-inner { max-width: 720px; margin: 0 auto; }
.geo-ref .sec-label { margin-bottom: 10px; text-align: left; }
.geo-title { font-size: .95rem; font-weight: 700; color: var(--muted); margin: 0 0 14px; letter-spacing: 0; }
.geo-ref p { color: #8A9099; font-size: .82rem; line-height: 1.75; margin-bottom: 12px; }
.geo-ref p:last-child { margin-bottom: 0; }
.geo-ref strong { color: var(--muted); font-weight: 600; }

/* ══════════════ FOOTER (sin cards) ══════════════ */
footer { background: var(--black); color: #fff; padding: 96px 28px 40px; }
.foot-brands {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  max-width: 1180px; margin: 0 auto; text-align: center;
}
.foot-brand { display: flex; flex-direction: column; align-items: center; }
.fb-name {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.7rem; color: #fff;
  text-decoration: none; transition: color .2s, gap .2s;
}
.fb-name .fb-arr { color: var(--blue); transition: transform .25s; }
.fb-name:hover { color: var(--blue); }
.fb-name:hover .fb-arr { transform: translateX(5px); }
.fb-tag { color: var(--blue); font-weight: 700; margin: 12px 0 8px; font-size: 1.05rem; }
.fb-desc { color: #9AA0A8; font-size: .98rem; white-space: nowrap; }

.foot-contact {
  max-width: 1180px; margin: 64px auto 0; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.foot-logo { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.7rem; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.foot-logo .c-blue { color: var(--blue); }
.foot-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, transform .2s;
}
.socials a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; fill: #fff; }
.foot-copy { max-width: 1180px; margin: 40px auto 0; color: #6C7178; font-size: 13px; text-align: center; }

@media (max-width: 760px) {
  .foot-brands { grid-template-columns: 1fr; gap: 40px; }
  .foot-contact { flex-direction: column; align-items: flex-start; }
  .fb-desc { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .hero-eyebrow, .hero-tagline, .hero-support, .hero-cta-row, .scroll-hint { opacity: 1 !important; }
}
