/* 1. VARIABLES INSTITUCIONALES */
:root {
    --guinda: #6c0308;
    --oro: #f1c40f;
    --azul-oscuro: #07203e;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. RESET Y BASES */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif; 
}

body { 
    background-color: var(--azul-oscuro); 
    color: white; 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* 3. NAVEGACIÓN */
#main-nav {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 50px;
    background: transparent;
    transition: var(--transition);
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
}

.logo span { color: var(--oro); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--oro); }

.btn-nav {
    background: var(--guinda);
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--oro);
}

.nav-scrolled {
    padding: 10px 50px !important;
    background: rgba(7, 32, 62, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--oro) !important;
}

/* 4. HERO SECTION */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}

/* 5. SECCIÓN EDITORIAL (2 COLUMNAS) */
.editorial-section { padding: 80px 8%; }

.editorial-header h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.editorial-header span { color: var(--oro); }

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Fuerza las 2 columnas en PC */
    gap: 40px;
    align-items: start;
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 4/5; 
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.editorial-card:hover img { transform: scale(1.05); }

.editorial-card h3 { color: var(--oro); margin-bottom: 10px; }

/* 6. RESPONSIVIDAD */
@media (max-width: 900px) {
    .editorial-grid { gap: 20px; }
}

@media (max-width: 480px) {
    .editorial-grid { grid-template-columns: 1fr; }
    #main-nav { padding: 15px 20px; }
    .nav-links { display: none; } /* Oculto para usar menú móvil */
}