/* Start custom CSS *//* ==========================================================================
   1. RESET & BASES DE LUJO MINIMALISTA
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #111111;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ==========================================================================
   2. NAVBAR ESTILO ONINVITE (Inspirado en image_fd1569.jpg)
   ========================================================================== */
.oni-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.oni-icon {
  color: #ff3b30; /* El color de encendido para "ON" */
  font-weight: bold;
}

.nav-links a {
  text-decoration: none;
  color: #666666;
  margin: 0 1.5rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #111111;
}

.btn-black-pill {
  background: #111111;
  color: #ffffff;
  border: none;
  padding: 0.7rem 1.8rem;
  border-radius: 50px; /* Forma de cápsula exacta */
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s;
}

.btn-black-pill:hover {
  transform: scale(1.02);
}

.btn-white-pill {
  background: #ffffff;
  color: #111111;
  border: 1px solid #e0e0e0;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
}

/* ==========================================================================
   3. EL ESCENARIO FIXED (El teléfono y los fondos ocultos)
   ========================================================================== */
.scrolly-visual-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none; /* Permite que el scroll pase a través */
}

/* Capas de fondo con transición suave */
.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* Definición de los fondos por temática */
.bg-layer.bg-cumple { background-color: #f7f4f0; } /* Blanco roto / Hueso */
.bg-layer.bg-boda { background-color: #ffffff; }   /* Blanco Bride impoluto */
.bg-layer.bg-xv { background-color: #fff0f5; }     /* Rosa XV super sutil */
.bg-layer.bg-baby { background-color: #f0f7ff; }   /* Azul/Pastel Baby Shower */

/* Cuando la clase active se ponga con JS, el fondo aparece */
.bg-layer.active {
  opacity: 1;
}

/* Posicionamiento del teléfono al centro derecho al inicio */
.central-mockup-container {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Clase que usará JS para centrar el teléfono cuando empiece el scroll de las categorías */
.main-scrolly-wrapper.scrolling-modes .central-mockup-container {
  right: 50%;
  transform: translate(50%, -50%);
}

/* El Smartphone premium */
.smartphone-device {
  width: 320px;
  height: 640px;
  background: #111111;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  position: relative;
}

.smartphone-device::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 25px;
  background: #111111;
  border-radius: 15px;
  z-index: 10;
}

.dynamic-screen-content {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

/* Control de las vistas internas del teléfono */
.mockup-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-view.active {
  opacity: 1;
}

/* Estilos rápidos de las invitaciones muestra */
.inv-preview {
  font-size: 1.5rem;
  font-weight: 300;
}
.boda-style { font-family: 'Playfair Display', serif; }
.xv-style { color: #db7093; }

/* ==========================================================================
   4. TRACK DE SCROLL (Los textos que empujan la pantalla)
   ========================================================================== */
.scrolly-text-track {
  position: relative;
  z-index: 2; /* Por encima del escenario fijo */
}

/* El bloque del Hero original */
.full-hero-step {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-left: 4rem;
  width: 50%; /* Deja espacio para el teléfono a la derecha */
}

.hero-text-block {
  max-width: 580px;
}

.mini-badge {
  font-size: 0.85rem;
  color: #666;
  background: #f5f5f5;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.serif-title {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  display: block;
  margin-top: 0.5rem;
}

.main-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Las secciones que van a activar cada módulo al hacer scroll */
.text-step:not(.full-hero-step) {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 4rem;
  width: 40%; /* El texto se queda de un lado mientras el teléfono se centra */
}

.editorial-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
}

.editorial-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.editorial-card p {
  color: #666666;
  line-height: 1.6;
}/* End custom CSS */