/* papel/css/boda/boda_18.css
   Petalos de Rosa — jardin romantico con petalos blush, salvia suave e ivory, sin marco lineal abstracto. */

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

.boda18-card {
    --boda18-bg: #edf3ea;
    --boda18-ink: #1a2a1f;
    --boda18-accent: #8f4f5a;
    --boda18-sage: #62866b;
    --boda18-metal: #a88d52;
    --boda18-soft: rgba(255, 251, 243, 0.7);
    --boda18-mist: #e8f0e4;
    --boda18-blush: #f3dde2;
    isolation: isolate;
    overflow: hidden;
    color: var(--boda18-ink);
    background:
        radial-gradient(ellipse 85% 70% at 68% 18%, rgba(200, 138, 147, 0.16), transparent 50%),
        radial-gradient(ellipse 80% 65% at 22% 82%, rgba(98, 134, 107, 0.14), transparent 48%),
        radial-gradient(ellipse 120% 90% at 50% 50%, transparent 40%, rgba(34, 51, 38, 0.08) 100%),
        linear-gradient(158deg, var(--boda18-blush) 0%, var(--boda18-mist) 38%, var(--boda18-bg) 100%);
}

.boda18-fondo {
    filter: saturate(1.02) contrast(1.04);
}

.boda18-velo {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 44%, rgba(34, 51, 38, 0.1) 100%),
        radial-gradient(ellipse at 74% 22%, rgba(200, 138, 147, 0.12), transparent 32%),
        radial-gradient(ellipse at 18% 78%, rgba(98, 134, 107, 0.1), transparent 30%),
        linear-gradient(0deg, rgba(237, 246, 232, 0.35) 0%, rgba(243, 221, 226, 0.22) 48%, rgba(232, 240, 228, 0.06) 100%);
    pointer-events: none;
}

.boda18-decor {
    filter: drop-shadow(0 16px 22px rgba(34, 51, 38, 0.18));
    opacity: 0;
    animation: boda18DecorIn 920ms ease 180ms both;
}

.boda18-decor--uno {
    left: 20px;
    top: -8px;
    width: 108px;
    transform: rotate(-7deg);
    transform-origin: 0 0;
    opacity: 0.86;
}

.boda18-decor--dos {
    left: auto;
    right: 32px;
    bottom: 38px;
    width: 96px;
    transform: rotate(-5deg);
    transform-origin: 100% 100%;
    opacity: 0.84;
}

.boda18-contenido {
    position: absolute;
    left: 50%;
    top: 176px;
    width: 300px;
    min-height: 0;
    z-index: 7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 24px 22px 20px;
    text-align: center;
    color: var(--boda18-ink);
    background: transparent;
    transform: translateX(-50%);
}

.boda18-titulo,
.boda18-nombres,
.boda18-fecha,
.boda18-hora,
.boda18-lugar,
.boda18-mensaje,
.boda18-divisor {
    position: relative;
    margin: 0;
    text-shadow:
        0 1px 0 rgba(255, 252, 244, 0.92),
        0 2px 12px rgba(255, 250, 247, 0.88),
        0 0 1px rgba(26, 42, 31, 0.22);
    animation: boda18TextoIn 720ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

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

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

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

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

.boda18-divisor i {
    width: 7px;
    height: 7px;
    display: block;
    border: 1px solid currentColor;
    transform: rotate(45deg);
    background: rgba(191, 167, 111, 0.28);
}

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

.boda18-hora,
.boda18-lugar {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.08em;
    color: var(--boda18-ink);
}

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

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

.boda18-mensaje {
    max-width: 262px;
    margin-top: 8px;
    font-family: 'Cormorant Upright', serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.42;
    color: var(--boda18-ink);
    animation-delay: 740ms;
}

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

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

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

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

/* Segunda pasada premium: marco visible y textura de papel realista. */
.boda18-marco {
    position: absolute;
    inset: 26px;
    z-index: 3;
    pointer-events: none;
    border: 1px solid rgba(191, 167, 111, 0.5);
    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(191, 167, 111, 0.08), transparent);
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.12),
        inset 0 0 0 7px rgba(191, 167, 111, 0.2),
        inset 0 0 34px rgba(34, 51, 38, 0.08),
        0 18px 42px rgba(0, 0, 0, 0.10);
}

.boda18-contenido::before {
    content: '';
    position: absolute;
    inset: -16px -14px;
    z-index: -1;
    border: 1px solid rgba(191, 167, 111, 0.28);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.97), rgba(250, 247, 240, 0.94));
    box-shadow: 0 12px 30px rgba(34, 51, 38, 0.1);
    opacity: 0.98;
}

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

.boda18-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;
}

.boda18-decor--dos {
    right: auto;
    left: 16px;
    top: auto;
    bottom: 14px;
    width: 78px;
    max-width: 22%;
    transform: rotate(-7deg);
    transform-origin: 0 100%;
    opacity: 0.76;
}

/* Paridad miniatura: colores fijos para que html2canvas conserve el marco. */
.boda18-marco {
    border: 1px solid rgba(191, 167, 111, 0.5);
    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(191, 167, 111, 0.08), transparent);
    box-shadow:
        inset 0 0 0 5px rgba(255, 251, 243, 0.14),
        inset 0 0 0 6px rgba(191, 167, 111, 0.2),
        0 18px 42px rgba(34, 51, 38, 0.08);
}

.boda18-card .boda18-contenido::before {
    border-color: rgba(191, 167, 111, 0.28);
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.97), rgba(250, 247, 240, 0.94));
    opacity: 0.98;
}

.boda18-card {
    background: #edf3ea;
}

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