/*
 * =========================================================
 * ELEGANCE
 * Hoja de estilos principal
 * Mobile first
 * =========================================================
 */


/* =========================================================
   1. VARIABLES BASE
   ========================================================= */

.elegance {
    --elegance-bg: #faf8f5;
    --elegance-surface: #ffffff;
    --elegance-text: #2f2d2b;
    --elegance-text-soft: #77716c;
    --elegance-accent: #9b8172;
    --elegance-accent-soft: #ded3cc;
    --elegance-border: #e8e1dc;
    --elegance-overlay: rgba(25, 22, 20, 0.32);

    --elegance-font-heading:
        "Cormorant Garamond",
        Georgia,
        serif;

    --elegance-font-body:
        "Montserrat",
        Arial,
        sans-serif;

    --elegance-radius: 2px;
    --elegance-content-width: 680px;

    color: var(--elegance-text);
    background: var(--elegance-bg);
    font-family: var(--elegance-font-body);
    font-size: 16px;
    line-height: 1.6;
}

/* Pantalla de apertura; hereda la paleta y tipografía de la plantilla. */
.elegance-sobre-inicial {
    display: none;
}

body.elegance-sobre-activo {
    overflow: hidden;
}

body.elegance-sobre-activo .elegance-sobre-inicial {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 24px;
    color: var(--elegance-text, #2f2d2b);
    background:
        radial-gradient(ellipse at center, var(--elegance-surface, #fff) 0, var(--elegance-bg, #faf8f5) 76%);
}

.elegance-sobre-boton {
    display: grid;
    justify-items: center;
    gap: clamp(18px, 4vh, 32px);
    width: min(100%, 460px);
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.elegance-sobre-boton:focus-visible {
    outline: 2px solid var(--elegance-accent, #9b8172);
    outline-offset: 12px;
}

.elegance-sobre-instruccion,
.elegance-sobre-pie {
    font-family: var(--elegance-font-body, sans-serif);
    font-size: 10px;
    letter-spacing: .18em;
    text-align: center;
    text-transform: uppercase;
}

.elegance-sobre-pie {
    max-width: 360px;
    color: var(--elegance-text-soft, #77716c);
    line-height: 1.6;
}

.elegance-sobre-pieza {
    position: relative;
    display: block;
    width: min(84vw, 45.33vh, 480px);
    height: auto;
    max-width: 84vw;
    max-height: 68vh;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--elegance-accent, #9b8172) 35%, transparent);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(20, 24, 20, .2), inset 0 0 0 7px rgba(255, 255, 255, .18);
    aspect-ratio: 2 / 3;
}

.elegance-sobre-foto,
.elegance-sobre-tinte {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.elegance-sobre-foto {
    object-fit: cover;
    object-position: center;
    transition: transform 1.5s cubic-bezier(.2, .7, .2, 1), filter 1s ease;
}

.elegance-sobre-foto-abierta {
    opacity: 0;
}

.elegance-sobre-tinte {
    z-index: 1;
    background: var(--elegance-accent, #9b8172);
    mix-blend-mode: color;
    opacity: .08;
    pointer-events: none;
}

.elegance-sobre-sello {
    position: absolute;
    z-index: 2;
    top: var(--elegance-sobre-sello-y, 50%);
    left: 50%;
    display: grid;
    min-width: 58px;
    min-height: 44px;
    place-items: center;
    transform: translate(-50%, -50%);
    color: color-mix(in srgb, var(--elegance-accent, #9b8172) 78%, #513f35);
    font-family: var(--elegance-font-heading, Georgia, serif);
    font-size: clamp(21px, 6vw, 30px);
    letter-spacing: -.06em;
    text-shadow: 0 1px 0 rgba(255,255,255,.75), 0 -1px 1px rgba(55,35,24,.35);
    transition: transform 650ms ease, opacity 350ms ease;
}

.elegance-sobre-abierto {
    pointer-events: none;
    animation: elegance-sobre-fade 1.7s ease-in forwards;
}

.elegance-sobre-abierto .elegance-sobre-pieza {
    animation: elegance-sobre-abrir 1.7s cubic-bezier(.42, 0, .58, 1) forwards;
}

.elegance-sobre-abierto .elegance-sobre-foto-cerrada {
    animation: elegance-sobre-foto-cerrar 1.7s ease-in forwards;
}

.elegance-sobre-abierto .elegance-sobre-foto-abierta {
    animation: elegance-sobre-foto-abrir 1.7s ease-in-out forwards;
}

.elegance-sobre-abierto .elegance-sobre-sello {
    transform: translate(-50%, -50%) scale(1.65) rotate(-12deg);
    opacity: 0;
}

.elegance-sobre-inicial.brisa_minimalista .elegance-sobre-sello {
    --elegance-sobre-sello-y: 64%;
}

.elegance-sobre-inicial.ritmo_geometrico .elegance-sobre-sello {
    --elegance-sobre-sello-y: 47%;
}

.elegance-sobre-inicial.ritmo_colorblock .elegance-sobre-sello {
    --elegance-sobre-sello-y: 48%;
}

.ritmo .elegance-sobre-pieza {
    border-radius: 2px;
    box-shadow: 12px 12px 0 color-mix(in srgb, var(--elegance-accent, #f26350) 72%, transparent), 0 24px 55px rgba(20, 24, 20, .18);
}

.ritmo .elegance-sobre-instruccion,
.ritmo .elegance-sobre-pie {
    font-weight: 700;
}

@keyframes elegance-sobre-abrir {
    0% { transform: scale(1); }
    28% { transform: scale(1.06); }
    60% { transform: scale(1.12) translateY(-2%); }
    100% { transform: scale(1.48) translateY(-5%); opacity: 0; }
}

@keyframes elegance-sobre-foto-cerrar {
    0%, 18% { opacity: 1; transform: scale(1); }
    42%, 100% { opacity: 0; transform: scale(1.06); }
}

@keyframes elegance-sobre-foto-abrir {
    0%, 24% { opacity: 0; transform: scale(.94) translateY(3%); }
    48% { opacity: 1; transform: scale(1); }
    72% { opacity: 1; transform: scale(1.05) translateY(-1%); }
    100% { opacity: 0; transform: scale(1.14) translateY(-4%); }
}

@keyframes elegance-sobre-fade {
    0%, 68% { opacity: 1; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .elegance-sobre-abierto,
    .elegance-sobre-abierto .elegance-sobre-pieza {
        animation-duration: 1ms !important;
    }

    .elegance-sobre-abierto .elegance-sobre-foto,
    .elegance-sobre-abierto .elegance-sobre-sello {
        transition-duration: 1ms !important;
    }
}


/* =========================================================
   2. RESET LOCAL
   ========================================================= */

.elegance *,
.elegance *::before,
.elegance *::after {
    box-sizing: border-box;
}

.elegance {
    margin: 0;
    padding: 0;
}

.elegance h1,
.elegance h2,
.elegance h3,
.elegance h4,
.elegance p,
.elegance figure {
    margin-top: 0;
}

.elegance img {
    display: block;
    max-width: 100%;
}

.elegance button,
.elegance a {
    font: inherit;
}

.elegance a {
    color: inherit;
}

.elegance-reveal {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition:
        opacity 520ms ease,
        transform 520ms ease;
}

.elegance-reveal.elegance-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .elegance-reveal,
    .elegance-reveal.elegance-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =========================================================
   3. CONTENEDOR GENERAL
   ========================================================= */

.elegance > section {
    position: relative;
    overflow: hidden;
}

.elegance-portada-contenido,
.elegance-introduccion-contenido,
.elegance-cuenta-atras-contenido,
.elegance-ceremonia-contenido,
.elegance-celebracion-contenido,
.elegance-cronograma-contenido,
.elegance-galeria-contenido,
.elegance-informacion-adicional-contenido {
    width: min(
        calc(100% - 40px),
        var(--elegance-content-width)
    );

    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   4. DECORACIÓN DE SECCIONES
   ========================================================= */

.elegance-seccion-decoracion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin-bottom: 22px;
}

.elegance-seccion-decoracion span {
    display: block;
    width: 4px;
    height: 4px;

    border-radius: 50%;
    background: var(--elegance-accent);
}

.elegance-seccion-decoracion span:nth-child(2) {
    width: 7px;
    height: 7px;
}


/* =========================================================
   5. PORTADA
   ========================================================= */

.elegance-portada {
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background: var(--elegance-text);
    color: #ffffff;
}

.elegance-portada-con-foto {
    background: #222;
}

.elegance .elegance-portada-sin-foto {
    background-color: var(--elegance-surface);
    background-image: var(--elegance-portada-paper-mobile, url("../images/portada-papel-elegance.png"));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--elegance-text);
}

.elegance .elegance-portada-sin-foto .elegance-portada-overlay {
    background: rgba(255, 255, 255, 0.08);
}

.elegance .elegance-portada-sin-foto .elegance-portada-scroll span {
    border-color: var(--elegance-text);
}

.elegance .elegance-portada-sin-foto .elegance-portada-scroll span::after {
    background: var(--elegance-text);
}

.elegance .elegance-portada-sin-foto .elegance-portada-scroll small {
    color: var(--elegance-text);
}

@media (min-width: 900px) and (orientation: landscape) {
    .elegance .elegance-portada-sin-foto {
        background-image: var(--elegance-portada-paper-desktop, url("../images/portada-papel-elegance-escritorio.png"));
    }
}

.elegance-portada-imagen {
    position: absolute;
    inset: 0;

    background-image: var(--elegance-portada-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.elegance-portada-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(20, 17, 15, 0.18) 0%,
            rgba(20, 17, 15, 0.30) 50%,
            rgba(20, 17, 15, 0.55) 100%
        );
}

.elegance-portada-contenido {
    position: relative;
    z-index: 2;

    width: min(
        calc(100% - 48px),
        650px
    );

    padding: 60px 0;

    text-align: center;
}

.elegance-portada-frase {
    margin-bottom: 22px;

    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.30em;
    line-height: 1.5;
    text-transform: uppercase;
}

.elegance-portada-nombres {
    margin: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;

    font-family: var(--elegance-font-heading);
    font-size: clamp(3.2rem, 14vw, 5.3rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 0.9;
}

.elegance-portada-and {
    margin: 5px 0;

    font-family: var(--elegance-font-heading);
    font-size: 0.55em;
    font-style: italic;
    line-height: 1;
    opacity: 0.85;
}

.elegance-portada-fecha {
    margin: 28px 0 0;

    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    line-height: 1.5;
}

.elegance-portada-scroll {
    position: absolute;
    z-index: 3;

    bottom: 22px;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    transform: translateX(-50%);
}

.elegance-portada-scroll span {
    position: relative;
    display: block;
    width: 22px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
}

.elegance-portada-scroll span::after {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 6px;
    border-radius: 3px;
    background: #ffffff;
    content: "";
    transform: translateX(-50%);
    animation: elegance-scroll 1.5s ease-in-out infinite;
}

.elegance-portada-scroll small {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

@keyframes elegance-scroll {
    0%, 100% { opacity: 0.4; transform: translate(-50%, 0); }
    55% { opacity: 1; transform: translate(-50%, 9px); }
}

@media (prefers-reduced-motion: reduce) {
    .elegance-portada-scroll span::after {
        animation: none;
    }
}


/* =========================================================
   6. INTRODUCCIÓN
   ========================================================= */

.elegance-introduccion {
    padding: 76px 0;

    background: var(--elegance-bg);
}

.elegance-introduccion-contenido {
    text-align: center;
}

.elegance-introduccion-texto {
    max-width: 580px;
    margin: 0 auto;

    color: var(--elegance-text-soft);

    font-family: var(--elegance-font-heading);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.55;
}


/* =========================================================
   7. CUENTA ATRÁS
   ========================================================= */

.elegance-cuenta-atras {
    padding: 76px 0;

    background: var(--elegance-surface);
}

.elegance-cuenta-atras-contenido {
    text-align: center;
}

.elegance-cuenta-atras-titulo {
    margin-bottom: 32px;

    color: var(--elegance-text-soft);

    font-family: var(--elegance-font-heading);
    font-size: 1.65rem;
    font-style: italic;
    font-weight: 400;
}

.elegance-cuenta-atras-contador {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}

.elegance-cuenta-atras-bloque {
    min-width: 0;
}

.elegance-cuenta-atras-valor {
    display: block;

    color: var(--elegance-text);

    font-family: var(--elegance-font-heading);
    font-size: clamp(2rem, 9vw, 3.4rem);
    font-weight: 400;
    line-height: 1;
}

.elegance-cuenta-atras-label {
    display: block;

    margin-top: 7px;

    color: var(--elegance-text-soft);

    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.elegance-cuenta-atras-separador {
    color: var(--elegance-accent);

    font-family: var(--elegance-font-heading);
    font-size: 1.5rem;
}


/* =========================================================
   8. CEREMONIA / CELEBRACIÓN
   ========================================================= */

.elegance-ceremonia,
.elegance-celebracion {
    padding: 80px 0;
}

.elegance-ceremonia {
    background: var(--elegance-bg);
}

.elegance-celebracion {
    background: var(--elegance-surface);
}

.elegance-ceremonia-contenido,
.elegance-celebracion-contenido {
    text-align: center;
}

.elegance-ceremonia-cabecera,
.elegance-celebracion-cabecera {
    margin-bottom: 38px;
}

.elegance-ceremonia-etiqueta,
.elegance-celebracion-etiqueta,
.elegance-cronograma-etiqueta,
.elegance-galeria-etiqueta,
.elegance-informacion-adicional-etiqueta {
    margin-bottom: 7px;

    color: var(--elegance-accent);

    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.elegance-ceremonia-titulo,
.elegance-celebracion-titulo,
.elegance-cronograma-titulo,
.elegance-galeria-titulo,
.elegance-informacion-adicional-titulo {
    margin-bottom: 0;

    font-family: var(--elegance-font-heading);
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1;
}

.elegance-ceremonia-dato,
.elegance-celebracion-dato {
    display: flex;
    align-items: center;

    max-width: 430px;
    margin: 0 auto 22px;

    text-align: left;
}

.elegance-ceremonia-icono,
.elegance-celebracion-icono {
    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    margin-right: 16px;

    border: 1px solid var(--elegance-accent-soft);
    border-radius: 50%;

    color: var(--elegance-accent);
    font-size: 0.9rem;
}

.elegance-ceremonia-dato-contenido,
.elegance-celebracion-dato-contenido {
    min-width: 0;
}

.elegance-ceremonia-dato-etiqueta,
.elegance-celebracion-dato-etiqueta {
    display: block;

    margin-bottom: 2px;

    color: var(--elegance-text-soft);

    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.elegance-ceremonia-hora,
.elegance-ceremonia-lugar,
.elegance-ceremonia-direccion,
.elegance-celebracion-hora,
.elegance-celebracion-lugar,
.elegance-celebracion-direccion {
    display: block;

    color: var(--elegance-text);

    font-family: var(--elegance-font-heading);
    font-size: 1.3rem;
    line-height: 1.35;
}

.elegance-ceremonia-acciones,
.elegance-celebracion-acciones {
    margin-top: 32px;
}

.elegance-ceremonia-mapa,
.elegance-celebracion-mapa {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 24px;

    border: 1px solid var(--elegance-accent);
    border-radius: 999px;

    color: var(--elegance-accent);

    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}


/* =========================================================
   9. CRONOGRAMA
   ========================================================= */

.elegance-cronograma {
    padding: 82px 0;

    background: var(--elegance-bg);
}

.elegance-cronograma-cabecera {
    margin-bottom: 48px;

    text-align: center;
}

.elegance-cronograma-lista {
    position: relative;

    max-width: 560px;
    margin: 0 auto;
}

.elegance-cronograma-item {
    position: relative;

    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 18px;

    padding-bottom: 36px;
}

.elegance-cronograma-item:last-child {
    padding-bottom: 0;
}

.elegance-cronograma-linea {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;
}

.elegance-cronograma-punto {
    display: block;

    width: 9px;
    height: 9px;

    margin-top: 7px;

    border: 2px solid var(--elegance-bg);
    border-radius: 50%;

    background: var(--elegance-accent);
    box-shadow: 0 0 0 1px var(--elegance-accent);
}

.elegance-cronograma-evento {
    position: relative;

    padding-left: 52px;
}

.elegance-cronograma-hora {
    display: block;

    margin-bottom: 3px;

    color: var(--elegance-accent);

    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.elegance-cronograma-icono {
    position: absolute;

    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid var(--elegance-accent-soft);
    border-radius: 50%;

    background: var(--elegance-bg);

    color: var(--elegance-accent);
}

.elegance-cronograma-evento-titulo {
    margin-bottom: 5px;

    font-family: var(--elegance-font-heading);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.2;
}

.elegance-cronograma-descripcion {
    margin-bottom: 0;

    color: var(--elegance-text-soft);

    font-size: 0.84rem;
    line-height: 1.55;
}


/* =========================================================
   10. GALERÍA
   ========================================================= */

.elegance-galeria {
    padding: 82px 0;

    background: var(--elegance-surface);
}

.elegance-galeria-cabecera {
    margin-bottom: 36px;

    text-align: center;
}

.elegance-galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.elegance-galeria-item {
    margin: 0;
    aspect-ratio: 1 / 1;

    overflow: hidden;
}

.elegance-galeria-imagen-boton {
    display: block;

    width: 100%;
    height: 100%;

    padding: 0;
    border: 0;

    background: transparent;

    cursor: pointer;
}

.elegance-galeria-imagen {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.elegance-lightbox {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: #ffffff;
    background: transparent;
}

.elegance-lightbox::backdrop {
    background: rgba(27, 24, 23, 0.94);
    backdrop-filter: blur(4px);
}

.elegance-lightbox-contenido {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: clamp(8px, 2vw, 24px);
    align-items: center;
    box-sizing: border-box;
    width: min(100%, 1440px);
    height: 100%;
    margin: 0 auto;
    padding: 76px clamp(16px, 4vw, 56px) 48px;
}

.elegance-lightbox-figura {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    max-height: 100%;
    margin: 0;
}

.elegance-lightbox-imagen {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    box-shadow: 0 18px 64px rgba(0, 0, 0, 0.32);
}

.elegance-lightbox-contador {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-align: center;
}

.elegance-lightbox-cerrar,
.elegance-lightbox-navegacion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.elegance-lightbox-cerrar {
    position: absolute;
    top: 18px;
    right: clamp(16px, 4vw, 56px);
    width: 48px;
    height: 48px;
    font-size: 2rem;
    line-height: 1;
}

.elegance-lightbox-navegacion {
    width: 48px;
    height: 48px;
    font-size: 2rem;
    line-height: 1;
}

.elegance-lightbox-cerrar:hover,
.elegance-lightbox-navegacion:not(:disabled):hover {
    border-color: #ffffff;
    color: #1b1817;
    background: #ffffff;
}

.elegance-lightbox-navegacion:disabled {
    opacity: 0.35;
    cursor: default;
}

.elegance-lightbox-cerrar:focus-visible,
.elegance-lightbox-navegacion:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .elegance-lightbox-contenido {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 4px;
        width: 100%;
        padding: 72px 12px 32px;
    }

    .elegance-lightbox-cerrar {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }

    .elegance-lightbox-navegacion {
        width: 38px;
        height: 38px;
        font-size: 1.7rem;
    }

    .elegance-lightbox-imagen {
        max-height: calc(100vh - 150px);
    }
}


/* =========================================================
   11. INFORMACIÓN ADICIONAL
   ========================================================= */

.elegance-informacion-adicional {
    padding: 82px 0;

    background: var(--elegance-bg);
}

.elegance-informacion-adicional-cabecera {
    margin-bottom: 44px;

    text-align: center;
}

.elegance-informacion-adicional-seccion {
    padding: 26px 0;

    border-top: 1px solid var(--elegance-border);
}

.elegance-informacion-adicional-seccion:last-child {
    border-bottom: 1px solid var(--elegance-border);
}

.elegance-informacion-adicional-seccion-cabecera {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;

    align-items: start;
}

.elegance-informacion-adicional-icono {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid var(--elegance-accent-soft);
    border-radius: 50%;
    color: var(--elegance-accent);
}

.elegance-informacion-adicional-icono svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.elegance-informacion-adicional-seccion-titulo {
    margin-bottom: 7px;

    font-family: var(--elegance-font-heading);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.2;
}

.elegance-informacion-adicional-seccion-descripcion {
    margin-bottom: 0;

    color: var(--elegance-text-soft);

    font-size: 0.84rem;
    line-height: 1.6;
}

.elegance-informacion-adicional-items {
    margin-top: 22px;
    padding-left: 58px;
}

.elegance-informacion-adicional-item {
    padding: 15px 0;

    border-top: 1px solid var(--elegance-border);
}

.elegance-informacion-adicional-item:first-child {
    border-top: 0;
}

.elegance-informacion-adicional-item-titulo {
    margin-bottom: 4px;

    font-family: var(--elegance-font-heading);
    font-size: 1.15rem;
    font-weight: 400;
}

.elegance-informacion-adicional-item-descripcion {
    margin-bottom: 8px;

    color: var(--elegance-text-soft);

    font-size: 0.82rem;
    line-height: 1.55;
}

.elegance-informacion-adicional-item-enlace {
    display: inline-block;

    color: var(--elegance-accent);

    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.elegance-regalos {
    padding: 82px 0;
    background: var(--elegance-surface);
}

.elegance-regalos-contenido {
    width: min(calc(100% - 40px), var(--elegance-content-width));
    margin: 0 auto;
}

.elegance-regalos-cabecera {
    margin-bottom: 22px;
    text-align: center;
}

.elegance-regalos-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 15px;
    color: var(--elegance-accent);
}

.elegance-regalos-icono svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.elegance-regalos-etiqueta {
    margin-bottom: 6px;
    color: var(--elegance-accent);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.elegance-regalos-titulo {
    margin-bottom: 0;
    font-family: var(--elegance-font-heading);
    font-size: clamp(2.5rem, 7vw, 3.6rem);
    font-weight: 400;
    line-height: 1;
}

.elegance-regalos-descripcion {
    max-width: 560px;
    margin: 0 auto 30px;
    color: var(--elegance-text-soft);
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: center;
}

.elegance-regalos-opciones {
    display: grid;
    gap: 10px;
    max-width: 620px;
    margin: 0 auto;
}

.elegance-regalos-opcion {
    border: 1px solid var(--elegance-border);
    background: var(--elegance-bg);
}

.elegance-regalos-opcion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 62px;
    padding: 16px 20px;
    color: var(--elegance-text);
    cursor: pointer;
    font-family: var(--elegance-font-heading);
    font-size: 1.2rem;
    list-style: none;
}

.elegance-regalos-opcion summary::-webkit-details-marker {
    display: none;
}

.elegance-regalos-mas {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    color: var(--elegance-accent);
}

.elegance-regalos-mas::before,
.elegance-regalos-mas::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%);
}

.elegance-regalos-mas::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 180ms ease;
}

.elegance-regalos-opcion[open] .elegance-regalos-mas::after {
    transform: translate(-50%, -50%);
}

.elegance-regalos-detalle {
    padding: 16px 20px 20px;
    border-top: 1px solid var(--elegance-border);
    color: var(--elegance-text-soft);
    font-size: 0.84rem;
    line-height: 1.65;
}

.elegance-regalos-detalle p {
    margin: 0 0 8px;
}

.elegance-regalos-detalle p:last-child {
    margin-bottom: 0;
}

.elegance-regalos-detalle p span,
.elegance-regalos-detalle p strong {
    display: block;
}

.elegance-regalos-detalle p span {
    margin-bottom: 2px;
    color: var(--elegance-text-soft);
    font-size: 0.67rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.elegance-regalos-detalle p strong,
.elegance-regalos-telefono {
    color: var(--elegance-text);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.elegance-regalos-telefono {
    color: var(--elegance-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.elegance-regalos-enlace {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 16px 20px;
    background: var(--elegance-accent);
    color: var(--elegance-on-accent, #fff);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 180ms ease, transform 180ms ease;
}

.elegance-regalos-enlace:hover {
    background: var(--elegance-text);
    color: #fff;
    transform: translateY(-1px);
}

.elegance-regalos-flecha {
    font-size: 1.15rem;
    line-height: 1;
}

.elegance .elegance-regalos-cierre {
    max-width: 560px;
    margin: 48px auto 0;
    color: var(--elegance-text);
    font-family: var(--elegance-font-heading);
    font-size: clamp(1.45rem, 4vw, 2rem);
    line-height: 1.3;
    text-align: center;
}


/* =========================================================
   12. INTERACCIONES
   ========================================================= */

.elegance-ceremonia-mapa:hover,
.elegance-celebracion-mapa:hover {
    background: var(--elegance-accent);
    color: #ffffff;
}

.elegance-galeria-imagen-boton:hover .elegance-galeria-imagen {
    transform: scale(1.04);
}

.elegance-informacion-adicional-item-enlace:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOTER DE MARCA
   ========================================================= */

.elegance-footer {
    padding: 24px 20px;
    border-top: 1px solid #e8e1dc;
    background: #faf8f5;
    color: #77716c;
}

.elegance-footer-contenido {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 680px);
    margin: 0 auto;
}

.elegance-footer-copyright {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    color: #918a84;
    font-size: 0.62rem;
    letter-spacing: 0.025em;
    line-height: 1.5;
    white-space: nowrap;
}

.elegance-footer-marca {
    color: #2f2d2b;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.015em;
    text-decoration: none;
}

.elegance-footer-instagram {
    display: inline-flex;
    align-items: center;
    color: #77716c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.elegance-footer-instagram svg {
    display: block;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.elegance-footer-instagram-punto {
    fill: currentColor;
    stroke: none;
}

.elegance-footer-marca:hover,
.elegance-footer-instagram:hover {
    color: #9b8172;
}

.elegance-footer-marca:focus-visible,
.elegance-footer-instagram:focus-visible {
    outline: 2px solid #9b8172;
    outline-offset: 4px;
}



/* =========================================================
   13. PALETA — BLUSH
   ========================================================= */

.elegance-palette-blush {
    --elegance-bg: #fbf6f5;
    --elegance-surface: #ffffff;
    --elegance-text: #382f30;
    --elegance-text-soft: #817274;
    --elegance-accent: #a8787e;
    --elegance-accent-soft: #e4d2d5;
    --elegance-border: #eadfe0;
}


/* =========================================================
   14. PALETA — SAGE
   ========================================================= */

.elegance-palette-sage {
    --elegance-bg: #f5f7f2;
    --elegance-surface: #ffffff;
    --elegance-text: #30372f;
    --elegance-text-soft: #727a70;
    --elegance-accent: #70806d;
    --elegance-accent-soft: #d5ddd2;
    --elegance-border: #e0e5dd;
}


/* =========================================================
   15. PALETA — SAND
   ========================================================= */

.elegance-palette-sand {
    --elegance-bg: #f8f4ed;
    --elegance-surface: #fffdfa;
    --elegance-text: #3c362e;
    --elegance-text-soft: #81786b;
    --elegance-accent: #a18a68;
    --elegance-accent-soft: #e4d9c7;
    --elegance-border: #e9e1d4;
}


/* =========================================================
   16. TIPOGRAFÍA — ROMANTIC
   ========================================================= */

.elegance-font-romantic {
    --elegance-font-heading:
        "Allura",
        "Cormorant Garamond",
        cursive;

    --elegance-font-body:
        "Lora",
        Georgia,
        serif;
}


/* =========================================================
   17. TIPOGRAFÍA — EDITORIAL
   ========================================================= */

.elegance-font-editorial {
    --elegance-font-heading:
        "Playfair Display",
        Georgia,
        serif;

    --elegance-font-body:
        "Source Sans 3",
        Arial,
        sans-serif;
}


/* =========================================================
   18. TABLET / ESCRITORIO
   ========================================================= */

@media (min-width: 700px) {

    .elegance-portada-contenido {
        width: min(
            calc(100% - 80px),
            760px
        );
    }

    .elegance-portada-nombres {
        font-size: clamp(4rem, 8vw, 6.5rem);
    }

    .elegance-introduccion,
    .elegance-cuenta-atras,
    .elegance-ceremonia,
    .elegance-celebracion,
    .elegance-cronograma,
    .elegance-galeria,
    .elegance-informacion-adicional {
        padding-top: 110px;
        padding-bottom: 110px;
    }

    .elegance-galeria-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

}

/*
 * =========================================================
 * FOTOGRAFÍAS DE CEREMONIA Y CELEBRACIÓN
 * =========================================================
 */

.elegance-ceremonia-imagen,
.elegance-celebracion-imagen {
    width: 100%;
    margin: 28px 0 34px;
    overflow: hidden;
    border-radius: var(--elegance-radius);
}

.elegance-ceremonia-imagen-img,
.elegance-celebracion-imagen-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
}

.elegance-ceremonia-ilustracion {
    width: min(220px, 56vw);
    height: 154px;
    margin: 28px auto 34px;
    color: var(--elegance-accent);
}

.elegance-ceremonia-ilustracion {
    width: min(240px, 64vw);
    height: auto;
    aspect-ratio: 1;
    background-color: var(--elegance-accent);
    -webkit-mask-image: url("../images/anillos-ceremonia.svg");
    mask-image: url("../images/anillos-ceremonia.svg");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.elegance-celebracion-ilustracion {
    width: min(230px, 60vw);
    height: auto;
    aspect-ratio: 1;
    margin: 28px auto 34px;
    background-color: var(--elegance-accent);
    -webkit-mask-image: url("../images/copas-celebracion.png");
    mask-image: url("../images/copas-celebracion.png");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/*
 * En móvil damos a las fotografías una proporción
 * elegante y contenida.
 */
@media (max-width: 699px) {

    .elegance-ceremonia-imagen,
    .elegance-celebracion-imagen {
        margin: 24px 0 30px;
    }

    .elegance-ceremonia-imagen-img,
    .elegance-celebracion-imagen-img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

}

/*
 * En pantallas algo mayores permitimos que la fotografía
 * respire un poco más.
 */
@media (min-width: 700px) {

    .elegance-ceremonia-imagen,
    .elegance-celebracion-imagen {
        margin: 32px 0 38px;
    }

    .elegance-ceremonia-imagen-img,
    .elegance-celebracion-imagen-img {
        max-height: 420px;
    }

}

/* =========================================================
   CRONOGRAMA
   ========================================================= */

.elegance-cronograma {
    position: relative;
}

.elegance-cronograma-cabecera {
    text-align: center;
}

.elegance-cronograma-introduccion {
    max-width: 460px;
    margin: 12px auto 42px;
    color: var(--elegance-text-soft);
    font-size: 0.9rem;
    line-height: 1.7;
}


/* CONTENEDOR */

.elegance-cronograma-lista {
    position: relative;
    padding: 12px 0 30px;
}


/* LÍNEA */

.elegance-cronograma-linea {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 26px;
    width: 2px;
    background: var(--elegance-border);
    pointer-events: none;
    z-index: 0;
}

.elegance-cronograma-linea-progreso {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--elegance-accent);
    transition: height 0.12s linear;
}


/* EVENTO */

.elegance-cronograma-item {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 20px;
    min-height: 150px;
    padding-bottom: 52px;
}

.elegance-cronograma-item:last-child {
    min-height: 0;
    padding-bottom: 20px;
}


/* MARCA / CÍRCULO */

.elegance-cronograma-marca {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.elegance-cronograma-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-top: -1px;
    border: 1px solid var(--elegance-border);
    border-radius: 50%;
    background: var(--elegance-bg);
    color: var(--elegance-accent);
    opacity: 1;
    transition:
        background-color 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.elegance-cronograma-item:not(.activo)
.elegance-cronograma-icono {
    color: var(--elegance-accent-soft);
}

.elegance-cronograma-icono svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* EVENTO ACTIVO */

.elegance-cronograma-item.activo
.elegance-cronograma-icono {
    background: var(--elegance-accent);
    border-color: var(--elegance-accent);
    color: #ffffff;
    opacity: 1;
    transform: scale(1.06);
    box-shadow:
        0 0 0 6px
        color-mix(
            in srgb,
            var(--elegance-accent) 12%,
            transparent
        );
}


/* CONTENIDO */

.elegance-cronograma-evento {
    min-width: 0;
    padding-top: 4px;
}

.elegance-cronograma-hora {
    display: block;
    margin-bottom: 5px;
    color: var(--elegance-accent);
    font-family: var(--elegance-font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.elegance-cronograma-item-titulo {
    margin: 0;
    color: var(--elegance-text);
    font-family: var(--elegance-font-heading);
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.2;
    transition: color 0.35s ease;
}

.elegance-cronograma-item.activo
.elegance-cronograma-item-titulo {
    color: var(--elegance-accent);
}

.elegance-cronograma-item-descripcion {
    max-width: 430px;
    margin: 8px 0 0;
    color: var(--elegance-text-soft);
    font-size: 0.86rem;
    line-height: 1.65;
}


/* MÓVIL */

@media (max-width: 699px) {

    .elegance-cronograma-introduccion {
        margin-bottom: 38px;
    }

    .elegance-cronograma-lista {
        padding-top: 8px;
    }

    .elegance-cronograma-linea {
        left: 21px;
        width: 2px;
    }

    .elegance-cronograma-item {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 20px;
        min-height: 145px;
        padding-bottom: 48px;
    }

    .elegance-cronograma-item:last-child {
        padding-bottom: 15px;
    }

    .elegance-cronograma-icono {
        width: 42px;
        height: 42px;
    }

    .elegance-cronograma-icono svg {
        width: 18px;
        height: 18px;
    }

    .elegance-cronograma-evento {
        padding-top: 2px;
    }

    .elegance-cronograma-item-titulo {
        font-size: 1.45rem;
    }

    .elegance-cronograma-item-descripcion {
        font-size: 0.83rem;
    }
}


/* TABLET / ESCRITORIO */

@media (min-width: 700px) {

    .elegance-cronograma-lista {
        padding-top: 15px;
    }

    .elegance-cronograma-linea {
        left: 25px;
    }

    .elegance-cronograma-item {
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 24px;
        min-height: 165px;
        padding-bottom: 55px;
    }

    .elegance-cronograma-icono {
        width: 52px;
        height: 52px;
    }

    .elegance-cronograma-item-titulo {
        font-size: 1.7rem;
    }
}
