/* ============================================================ */
/* MAYRA & MARIANO — LUXURY EDITORIAL CSS                      */
/* Mobile-first, fotos full-bleed, tipografía refinada         */
/* ============================================================ */

/* ===================== */
/* VARIABLES & RESET     */
/* ===================== */
/* NOTE: Variables are hardcoded below to prevent extension overrides */
:root {
    --cream: #f5f0eb;
    --warm-white: #faf8f5;
    --beige: #cfc9c4;
    --taupe: #8c847c;
    --dark: #1a1a1a;
    --text: #2a2a2a;
    --text-light: #6b6460;
    --accent: #362805;
    /* amarillo huevo */
    --accent-dim: #362805;
    /* amarillo huevo oscuro para hover */

    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Poppins', sans-serif;

    --transition-smooth: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2a2a2a;
    background: #f5f0eb;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===================== */
/* INTRO OVERLAY         */
/* ===================== */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: #f5f0eb;
    z-index: 11000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#intro-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

#contenido-principal {
    transition: opacity 1.2s ease-in;
}

/* ===================== */
/* SELECTOR DE IDIOMA    */
/* ===================== */
.language-selector {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9000;
}

.language-btn {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    padding: 0;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.flag-icon {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.language-dropdown {
    display: none;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    align-items: center;
}

.language-dropdown.show {
    display: flex;
}

.language-option {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    padding: 0;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* ===================== */
/* BOTONES CARRUSEL      */
/* ===================== */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.5);
    padding: 0;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.2);
    color: #2a2a2a;
}

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

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

@media (min-width: 768px) {
    .carousel-btn {
        display: flex;
        width: 46px;
        height: 46px;
    }
}

/* ===================== */
/* SCROLL INDICATOR      */
/* ===================== */
.scroll-indicator {
    margin-top: 28px;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #362805;
    animation: pulse-indicator 2.8s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '← →';
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    letter-spacing: 0.5em;
    text-transform: none;
    animation: pulse-arrows 2.8s ease-in-out infinite;
}

@keyframes pulse-arrows {

    0%,
    100% {
        opacity: 0.4;
        letter-spacing: 0.5em;
    }

    50% {
        opacity: 1;
        letter-spacing: 0.9em;
    }
}


/* ===================== */
/* FOTO DE FONDO MÓVIL   */
/* Solo en diapositivas  */
/* de texto, <768px      */
/* ===================== */

/* Desktop: anular cualquier background-image que ponga el JS */
@media (min-width: 768px) {

    .pre-wedding-text,
    .festa-text,
    .post-wedding-text,
    .noi-text,
    .documental-text {
        background-image: none !important;
    }
}

/* Móvil: activar la foto de fondo + blur + overlay */
@media (max-width: 767px) {

    /* Se agregó reportaje-text-block para que en móvil tenga el mismo ancho de 78vw */
    .pre-wedding-text,
    .festa-text,
    .post-wedding-text,
    .noi-text,
    .documental-text,
    .reportaje-text-block {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        width: 78vw !important;
    }

    /* Overlay con el color de fondo propio de cada sección */
    .pre-wedding-text::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(245, 240, 235, 0.82);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 0;
    }

    .festa-text::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(237, 232, 226, 0.82);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 0;
    }

    .post-wedding-text::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(232, 226, 219, 0.82);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 0;
    }

    .noi-text::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(240, 236, 230, 0.82);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 0;
    }

    .documental-text::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(229, 224, 216, 0.82);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 0;
    }
    
    .reportaje-text-block::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(207, 201, 196, 0.82); /* Se usa el color cfc9c4 propio de esta sección */
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 0;
    }

    /* Todo el contenido por encima del overlay */
    .pre-wedding-text>*,
    .festa-text>*,
    .post-wedding-text>*,
    .noi-text>*,
    .documental-text>*,
    .reportaje-text-block>* {
        position: relative;
        z-index: 1;
    }

    .pre-wedding-text::before,
    .festa-text::before,
    .post-wedding-text::before,
    .noi-text::before,
    .documental-text::before,
    .reportaje-text-block::before {
        position: relative;
        z-index: 1;
    }
}

@keyframes pulse-indicator {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(0);
    }

    50% {
        opacity: 0.9;
        transform: translateX(7px);
    }
}

/* ===================== */
/* HERO SECTION          */
/* ===================== */
.hero-section {
    background: #faf8f5;
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 24px 32px;
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 200px;
    max-width: none;
    height: auto;
    margin-bottom: 14px;
    filter: none;
    opacity: 1;
}

.hero-text-container {
    text-align: center;
}

.hero-content .subtitle {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    color: #8c847c;
    letter-spacing: 0.03em;
}

.hero-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    scroll-snap-type: none !important;
}

.hero-carousel::-webkit-scrollbar {
    display: none;
}

.hero-track {
    display: flex;
    align-items: stretch;
    height: 72vh;
    gap: 3px;
    scroll-snap-type: x proximity;
}

.hero-slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: none !important;
}

.hero-photo {
    height: 100%;
    width: auto;
    max-width: none;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-photo img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.9s ease;
}

.hero-photo:hover img {
    transform: scale(1.025);
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        padding: 72px 48px 40px;
        max-width: 1920;
        margin: 0 auto;
    }

    .hero-logo {
        width: 250px;
        max-width: 100%;
        margin-bottom: 0;
        margin-right: 48px;
    }

    .hero-text-container {
        text-align: left;
    }

    .hero-content .subtitle {
        font-size: 2rem;
    }

    .hero-track {
        height: 80vh;
        gap: 4px;
    }

    .hero-photo {
        max-width: 86vw;
    }
}

/* ===================== */
/* SECCIONES CON FOTOS   */
/* ===================== */
.pre-wedding-section {
    background: #f5f0eb;
    position: relative;
    overflow: hidden;
}

/* cream */
.festa-section {
    background: #ede8e2;
    position: relative;
    overflow: hidden;
}

/* beige suave */
.post-wedding-section {
    background: #e8e2db;
    position: relative;
    overflow: hidden;
}

/* beige medio */
.noi-section {
    background: #f0ece6;
    position: relative;
    overflow: hidden;
}

/* cream cálido */
.documental-section {
    background: #e5e0d8;
    position: relative;
    overflow: hidden;
}

/* beige oscuro */

.pre-wedding-carousel,
.festa-carousel,
.post-wedding-carousel,
.noi-carousel,
.documental-carousel,
.reportajes-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    /* Ocultos hasta que JS los posicione correctamente (evita flash) */
    opacity: 0;
}

/* JS añade esta clase tras posicionar: el texto aparece centrado desde el primer frame */
.pre-wedding-carousel.carousel-ready,
.festa-carousel.carousel-ready,
.post-wedding-carousel.carousel-ready,
.noi-carousel.carousel-ready,
.documental-carousel.carousel-ready,
.reportajes-carousel.carousel-ready {
    opacity: 1;
    transition: opacity 0.35s ease;
}

.pre-wedding-carousel::-webkit-scrollbar,
.festa-carousel::-webkit-scrollbar,
.post-wedding-carousel::-webkit-scrollbar,
.noi-carousel::-webkit-scrollbar,
.documental-carousel::-webkit-scrollbar,
.reportajes-carousel::-webkit-scrollbar {
    display: none;
}

.pre-wedding-track,
.festa-track,
.post-wedding-track,
.noi-track,
.documental-track {
    display: flex;
    align-items: stretch;
    height: 100vh;
    gap: 3px;
    scroll-snap-type: x proximity;
}

.pre-wedding-slide,
.festa-slide,
.post-wedding-slide,
.noi-slide,
.documental-slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pre-wedding-photo,
.festa-photo,
.post-wedding-photo,
.noi-photo,
.documental-photo {
    height: 100%;
    width: auto;
    /* Reserva de ancho antes de que la imagen cargue (ratio 2:3 portrait).
       Evita que offsetLeft cambie mientras las fotos se descargan. */
    min-width: calc(100vh * 2 / 3);
    max-width: none;
    overflow: hidden;
    flex-shrink: 0;
}

/* Primera foto fija portrait: ancho fijo para que el slide de texto
   siempre arranque centrado desde el segundo 0 */
.pre-wedding-track .pre-wedding-photo:first-child,
.festa-track .festa-photo:first-child,
.post-wedding-track .post-wedding-photo:first-child,
.noi-track .noi-photo:first-child,
.documental-track .documental-photo:first-child {
    width: calc(100vh * 2 / 3);
    min-width: unset;
}

.pre-wedding-photo img,
.festa-photo img,
.post-wedding-photo img,
.noi-photo img,
.documental-photo img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.9s ease;
}

.pre-wedding-photo:hover img,
.festa-photo:hover img,
.post-wedding-photo:hover img,
.noi-photo:hover img,
.documental-photo:hover img {
    transform: scale(1.025);
}

/* ===================== */
/* DIAPOSITIVAS DE TEXTO */
/* ===================== */
.pre-wedding-text,
.festa-text,
.post-wedding-text,
.noi-text,
.documental-text {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 48px 36px;
    background: transparent;
    position: relative;
}

/* Línea decorativa */
.pre-wedding-text::before,
.festa-text::before,
.post-wedding-text::before,
.noi-text::before,
.documental-text::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: #362805;
    margin: 0 auto 26px;
    flex-shrink: 0;
}

.pre-wedding-text h2,
.festa-text h2,
.post-wedding-text h2,
.noi-text h2,
.documental-text h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    font-weight: 300;
    font-style: italic;
    color: #2a2a2a;
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.pre-wedding-text p,
.festa-text p,
.post-wedding-text p,
.noi-text p,
.documental-text p {
    font-size: clamp(0.78rem, 2.8vw, 0.92rem);
    color: #6b6460;
    line-height: 1.9;
    max-width: 300px;
    font-weight: 300;
}

.noi-text strong {
    color: #2a2a2a;
    font-weight: 500;
}

@media (min-width: 768px) {

    .pre-wedding-text,
    .festa-text,
    .post-wedding-text,
    .noi-text,
    .documental-text {
        width: 46vw;
        max-width: 560px;
        padding: 60px 52px;
    }

    .pre-wedding-text p,
    .festa-text p,
    .post-wedding-text p,
    .noi-text p,
    .documental-text p {
        max-width: 360px;
    }

    .pre-wedding-track,
    .festa-track,
    .post-wedding-track,
    .noi-track,
    .documental-track {
        gap: 4px;
    }

    .pre-wedding-photo,
    .festa-photo,
    .post-wedding-photo,
    .noi-photo,
    .documental-photo {
        max-width: 84vw;
    }
}

/* ===================== */
/* MONTAGGIO SERALE      */
/* ===================== */
.montaggio-serale-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    color: #fff;
    text-align: center;
}

.montaggio-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.montaggio-bg img {
    width: 100%;
    height: 115%;
    object-fit: cover;
    transform: translateY(0) scale(1.08);
    filter: brightness(0.42);
    transition: transform 0.2s ease-out;
}

.montaggio-content {
    position: relative;
    max-width: 560px;
    padding: 52px 28px;
    z-index: 2;
    animation: fadeUp 1.2s ease both;
}

.montaggio-content::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: #362805;
    margin: 0 auto 26px;
}

.montaggio-content h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2.2rem, 9vw, 3.8rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: 0.03em;
    color: #f5f0eb;
}

.montaggio-content h2 span {
    color: #362805;
    font-style: normal;
    font-weight: 300;
}

.montaggio-content h2 small {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.6);
    font-style: normal;
    margin-top: 10px;
}

.montaggio-content p {
    font-size: clamp(0.8rem, 2.8vw, 0.95rem);
    line-height: 1.9;
    color: rgba(245, 240, 235, 0.72);
    margin-bottom: 36px;
    font-weight: 300;
}

.play-video-btn {
    background: transparent;
    color: #f5f0eb;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid rgba(245, 240, 235, 0.35);
    border-radius: 1px;
    padding: 15px 38px;
    cursor: pointer;
    transition: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-video-btn:hover {
    background: rgba(245, 240, 235, 0.08);
    border-color: rgba(245, 240, 235, 0.7);
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== */
/* VIDEO OVERLAY         */
/* ===================== */
.video-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-video-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10000;
}

.close-video-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

body.fade-to-black>*:not(#video-overlay) {
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* ===================== */
/* REPORTAJES SECTION    */
/* ===================== */
.reportajes-section {
    background: #cfc9c4;
    position: relative;
    overflow: hidden;
}

.reportajes-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
}

.reportajes-carousel::-webkit-scrollbar {
    display: none;
}

.reportajes-track {
    display: flex;
    align-items: stretch;
    height: 100vh;
    gap: 3px;
    scroll-snap-type: x proximity;
}

.reportaje-slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.reportaje-text-block {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 48px 36px;
    background: transparent;
    position: relative;
}

.reportaje-text-block::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: #362805;
    margin: 0 auto 26px;
    flex-shrink: 0;
}

.reportaje-text-block .section-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2rem, 8vw, 3.2rem);
    font-weight: 300;
    font-style: italic;
    color: #2a2a2a;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    text-transform: none;
}

.reportaje-text-block .section-title::after {
    display: none;
}

.reportaje-text-block .description-text {
    font-size: clamp(0.76rem, 2.5vw, 0.88rem);
    color: #6b6460;
    line-height: 1.85;
    font-weight: 300;
    max-width: 100%;
    margin: 0;
}

.reportaje-text-block .scroll-indicator {
    color: #6b6460;
    font-weight: 300;
    font-size: clamp(0.78rem, 2.8vw, 0.92rem);
}

.reportaje-foto-slide {
    height: 100%;
    width: auto;
    max-width: none;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.reportaje-foto-slide img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.9s ease;
}

.reportaje-foto-slide:hover img {
    transform: scale(1.025);
}

.reportaje-title-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    background: rgba(10, 8, 6, 0.28);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.4s ease;
}



.reportaje-titulo {
    font-family: 'Quattrocento', 'Impact', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.reportaje-subtitulo {
    font-family: 'Lora', 'Georgia', serif;
    font-size: clamp(0.78rem, 2vw, 1rem);
    font-style: italic;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
    opacity: 0.92;
}


.reportaje-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 14, 12, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding-bottom: 48px;
}

.reportaje-foto-slide:hover .reportaje-hover-overlay {
    opacity: 1;
}

.reportaje-hover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #f5f0eb;
}

.reportaje-hover-content i {
    font-size: 1.6rem;
    opacity: 0.9;
}

.reportaje-hover-content span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.reportaje-hover-content small {
    font-size: 0.68rem;
    color: #8c847c;
}

@media (min-width: 768px) {
    .reportaje-text-block {
        width: 46vw;
        max-width: 560px;
        padding: 60px 52px;
    }
}

@media (min-width: 1024px) {
    .reportajes-track {
        gap: 5px;
    }

    .reportaje-foto-slide {
        max-width: 78vw;
    }
}

#reportaje-modal {
    display: flex !important;
}

#reportaje-modal:not(.visible) {
    display: none !important;
}

/* ===================== */
/* SECTION TITLE GLOBAL  */
/* ===================== */
.section-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.7rem, 6vw, 2.8rem);
    font-weight: 300;
    font-style: italic;
    color: #1a1a1a;
    margin-bottom: 18px;
    text-transform: none;
    letter-spacing: 0.03em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 1px;
    background: #362805;
}

.description-text {
    font-size: clamp(0.8rem, 2.5vw, 0.96rem);
    color: #6b6460;
    max-width: 460px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.85;
}

/* ===================== */
/* TESTIMONIALS          */
/* ===================== */
.testimonials-section {
    padding: 80px 20px;
    background: #faf8f5;
    text-align: center;
}

.widget-container {
    max-width: 500px;
    margin: 44px auto 0;
    padding: 20px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

#wp-widget-preview {
    display: none !important;
}

@media (max-width: 500px) {
    .widget-container {
        padding: 14px;
    }
}

/* ===================== */
/* CONTACT SECTION       */
/* ===================== */
.contact-section {
    padding: 80px 20px 100px;
    background: #f5f0eb;
    text-align: center;
}

.contact-content-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

.contact-section .section-title {
    color: #2a2a2a;
}

.contact-section .section-title::after {
    background: #362805;
}

.contact-section .description-text {
    color: #6b6460;
}

.contact-buttons-simple {
    max-width: 380px;
    margin: 44px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border: 1px solid rgba(42, 42, 42, 0.25);
    border-radius: 1px;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    background: transparent;
    color: #2a2a2a;
    font-family: 'Poppins', sans-serif;
}

.primary-contact {
    margin-bottom: 0;
}

.primary-contact:hover {
    background: rgba(212, 160, 23, 0.1);
    border-color: #362805;
    color: #2a2a2a;
}

.primary-contact::before {
    content: "\f232";
    font-family: "Font Awesome 6 Brands";
    margin-right: 12px;
    font-size: 0.95rem;
    color: #362805;
}

/* ===================== */
/* ICONOS SOCIALES FIJOS */
/* ===================== */
.fixed-social-icons {
    position: fixed;
    bottom: 20px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    z-index: 1000;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    text-decoration: none;
    background: rgba(42, 42, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.social-icon:hover {
    transform: scale(1.1);
    background: rgba(42, 42, 42, 0.85);
}

@media (max-width: 480px) {
    .fixed-social-icons {
        bottom: 10px;
        right: 8px;
        gap: 5px;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

/* ===================== */
/* FOOTER                */
/* ===================== */
.main-footer {
    background: #cfc9c4;
    color: #6b6460;
    padding: 32px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 0.88rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.1em;
    color: #6b6460;
    margin-bottom: 10px;
}

.footer-copyright {
    font-size: 0.7rem;
    color: #8c847c;
    letter-spacing: 0.06em;
}

/* ===================== */
/* MODAL DE CONTACTO     */
/* ===================== */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
    animation: modal-fade-in 220ms ease;
    cursor: pointer;
}

.contact-modal-content {
    position: relative;
    width: 92%;
    max-width: 440px;
    background: #faf8f5;
    color: #2a2a2a;
    border-radius: 2px;
    padding: 32px 26px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: auto;
    animation: modal-slide-up 280ms cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    max-height: 95vh;
    overflow-y: auto;
}

.contact-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    color: #8c847c;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.contact-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #2a2a2a;
}

.contact-modal-content h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 1.65rem;
    color: #2a2a2a;
    margin-bottom: 22px;
}

.contact-modal-content label {
    display: block;
    margin-top: 14px;
    margin-bottom: 5px;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8c847c;
}

.contact-modal-content input[type="text"] {
    width: 100%;
    padding: 11px 13px;
    border-radius: 1px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #2a2a2a;
    font-size: 0.88rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.contact-modal-content input[type="text"]::placeholder {
    color: #8c847c;
}

.contact-modal-content input[type="text"]:focus {
    border-color: #362805;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.contact-buttons {
    margin-top: 26px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-primary,
#send-contact {
    background: #362805;
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: 1px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    transition: all 0.25s ease;
}

.btn-primary:hover,
#send-contact:hover {
    background: #362805;
}

.btn-secondary,
#close-contact {
    background: transparent;
    color: #8c847c;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 11px 22px;
    border-radius: 1px;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    transition: all 0.25s ease;
}

.btn-secondary:hover,
#close-contact:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.2);
}

@keyframes modal-slide-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

@keyframes modal-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===================== */
/* SR-ONLY (SEO)         */
/* ===================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================== */
/* FADE-IN AL SCROLL     */
/* ===================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== */
/* DESKTOP extras        */
/* ===================== */
@media (min-width: 1024px) {

    .hero-track,
    .pre-wedding-track,
    .festa-track,
    .post-wedding-track,
    .noi-track,
    .documental-track {
        gap: 5px;
    }

    .hero-photo,
    .pre-wedding-photo,
    .festa-photo,
    .post-wedding-photo,
    .noi-photo,
    .documental-photo {
        max-width: 78vw;
    }
}

/* Fuerza a que el contenedor ignore el scroll inicial hasta que JS esté listo */
.pre-wedding-carousel, 
.event-carousel, 
.post-wedding-carousel, 
.family-carousel {
    display: flex;
    overflow-x: hidden; /* Evita que el usuario vea el movimiento inicial */
    scroll-behavior: auto !important; /* Desactiva animaciones de scroll al inicio */
}

/* Una vez que JS posiciona, restauramos el scroll */
.carousel-ready {
    overflow-x: auto;
}