:root {
  --bg-dark: #05070b;
  --text: rgba(255, 255, 255, 0.95);
  --muted: rgba(255, 255, 255, 0.76);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(0, 0, 0, 0.45);
  --glass-soft: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

/* RESET */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #000;
}

/* ========================= */
/* 🎥 VIDEO DE FONDO (FIX) */
/* ========================= */

.hero-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  z-index: 0; /* 🔥 clave: NO negativo */
}

/* OVERLAY OSCURO */
.hero-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.75)),
    radial-gradient(circle at top center, rgba(255,255,255,.08), transparent 45%);
  z-index: 1;
}

/* ========================= */
/* NAV */
/* ========================= */

.nav {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 42px;
}

.logo-text {
  font-weight: 800;
}

.nav-btn {
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
}

.nav-btn:hover {
  background: rgba(255,255,255,.14);
}

/* ========================= */
/* CONTENIDO */
/* ========================= */

.hero-content {
  position: relative;
  z-index: 5; /* 🔥 arriba de todo */
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 0;
}

.hero-subtitle {
  margin-top: 15px;
  color: var(--muted);
  max-width: 600px;
}

/* ========================= */
/* PANEL */
/* ========================= */

.panel-novedades {
  margin-top: 40px;
  padding: 25px;
  border-radius: 25px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.panel-title {
  margin: 0 0 10px;
}

.panel-text {
  margin: 0 0 20px;
  color: var(--muted);
}

/* ========================= */
/* GRID */
/* ========================= */

.opciones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* TARJETAS */

.opcion-card {
  display: block;
  padding: 20px;
  border-radius: 22px;
  text-decoration: none;
  color: white;
  background: var(--glass-soft);
  border: 1px solid var(--line);
  transition: 0.25s ease;
}

.opcion-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}

.opcion-card-full {
  grid-column: 1 / -1;
}

/* ICONO */

.opcion-icono {
  font-size: 28px;
  margin-bottom: 10px;
}

/* TEXTOS */

.opcion-card h3 {
  margin: 0 0 8px;
}

.opcion-card p {
  margin: 0;
  color: var(--muted);
}

/* ========================= */
/* BOTONES */
/* ========================= */

.hero-btn {
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.hero-btn:hover {
  background: rgba(255,255,255,.14);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 800px) {
  .opciones-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================= */
/* ANIMACIÓN AL HACER SCROLL */
/* ========================= */

.opcion-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.opcion-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Un poquito más suave en celular */
@media (max-width: 800px) {
  .opcion-card {
    transform: translateY(34px);
    transition: opacity 0.75s ease, transform 0.75s ease;
  }
}