/* VSI — estilos propios (lo que Tailwind/DaisyUI no cubren) */

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi/Satoshi-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --vsi-black: #0c0b09;
  --vsi-white: #f1f5f4;
  --navbar-height: 64px;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgb(241 245 244 / 0.35) var(--vsi-black);
}

body {
  background-color: var(--vsi-black);
  color: var(--vsi-white);
  font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

b,
strong {
  font-weight: 700;
}

/* Secciones a pantalla completa (svh evita el rebote de la barra de direcciones en móvil) */
.vsi-section {
  scroll-margin-top: var(--navbar-height);
  width: 100%;
  min-height: calc(100svh - var(--navbar-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.site-logo {
  width: auto;
  aspect-ratio: 1391 / 581;
  object-fit: contain;
}

/* Navegación: estado activo */
.nav-links a {
  position: relative;
}

.nav-links a.is-active {
  color: #fff;
}

.nav-links a.is-active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 9999px;
  background-color: #fff;
  box-shadow: 0 0 6px rgb(255 255 255 / 0.8);
  transform: translateX(-50%);
}

.mobile-links a.is-active {
  color: #fff;
  font-weight: 600;
  border-left: 3px solid #fff;
}

/* Hero */
.hero-video {
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.hero-fade-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 22rem;
  background: linear-gradient(to top, #0c0b09 0%, #0c0b09 25%, rgba(12, 11, 9, 0.85) 60%, rgba(12, 11, 9, 0.3) 85%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.scroll-cue i {
  display: block;
  animation: scroll-cue 2.2s ease-in-out infinite;
}

.scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scroll-cue {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Miniaturas de los modales */
.thumb[aria-pressed='true'] {
  background-color: #fff;
  border-color: #fff;
  color: #000;
}

/* Equipo */
.team-card:hover .team-img {
  transform: translateY(-8px) scale(1.08) rotate(4deg);
}

/* Aparición al hacer scroll (acelerada por GPU sin tirones) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-cue i {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
