/* ═══════════════════════════════════════════════════
   Bia Ruta Mundialista 2026 — Estilos Globales
   Design System: Bia Brand System (Orbit)
═══════════════════════════════════════════════════ */

/* ── Pinyon Script — título mundialista ── */
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');

@font-face {
  font-family: 'Open Sauce One';
  src: url('../fonts/open-sauce-one.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ── Variables CSS — mapeadas a Bia Pulse tokens ── */
:root {
  /* Fondos */
  --bg:            var(--bp-neutral-950);       /* #0C0E12 */
  --bg-alt:        var(--bp-gray-modern-950);   /* #0D121C */
  --bg-card:       var(--bp-gray-modern-900);   /* #121926 */
  --bg-card-2:     var(--bp-gray-modern-800);   /* #202939 */
  --bg-modal:      var(--bp-gray-modern-950);   /* #0D121C */

  /* Brand accent (Indigo) */
  --teal:          var(--bp-brand-500);         /* #6172F3 */
  --teal-light:    var(--bp-brand-400);         /* #8098F9 */
  --teal-dark:     var(--bp-brand-700);         /* #3538CD */
  --teal-border:   var(--bp-brand-800);         /* #2D31A6 */
  --teal-glow:     rgba(97, 114, 243, 0.3);

  /* Brand (Indigo) */
  --purple:        var(--bp-brand-700);         /* #3538CD */
  --purple-light:  var(--bp-brand-400);         /* #8098F9 */

  /* Neutrales */
  --white:         var(--bp-white);             /* #ffffff */
  --gray:          var(--bp-neutral-300);       /* #CECFD2 */
  --muted:         var(--bp-neutral-400);       /* #94979C */
  --gray-dim:      var(--bp-neutral-500);       /* #85888E */
  --overlay:       var(--bp-bg-overlay);        /* rgba(22,18,30,0.70) */

  /* Tricolor Colombia */
  --red-col:       #CE1126;
  --yellow-col:    #FFD100;
  --blue-col:      #003087;

  /* Mundial 2026 */
  --gold:          #c9a84c;
  --gold-light:    #f5d87a;
  --gold-glow:     rgba(201, 168, 76, 0.25);
  --navy:          var(--bp-neutral-950);       /* #0C0E12 */
  --navy-mid:      var(--bp-gray-modern-950);   /* #0D121C */

  /* Radios — mapeados a bp-radius */
  --radius-sm:     var(--bp-radius-md);         /* 8px  */
  --radius-md:     var(--bp-radius-xl);         /* 12px */
  --radius-lg:     var(--bp-radius-2xl);        /* 16px */
  --radius-xl:     var(--bp-radius-4xl);        /* 24px */
  --radius-full:   var(--bp-radius-full);       /* 9999px */

  /* Espaciado clave */
  --space-xs:      var(--bp-spacing-xs);        /* 4px  */
  --space-sm:      var(--bp-spacing-lg);        /* 12px */
  --space-md:      var(--bp-spacing-xl);        /* 16px */
  --space-lg:      var(--bp-spacing-3xl);       /* 24px */
  --space-xl:      var(--bp-spacing-5xl);       /* 40px */
  --space-2xl:     var(--bp-spacing-6xl);       /* 48px */
  --space-3xl:     var(--bp-spacing-8xl);       /* 80px */

  /* Sombras */
  --shadow-sm:     var(--bp-shadow-sm);
  --shadow-md:     var(--bp-shadow-md);
  --shadow-lg:     var(--bp-shadow-lg);
  --shadow-xl:     var(--bp-shadow-xl);

  /* Tipografía */
  --font-xs:       var(--bp-font-size-text-xs);    /* 12px */
  --font-sm:       var(--bp-font-size-text-sm);    /* 14px */
  --font-md:       var(--bp-font-size-text-md);    /* 16px */
  --font-lg:       var(--bp-font-size-text-lg);    /* 18px */
  --font-xl:       var(--bp-font-size-text-xl);    /* 20px */
  --font-d-sm:     var(--bp-font-size-display-sm); /* 30px */
  --font-d-md:     var(--bp-font-size-display-md); /* 36px */
  --font-d-lg:     var(--bp-font-size-display-lg); /* 48px */

  /* Transición */
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sauce One', 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ═══════════════════════════════════════
   NAVBAR — floating style like bia.app
═══════════════════════════════════════ */

#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  transition:
    background var(--transition),
    backdrop-filter var(--transition),
    border-color var(--transition),
    top var(--transition),
    left var(--transition),
    right var(--transition),
    border-radius var(--transition),
    padding var(--transition);
}

#main-nav.scrolled {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 14px 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* Links centrales */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: #85888E;
  cursor: default;
  transition: color var(--transition);
}

.nav-link:hover { color: #CECFD2; }

/* Acciones derecha */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Tricolor */
.tricolor-bar { display: flex; gap: 3px; margin-right: 8px; }
.tricolor-bar span { width: 3px; height: 18px; border-radius: 2px; }
.tricolor-bar .col-yellow { background: var(--yellow-col); }
.tricolor-bar .col-blue   { background: var(--blue-col);   }
.tricolor-bar .col-red    { background: var(--red-col);    }

/* Ingresar */
.btn-ingresar {
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  background: #0B0D12;
  border: 1px solid #20222E;
  border-radius: 12px;
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset;
  padding: 7px 16px;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn-ingresar:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset;
}

/* Contactar — brand primary */
.btn-contactar {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: var(--bp-brand-700);
  border: 1px solid var(--bp-brand-600);
  border-radius: 12px;
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset;
  padding: 7px 18px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-contactar:hover {
  background: var(--bp-brand-600);
  transform: translateY(-1px);
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset, 0 8px 20px rgba(97, 114, 243, 0.3);
}

/* ═══════════════════════════════════════
   CIERRE DE CAMPAÑA — layout centrado
═══════════════════════════════════════ */

.campaign-close {
  background: #0C0E12;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 96px 48px;
}

.campaign-close-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

/* Eyebrow */
.cc-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 24px;
}

/* Stat central */
.cc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.cc-prefix {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.cc-number {
  font-size: clamp(100px, 14vw, 180px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  line-height: 0.88;
}

.cc-suffix {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: #6172F3;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 12px;
}

/* Divisor */
.cc-divider {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 48px 0;
}

/* Bullets en grid 2×2 */
.cc-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.cc-bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cc-bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(97, 114, 243, 0.1);
  border: 1px solid rgba(97, 114, 243, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cc-bullet-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cc-bullet-text strong {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.cc-bullet-text span {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  font-weight: 400;
  line-height: 1.45;
}

/* CTA grande centrado */
.cc-cta {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.cc-cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #6172F3;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.cc-cta-btn {
  position: relative;
  display: inline-flex;
  text-decoration: none;
  border-radius: 18px;
  overflow: hidden;
  padding: 2.5px;
  background: linear-gradient(135deg, #6172F3 0%, #8098F9 50%, #8098F9 100%);
  box-shadow: 0 8px 40px rgba(97, 114, 243, 0.30);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  animation: cta-pulse 3s ease-in-out infinite;
}

.cc-cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 0 0 5px rgba(97, 114, 243, 0.15),
    0 20px 56px rgba(97, 114, 243, 0.50);
  animation: none;
}

.cc-cta-btn-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #0C0E12;
  border-radius: 16px;
  padding: 20px 48px;
  color: #ffffff;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: background 0.25s ease;
  white-space: nowrap;
}

.cc-cta-btn:hover .cc-cta-btn-inner {
  background: #121926;
}

.cc-cta-btn-text {
  color: #ffffff;
}

.cc-cta-arrow {
  flex-shrink: 0;
  color: #6172F3;
  transition: transform 0.25s ease;
}

.cc-cta-btn:hover .cc-cta-arrow {
  transform: translateX(5px);
}

.cc-cta-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,211,183,0.12) 0%, rgba(128,152,249,0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cc-cta-btn:hover .cc-cta-glow {
  opacity: 1;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 8px 40px rgba(97, 114, 243, 0.30); }
  50%       { box-shadow: 0 8px 56px rgba(97, 114, 243, 0.55); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .campaign-close { padding: 72px 24px; }
  .cc-bullets { grid-template-columns: 1fr; gap: 20px; }
  .cc-cta-btn-inner { padding: 18px 32px; width: 100%; justify-content: center; }
  .cc-number { font-size: clamp(80px, 20vw, 120px); }
  .cc-suffix { font-size: clamp(22px, 6vw, 34px); }
}

/* ═══════════════════════════════════════
   CAMPAIGN SECTION — full-bleed + texto derecha
   Inspirado en estética editorial cinematográfica
═══════════════════════════════════════ */

.campaign-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #0C0E12;
  overflow: hidden;
}

/* ── Imagen nítida a pantalla completa ── */
.campaign-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.campaign-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  display: block;
}

/* Vignette + panel oscuro a la derecha */
.campaign-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Vignette bordes */
    radial-gradient(ellipse 120% 100% at 38% 50%,
      transparent 28%, rgba(4,6,20,0.45) 100%),
    /* Panel oscuro derecha */
    linear-gradient(
      to left,
      rgba(4,6,20,0.97) 0%,
      rgba(4,6,20,0.94) 28%,
      rgba(4,6,20,0.70) 50%,
      rgba(4,6,20,0.20) 72%,
      transparent 88%
    );
}

/* ── Panel de texto — lado derecho ── */
.campaign-text {
  position: relative;
  z-index: 2;
  width: 46%;
  max-width: 560px;
  padding: 0 80px 0 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.poem-eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: #6172F3;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 32px;
  display: block;
}

.poem-lead {
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 32px;
}

.poem-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.poem-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.85;
  font-weight: 400;
}

.poem-body strong {
  color: #6172F3;
  font-weight: 700;
}

.poem-closing {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,0.90) !important;
  line-height: 1.6 !important;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .campaign-text { width: 52%; padding: 0 48px 0 32px; }
}

@media (max-width: 768px) {
  .campaign-section { height: auto; min-height: 100vh; justify-content: flex-start; }
  .campaign-bg-overlay {
    background: linear-gradient(
      to top,
      rgba(4,6,20,0.98) 0%,
      rgba(4,6,20,0.92) 45%,
      rgba(4,6,20,0.50) 65%,
      rgba(4,6,20,0.15) 100%
    );
  }
  .campaign-bg-img { object-position: center 20%; }
  .campaign-text {
    width: 100%;
    max-width: 100%;
    padding: 55vh 28px 56px;
  }
  .poem-lead { font-size: clamp(22px, 6vw, 32px); }
  .poem-body p { font-size: 14px; }
}

/* ═══════════════════════════════════════
   YOUTUBE SECTION
═══════════════════════════════════════ */

.yt-section {
  background: #0C0E12;
  padding: 80px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.yt-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.yt-header {
  text-align: center;
}

.yt-eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.yt-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.yt-video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.yt-footer {
  display: flex;
  justify-content: center;
}

.yt-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0B0D12;
  border: 1px solid #20222E;
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.yt-channel-btn:hover {
  background: var(--bp-brand-950);
  border-color: var(--bp-brand-700);
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset, 0 0 14px rgba(97, 114, 243, 0.2);
  transform: translateY(-2px);
  color: var(--white);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .yt-section { padding: 56px 20px; }
  .yt-video-wrap { border-radius: var(--radius-md); }
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */

footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 48px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-brand-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

.footer-slogan {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.01em;
}

/* ── Utility ── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  #main-nav { padding: 14px 32px; }
  #main-nav.scrolled { top: 0.5rem; left: 0.5rem; right: 0.5rem; padding: 12px 24px; }
  .nav-links { display: none; }
  .stats-banner { padding: 20px 32px; gap: 48px; }
}

@media (max-width: 768px) {
  #main-nav { padding: 12px 20px; }
  #main-nav.scrolled { top: 0.5rem; left: 0.5rem; right: 0.5rem; padding: 10px 16px; }
  .btn-ingresar { display: none; }
  .stats-banner { padding: 20px; gap: 28px; }
  .stat-number { font-size: 28px; }
  footer { padding: 28px 20px; }
  .footer-slogan { display: none; }
}

/* ═══════════════════════════════════════
   BOTÓN FLOTANTE EVA
═══════════════════════════════════════ */

.eva-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  animation: eva-float 3s ease-in-out infinite;
}

.eva-tag {
  background: #0B0D12;
  border: 1px solid var(--bp-brand-700);
  border-radius: 20px;
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset, 0 0 12px rgba(97, 114, 243, 0.25);
  color: var(--bp-brand-200);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  white-space: nowrap;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.eva-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0B0D12;
  border: 2px solid var(--bp-brand-700);
  box-shadow:
    2px 2px 6px 0 #07080C,
    0 0 1px 2px #000 inset,
    0 0 20px rgba(97, 114, 243, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.eva-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eva-fab:hover .eva-tag {
  border-color: var(--bp-brand-500);
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset, 0 0 20px rgba(97, 114, 243, 0.45);
  color: var(--bp-brand-100);
}

.eva-fab:hover .eva-avatar {
  border-color: var(--bp-brand-500);
  transform: scale(1.08);
  box-shadow:
    2px 2px 6px 0 #07080C,
    0 0 1px 2px #000 inset,
    0 0 32px rgba(97, 114, 243, 0.55);
}

@keyframes eva-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

@media (max-width: 768px) {
  .eva-fab { bottom: 20px; right: 16px; }
  .eva-avatar { width: 60px; height: 60px; }
  .eva-tag { font-size: 11px; padding: 5px 11px; }
}
