/* 
   L'Oréal Groupe - Especial Editorial
   "Belleza que transforma: el poder de crecer, incluir y evolucionar"
   Estilos CSS Premium & Editorial
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

:root {
    /* Paleta Editorial L'Oréal */
    --bg-primary: #FCFBF9;
    /* Blanco cálido/marfil de alta calidad */
    --text-primary: #1A1A1A;
    /* Carbono suave */
    --text-secondary: #5A5A5A;
    /* Gris medio para descripciones */
    --accent-gold: #C5A059;
    /* Champagne/oro satinado prestigioso */
    --accent-gold-hover: #AB8541;
    /* Oro cepillado oscuro */
    --accent-gold-soft: rgba(197, 160, 89, 0.06);
    /* Fondo sutil champán */
    --bg-dark: #111111;
    /* Negro mate premium */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tipografía */
.editorial-title {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
}

.editorial-body {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 400;
}

/* Header Editorial */
header.editorial-header {
    background: #000;
    width: 100%;
    padding: 1rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.editorial-header .logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG del logo L'Oreal recreado de forma elegante con CSS/Texto */
header.editorial-header .logo-text {
    font-family: var(--font-serif);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

header.editorial-header .logo-text span {
    color: var(--accent-gold);
}

.logo {
    width: 130px;
}

/* Hero Section con Efecto Parallax */
.hero-parallax {
    position: relative;
    height: 95vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65)), url('../img/loreal_5.jpg');
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 8rem 2rem;
    color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-sponsor {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--accent-gold);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-summary {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.6;
    color: #f1f1f1;
    max-width: 760px;
    margin: 0 auto;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Bloque Bajada / Transición */
.bajada-destacada {
    background: var(--bg-dark);
    color: #fff;
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 4px solid var(--accent-gold);
}

.bajada-destacada .bajada-container {
    max-width: 800px;
    margin: 0 auto;
}

.bajada-destacada p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.7;
    font-style: italic;
    color: #eaeaea;
}

/* ==========================================================================
   Estructuras de Grid Asimétrico & Editorial
   ========================================================================== */

/* Contenedor Base */
.editorial-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: minmax(10px, 1fr) repeat(10, minmax(0, 110px)) minmax(10px, 1fr);
    align-items: center;
    position: relative;
}

/* Títulos y Subtítulos Editoriales */
.section-tag {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

/* Sección 1: TEXTO UNO + loreal_1.jpg */
.grid-style-1 .bg-block {
    grid-column: 2 / 7;
    grid-row: 1 / 2;
    background-color: var(--accent-gold-soft);
    height: 110%;
    z-index: 1;
    border-left: 3px solid var(--accent-gold);
}

.grid-style-1 .visual-block {
    grid-column: 3 / 8;
    grid-row: 1 / 2;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.grid-style-1 .visual-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.15, 0.85, 0.45, 1);
}

.grid-style-1 .visual-block:hover img {
    transform: scale(1.04);
}

.grid-style-1 .text-block {
    grid-column: 7 / 12;
    grid-row: 1 / 2;
    z-index: 3;
    background: #fff;
    padding: 4.5rem 4rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.04);
    border-top: 3px solid var(--accent-gold);
}

/* Sección 2: TEXTO DOS + VIDEO */
.grid-style-2 {
    background: #FAF9F6;
    padding: 6rem 0;
}

.grid-style-2 .text-block {
    grid-column: 2 / 7;
    grid-row: 1 / 2;
    z-index: 3;
    background: #fff;
    padding: 4.5rem 4rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.04);
    border-left: 3px solid var(--accent-gold);
}

.grid-style-2 .visual-block {
    grid-column: 7 / 12;
    grid-row: 1 / 2;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    background-color: #000;
    overflow: hidden;
    border-radius: 4px;
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Sección 3: Seedz Callout Especial (Mini sección) */
.seedz-banner {
    background: var(--bg-dark);
    color: #fff;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
}

.seedz-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.seedz-banner .banner-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.seedz-banner .banner-tag {
    font-family: var(--font-sans);
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.seedz-banner .banner-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.seedz-banner .banner-text {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    color: #c8c8c8;
    line-height: 1.7;
    font-weight: 300;
}

.seedz-banner .bg-watermark {
    position: absolute;
    font-family: var(--font-serif);
    font-size: 26rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

.bg-watermark.watermark-left {
    bottom: -60px;
    left: -40px;
}

.bg-watermark.watermark-right {
    top: -120px;
    right: -40px;
}

/* Sección 4: TEXTO CUATRO + Carousel */
.grid-style-4 .visual-block {
    grid-column: 2 / 8;
    grid-row: 1 / 2;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.carousel-viewport {
    position: relative;
    width: 100%;
    height: 480px;
    background: #e5e5e5;
}

.carousel-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
}

.carousel-slide-item.active {
    opacity: 1;
    z-index: 2;
}

/* Botones de Navegación del Carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--accent-gold);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev-btn {
    left: 20px;
}

.carousel-btn.next-btn {
    right: 20px;
}

/* Indicadores de Puntos */
.carousel-dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot-indicator.active {
    background: var(--accent-gold);
    width: 24px;
    border-radius: 5px;
}

.grid-style-4 .text-block {
    grid-column: 7 / 12;
    grid-row: 1 / 2;
    z-index: 3;
    background: #fff;
    padding: 4.5rem 4rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.04);
    border-right: 3px solid var(--accent-gold);
}

/* Sección 5: TEXTO CINCO + loreal_6.jpg */
.grid-style-5 .text-block {
    grid-column: 2 / 7;
    grid-row: 1 / 2;
    z-index: 3;
    background: #fff;
    padding: 4.5rem 4rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.04);
    border-top: 3px solid var(--accent-gold);
}

.grid-style-5 .visual-block {
    grid-column: 6 / 12;
    grid-row: 1 / 2;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.grid-style-5 .visual-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.15, 0.85, 0.45, 1);
}

.grid-style-5 .visual-block:hover img {
    transform: scale(1.04);
}

/* Sección 6: TEXTO SEIS + loreal_6.jpg */
.grid-style-6 .visual-block {
    grid-column: 2 / 8;
    grid-row: 1 / 2;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.grid-style-6 .visual-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.15, 0.85, 0.45, 1);
}

.grid-style-6 .visual-block:hover img {
    transform: scale(1.04);
}

.grid-style-6 .text-block {
    grid-column: 7 / 12;
    grid-row: 1 / 2;
    z-index: 3;
    background: #fff;
    padding: 4.5rem 4rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.04);
    border-top: 3px solid var(--accent-gold);
}

/* Sección 7: TEXTO SIETE (Destacado Editorial Centrado Premium) */
.editorial-section-7 {
    background: var(--accent-gold-soft);
    padding: 6.5rem 2rem;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    position: relative;
    overflow: hidden;
}

.editorial-section-7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

.section-7-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-7-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.editorial-section-7 .editorial-body {
    font-size: clamp(1.05rem, 2vw, 1.05rem);
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Separador Parallax Visual previo a la pleca (loreal_7.jpg) */
.parallax-visual-separator {
    height: 55vh;
    min-height: 380px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('../img/loreal_7.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Pleca Final (Outro) */
.pleca-cierre {
    background: var(--bg-dark);
    color: #fff;
    padding: 7rem 2rem;
    text-align: center;
    position: relative;
    border-top: 4px solid var(--accent-gold);
}

.pleca-cierre .cierre-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.pleca-cierre .cierre-text-accent {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.45;
    margin-bottom: 2.5rem;
    color: #fff;
    font-style: italic;
    font-weight: 400;
}

.pleca-cierre .cierre-footer-statement {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    font-weight: 600;
}

/* Footer de la Página */
footer.editorial-footer {
    background: #000000;
    color: #666666;
    text-align: center;
    padding: 4.5rem 2rem;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
    border-top: 1px solid #1a1a1a;
}

/* Botón Editorial Premium (.botton) */
.botton {
    display: inline-block;
    padding: 1.1rem 3.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #FFFFFF !important;
    background-color: transparent;
    border: 2px solid var(--accent-gold);
    border-radius: 0; /* Bordes rectos para diseño editorial estructurado */
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.botton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-gold);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.botton:hover {
    color: #000000 !important;
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.35);
}

.botton:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Enlaces Editoriales Premium (.enlace) */
.enlace {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.enlace::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--accent-gold);
    transform: scaleX(0.25);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease;
}

.enlace:hover {
    color: #FFFFFF !important;
}

.enlace:hover::after {
    transform: scaleX(1);
    background-color: #FFFFFF;
}

footer.editorial-footer p {
    margin-bottom: 0.5rem;
}


/* ==========================================================================
   Adaptabilidad y Responsividad (Media Queries)
   ========================================================================== */

/* Pantallas grandes y medianas (ajustes de solapado) */
@media only screen and (max-width: 1200px) {
    .editorial-section {
        padding: 3rem 1.5rem;
    }

    .grid-style-1 .bg-block {
        grid-column: 1 / 6;
    }

    .grid-style-1 .visual-block {
        grid-column: 2 / 7;
    }

    .grid-style-1 .text-block {
        grid-column: 6 / 13;
        padding: 3.5rem 3rem;
    }

    .grid-style-2 .text-block {
        grid-column: 1 / 7;
        padding: 3.5rem 3rem;
    }

    .grid-style-2 .visual-block {
        grid-column: 7 / 13;
    }

    .grid-style-4 .visual-block {
        grid-column: 1 / 7;
    }

    .grid-style-4 .text-block {
        grid-column: 6 / 13;
        padding: 3.5rem 3rem;
    }

    .grid-style-5 .text-block {
        grid-column: 1 / 7;
        padding: 3.5rem 3rem;
    }

    .grid-style-5 .visual-block {
        grid-column: 6 / 13;
    }

    .grid-style-6 .visual-block {
        grid-column: 1 / 7;
    }

    .grid-style-6 .text-block {
        grid-column: 6 / 13;
        padding: 3.5rem 3rem;
    }
}

/* Tablets (Desactivar solapamiento parcial y mejorar el flujo) */
@media only screen and (max-width: 991px) {
    .hero-parallax {
        background-attachment: scroll;
        /* Desactivar fixed en tablets por performance */
        height: 70vh;
    }

    .grid-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
        background: #fff;
        border-radius: 4px;
        overflow: hidden;
    }

    .editorial-section {
        padding: 2.5rem 1.5rem;
    }

    .grid-style-1 .bg-block {
        display: none;
        /* Eliminar fondo de adorno en flujo vertical */
    }

    .grid-style-1 .visual-block,
    .grid-style-2 .visual-block,
    .grid-style-4 .visual-block,
    .grid-style-5 .visual-block,
    .grid-style-6 .visual-block {
        width: 100%;
        box-shadow: none;
        border-radius: 0;
    }

    .grid-style-1 .text-block,
    .grid-style-2 .text-block,
    .grid-style-4 .text-block,
    .grid-style-5 .text-block,
    .grid-style-6 .text-block {
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 3rem 2rem;
    }

    /* Alternar el orden en móviles para mantener: Imagen -> Texto */
    .grid-style-2 .text-block {
        order: 2;
    }

    .grid-style-2 .visual-block {
        order: 1;
    }

    .grid-style-5 .text-block {
        order: 2;
    }

    .grid-style-5 .visual-block {
        order: 1;
    }

    .carousel-viewport {
        height: 380px;
    }

    /* Sección 7 Tablet */
    .editorial-section-7 {
        padding: 5rem 1.5rem;
    }

    .parallax-visual-separator {
        background-attachment: scroll;
        height: 35vh;
    }
}

/* Teléfonos Móviles (Optimización máxima de legibilidad) */
@media only screen and (max-width: 767px) {
    body {
        font-size: 1rem;
    }

    .hero-parallax {
        height: auto;
        padding: 8rem 1rem 4rem 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-summary {
        font-size: 1rem;
        line-height: 1.5;
    }

    .bajada-destacada {
        padding: 3.5rem 1.25rem;
    }

    .bajada-destacada p {
        font-size: 1.25rem;
        line-height: 1.6;
    }

    .editorial-section {
        padding: 1.5rem 1rem;
    }

    .grid-style-1 .text-block,
    .grid-style-2 .text-block,
    .grid-style-4 .text-block,
    .grid-style-5 .text-block {
        padding: 2rem 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .carousel-viewport {
        height: 280px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .carousel-btn.prev-btn {
        left: 10px;
    }

    .carousel-btn.next-btn {
        right: 10px;
    }

    .seedz-banner {
        padding: 4rem 1.25rem;
        margin: 2rem 0;
    }

    .seedz-banner .banner-title {
        font-size: 1.75rem;
    }

    .seedz-banner .banner-text {
        font-size: 1.05rem;
    }

    .editorial-section-7 {
        padding: 4rem 1.25rem;
    }

    .section-7-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .pleca-cierre {
        padding: 4.5rem 1.25rem;
    }

    .pleca-cierre .cierre-text-accent {
        font-size: 1.35rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    footer.editorial-footer {
        padding: 2.5rem 1.25rem;
    }
}