/* papel/css/bautizo/bautizo_19.css
   Agua Bendita — gotas celestiales y cruz - composicion premium sin recuadro centrado. */

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

.baut19-card {
    --baut19-bg: #eef8fc;
    --baut19-ink: #1a3344;
    --baut19-accent: #2a5f7a;
    --baut19-metal: #c9a84c;
    --baut19-soft: #f4f9fc;
    isolation: isolate;
    overflow: hidden;
    color: var(--baut19-ink);
    background:
        radial-gradient(circle at 16% 12%, color-mix(in srgb, var(--baut19-accent) 14%, transparent), transparent 30%),
        radial-gradient(circle at 88% 86%, color-mix(in srgb, var(--baut19-metal) 18%, transparent), transparent 34%),
        linear-gradient(145deg, var(--baut19-soft), var(--baut19-bg));
}

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

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

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

.baut19-fondo {
    object-position: center 72%;
}

.baut19-velo {
    background:
        linear-gradient(180deg, rgba(255, 251, 239, 0.35), rgba(255, 251, 239, 0.22) 48%, rgba(255, 251, 239, 0.08)),
        radial-gradient(circle at 50% 12%, color-mix(in srgb, var(--baut19-accent) 16%, transparent), transparent 38%);
}



.baut19-decor--uno { left: -28px; bottom: 48px; top: auto; width: 198px; transform: rotate(12deg); }
.baut19-decor--dos { left: auto; right: -22px; bottom: 72px; top: auto; width: 142px; transform: rotate(-10deg); }













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

.baut19-titulo,
.baut19-nombres,
.baut19-fecha,
.baut19-hora,
.baut19-lugar,
.baut19-mensaje,
.baut19-divisor {
    position: relative;
    margin: 0;
    text-shadow:
        0 1px 0 rgba(255, 252, 248, 0.96),
        0 2px 14px rgba(244, 249, 252, 0.9),
        0 1px 4px rgba(26, 51, 68, 0.42);
    animation: baut19TextoIn 720ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

.baut19-card .papel-editable {
    text-shadow:
        0 1px 0 rgba(255, 252, 248, 0.96),
        0 2px 14px rgba(244, 249, 252, 0.9),
        0 1px 4px rgba(26, 51, 68, 0.42);
}

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

.baut19-nombres {
    max-width: 100%;
    font-family: 'Noto Serif', Georgia, serif;
    font-size: clamp(36px, 8.4vw, 50px);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.025em;
    color: var(--baut19-ink);
    text-shadow:
        0 1px 0 rgba(255, 252, 248, 0.98),
        0 3px 18px rgba(201, 168, 76, 0.28),
        0 1px 5px rgba(26, 51, 68, 0.46);
    animation-delay: 340ms;
}

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

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

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

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

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

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

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

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

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

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

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

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

@keyframes baut19Twinkle {
    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 baut19Snow {
    0%, 100% { transform: translateY(0); opacity: 0.88; }
    50% { transform: translateY(12px); opacity: 1; }
}

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

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

.baut19-card .baut19-contenido::before {
    content: '';
    position: absolute;
    inset: -18px -16px;
    z-index: -1;
    border: 1px solid rgba(201, 168, 76, 0.58);
    border-radius: 8px;
    background: linear-gradient(165deg, rgba(255, 252, 248, 0.98), rgba(236, 246, 252, 0.96));
    box-shadow:
        inset 0 0 0 3px rgba(255, 252, 248, 0.82),
        inset 0 0 0 4px rgba(201, 168, 76, 0.34),
        0 12px 30px rgba(26, 51, 68, 0.14);
    opacity: 0.97;
}

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

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

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