/* papel/css/bautizo/bautizo_5.css
   Nube Suave — nubes celestiales sin recuadro - composicion premium sin recuadro centrado. */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Poppins:wght@400;600;700&display=swap');

.baut5-card {
    --baut5-bg: #eef6fb;
    --baut5-ink: #3a5568;
    --baut5-accent: #7eb8da;
    --baut5-metal: #ffffff;
    --baut5-soft: #f0f8ff;
    isolation: isolate;
    overflow: hidden;
    color: var(--baut5-ink);
    background:
        radial-gradient(circle at 16% 12%, color-mix(in srgb, var(--baut5-accent) 18%, transparent), transparent 30%),
        radial-gradient(circle at 88% 86%, color-mix(in srgb, var(--baut5-metal) 22%, transparent), transparent 34%),
        linear-gradient(145deg, var(--baut5-bg), color-mix(in srgb, var(--baut5-bg) 68%, white));
}

.baut5-fondo {
    transform: scale(1.035);
    filter: saturate(1.04) contrast(1.04);
}

.baut5-velo {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.baut5-contenido {
    position: absolute;
    right: 26px;
    top: 118px;
    width: 280px;
    min-height: 420px;
    z-index: 7;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    padding: 26px 22px;
    text-align: right;
    background: transparent;
}

.baut5-fondo {
    object-position: 18% 40%;
}

.baut5-velo {
    background:
        linear-gradient(125deg, rgba(255, 251, 239, 0.08) 0%, rgba(255, 251, 239, 0.78) 52%, rgba(255, 251, 239, 0.94) 100%),
        radial-gradient(circle at 14% 78%, color-mix(in srgb, var(--baut5-accent) 14%, transparent), transparent 36%);
}



.baut5-decor--uno { left: 8px; top: 42px; width: 192px; transform: rotate(-14deg); }
.baut5-decor--dos { left: 24px; bottom: 36px; width: 132px; transform: rotate(6deg); opacity: 0.92; }













.baut5-decor {
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.16));
    opacity: 0;
    animation: baut5DecorIn 920ms ease 180ms both, baut5Snow 6s ease-in-out 1.1s infinite;
}

.baut5-titulo,
.baut5-nombres,
.baut5-fecha,
.baut5-hora,
.baut5-lugar,
.baut5-mensaje,
.baut5-divisor {
    position: relative;
    margin: 0;
    opacity: 0;
    text-shadow: 0 2px 16px rgba(255, 255, 255, 0.86), 0 0 1px rgba(255, 255, 255, 0.7);
    animation: baut5TextoIn 720ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

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

.baut5-nombres {
    max-width: 100%;
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(36px, 8.4vw, 50px);
    font-weight: 600;
    line-height: 0.94;
    letter-spacing: -0.025em;
    color: var(--baut5-ink);
    animation-delay: 340ms;
}

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

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

.baut5-divisor i {
    width: 9px;
    height: 9px;
    display: block;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: color-mix(in srgb, currentColor 35%, transparent);
}

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

.baut5-hora,
.baut5-lugar {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.08em;
    color: color-mix(in srgb, var(--baut5-ink) 84%, var(--baut5-accent));
}

.baut5-hora { animation-delay: 600ms; }
.baut5-lugar { max-width: 270px; animation-delay: 660ms; }

.baut5-mensaje {
    max-width: 280px;
    margin-top: 8px;
    font-family: 'Lora', Georgia, serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.42;
    color: color-mix(in srgb, var(--baut5-ink) 82%, var(--baut5-accent));
    animation-delay: 740ms;
}

@keyframes baut5TextoIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes baut5DecorIn {
    from { opacity: 0; translate: 0 16px; }
    to { opacity: 0.95; translate: 0 0; }
}

@keyframes baut5Float {
    0%, 100% { transform: translateY(0) rotate(var(--baut5-rot, -10deg)); }
    50% { transform: translateY(-10px) rotate(calc(var(--baut5-rot, -10deg) + 2deg)); }
}

@keyframes baut5Drift {
    0%, 100% { transform: translateX(0) rotate(var(--baut5-rot, -8deg)); }
    50% { transform: translateX(8px) rotate(calc(var(--baut5-rot, -8deg) + 1deg)); }
}

@keyframes baut5Sway {
    0%, 100% { transform: rotate(calc(var(--baut5-rot, -10deg) - 2deg)); }
    50% { transform: rotate(calc(var(--baut5-rot, -10deg) + 3deg)); }
}

@keyframes baut5Twinkle {
    0%, 100% { opacity: 0.82; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.16)); }
    50% { opacity: 1; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.2)); }
}

@keyframes baut5Snow {
    0%, 100% { transform: translateY(0); opacity: 0.88; }
    50% { transform: translateY(12px); opacity: 1; }
}

.baut5-decor--uno { --baut5-rot: -10deg; }
.baut5-decor--dos { --baut5-rot: -8deg; }

/* Segunda pasada premium: marco visible y textura de papel realista. */
.baut5-marco {
    position: absolute;
    inset: 26px;
    z-index: 3;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--baut5-metal, #d4af37) 78%, transparent);
    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, color-mix(in srgb, var(--baut5-metal, #d4af37) 10%, transparent), transparent);
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.12),
        inset 0 0 0 7px color-mix(in srgb, var(--baut5-metal, #d4af37) 30%, transparent),
        inset 0 0 34px color-mix(in srgb, var(--baut5-ink, #2d261c) 12%, transparent),
        0 18px 42px rgba(0, 0, 0, 0.10);
}

.baut5-contenido::before {
    content: '';
    position: absolute;
    inset: -22px -18px;
    z-index: -1;
    width: auto;
    height: auto;
    left: auto;
    bottom: auto;
    transform: none;
    border: 1px solid color-mix(in srgb, var(--baut5-metal, #d4af37) 28%, transparent);
    border-radius: 18px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--baut5-bg, #fffaf2) 72%, rgba(255, 255, 255, 0.62)), color-mix(in srgb, var(--baut5-soft, #f4e8e0) 40%, transparent)),
        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;
}

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

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

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