/* ============================================
   FUENTES PERSONALIZADAS
   ============================================ */

@font-face {
    font-family: 'Faith';
    src: url('../../../assets/fonts/faith.otf') format('opentype'),
         url('../../../assets/fonts/faith.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aston Script';
    src: url('../../../assets/fonts/Aston Script.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   VARIABLES DE COLORES
   ============================================ */

:root {
    /* Rutas de imágenes del sobre */
    --imagen-sobre-desktop: url('../../../assets/images/sobre-desktop.jpg');
    --imagen-sobre-movil: url('../../../assets/images/sobre-movil.jpg');
    
    /* Tipografías */
    --letra-cursiva-1: 'Faith', 'Dancing Script', cursive;
    --letra-cursiva-2: 'Aston Script', 'Dancing Script', cursive;
    --letra-sans-1: 'Montserrat', sans-serif;
    --letra-sans-2: 'Creato Display', sans-serif;
    --letra-sans-3: 'Poppins', sans-serif;
    
    /* Colores Generales */
    --color-principal: #715E32;
    --color-secundario: #A78B49;
    --color-terciario: #C5AF7C;
    --color-cuarto: #DED2B5;
    --color-quinto: #F6F2FA;
    --color-texto-principal: #715E32;
    --color-texto-secundario: #A78B49;
    --color-botones: #A78B49;
    --color-botones-hover: #715E32;
    --color-personalizado-1: #FFFFFF;
    --color-personalizado-2: #F5F1E8;
    --color-personalizado-3: #DED2B5;
    --color-personalizado-4: #C5AF7C;
    --color-fondo: #F5F1E8;
    
    /* Sección 1 - Variables generales */
    --section-1-image-url: url('../../../assets/uploads/images/galeria/galeria_1_1768765261_0.jpg');
    --section-1-font-sans: var(--letra-sans-1);
    --section-1-font-script: 'Dancing Script', cursive;
    --section-1-text-color: #FFFFFF;
    
    /* Sección 3 - Variables generales */
    --section-3-image-url: url('../../../assets/uploads/images/galeria/galeria_1_1768765261_0.jpg');
}

/* ============================================
   RESET Y BASE
   ============================================ */

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

html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #F5F1E8;
    color: var(--color-texto-principal);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

/* ============================================
   SOBRE (ENVELOPE) - ANIMACIÓN
   ============================================ */

.envelope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-fondo, #F8F9FA);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s ease-out;
}

.envelope-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.envelope-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.envelope-desktop {
    display: block;
    background-image: var(--imagen-sobre-desktop);
}

.envelope-mobile {
    display: none;
}

.envelope-names {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--letra-cursiva-2);
    font-size: clamp(36px, 7vw, 70px);
    color: var(--color-personalizado-1, #FFFFFF);
    text-align: center;
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 0px;
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    white-space: nowrap;
    width: 100%;
    pointer-events: none;
}

.envelope-date {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 3vw, 24px);
    color: var(--color-personalizado-1, #FFFFFF);
    text-align: center;
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 3px;
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
    white-space: nowrap;
    width: 100%;
    pointer-events: none;
}

.envelope-instruction {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--letra-sans-1);
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(14px, 2vw, 18px);
    font-style: italic;
    animation: pulse 2s infinite;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 10;
    font-weight: 300;
    letter-spacing: 1px;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* ============================================
   CONTENIDO DE LA INVITACIÓN (oculto inicialmente)
   ============================================ */

.template-container {
    display: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    min-height: 100vh;
    box-sizing: border-box;
}

.template-container.show {
    display: block;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECCIÓN 1: Foto de los novios con texto estilo Save the Date
   ============================================ */

.section-1 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* Fondo desenfocado (solo para imágenes verticales) */
.section-1-blur-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--section-1-image-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px);
    transform: scale(1.1);
    opacity: 1;
    z-index: 1;
    display: none;
}

.section-1.portrait .section-1-blur-background {
    display: block;
}

/* Foto principal */
.section-1-main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: var(--section-1-image-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

/* Modo portrait: imagen centrada más pequeña */
.section-1.portrait .section-1-main-image {
    width: 60%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 2/3;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Modo landscape: imagen ocupa todo */
.section-1.landscape .section-1-main-image {
    width: 100%;
    height: 100%;
}

/* Contenido de texto */
.section-1-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Fecha */
.section-1-date {
    font-family: var(--section-1-font-sans);
    font-size: 15px;
    color: var(--section-1-text-color);
    font-weight: 400;
    letter-spacing: 10px;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Save the Date */
.section-1-save-the-date {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1;
}

.section-1-save {
    font-family: var(--section-1-font-sans);
    font-size: 70px;
    color: var(--section-1-text-color);
    font-weight: 300;
    letter-spacing: 0px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-1-the {
    font-family: var(--letra-cursiva-1);
    font-size: 50px;
    color: var(--section-1-text-color);
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0 5px;
}

.section-1-date-text {
    font-family: var(--section-1-font-sans);
    font-size: 70px;
    color: var(--section-1-text-color);
    font-weight: 300;
    letter-spacing: 0px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Nombres */
.section-1-names {
    font-family: var(--section-1-font-sans);
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--section-1-text-color);
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 0.5;
    margin: 0;
    padding: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

/* Ubicación */
.section-1-location {
    font-family: var(--section-1-font-sans);
    font-size: clamp(14px, 2vw, 18px);
    color: var(--section-1-text-color);
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

/* ============================================
   SECCIÓN 2: Nos casamos con contador y calendario
   ============================================ */

.section-2 {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7B846D;
    box-sizing: border-box;
}

.section-2-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    box-sizing: border-box;
}

/* Título "Nos casamos" */
.section-2-title {
    font-family: var(--letra-cursiva-2);
    font-size: clamp(48px, 8vw, 72px);
    color: #FFFFFF;
    font-weight: 400;
    margin: 0;
    padding: 0;
    letter-spacing: 0px;
    line-height: 0.8;
    text-align: center;
}

/* Contenedor del conteo regresivo */
.section-2-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

/* Item del conteo regresivo */
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Número del conteo */
.countdown-number {
    font-family: var(--letra-sans-1);
    font-size: clamp(32px, 5vw, 56px);
    color: #FFFFFF;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

/* Etiqueta del conteo (Días, Horas, Minutos, Segundos) */
.countdown-label {
    font-family: var(--letra-sans-1);
    font-size: clamp(12px, 1.5vw, 16px);
    color: #FFFFFF;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Separador del conteo */
.countdown-separator {
    font-family: var(--letra-sans-1);
    font-size: clamp(32px, 5vw, 56px);
    color: #FFFFFF;
    font-weight: 300;
    margin: 0 5px;
    opacity: 0.7;
}

/* Contenedor del botón Google Calendar */
.section-2-calendar-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0px;
}

/* Botón Google Calendar */
.section-2-calendar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #FFFFFF;
    color: #7B846D;
    font-family: var(--letra-sans-1);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-2-calendar-button:hover {
    background: #F5F1E8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-2-calendar-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.section-2-calendar-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.section-2-calendar-button span {
    white-space: nowrap;
}

/* ============================================
   SECCIÓN 3: Foto
   ============================================ */

.section-3 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* Fondo desenfocado (solo para imágenes verticales) */
.section-3-blur-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--section-3-image-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px);
    transform: scale(1.1);
    opacity: 1;
    z-index: 1;
    display: none;
}

.section-3.portrait .section-3-blur-background {
    display: block;
}

/* Foto principal */
.section-3-main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: var(--section-3-image-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

/* Modo portrait: imagen centrada más pequeña */
.section-3.portrait .section-3-main-image {
    width: 60%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 2/3;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Modo landscape: imagen ocupa todo */
.section-3.landscape .section-3-main-image {
    width: 100%;
    height: 100%;
}

/* ============================================
   SECCIÓN 4: Itinerario
   ============================================ */

.section-4 {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 80px 60px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F1E8;
    box-sizing: border-box;
}

.section-4-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    box-sizing: border-box;
}

/* Título principal */
.section-4-main-title {
    font-family: var(--letra-cursiva-2);
    font-size: clamp(48px, 8vw, 64px);
    color: #715E32;
    font-weight: 400;
    margin: 0;
    padding: 0;
    letter-spacing: 0px;
    line-height: 1.2;
    text-align: center;
}

/* Contenedor del timeline */
.section-4-timeline-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

/* Línea vertical central */
.section-4-timeline {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #715E32;
    transform: translateX(-50%);
    z-index: 1;
}

/* Item del itinerario */
.section-4-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    z-index: 2;
}

.section-4-item:last-child {
    margin-bottom: 0;
}

/* Hora */
.section-4-time {
    font-family: var(--letra-sans-1);
    font-size: clamp(28px, 4vw, 36px);
    color: #715E32;
    font-weight: 600;
    margin: 0;
    padding: 0;
    line-height: 1;
    letter-spacing: 0px;
}

/* Evento */
.section-4-event {
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 2vw, 20px);
    color: #715E32;
    font-weight: 400;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    letter-spacing: 0px;
}

/* Ubicación */
.section-4-location {
    font-family: var(--letra-sans-1);
    font-size: clamp(14px, 1.5vw, 16px);
    color: #A78B49;
    font-weight: 300;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    letter-spacing: 0px;
}

/* Item del itinerario */
.section-4-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    z-index: 2;
}

.section-4-item:last-child {
    margin-bottom: 0;
}

/* Item a la izquierda */
.section-4-item-left {
    justify-content: flex-end;
    padding-right: 50%;
    padding-left: 0;
    gap: 15px;
}

/* Item a la derecha */
.section-4-item-right {
    justify-content: flex-start;
    padding-left: 50%;
    padding-right: 0;
    flex-direction: row-reverse;
    gap: 15px;
}

/* Contenido del item */
.section-4-item-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 350px;
}

.section-4-item-left .section-4-item-content {
    align-items: flex-end;
    text-align: right;
    padding-right: 30px;
}

.section-4-item-right .section-4-item-content {
    transform: translateX(-220px);
    align-items: flex-start;
    text-align: right;
}

/* Círculo en la línea del timeline */
.section-4-timeline-dot {
    position: absolute;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #715E32;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 3;
    flex-shrink: 0;
    margin-top: 0;
}

/* Contenedor del botón Google Calendar */
.section-4-calendar-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

/* Botón Google Calendar */
.section-4-calendar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #715E32;
    color: #FFFFFF;
    font-family: var(--letra-sans-1);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-4-calendar-button:hover {
    background: #A78B49;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-4-calendar-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.section-4-calendar-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.section-4-calendar-button span {
    white-space: nowrap;
}

/* ============================================
   SECCIÓN 5: Video Personalizado
   ============================================ */

.section-5 {
    position: relative;
    width: 100%;
    min-height: 600px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F1E8;
    overflow: hidden;
    z-index: 1;
}

.section-5-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: 600px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 auto;
    overflow: hidden;
}

/* Video principal */
.section-5-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    display: block;
    transition: all 0.5s ease;
}

/* Overlay de color */
.section-5-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(113, 94, 50, 0.4);
    z-index: 2;
    pointer-events: none;
}

/* Cover con texto y botón de play */
.section-5-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    z-index: 3;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.section-5-cover.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Texto del cover */
.section-5-cover-texto {
    font-family: var(--letra-sans-1);
    font-size: clamp(24px, 3vw, 36px);
    color: #FFFFFF;
    font-weight: 400;
    text-align: center;
    margin: 0 0 40px 0;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

/* Botón de play */
.section-5-play-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 4;
    width: 80px;
    height: 80px;
}

.section-5-play-button:hover {
    transform: scale(1.1);
}

.section-5-play-button:active {
    transform: scale(0.95);
}

.section-5-play-button svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Overlay de enfoque al reproducir */
.section-5-focus-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9998;
    pointer-events: none;
    transition: background 0.5s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
}

.section-5-focus-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Botón de cerrar en modo enfoque */
.section-5-close-button {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    margin-top: 20px;
    margin-right: 20px;
}

.section-5-focus-overlay.active .section-5-close-button {
    opacity: 1;
    transform: scale(1);
}

.section-5-close-button:hover {
    transform: scale(1.1);
}

.section-5-close-button:active {
    transform: scale(0.95);
}

.section-5-close-button svg {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Video en modo focus (cuando se reproduce) */
.section-5-video.playing {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    height: auto !important;
    max-height: 90vh !important;
    max-width: 90vw !important;
    z-index: 9999 !important;
    object-fit: contain !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    transition: all 0.5s ease;
    margin: 0 !important;
    min-width: auto !important;
    min-height: auto !important;
}

/* ============================================
   SECCIÓN 6: Dress Code
   ============================================ */

.section-6 {
    position: relative;
    width: 100%;
    padding: 80px 60px;
    margin: 0;
    background: #F5F1E8;
    box-sizing: border-box;
}

.section-6-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Título */
.section-6-title {
    font-family: var(--letra-cursiva-2);
    font-size: clamp(36px, 5vw, 48px);
    color: #715E32;
    font-weight: 600;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 0.5;
    margin-bottom: 20px;
}

/* Subtítulo */
.section-6-subtitle {
    font-family: var(--letra-sans-1);
    font-size: clamp(18px, 2.5vw, 24px);
    color: #A78B49;
    font-weight: 400;
    margin: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

/* Contenedor del aviso de colores */
.section-6-colors-warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

/* Texto del aviso */
.section-6-warning-text {
    font-family: var(--letra-sans-1);
    font-size: clamp(14px, 1.8vw, 16px);
    color: #715E32;
    font-weight: 400;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Contenedor de círculos de colores */
.section-6-colors-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Círculos de colores */
.section-6-color-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* Galería */
.section-6-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Items de la galería */
.section-6-gallery-item {
    position: relative;
    width: 100%;
    min-height: 250px;
    overflow: hidden;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(30px);
    animation: section6FadeInUp 0.6s ease-out forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-6-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Animación secuencial para cada item */
.section-6-gallery-item:nth-child(1) { animation-delay: 0.1s; }
.section-6-gallery-item:nth-child(2) { animation-delay: 0.2s; }
.section-6-gallery-item:nth-child(3) { animation-delay: 0.3s; }
.section-6-gallery-item:nth-child(4) { animation-delay: 0.4s; }
.section-6-gallery-item:nth-child(5) { animation-delay: 0.5s; }
.section-6-gallery-item:nth-child(6) { animation-delay: 0.6s; }
.section-6-gallery-item:nth-child(7) { animation-delay: 0.7s; }
.section-6-gallery-item:nth-child(8) { animation-delay: 0.8s; }
.section-6-gallery-item:nth-child(9) { animation-delay: 0.9s; }
.section-6-gallery-item:nth-child(10) { animation-delay: 1s; }
.section-6-gallery-item:nth-child(11) { animation-delay: 1.1s; }
.section-6-gallery-item:nth-child(12) { animation-delay: 1.2s; }

/* Imágenes de la galería */
.section-6-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 250px;
}

/* Animación de entrada */
@keyframes section6FadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECCIÓN 7: Ubicación
   ============================================ */

.section-7 {
    position: relative;
    width: 100%;
    padding: 80px 60px;
    margin: 0;
    background: #FFFFFF;
    box-sizing: border-box;
}

.section-7-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Título */
.section-7-title {
    font-family: var(--letra-cursiva-2);
    font-size: clamp(36px, 5vw, 48px);
    color: #715E32;
    font-weight: 400;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Subtítulo */
.section-7-subtitle {
    font-family: var(--letra-sans-1);
    font-size: clamp(18px, 2.5vw, 24px);
    color: #A78B49;
    font-weight: 400;
    margin: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 40px;
}

/* Contenedor del botón */
.section-7-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Botón Google Maps */
.section-7-maps-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #715E32;
    color: #FFFFFF;
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(113, 94, 50, 0.3);
    position: relative;
    animation: section7Pulse 2s ease-in-out infinite;
}

.section-7-maps-button:hover {
    background: #A78B49;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(113, 94, 50, 0.4);
    animation: none;
}

.section-7-maps-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(113, 94, 50, 0.3);
}

.section-7-maps-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.section-7-maps-button span {
    white-space: nowrap;
}

/* Animación pulse */
@keyframes section7Pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(113, 94, 50, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(113, 94, 50, 0.4);
    }
}

/* ============================================
   SECCIÓN 8: Confirmación de Asistencia
   ============================================ */

.section-8 {
    position: relative;
    width: 100%;
    padding: 80px 60px;
    margin: 0;
    background: #F5F1E8;
    box-sizing: border-box;
}

.section-8-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: stretch;
    box-sizing: border-box;
}

/* Columna izquierda - Slider */
.section-8-left {
    width: 50%;
    flex-shrink: 0;
}

.section-8-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-8-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.section-8-slide.active {
    opacity: 1;
    z-index: 1;
}

.section-8-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Columna derecha - Formulario */
.section-8-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-8-form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-8-guest-name {
    font-family: var(--letra-cursiva-2);
    font-size: clamp(28px, 4vw, 36px);
    color: #715E32;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.section-8-confirm-text {
    font-family: var(--letra-sans-1);
    font-size: clamp(18px, 2.5vw, 24px);
    color: #715E32;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.section-8-admissions {
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 2vw, 18px);
    color: #A78B49;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.section-8-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.section-8-button {
    padding: 14px 28px;
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.section-8-button-yes {
    background: #715E32;
    color: #FFFFFF;
}

.section-8-button-yes:hover {
    background: #A78B49;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 94, 50, 0.3);
}

.section-8-button-no {
    background: #FFFFFF;
    color: #715E32;
    border: 2px solid #715E32;
}

.section-8-button-no:hover {
    background: #F5F1E8;
}

/* Modales */
.section-8-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.section-8-modal.active {
    display: flex;
}

.section-8-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.section-8-modal-content {
    position: relative;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    z-index: 10001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.section-8-modal-title {
    font-family: var(--letra-sans-1);
    font-size: clamp(24px, 3vw, 28px);
    color: #715E32;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding: 0;
}

.section-8-modal-text {
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 2vw, 18px);
    color: #A78B49;
    font-weight: 400;
    margin: 0 0 20px 0;
    padding: 0;
}

.section-8-modal-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #DED2B5;
    border-radius: 8px;
    font-family: var(--letra-sans-1);
    font-size: 16px;
    color: #715E32;
    resize: vertical;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.section-8-modal-textarea:focus {
    outline: none;
    border-color: #A78B49;
}

.section-8-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.section-8-modal-button {
    padding: 12px 24px;
    font-family: var(--letra-sans-1);
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-8-modal-button-confirm {
    background: #715E32;
    color: #FFFFFF;
}

.section-8-modal-button-confirm:hover {
    background: #A78B49;
}

.section-8-modal-button-cancel {
    background: #FFFFFF;
    color: #715E32;
    border: 2px solid #715E32;
}

.section-8-modal-button-cancel:hover {
    background: #F5F1E8;
}

/* ============================================
   SECCIÓN 9: Obsequio
   ============================================ */

.section-9 {
    position: relative;
    width: 100%;
    padding: 80px 60px;
    margin: 0;
    background: #7B846D;
    box-sizing: border-box;
}

.section-9-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.section-9-title {
    font-family: var(--letra-cursiva-2);
    font-size: clamp(36px, 5vw, 48px);
    color: #FFFFFF;
    font-weight: 400;
    margin: 0 0 50px 0;
    padding: 0;
    text-align: center;
}

.section-9-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.section-9-option-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-9-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.section-9-icon-container {
    margin-bottom: 20px;
}

.section-9-icon {
    width: 48px;
    height: 48px;
    color: #715E32;
}

.section-9-option-title {
    font-family: var(--letra-sans-1);
    font-size: clamp(20px, 2.5vw, 24px);
    color: #715E32;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding: 0;
}

.section-9-option-content {
    width: 100%;
}

.section-9-bank-info {
    font-family: var(--letra-sans-1);
    font-size: clamp(14px, 1.8vw, 16px);
    color: #715E32;
    margin: 0 0 10px 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-9-label {
    font-weight: 600;
}

.section-9-value {
    font-weight: 400;
}

.section-9-envelope-text {
    font-family: var(--letra-sans-1);
    font-size: clamp(14px, 1.8vw, 16px);
    color: #715E32;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ============================================
   SECCIÓN 10: Playlist Musical
   ============================================ */

.section-10 {
    position: relative;
    width: 100%;
    padding: 80px 60px;
    margin: 0;
    background: #FFFFFF;
    box-sizing: border-box;
}

.section-10-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.section-10-title {
    font-family: var(--letra-cursiva-2);
    font-size: clamp(36px, 5vw, 48px);
    color: #715E32;
    font-weight: 400;
    margin: 0 0 15px 0;
    padding: 0;
    text-align: center;
}

.section-10-subtitle {
    font-family: var(--letra-sans-1);
    font-size: clamp(18px, 2.5vw, 24px);
    color: #A78B49;
    font-weight: 400;
    margin: 0 0 40px 0;
    padding: 0;
    text-align: center;
    font-style: italic;
}

.section-10-form {
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
}

.section-10-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.section-10-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-10-label {
    font-family: var(--letra-sans-1);
    font-size: clamp(14px, 1.8vw, 16px);
    color: #715E32;
    font-weight: 500;
}

.section-10-input {
    padding: 12px;
    border: 1px solid #DED2B5;
    border-radius: 8px;
    font-family: var(--letra-sans-1);
    font-size: 16px;
    color: #715E32;
    transition: border-color 0.3s ease;
}

.section-10-input:focus {
    outline: none;
    border-color: #A78B49;
}

.section-10-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #715E32;
    color: #FFFFFF;
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-10-add-button:hover {
    background: #A78B49;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 94, 50, 0.3);
}

.section-10-add-icon {
    width: 20px;
    height: 20px;
}

.section-10-playlist {
    width: 100%;
    max-width: 800px;
    background: #F5F1E8;
    border-radius: 12px;
    padding: 30px;
    box-sizing: border-box;
}

.section-10-playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(113, 94, 50, 0.1);
}

.section-10-playlist-title {
    font-family: var(--letra-sans-1);
    font-size: clamp(20px, 2.5vw, 24px);
    color: #715E32;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.section-10-playlist-subtitle {
    font-family: var(--letra-sans-1);
    font-size: clamp(14px, 1.8vw, 16px);
    color: #A78B49;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.section-10-playlist-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-10-playlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #A78B49;
    text-align: center;
}

.section-10-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.section-10-playlist-empty p {
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 2vw, 18px);
    margin: 0;
    padding: 0;
}

.section-10-playlist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #FFFFFF;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.section-10-playlist-item:hover {
    transform: translateX(5px);
}

.section-10-playlist-item-number {
    font-family: var(--letra-sans-1);
    font-size: clamp(18px, 2vw, 20px);
    color: #A78B49;
    font-weight: 600;
    min-width: 30px;
}

.section-10-playlist-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.section-10-playlist-item-title {
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 2vw, 18px);
    color: #715E32;
    font-weight: 500;
}

.section-10-playlist-item-artist {
    font-family: var(--letra-sans-1);
    font-size: clamp(14px, 1.8vw, 16px);
    color: #A78B49;
    font-weight: 400;
}

.section-10-playlist-item-remove {
    background: none;
    border: none;
    color: #A78B49;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.section-10-playlist-item-remove:hover {
    color: #715E32;
}

/* ============================================
   SECCIÓN 11: Información Adicional
   ============================================ */

.section-11 {
    position: relative;
    width: 100%;
    padding: 80px 60px;
    margin: 0;
    background: #F5F1E8;
    box-sizing: border-box;
}

.section-11-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.section-11-title {
    font-family: var(--letra-cursiva-2);
    font-size: clamp(36px, 5vw, 48px);
    color: #715E32;
    font-weight: 400;
    margin: 0 0 40px 0;
    padding: 0;
    text-align: center;
}

.section-11-tabs {
    width: 100%;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-sizing: border-box;
}

.section-11-tabs-header {
    display: flex;
    border-bottom: 1px solid rgba(113, 94, 50, 0.1);
    margin-bottom: 20px;
}

.section-11-tab-button {
    padding: 12px 24px;
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #A78B49;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-11-tab-button.active {
    color: #FFFFFF;
    background: #715E32;
    border-bottom-color: #715E32;
}

.section-11-tab-button:hover:not(.active) {
    background: rgba(113, 94, 50, 0.1);
}

.section-11-tabs-content {
    min-height: 200px;
}

.section-11-tab-panel {
    display: none;
    opacity: 0;
    animation: section11FadeIn 0.3s ease forwards;
}

.section-11-tab-panel.active {
    display: block;
    opacity: 1;
}

.section-11-tab-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-11-panel-title {
    font-family: var(--letra-sans-1);
    font-size: clamp(24px, 3vw, 28px);
    color: #715E32;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.section-11-panel-text {
    font-family: var(--letra-sans-1);
    font-size: clamp(16px, 2vw, 18px);
    color: #A78B49;
    font-weight: 400;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

@keyframes section11FadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FOOTER
   ============================================ */

.section-footer {
    position: relative;
    width: 100%;
    padding: 40px 60px;
    margin: 0;
    background: #715E32;
    box-sizing: border-box;
}

.section-footer-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.section-footer-names {
    font-family: var(--letra-cursiva-2);
    font-size: clamp(28px, 4vw, 36px);
    color: #FFFFFF;
    font-weight: 400;
    margin: 0 0 15px 0;
    padding: 0;
}

.section-footer-copyright {
    font-family: var(--letra-sans-1);
    font-size: clamp(12px, 1.5vw, 14px);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.section-footer-link {
    color: #FFFFFF;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.section-footer-link:hover {
    color: #C5AF7C;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    /* Mostrar imagen móvil y ocultar desktop */
    .envelope-desktop {
        display: none;
    }
    
    .envelope-mobile {
        display: block;
        background-image: var(--imagen-sobre-movil);
    }
    
    .envelope-names {
        font-size: clamp(28px, 8vw, 50px);
        top: 30%;
    }
    
    .envelope-date {
        font-size: clamp(14px, 3.5vw, 20px);
        bottom: 45%;
        letter-spacing: 2px;
    }
    
    .envelope-instruction {
        bottom: 12%;
        font-size: clamp(12px, 2.5vw, 16px);
    }
    
    /* Sección 1 en móvil - altura completa */
    .section-1 {
        min-height: 100vh;
        height: 100vh;
    }
    
    .section-1.portrait .section-1-main-image {
        width: 85%;
        max-width: none;
    }
    
    .section-1-content {
        bottom: 8%;
        padding: 0 15px;
    }
    
    .section-1-save-the-date {
        gap: 5px;
    }
    
    /* Sección 2 en móvil */
    .section-2 {
        padding: 60px 20px;
    }
    
    .section-2-container {
        gap: 40px;
    }
    
    .section-2-countdown {
        gap: 10px;
    }
    
    .countdown-separator {
        margin: 0 3px;
    }
    
    .section-2-calendar-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Sección 3 en móvil */
    .section-3 {
        min-height: 100vh;
        height: 100vh;
    }
    
    .section-3.portrait .section-3-main-image {
        width: 85%;
        max-width: none;
    }
    
    /* Sección 4 en móvil - mantener estructura alternada */
    .section-4 {
        padding: 60px 20px;
    }
    
    .section-4-container {
        gap: 40px;
    }
    
    .section-4-main-title {
        font-size: clamp(36px, 8vw, 48px);
    }
    
    .section-4-timeline-wrapper {
        padding: 30px 0;
        max-width: 100%;
    }
    
    /* Mantener línea central en móvil */
    .section-4-timeline {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-4-item {
        margin-bottom: 50px;
    }
    
    /* Items izquierda en móvil */
    .section-4-item-left {
        padding-right: 50%;
        padding-left: 0;
        justify-content: flex-end;
        gap: 15px;
    }
    
    /* Items derecha en móvil */
    .section-4-item-right {
        padding-left: 50%;
        padding-right: 0;
        flex-direction: row-reverse;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .section-4-item-content {
        max-width: calc(50% - 15px);
    }
    
    .section-4-item-left .section-4-item-content {
        align-items: flex-end;
        text-align: right;
        padding-right: 25px;
    }
    
    .section-4-item-right .section-4-item-content {
        transform: translateX(-130px);
        align-items: flex-start;
        text-align: left;
    }
    
    .section-4-timeline-dot {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-4-calendar-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Sección 5 en móvil */
    .section-5 {
        min-height: 100vh;
    }
    
    .section-5-container {
        height: 100vh;
        min-height: 100vh;
    }
    
    .section-5-cover-texto {
        font-size: clamp(20px, 5vw, 32px);
        margin-bottom: 30px;
    }
    
    .section-5-play-button {
        width: 60px;
        height: 60px;
    }
    
    .section-5-video.playing {
        width: 95vw;
        max-height: 85vh;
    }
    
    /* Sección 6 en móvil */
    .section-6 {
        padding: 60px 20px;
    }
    
    .section-6-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .section-6-gallery-item {
        min-height: 200px;
    }
    
    .section-6-gallery-image {
        min-height: 200px;
    }
    
    /* Sección 7 en móvil */
    .section-7 {
        padding: 60px 20px;
    }
    
    /* Sección 8 en móvil */
    .section-8 {
        padding: 60px 20px;
    }
    
    .section-8-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .section-8-left,
    .section-8-right {
        width: 100%;
    }
    
    .section-8-slider {
        height: 300px;
    }
    
    .section-8-modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    /* Sección 9 en móvil */
    .section-9 {
        padding: 60px 20px;
    }
    
    .section-9-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Sección 10 en móvil */
    .section-10 {
        padding: 60px 20px;
    }
    
    .section-10-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-10-playlist {
        padding: 20px;
    }
    
    .section-10-playlist-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    /* Sección 11 en móvil */
    .section-11 {
        padding: 60px 20px;
    }
    
    .section-11-tabs {
        padding: 20px;
    }
    
    .section-11-tabs-header {
        flex-direction: column;
        border-bottom: none;
    }
    
    .section-11-tab-button {
        width: 100%;
        padding: 10px 16px;
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
    }
    
    .section-11-tab-button.active {
        border-left: 3px solid #715E32;
        border-bottom: none;
    }
    
    /* Footer en móvil */
    .section-footer {
        padding: 30px 20px;
    }
    
    .section-footer-copyright {
        font-size: clamp(11px, 1.3vw, 13px);
        line-height: 1.8;
    }
}
