/* ===== EDITORIAL 2030: DEPTH & MOTION ===== */
.editorial-section-2030 {
    padding: clamp(10px, 5vw, 50px) 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    /* Esto activa la detección de scroll nativa */
    view-timeline-name: --sectionReveal;
    view-timeline-axis: block;
    font-family: "PP Neue Montreal", sans-serif;
}

.kinetic-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(45, 79, 149, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.editorial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.editorial-grid {
    display: grid;
    grid-template-columns: .8fr 0.8fr;
    gap: 80px;
    align-items: center;
}

/* Título con revelado fluido */
.editorial-title {
    font-size: clamp(2.2rem, 4vw, 2.5rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #111;
    /* Animación que se activa al entrar a la vista */
    animation: revealLinear both;
    animation-timeline: --sectionReveal;
    animation-range: entry 10% cover 30%;
}

.text-gradient {
    background: linear-gradient(90deg, #1a1a1a, #2d4f95, #1a1a1a);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

/* El bloque de texto ahora es visible pero se desliza */
.text-wrapper {
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-left: 3px solid #d1173c;
    animation: revealSide both;
    animation-timeline: --sectionReveal;
    animation-range: entry 15% cover 35%;
}

.editorial-text {
    font-size: 1rem;
    line-height: 1.3;
    color: #4e4e4e;
    margin-bottom: 20px;
}

/* Keyframes de Nueva Generación */
@keyframes revealLinear {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes revealSide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@media (max-width: 992px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}