/* --- CONFIGURACIÓN BASE Y VARIABLES --- */
:root {
    --primary-black: #000000;
    --pure-white: #ffffff;
    --soft-gray: #f9f9f9;
    --overlay-gradient: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.7) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--pure-white);
    color: var(--primary-black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- LÓGICA DE REVELADO (SCROLL ANIMATION) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active, .reveal-left.active {
    opacity: 1;
    transform: translate(0);
}

/* --- BANNER PRINCIPAL (CENTRO LIBRE) --- */
.banner-contador {
    position: relative;
    height: 100vh;
    height: 100svh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: url('https://images.pexels.com/photos/33815179/pexels-photo-33815179.jpeg') center/cover no-repeat;
    filter: grayscale(100%);
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-gradient);
    z-index: 1;
}

.banner-top, .banner-bottom {
    position: relative;
    z-index: 2;
    color: var(--pure-white);
    width: 100%;
}

.txt-superior {
    letter-spacing: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 15px;
}

.nombres-novios {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 9vw, 5rem);
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
}

/* --- SECCIÓN SAVE THE DATE Y CONTADOR --- */
.save-the-date-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 10px;
    font-weight: 200;
    margin-bottom: 8px;
}

.fecha-boda {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 30px;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.time-block span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 200;
    line-height: 1;
}

.time-block small {
    font-size: 0.55rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- SECCIÓN HISTORIA (ESTILO EDITORIAL) --- */
.historia-editorial {
    padding: 120px 20px;
    background-color: var(--pure-white);
}

.editorial-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.editorial-image {
    flex: 0 0 55%;
    position: relative;
}

.editorial-image img {
    width: 100%;
    filter: grayscale(100%) contrast(1.1);
    display: block;
    position: relative;
    z-index: 2;
}

.editorial-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-black);
    z-index: 1;
}

.editorial-content {
    flex: 0 0 50%;
    margin-left: -100px;
    background: var(--pure-white);
    padding: 60px;
    position: relative;
    z-index: 3;
    border: 1px solid #f0f0f0;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.05);
}

.editorial-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.9;
    font-weight: 300;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.editorial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
}

.editorial-signature {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-style: italic;
    margin-top: 30px;
}

/* --- PASES --- */
/* --- SECCIÓN PASES ASIGNADOS --- */

.seccion-pases {
    background-color: #000000; /* Fondo negro total para contraste */
    padding: 120px 20px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pases-container {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.pases-subtitle {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0.8;
}

.pases-asignados {
    padding: 100px 20px;
    background-color: var(--soft-gray); /* Un gris muy tenue para diferenciar la sección */
    text-align: center;
}

.pases-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

/* --- DISEÑO DEL TICKET --- */
.ticket-virtual {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 20px;
    position: relative;
    background: transparent;
}

.ticket-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.pases-intro {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.7rem;
    margin-bottom: 30px;
    color: #666;
}

.pases-box {
    background-color: var(--pure-white);
    padding: 60px 40px;
    border: 1px solid var(--primary-black);
    position: relative;
}

/* Efecto de doble borde opcional para mayor elegancia */
.pases-box::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid #eee;
    pointer-events: none;
}

.invitado-label {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #888;
}

.invitado-nombre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.pases-line {
    width: 40px;
    height: 1px;
    background-color: var(--primary-black);
    margin: 0 auto 30px;
}

.numero-cupos {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 200;
    line-height: 1;
}

.numero {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 200;
    line-height: 1;
    margin-top: 20px;
}

.label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.ticket-footer {
    margin-top: 40px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    opacity: 0.6;
}

/* Divisor con círculos (efecto de boleto) */
.ticket-divider {
    display: flex;
    align-items: center;
    margin: 30px -21px; /* Para que los círculos muerdan el borde */
    position: relative;
}

.ticket-divider .line {
    flex: 1;
    height: 1px;
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

.ticket-divider .circle {
    width: 20px;
    height: 20px;
    background-color: #000000; /* Color del fondo de la sección */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.ticket-divider .left { margin-right: -10px; border-left: none; }
.ticket-divider .right { margin-left: -10px; border-right: none; }

.texto-pases {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    margin-top: 10px;
}

.pases-nota {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 30px;
    color: #444;
}

/* --- SECCIÓN REVELACIÓN (PARALLAX) --- */
.revelacion-container {
    position: relative;
    height: 70vh; /* O la altura que prefieras */
    width: 100%;
    overflow: hidden; /* Evita que la foto se salga */
    
    /* ESTA LÍNEA ES LA CLAVE PARA MÓVILES: */
    clip-path: inset(0 0 0 0); 
    
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.foto-fija {
    /* CAMBIO: De absolute a fixed para que se quede "pegada" a la pantalla del móvil */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/1415131/pexels-photo-1415131.jpeg');
    
    /* CAMBIO: Eliminamos background-attachment: fixed porque no funciona en móvil */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    filter: grayscale(100%) brightness(0.5);
    /* CAMBIO: z-index en 0 para asegurar que el overlay y el texto (z-index 1 y 2) queden arriba */
    z-index: 0;
}

.overlay-revelacion {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent, rgba(0,0,0,0.5));
    z-index: 1;
}

.contenido-revelacion {
    position: relative;
    z-index: 2; /* El texto por encima de todo */
    text-align: center;
    width: 85%;
}

.cita-amor {
    font-family: 'Cormorant Garamond', serif;
    color: #ffffff;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin: 0;
}

/* --- SECCIÓN UBICACIÓN: DONDE Y CUANDO --- */
.ubicacion-detalles {
    padding: 120px 20px;
    background-color: #ffffff;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Contenedor del encabezado para evitar duplicados */
.ubicacion-header {
    margin-bottom: 70px;
}

.ubicacion-subtitle {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.section-title-editorial {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    text-transform: uppercase;
    letter-spacing: 10px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0; /* Evita que márgenes externos dupliquen espacios */
}

.linea-centro {
    width: 60px;
    height: 1px;
    background-color: #000;
    margin: 25px auto 0;
}

/* Grid de tarjetas */
.ubicacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.ubicacion-card {
    padding: 50px 30px;
    border: 1px solid #f2f2f2;
    background: #fff;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ubicacion-card:hover {
    border-color: #000;
    transform: translateY(-5px);
}

/* --- SOLUCIÓN PARA ICONOS SVG EN MÓVIL --- */
.card-icon-svg {
    width: 50px; /* Tamaño fijo */
    height: 50px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
}

.card-icon-svg svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important; /* Fuerza la visibilidad en móviles */
    stroke-width: 1px;
}

/* Estilos de texto interno */
.card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.card-hora {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: #555;
}

.card-lugar {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.card-direccion {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 300;
}



/* --- SECCIÓN NUESTROS PADRES --- */
.nuestros-padres {
    padding: 120px 20px;
    background-color: #ffffff;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.padres-header {
    margin-bottom: 60px;
}

.padres-subtitle {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 5px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
}

.padres-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas en escritorio */
    gap: 60px;
    position: relative;
}

/* Línea divisoria central opcional */
.padres-grid::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 100px;
    background-color: #eee;
}

.padres-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 25px;
}

.nombre-padre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.4;
    color: #000;
    margin-bottom: 5px;
}

/* --- SECCIÓN GALERÍA DE CINTA --- */
/* --- SECCIÓN GALERÍA DE CINTA (FILMSTRIP) --- */
.galeria-cinta {
    padding: 100px 0;
    background-color: #ffffff;
    overflow: hidden; /* Corta las fotos que se salen de la pantalla */
    width: 100%;
}

.galeria-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.galeria-subtitle {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}

/* Contenedor principal del movimiento */
.cinta-wrapper {
    width: 100%;
    display: flex;
    position: relative;
    padding: 20px 0;
}

/* El riel que contiene las fotos */
.cinta-track {
    display: flex;
    width: max-content; /* Vital: permite que el track crezca horizontalmente */
    will-change: transform;
    animation: scrollInfinito 30s linear infinite;
}

/* Estilo de cada "fotografía" */
.cinta-item {
    width: 300px;
    height: 420px;
    margin: 0 10px;
    flex-shrink: 0;
    background: #fff;
    padding: 12px;
    border: 1px solid #f0f0f0; /* Borde muy sutil tipo papel */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    filter: grayscale(100%);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.cinta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Efectos al interactuar */
.cinta-item:hover {
    filter: grayscale(0%);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Pausar la animación al pasar el mouse */
.cinta-track:hover {
    animation-play-state: paused;
}

/* --- SECCIÓN MESA DE REGALOS --- */
.mesa-regalos {
    padding: 120px 20px;
    background-color: #fcfcfc; /* Gris casi blanco para separar secciones */
    text-align: center;
}

.regalos-header {
    max-width: 700px;
    margin: 0 auto 80px;
}

.regalos-subtitle {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 5px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
}

.regalos-mensaje {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-top: 20px;
}

.regalos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.regalo-card {
    background: #fff;
    padding: 50px 30px;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.regalo-card:hover {
    border-color: #000;
    transform: translateY(-5px);
}

.regalo-icon-svg {
    width: 40px;
    height: 40px;
    margin-bottom: 25px;
    color: #000;
}

.regalo-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.regalo-card p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

/* Estilo especial para la cuenta bancaria */
.regalo-card.highlight {
    grid-column: span 1;
    background-color: #fff;
    border: 1px dashed #ccc;
}

.datos-banco {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
    width: 100%;
}

/* REUTILIZAMOS EL BOTÓN QUE YA TENÍAS */
.btn-minimal {
    padding: 10px 25px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-minimal:hover {
    background: #000;
    color: #fff;
}

.btn-copiar {
    margin-top: 20px;
    background: transparent;
    border: 1px solid #000;
    padding: 8px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.btn-copiar:hover {
    background: #000;
    color: #fff;
}

/* Estilo cuando ya se copió */
.btn-copiar.success {
    background: #27ae60; /* Un verde sutil o puedes dejarlo negro */
    border-color: #27ae60;
    color: #fff;
}

.btn-copiar:active {
    transform: scale(0.95);
    background-color: #f0f0f0;
}

/* ANIMACIÓN: Debe desplazar exactamente la mitad del track si duplicaste las fotos */
@keyframes scrollInfinito {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Se mueve hacia la izquierda */
        transform: translateX(calc(-320px * 6)); 
    }
}

.cinta-track {
    border-top: 4px dashed #f0f0f0;
    border-bottom: 4px dashed #f0f0f0;
    padding: 30px 0;
}

.cinta-wrapper::before,
.cinta-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Para que no bloquee el hover */
}

.cinta-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.cinta-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

/* --- SECCIÓN PADRINOS (FONDO NEGRO) --- */
.seccion-padrinos {
    background-color: #000000;
    padding: 120px 20px;
    color: #ffffff;
    text-align: center;
}

.padrinos-subtitle {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 15px;
}

/* Variante blanca del título editorial */
.section-title-editorial.light {
    color: #ffffff;
}

.linea-centro.light {
    background-color: rgba(255, 255, 255, 0.4);
    margin-bottom: 80px;
}

/* Cuadrícula de Padrinos */
.padrinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.padrino-item {
    padding: 20px;
    transition: transform 0.4s ease;
}

.padrino-item:hover {
    transform: translateY(-10px);
}

.padrino-tipo {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #888; /* Gris suave para el rol */
    margin-bottom: 20px;
}

.padrino-nombre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 1px;
}

/* --- ITINERARIO VERSIÓN ROBUSTA --- */
.seccion-itinerario-clean {
    padding: 100px 20px;
    background: #fff;
    max-width: 600px; /* Estrecho para que sea elegante */
    margin: 0 auto;
}

.itinerario-container-simple {
    position: relative;
    padding-top: 20px;
}

/* Línea vertical de fondo */
.itinerario-container-simple::before {
    content: '';
    position: absolute;
    left: 85px; /* Alineada tras los puntos */
    top: 0;
    bottom: 0;
    width: 1px;
    background: #eee;
}

.itinerario-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.iti-time {
    width: 70px;
    text-align: right;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding-top: 5px;
    color: #888;
}

.iti-dot {
    width: 9px;
    height: 9px;
    background: #000;
    border-radius: 50%;
    margin: 10px 20px 0 20px;
    z-index: 2;
    flex-shrink: 0;
}

.iti-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    font-weight: 400;
}

.iti-text p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #666;
    margin: 2px 0 0 0;
    font-size: 1.1rem;
}

/* --- SECCIÓN DRESS CODE --- */
.dress-code {
    padding: 100px 20px;
    background-color: #ffffff;
    text-align: center;
}

.dress-header {
    margin-bottom: 60px;
}

.dress-subtitle {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}

.dress-content {
    max-width: 800px;
    margin: 0 auto;
}

.dress-type {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.dress-note {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    margin-bottom: 50px;
}

/* Iconos de vestimenta */
.dress-icons-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.dress-icon-item {
    width: 100px;
}

.dress-icon-item svg {
    width: 50px;
    height: 50px;
    color: #000;
    stroke-width: 0.8px;
    margin-bottom: 15px;
}

.dress-icon-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
}

/* Advertencia del Color Blanco */
.dress-warning {
    margin-top: 40px;
    padding: 30px;
    background-color: #f9f9f9; /* Un gris casi imperceptible */
    border-radius: 2px;
}

.warning-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #000;
    letter-spacing: 1px;
}

.warning-text strong {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.linea-decorativa-corta {
    width: 30px;
    height: 1px;
    background-color: #ccc;
    margin: 15px auto;
}

/* --- SECCIÓN DRESS CODE (FONDO NEGRO) --- */
.dress-code-dark {
    padding: 120px 20px;
    background-color: #000000; /* Fondo negro absoluto */
    color: #ffffff;
    text-align: center;
}

.dress-subtitle.light {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}

.section-title-editorial.light {
    color: #ffffff;
}

.linea-centro.light {
    background-color: rgba(255, 255, 255, 0.3);
}

.dress-type.light {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 15px;
}

.dress-note.light {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #aaa;
    margin-bottom: 60px;
}

/* Iconos en Blanco */
.dress-icons-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 80px;
}

.dress-icon-item.light svg {
    width: 50px;
    height: 50px;
    color: #ffffff; /* Iconos blancos */
    stroke-width: 0.8px;
    margin-bottom: 15px;
}

.dress-icon-item.light p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}

/* Advertencia del Color Blanco */
.dress-warning-dark {
    margin: 40px auto 0;
    max-width: 500px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borde sutil */
}

.warning-text.light {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #ffffff;
    line-height: 1.6;
}

/* Resalte visual para "color blanco" */
.white-box {
    color: #000;
    background-color: #fff;
    padding: 2px 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 4px;
}

/* --- SECCIÓN RSVP --- */
.seccion-rsvp {
    padding: 100px 20px;
    background-color: #ffffff;
    text-align: center;
}

.rsvp-header {
    margin-bottom: 50px;
}

.rsvp-subtitle {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
}

.rsvp-fecha-limite {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #666;
    margin-top: 15px;
}

.rsvp-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

/* GRUPOS DE INPUT */
.input-group {
    margin-bottom: 30px;
}

.input-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #000;
}

.input-group input[type="text"],
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    outline: none;
    transition: border-color 0.3s;
    background: transparent;
}

.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: #000;
}

/* RADIO BUTTONS CUSTOM */
.radio-group {
    margin-top: 15px;
}

.radio-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    user-select: none;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50%;
}

.radio-container input:checked ~ .radio-custom {
    background-color: #000;
}

/* BOTÓN ENVIAR */
.btn-rsvp {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 20px;
}

.btn-rsvp:hover {
    opacity: 0.8;
}

/* --- MAIN FOOTER --- */
.main-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 20px 40px;
    text-align: center;
}

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

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 40px;
}

/* Redes Sociales */
.footer-socials {
    margin-bottom: 50px;
}

.footer-socials a {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0 15px;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    opacity: 0.5;
}

/* Divisoria sutil */
.footer-divider {
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto 40px;
}

/* Bottom Footer */
.footer-bottom {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.footer-bottom p {
    margin-bottom: 15px;
}

/* Detalle del Desarrollador */
.footer-dev {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #888;
}

.mini-corazon {
    width: 14px;
    height: 14px;
    color: #ff0000; /* Un pequeño acento de color o déjalo blanco si quieres B&W puro */
    transition: transform 0.3s ease;
}

.footer-dev:hover .mini-corazon {
    transform: scale(1.2);
    fill: currentColor;
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 768px) {
    .banner-contador {
        padding: 40px 15px;
    }

    .countdown-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .editorial-wrapper {
        flex-direction: column;
    }

    .editorial-image {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .editorial-content {
        margin-left: 0;
        width: 100%;
        padding: 40px 20px;
        text-align: center;
    }

    .editorial-frame {
        display: none; /* Simplificamos en móvil */
    }

    .pases-asignados {
        padding: 80px 20px;
    }
    .pases-box {
        padding: 40px 20px;
    }
    .invitado-nombre {
        font-size: 1.8rem;
    }
    .numero-cupos {
        font-size: 4rem;
    }

    .seccion-pases {
        padding: 80px 20px;
    }
    .numero {
        font-size: 3.5rem;
    }

    .revelacion-container {
        height: 60vh;
    }
    
    .foto-fija {
        position: absolute;
        background-attachment: fixed;
        z-index: 0;
    }
    
    .cita-amor {
        letter-spacing: 2px;
    }

    .ubicacion-detalles {
        padding: 80px 20px;
    }
    
    .ubicacion-detalles {
        padding: 80px 20px;
    }
    
    .section-title-editorial {
        letter-spacing: 6px; /* Reducimos tracking para que no se encime */
    }

    .ubicacion-grid {
        gap: 30px;
    }

    .card-icon-svg {
        width: 45px; /* Ligeramente más pequeño en móvil */
        height: 45px;
    }

    /* Ocultar cualquier emoji que haya quedado por error en etiquetas viejas */
    .ubicacion-card span {
        font-family: inherit;
    }

    .nuestros-padres {
        padding: 80px 20px;
    }

    .padres-grid {
        grid-template-columns: 1fr; /* Una columna en móvil */
        gap: 50px;
    }

    .padres-grid::after {
        display: none; /* Quitamos la línea central en móvil */
    }

    .nombre-padre {
        font-size: 1.6rem;
    }

    .galeria-cinta {
        padding: 60px 0;
    }

    .cinta-item {
        width: 220px;
        height: 320px;
        margin: 0 8px;
        padding: 8px;
    }

    @keyframes scrollInfinito {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-236px * 6)); /* Ajustado al nuevo ancho + margen */
        }
    }

    .section-title-editorial {
        font-size: 2rem;
        letter-spacing: 6px;
    }

    .seccion-padrinos {
        padding: 80px 20px;
    }

    .padrinos-grid {
        grid-template-columns: 1fr; /* Una columna en móvil para mejor lectura */
        gap: 40px;
    }

    .padrino-nombre {
        font-size: 1.6rem;
    }

    .itinerario-container-simple::before { left: 15px; }
    .iti-time { width: 40px; font-size: 0.65rem; text-align: left; }
    .iti-dot { margin: 10px 15px 0 10px; }

    .mesa-regalos { padding: 80px 20px; }
    .regalos-grid { grid-template-columns: 1fr; }

    .dress-type {
        font-size: 1.8rem;
    }
    .warning-text {
        font-size: 1.1rem;
    }

    .dress-icons-grid {
        gap: 40px;
    }
    .dress-type.light {
        font-size: 1.8rem;
    }
    .dress-warning-dark {
        border: none;
        padding: 10px;
    }

    .seccion-rsvp { padding: 80px 20px; }

    .main-footer {
        padding: 60px 20px 30px;
    }
    
    .footer-logo {
        font-size: 1.6rem;
    }
}
/* Elementos de muestra para completar la invitación y acciones sin enlaces externos. */
html { scroll-behavior: smooth; }
#rsvp { scroll-margin-top: 24px; }
button:focus-visible, a:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #aaa;
    outline-offset: 3px;
}
.guest-pass-message {
    margin: 12px 0 18px;
    color: rgba(255,255,255,.8);
    font: italic 1.15rem/1.5 'Cormorant Garamond', serif;
}
.guest-pass-cta {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,.7);
    color: #fff;
    font: .65rem 'Montserrat', sans-serif;
    letter-spacing: .12em;
    text-decoration: none;
}
.guest-pass-cta:hover { background: #fff; color: #111; }
.btn-minimal { background: transparent; cursor: pointer; font-family: 'Montserrat', sans-serif; }
.guest-policy-section, .lodging-section {
    padding: 90px 20px;
    text-align: center;
}
.guest-policy-section { background: #f8f8f8; }
.lodging-section { background: #fff; }
.section-eyebrow {
    margin: 0 0 12px;
    color: #888;
    font: .7rem 'Montserrat', sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.guest-policy-section .section-title-editorial,
.lodging-section .section-title-editorial { margin-bottom: 22px; }
.guest-policy-section > p:not(.section-eyebrow), .lodging-intro {
    max-width: 660px;
    margin: 0 auto 22px;
    color: #444;
    font: 1.2rem/1.7 'Cormorant Garamond', serif;
}
.policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid #ccc;
    color: #333;
    font: .76rem 'Montserrat', sans-serif;
}
.policy-badge i, .lodging-card > i { color: #777; }
.lodging-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 850px;
    margin: 30px auto 0;
}
.lodging-card {
    padding: 30px 24px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
}
.lodging-card > i { font-size: 1.5rem; }
.lodging-card h3 { color: #222; font: 1.45rem 'Cormorant Garamond', serif; }
.lodging-card p { min-height: 52px; color: #555; font: .8rem/1.6 'Montserrat', sans-serif; }
.demo-data-note { color: #666; font: .78rem/1.6 'Montserrat', sans-serif; }
.rsvp-demo-fields { display: grid; gap: 22px; }
.rsvp-demo-fields .input-group { display: grid; gap: 10px; }
.rsvp-demo-fields label { color: #222; font: .82rem 'Montserrat', sans-serif; text-align: left; }
.rsvp-demo-fields textarea { resize: vertical; }
.rsvp-demo-note { color: #666; font: .73rem/1.65 'Montserrat', sans-serif; text-align: left; }
.footer-socials span { color: #fff; font-size: 1.2rem; margin: 0 15px; opacity: .8; }
.footer-pending { margin: -30px 0 45px; color: #aaa; font: .75rem 'Montserrat', sans-serif; }
.demo-toast {
    position: fixed;
    z-index: 10000;
    right: 20px;
    bottom: 20px;
    width: min(420px, calc(100vw - 40px));
    padding: 16px 20px;
    border-left: 4px solid #888;
    background: #fff;
    color: #222;
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
    font: .85rem/1.5 'Montserrat', sans-serif;
}
.demo-toast[hidden] { display: none; }
.cinta-track { animation-name: demoGalleryLoop; }
@keyframes demoGalleryLoop {
    from { transform: translateX(0); }
    to { transform: translateX(var(--gallery-loop-distance, -1600px)); }
}
@media (max-width: 640px) {
    .lodging-grid { grid-template-columns: 1fr; }
    .lodging-card p { min-height: 0; }
    .guest-policy-section, .lodging-section { padding: 62px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .cinta-track { animation: none !important; }
}
