/* =========================================
   1. BASES Y TIPOGRAFÍA (SILENT LUXURY)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden; /* ¡VITAL! Evita cualquier desbordamiento accidental */
    background-color: #f2f2f2;
    font-family: 'Playfair Display', Georgia, serif; 
    color: #004d4d;
}

/* =========================================
   2. VIEWPORT Y RIEL (SOLUCIÓN ANTIFRICCIÓN)
   ========================================= */

/* La ventana fija por la que vemos el contenido */
.viewport {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* El riel que se moverá de izquierda a derecha */
.horizontal-container {
    display: flex;
    flex-wrap: nowrap;
    width: 400vw; /* 4 secciones de 100vw cada una */
    height: 100vh;
    /* Usamos transform en lugar de scroll para evitar bloqueos del navegador */
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

/* =========================================
   3. PANELES (ESTRUCTURA DE SECCIÓN)
   ========================================= */
.panel {
    flex: 0 0 100vw; /* Cada panel es una roca inamovible de 100vw */
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
}

/* =========================================
   4. COMPONENTES DE NAVEGACIÓN
   ========================================= */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 77, 77, 0.1);
    z-index: 3000;
}

.progress-bar {
    height: 100%;
    background: #c5a059;
    width: 0%; /* Controlado por JS */
    transition: width 0.4s ease;
}

.nav-arrows {
    position: fixed;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    transform: translateY(-50%);
    pointer-events: none; 
    z-index: 2000;
}

.arrow {
    pointer-events: auto;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #c5a059;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.arrow:hover {
    background: rgba(197, 160, 89, 0.15);
    border-color: #c5a059;
    transform: scale(1.05);
}

/* =========================================
   5. CONTENIDO HERO
   ========================================= */
.hero {
    background: radial-gradient(circle at center, #ffffff 0%, #e6e6e6 100%);
}

.hero .content {
    text-align: center;
    max-width: 900px;
}

.main-logo {
    width: 280px;
    height: auto;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* =========================================
   6. RESPONSIVE (MÓVIL)
   ========================================= */
@media screen and (max-width: 768px) {
    .nav-arrows {
        display: none; /* En móvil usaremos el gesto de Swipe */
    }
    
    .hero h1 { font-size: 2.5rem; }
    
    .panel {
        padding: 20px;
    }
}