/* ESTILO EDITORIAL / HIGH-FASHION */
:root {
    /* Base Roja y Acentos */
    --color-principal: #ac0000;
    --color-principal-hover: #000000;
    --color-dorado: #c5a059;
    --color-dorado-suave: #f4ece1;

    /* Fondos y Texto (Canvas Minimalista) */
    --fondo-pagina: #f5f4f0;
    --color-texto-principal: #121212;

    /* Encabezado */
    --color-titulo-principal: #ffffff;
    --color-subtitulo-principal: #c5a059;
    --color-fecha-evento: #ffffff;
    --color-decoracion-encabezado: #c5a059;
    --degradado-encabezado-inicio: rgba(10, 10, 10, 0.4);
    --degradado-encabezado-final: rgba(10, 10, 10, 0.92);

    /* Mensajes & Familiares */
    --fondo-mensaje-confirmacion: #ffffff;
    --color-texto-mensaje-confirmacion: #1a1a1a;
    --color-titulo-familiares: #121212;
    --color-texto-familiares: #333333;

    /* Ubicaciones */
    --color-titulo-ubicacion: #ffffff;
    --color-descripcion-ubicacion: #f5f4f0;
    --color-texto-boton-secundario: #ffffff;
    --degradado-ubicacion-inicio: rgba(0, 0, 0, 0.65);
    --degradado-ubicacion-final: rgba(172, 0, 0, 0.85);

    /* Código de Vestimenta */
    --fondo-codigo-vestimenta: #0d0d0d;
    --color-texto-codigo-vestimenta: #ffffff;

    /* Botones de Alto Impacto */
    --fondo-boton: #121212;
    --fondo-boton-hover: #ac0000;
    --color-texto-boton: #ffffff;
    --color-texto-boton-hover: #ffffff;
    --color-borde-boton: #121212;

    /* Contador Minimal */
    --fondo-contenedor-contador: transparent;
    --color-texto-contenedor-contador: #ffffff;
    --fondo-tarjeta-contador: rgba(0, 0, 0, 0.4);
    --fondo-tarjeta-contador-hover: #ac0000;
    --color-texto-tarjeta-contador: #ffffff;

    /* Iconos SVG */
    --icons: #ac0000;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--fondo-pagina);
    color: var(--color-texto-principal);
}

.st0 {
    fill: var(--icons);
    transition: all 0.3s ease;
}

.codigo__vestimenta .st0 {
    fill: #ffffff;
}

/* Fotos con marco editorial tipo galería / passpartout */
.foto__perfil {
    border-radius: 0px;
    border: 1px solid #121212;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 12px 12px 0px rgba(172, 0, 0, 0.15);
}

.cabeza {
    background-image: linear-gradient(var(--degradado-encabezado-inicio), var(--degradado-encabezado-final)), url('./content/bg_banner.jpg');
}

.titulo {
    font-size: 46px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-titulo-principal);
}

.subtitulo {
    font-size: 13px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 8px;
    color: var(--color-subtitulo-principal);
}

.fecha {
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 6px;
    color: var(--color-fecha-evento);
    font-weight: 500;
}

.dot__deco {
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--color-decoracion-encabezado);
}

.texto {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    line-height: 1.8;
    background-color: var(--fondo-mensaje-confirmacion);
    color: var(--color-texto-mensaje-confirmacion);
    border-left: 3px solid var(--color-principal);
    border-right: none;
    border-top: none;
    border-bottom: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.hoteles {
    background-image: linear-gradient(var(--degradado-ubicacion-inicio), var(--degradado-ubicacion-final)), url('./content/hoteles.jpg');
}

.titulo__ubicacion {
    font-size: 38px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-titulo-ubicacion);
}

.descripcion {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-descripcion-ubicacion);
}

.parientes__titulo {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--color-titulo-familiares);
    letter-spacing: 1px;
}

.parientes__texto {
    font-size: 13px;
    font-family: 'Cinzel', serif;
    letter-spacing: 4px;
    color: var(--color-texto-familiares);
    font-weight: 600;
}

/* Mapas con bordes nítidos y geométricos */
.map__container, .map1 {
    border-radius: 0px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ubicacion {
    background-image: linear-gradient(var(--degradado-ubicacion-inicio), var(--degradado-ubicacion-final)), url('./content/bg_ubicacion.jpg');
}

/* Sección de vestimenta */
.codigo__vestimenta {
    background-color: var(--fondo-codigo-vestimenta);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.texto__codigo {
    color: #a0a0a0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Botones estructurados y minimalistas */
.button {
    background-color: var(--fondo-boton);
    color: var(--color-texto-boton) !important;
    border: 1px solid var(--color-borde-boton);
    border-radius: 0px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

.button__nobg {
    color: var(--color-texto-boton-secundario);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    background: transparent;
}

.button:hover {  
    background-color: var(--fondo-boton-hover);
    border-color: var(--fondo-boton-hover);
    color: var(--color-texto-boton-hover) !important;
    transform: translateY(-3px);
}

.button__nobg:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* Contador Editorial */
.contenedor__contador {
    background-color: var(--fondo-contenedor-contador);
    color: var(--color-texto-contenedor-contador);
    font-family: 'Space Grotesk', sans-serif;
}

.simply-section {
    border-radius: 0px;
    background-color: var(--fondo-tarjeta-contador);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-texto-tarjeta-contador);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.simply-section:hover {
    background-color: var(--fondo-tarjeta-contador-hover);
    border-color: var(--fondo-tarjeta-contador-hover);
}

.simply-amount {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
}













:root {
    --rojo-pasion: #d0001f;
    --rojo-profundo: #940015;
    --rojo-resplandor: rgba(208, 0, 31, 0.28);
    --blanco-puro: #ffffff;
    --blanco-nieve: #faf8f8;
    --texto-oscuro: #2a1a1c;
}

/* Pantalla fija superpuesta */
#pantalla-inicial {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    overflow: hidden;
    /* Fondo con atmósfera de pétalos rojos y luz central */
    background: 
        radial-gradient(circle at 50% 50%, rgba(208, 0, 31, 0.88) 0%, #68000f 100%);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desvanecimiento para tu JS */
#pantalla-inicial.ocultar {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    pointer-events: none;
}

/* Tarjeta estilo invitación de papel blanco puro */
.pantalla-contenido {
    position: relative;
    max-width: 450px;
    width: 100%;
    padding: 56px 36px 48px;
    text-align: center;
    box-sizing: border-box;
    background-color: var(--blanco-puro);
    border-radius: 6px;
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 4px 16px var(--rojo-resplandor);
}

/* Marco exterior fino en rojo pasión */
.pantalla-contenido::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(208, 0, 31, 0.25);
    border-radius: 4px;
    pointer-events: none;
}

/* Línea decorativa interior */
.pantalla-contenido::after {
    content: "";
    position: absolute;
    inset: 17px;
    border: 1px dashed rgba(208, 0, 31, 0.18);
    border-radius: 2px;
    pointer-events: none;
}

/* Icono central de rosa */
.rosa-adorno {
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    color: var(--rojo-pasion);
    filter: drop-shadow(0 2px 4px var(--rojo-resplandor));
}

.rosa-adorno svg {
    width: 100%;
    height: 100%;
}

/* Subtítulo */
.subtitulo-romance {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--rojo-pasion);
    margin-bottom: 12px;
}

/* Título de la boda */
.pantalla-contenido h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.85rem, 5vw, 2.35rem);
    font-weight: 700;
    line-height: 1.22;
    color: var(--texto-oscuro);
    margin: 0 0 14px;
}

/* Frase secundaria */
.frase-boda {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #665255;
    margin: 0 0 32px;
}

/* Botón en rojo vivo vibrante */
#abrir {
    position: relative;
    display: inline-block;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--blanco-puro);
    background: linear-gradient(135deg, var(--rojo-pasion) 0%, var(--rojo-profundo) 100%);
    border-radius: 50px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(208, 0, 31, 0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    z-index: 1;
}

#abrir span {
    position: relative;
    z-index: 2;
}

/* Brillo blanco deslizante */
#abrir::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.65s ease;
    z-index: 1;
}

#abrir:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(208, 0, 31, 0.55);
}

#abrir:hover::before {
    left: 130%;
}

#abrir:active {
    transform: translateY(0);
}

/* Vista móvil */
@media (max-width: 480px) {
    .pantalla-contenido {
        padding: 44px 22px 36px;
    }

    #abrir {
        width: 100%;
        box-sizing: border-box;
    }
}