/* papel/css/boda/boda_20.css
   Lujo Contemporaneo — marfil calido, tipografia taupe y acentos champagne, sin decor abstracto. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

.boda20-card {
    --boda20-bg: #f4efe4;
    --boda20-ink: #4a3c32;
    --boda20-accent: #9a8468;
    --boda20-metal: #d4bc96;
    --boda20-cream: #faf7f0;
    --boda20-soft: rgba(250, 247, 240, 0.82);
    isolation: isolate;
    overflow: hidden;
    color: var(--boda20-ink);
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(74, 60, 50, 0.012) 3px,
            rgba(74, 60, 50, 0.012) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(74, 60, 50, 0.01) 3px,
            rgba(74, 60, 50, 0.01) 4px
        ),
        radial-gradient(ellipse 90% 70% at 76% 18%, rgba(212, 188, 150, 0.22), transparent 52%),
        radial-gradient(ellipse 80% 65% at 22% 82%, rgba(154, 132, 104, 0.12), transparent 48%),
        radial-gradient(ellipse 120% 90% at 50% 50%, transparent 38%, rgba(74, 60, 50, 0.1) 100%),
        linear-gradient(158deg, var(--boda20-cream) 0%, var(--boda20-bg) 48%, #ebe4d6 100%);
}

.boda20-fondo {
    filter: saturate(0.96) contrast(1.05) brightness(1.02);
}

.boda20-velo {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 42%, rgba(74, 60, 50, 0.14) 100%),
        radial-gradient(ellipse 70% 55% at 68% 22%, rgba(255, 252, 246, 0.35), transparent 58%),
        linear-gradient(180deg, rgba(250, 247, 240, 0.35) 0%, rgba(250, 247, 240, 0.18) 42%, rgba(244, 239, 228, 0.08) 100%);
    pointer-events: none;
}

.boda20-decor {
    filter: drop-shadow(0 14px 22px rgba(74, 60, 50, 0.18));
    opacity: 0;
    animation: boda20DecorIn 920ms ease 180ms both;
}

.boda20-decor--uno {
    right: 32px;
    top: 28px;
    width: 106px;
    transform: rotate(6deg);
    transform-origin: 100% 0;
    opacity: 0.86;
}

.boda20-decor--dos {
    left: 30px;
    right: auto;
    bottom: 38px;
    width: 98px;
    transform: rotate(-8deg);
    transform-origin: 0 100%;
    opacity: 0.84;
}

.boda20-contenido {
    position: absolute;
    left: 38px;
    top: 88px;
    width: 286px;
    min-height: 412px;
    z-index: 7;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 28px 20px;
    text-align: left;
    color: var(--boda20-ink);
    background: transparent;
}

.boda20-titulo,
.boda20-nombres,
.boda20-fecha,
.boda20-hora,
.boda20-lugar,
.boda20-mensaje,
.boda20-divisor {
    position: relative;
    margin: 0;
    opacity: 0;
    text-shadow: 0 2px 14px rgba(250, 247, 240, 0.86), 0 0 1px rgba(255, 255, 255, 0.62);
    animation: boda20TextoIn 720ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

.boda20-titulo {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--boda20-accent);
    animation-delay: 240ms;
}

.boda20-nombres {
    max-width: 100%;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(38px, 8.7vw, 52px);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.025em;
    color: var(--boda20-ink);
    animation-delay: 340ms;
}

.boda20-divisor {
    width: 78%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 4px 0 2px;
    color: var(--boda20-metal);
    animation-delay: 430ms;
}

.boda20-divisor span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
}

.boda20-divisor i {
    width: 7px;
    height: 7px;
    display: block;
    border: 1px solid currentColor;
    transform: rotate(45deg);
    background: rgba(212, 188, 150, 0.28);
}

.boda20-fecha {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: var(--boda20-ink);
    animation-delay: 520ms;
}

.boda20-hora,
.boda20-lugar {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.08em;
    color: #5d4d40;
}

.boda20-hora {
    animation-delay: 600ms;
}

.boda20-lugar {
    max-width: 270px;
    animation-delay: 660ms;
}

.boda20-mensaje {
    max-width: 280px;
    margin-top: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.42;
    color: #695840;
    animation-delay: 740ms;
}

@keyframes boda20TextoIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

@keyframes boda20DecorIn {
    from {
        opacity: 0;
        translate: 0 16px;
    }

    to {
        opacity: 0.95;
        translate: 0 0;
    }
}

/* Segunda pasada premium: marco visible y textura de papel realista. */
.boda20-marco {
    position: absolute;
    inset: 26px;
    z-index: 3;
    pointer-events: none;
    border: 1px solid rgba(154, 132, 104, 0.34);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 30%, rgba(255, 255, 255, 0.10) 68%, transparent),
        linear-gradient(90deg, transparent, rgba(212, 188, 150, 0.08), transparent);
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.12),
        inset 0 0 0 7px rgba(212, 188, 150, 0.18),
        inset 0 0 34px rgba(74, 60, 50, 0.08),
        0 18px 42px rgba(0, 0, 0, 0.10);
}

.boda20-contenido::before {
    content: '';
    position: absolute;
    inset: -22px -18px;
    z-index: -1;
    width: auto;
    height: auto;
    left: auto;
    bottom: auto;
    transform: none;
    border: 1px solid rgba(154, 132, 104, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(250, 247, 240, 0.46), rgba(244, 239, 228, 0.18)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.20), transparent 46%, rgba(255, 255, 255, 0.10));
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
    opacity: 0.88;
    filter: none;
}

.boda20-decor {
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.18));
}

.boda20-decor--uno {
    left: auto;
    right: 32px;
    top: 30px;
    bottom: auto;
    width: 104px;
    max-width: 24%;
    transform: rotate(8deg);
    transform-origin: 100% 0;
    opacity: 0.86;
}

.boda20-decor--dos {
    right: auto;
    left: 32px;
    top: auto;
    bottom: 34px;
    width: 94px;
    max-width: 22%;
    transform: rotate(-7deg);
    transform-origin: 0 100%;
    opacity: 0.84;
}

/* Paridad miniatura: marco champagne con colores compatibles con html2canvas. */
.boda20-marco {
    border: 1px solid rgba(154, 132, 104, 0.34);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 30%, rgba(255, 255, 255, 0.08) 68%, transparent),
        linear-gradient(90deg, transparent, rgba(212, 188, 150, 0.08), transparent);
    box-shadow:
        inset 0 0 0 5px rgba(250, 247, 240, 0.16),
        inset 0 0 0 6px rgba(212, 188, 150, 0.18),
        0 18px 42px rgba(74, 60, 50, 0.08);
}

.boda20-contenido::before {
    border-color: rgba(154, 132, 104, 0.14);
    background: rgba(250, 247, 240, 0.2);
}

.boda20-card {
    background: #f4efe4;
}

.boda20-velo,
.boda20-marco {
    background: transparent;
}
