/* ==========================================================
   CONFIGURACIÓN GENERAL
========================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    width: 100%;

    min-height: 100%;

    scroll-behavior: smooth;

    background-color: #ffe8f1;

}


body {

    width: 100%;

    min-height: 100vh;

    min-height: 100dvh;

    overflow-x: hidden;

    font-family:
        "DM Sans",
        sans-serif;

    color: #63394c;

    background-color: #ffe8f1;

    background:

        radial-gradient(
            circle at 10% 15%,
            rgba(255, 178, 207, .28),
            transparent 30%
        ),

        radial-gradient(
            circle at 90% 45%,
            rgba(255, 194, 218, .35),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #fff9fb 0%,
            #fff1f6 50%,
            #ffe8f1 100%
        );

}



/* ==========================================================
   IPHONE / DYNAMIC ISLAND
========================================================== */

body::before {

    content: "";

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    height:
        env(
            safe-area-inset-top
        );

    background:
        #ffe8f1;

    z-index: 9999;

    pointer-events: none;

}



/* ==========================================================
   DECORACIÓN DEL FONDO
========================================================== */

.decoracion {

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100%;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;

}


.corazon {

    position: absolute;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-variant-emoji: text;

    color:
        rgba(
            211,
            78,
            139,
            .07
        );

    animation:
        flotarCorazon
        7s
        ease-in-out
        infinite;

}


.corazon-1 {

    top: 8%;

    left: -30px;

    font-size: 160px;

}


.corazon-2 {

    top: 25%;

    right: 6%;

    font-size: 90px;

    animation-delay: -1s;

}


.corazon-3 {

    bottom: 10%;

    left: 8%;

    font-size: 120px;

    animation-delay: -2s;

}


.corazon-4 {

    bottom: 15%;

    right: 14%;

    font-size: 65px;

    animation-delay: -3s;

}


@keyframes flotarCorazon {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(-5deg);

    }


    50% {

        transform:
            translateY(-20px)
            rotate(5deg);

    }

}



/* ==========================================================
   HERO
========================================================== */

.hero {

    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 900px;

    margin: 0 auto;

    text-align: center;


    padding-top:

        calc(
            75px +
            env(
                safe-area-inset-top
            )
        );


    padding-left:

        calc(
            25px +
            env(
                safe-area-inset-left
            )
        );


    padding-right:

        calc(
            25px +
            env(
                safe-area-inset-right
            )
        );


    padding-bottom: 40px;

}


.hero-etiqueta {

    display: inline-block;

    padding:
        8px
        18px;

    margin-bottom: 20px;

    border:
        1px solid
        rgba(
            210,
            89,
            142,
            .20
        );

    border-radius: 30px;

    background:
        rgba(
            255,
            255,
            255,
            .5
        );

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform:
        uppercase;

    color: #bd6489;

}


.hero h1 {

    margin-bottom: 22px;

    font-family:
        "Great Vibes",
        cursive;

    font-size:
        clamp(
            55px,
            8vw,
            95px
        );

    font-weight: 400;

    line-height: 1.1;

    color: #d94e8b;

    text-shadow:
        0
        8px
        30px
        rgba(
            209,
            75,
            135,
            .12
        );

}


.hero h1 span {

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-variant-emoji: text;

    font-size: .42em;

    color: #ed75a8;

}


.hero p {

    width: 100%;

    max-width: 620px;

    margin: 0 auto;

    font-size: 15px;

    line-height: 1.9;

    color: #8e6174;

}


.firma {

    margin-top: 25px;

    font-family:
        "Great Vibes",
        cursive;

    font-size: 31px;

    color: #bd668c;

}



/* ==========================================================
   LÍNEA DECORATIVA
========================================================== */

.linea-decorativa {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 13px;

    width: 100%;

    max-width: 240px;

    margin:
        28px
        auto
        0;

}


.linea-decorativa span {

    flex: 1;

    height: 1px;

    background:

        linear-gradient(
            90deg,
            transparent,
            #e3a2be
        );

}


.linea-decorativa span:last-child {

    background:

        linear-gradient(
            90deg,
            #e3a2be,
            transparent
        );

}


.linea-decorativa strong {

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-variant-emoji: text;

    color: #d96d9b;

}



/* ==========================================================
   SECCIÓN CARTAS
========================================================== */

.seccion-cartas {

    position: relative;

    z-index: 1;

    width: 91%;

    max-width: 1150px;

    margin: 0 auto;

    padding:
        45px
        0
        100px;

}


.encabezado-cartas {

    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-end;

    gap: 20px;

    margin-bottom: 35px;

}


.mini-titulo {

    display: block;

    margin-bottom: 5px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform:
        uppercase;

    color: #ce789d;

}


.encabezado-cartas h2 {

    font-size: 30px;

    color: #66364c;

}



/* ==========================================================
   CONTADOR
========================================================== */

.contador {

    display: flex;

    align-items:
        baseline;

    gap: 6px;

    color: #bb718f;

}


.contador strong {

    font-family:
        "Great Vibes",
        cursive;

    font-size: 38px;

    font-weight: 400;

}


.contador span {

    font-size: 12px;

}



/* ==========================================================
   GRID
========================================================== */

.grid-cartas {

    display: grid;


    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );


    justify-content:
        start;

    gap: 30px;

}



/* ==========================================================
   TARJETA SIMPLE DEL INDEX
========================================================== */

.carta-simple {

    display: block;

    width: 100%;

    overflow: hidden;

    text-decoration: none;

    border-radius: 28px;

    background:
        rgba(
            255,
            255,
            255,
            .88
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .95
        );

    box-shadow:
        0
        20px
        55px
        rgba(
            177,
            76,
            120,
            .12
        );

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}


.carta-simple:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0
        30px
        65px
        rgba(
            177,
            76,
            120,
            .18
        );

}



/* ==========================================================
   IMAGEN BORROSA DEL INDEX
========================================================== */

.carta-simple
.carta-imagen {

    position: relative;

    width: 100%;

    height: 260px;

    overflow: hidden;

    background: #f5dce6;

}


.carta-simple
.carta-imagen img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    filter:
        blur(3px)
        brightness(.93)
        saturate(.9);

    transform:
        scale(1.05);

    transition:
        filter .5s ease,
        transform .6s ease;

}


.carta-simple
.carta-imagen::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:

        linear-gradient(
            180deg,
            rgba(
                255,
                225,
                237,
                .03
            ),
            rgba(
                218,
                91,
                147,
                .10
            )
        );

}


/* ==========================================================
   SOLO FECHA EN TARJETA
========================================================== */

.carta-fecha-index {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    min-height: 120px;

    padding:
        28px
        25px;

    text-align: center;

}


.carta-fecha-index h3 {

    margin: 0;

    font-family:
        "Great Vibes",
        cursive;

    font-size: 38px;

    font-weight: 400;

    line-height: 1.2;

    color: #c64d7f;

    transition:
        transform .3s ease,
        color .3s ease;

}


.carta-simple:hover
.carta-fecha-index h3 {

    transform:
        scale(1.02);

    color: #d85d91;

}



/* ==========================================================
   FOOTER
========================================================== */

footer {

    position: relative;

    z-index: 1;

    width: 90%;

    max-width: 1100px;

    margin: 0 auto;

    padding:
        35px
        20px
        calc(
            45px +
            env(
                safe-area-inset-bottom
            )
        );

    text-align: center;

    border-top:
        1px solid
        rgba(
            198,
            101,
            142,
            .14
        );

    color: #967083;

}


.footer-corazon {

    margin-bottom: 8px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-variant-emoji: text;

    color: #dd6e9d;

}


footer p {

    font-size: 12px;

}


footer strong {

    color: #c85082;

}


footer > span {

    display: block;

    margin-top: 7px;

    font-size: 10px;

    opacity: .7;

}



/* ==========================================================
   PÁGINA INDIVIDUAL DE LA CARTA
========================================================== */

.pantalla-carga {

    position: fixed;

    inset: 0;

    z-index: 10000;

    display: grid;

    place-items: center;

    padding:
        30px
        env(safe-area-inset-right)
        30px
        env(safe-area-inset-left);

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255, 255, 255, .86),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #fff9fb 0%,
            #fff1f6 50%,
            #ffe3ef 100%
        );

    animation:
        ocultarPantallaCarga
        .75s
        ease
        2.45s
        forwards;

}


.contenido-carga {

    display: flex;

    align-items: center;

    flex-direction: column;

}


.rosa-carga {

    position: relative;

    display: grid;

    place-items: center;

    width: 145px;

    height: 145px;

    font-size: 78px;

    line-height: 1;

    filter:
        drop-shadow(
            0
            12px
            20px
            rgba(203, 71, 125, .22)
        );

    animation:
        latirRosa
        1.25s
        ease-in-out
        infinite;

}


.rosa-carga::before {

    content: "";

    position: absolute;

    inset: 4px;

    border:
        2px
        solid
        rgba(211, 78, 139, .16);

    border-top-color: #d94e8b;

    border-radius: 50%;

    animation:
        girarRosa
        1.8s
        linear
        infinite;

}


.rosa-carga::after {

    content: "♡";

    position: absolute;

    right: 12px;

    bottom: 18px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 24px;

    color: #d94e8b;

    animation:
        brilloRosa
        1.25s
        ease-in-out
        infinite;

}


.contenido-carga p {

    margin-top: 10px;

    font-size: 14px;

    letter-spacing: .4px;

    color: #9a6179;

}


.barra-carga {

    width: 180px;

    height: 4px;

    margin-top: 18px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(211, 78, 139, .14);

}


.barra-carga span {

    display: block;

    width: 100%;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #e88ab0,
            #d94e8b
        );

    transform-origin: left center;

    animation:
        cargarBarra
        2.45s
        cubic-bezier(.35, .75, .35, 1)
        forwards;

}


@keyframes ocultarPantallaCarga {

    0% {

        opacity: 1;

        visibility: visible;

    }

    99% {

        opacity: 0;

        visibility: visible;

    }

    100% {

        opacity: 0;

        visibility: hidden;

    }

}


@keyframes latirRosa {

    0%,
    100% {

        transform: scale(.94) rotate(-3deg);

    }

    50% {

        transform: scale(1.06) rotate(3deg);

    }

}


@keyframes girarRosa {

    to {

        transform: rotate(360deg);

    }

}


@keyframes brilloRosa {

    0%,
    100% {

        opacity: .3;

        transform: scale(.8);

    }

    50% {

        opacity: 1;

        transform: scale(1.15);

    }

}


@keyframes cargarBarra {

    from {

        transform: scaleX(0);

    }

    to {

        transform: scaleX(1);

    }

}

.pagina-carta {

    position: relative;

    z-index: 1;

    width: 92%;

    max-width: 850px;

    margin: 0 auto;


    padding-top:

        calc(
            45px +
            env(
                safe-area-inset-top
            )
        );


    padding-bottom:

        calc(
            80px +
            env(
                safe-area-inset-bottom
            )
    );

    opacity: 0;

    animation:
        aparecerCarta
        .85s
        ease
        2.35s
        forwards;

}


@keyframes aparecerCarta {

    from {

        opacity: 0;

        transform: translateY(12px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* ==========================================================
   VOLVER
========================================================== */

.volver {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 30px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    color: #c55384;

    transition:
        opacity .3s ease;

}


.volver:hover {

    opacity: .65;

}



/* ==========================================================
   CARTA COMPLETA
========================================================== */

.carta-completa {

    position: relative;

    overflow: hidden;

    font-family:
        "Times New Roman",
        Times,
        serif;

    border-radius: 30px;

    background:
        rgba(
            255,
            255,
            255,
            .88
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .95
        );

    box-shadow:
        0
        25px
        70px
        rgba(
            177,
            76,
            120,
            .13
        );

}



/* ==========================================================
   FOTO PEQUEÑA DENTRO DE LA CARTA
========================================================== */

.carta-completa-imagen {

    position: relative;

    z-index: 3;

    width: 280px;

    max-width:
        calc(
            100% - 50px
        );

    height: 190px;

    margin:
        0
        auto
        30px;

    overflow: hidden;

    border-radius: 20px;

    background: #f8e9ef;

    border:
        5px solid
        rgba(
            255,
            255,
            255,
            .95
        );

    box-shadow:
        0
        12px
        35px
        rgba(
            155,
            75,
            110,
            .13
        );

    transform:
        rotate(-1deg);

    transition:
        transform .4s ease,
        box-shadow .4s ease;

}


.carta-completa-imagen img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}


.carta-completa-imagen:hover {

    transform:
        rotate(0deg)
        scale(1.025);

    box-shadow:
        0
        16px
        40px
        rgba(
            155,
            75,
            110,
            .18
        );

}



/* ==========================================================
   VIDEO DENTRO DE LA CARTA
========================================================== */

.carta-completa-video {

    position: relative;

    z-index: 3;

    width: min(100%, 620px);

    max-width:
        calc(
            100% - 50px
        );

    aspect-ratio: 16 / 9;

    margin:
        0
        auto
        30px;

    overflow: hidden;

    border-radius: 20px;

    background: #241923;

    border:
        5px solid
        rgba(
            255,
            255,
            255,
            .95
        );

    box-shadow:
        0
        12px
        35px
        rgba(
            155,
            75,
            110,
            .13
        );

    transform:
        rotate(-.5deg);

    transition:
        transform .4s ease,
        box-shadow .4s ease;

}


.carta-completa-video video {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    background: #241923;

}


.carta-completa-video:hover {

    transform:
        rotate(0deg)
        scale(1.015);

    box-shadow:
        0
        16px
        40px
        rgba(
            155,
            75,
            110,
            .18
        );

}



/* ==========================================================
   CONTENIDO DE CARTA
========================================================== */

.carta-completa-contenido {

    position: relative;

    z-index: 3;

    padding:
        30px
        55px
        55px;

}


.carta-fecha {

    display: block;

    margin-bottom: 15px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform:
        uppercase;

    color: #cc7599;

}


.carta-completa h1 {

    margin-bottom: 30px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size:
        clamp(
            54px,
            7.5vw,
            82px
        );

    font-weight: 400;

    font-style: italic;

    letter-spacing: -.7px;

    line-height: 1.1;

    color: #c3497d;

}



/* ==========================================================
   SEPARADOR
========================================================== */

.separador {

    display: flex;

    align-items: center;

    gap: 8px;

    width: 100px;

    margin-bottom: 22px;

}


.separador > span:not(.mini-corazon) {

    flex: 1;

    height: 1px;

    background: #e9bfd1;

}


.mini-corazon {

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-variant-emoji: text;

    font-size: 9px;

    color: #de75a2;

}



/* ==========================================================
   TEXTO DE CARTA
========================================================== */

.carta-texto p {

    margin-bottom: 22px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 20px;

    line-height: 2;

    color: #714e5e;

}



/* ==========================================================
   FIRMA
========================================================== */

.carta-despedida {

    margin-top: 40px;

    text-align: right;

}


.carta-despedida span {

    display: block;

    font-size: 13px;

    color: #9a7183;

}


.carta-despedida strong {

    display: block;

    margin-top: 5px;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 39px;

    font-weight: 700;

    font-style: italic;

    color: #c65384;

}



/* ==========================================================
   FLORES AMARILLAS
========================================================== */

.flores-amarillas {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    overflow: hidden;

    pointer-events: none;

    z-index: 2;

}


.flor {

    position: absolute;

    width: 110px;

    height: 180px;

    transform-origin:
        bottom center;

    animation:
        moverFlor
        4.5s
        ease-in-out
        infinite;

}



/* CABEZA */

.cabeza-flor {

    position: absolute;

    width: 70px;

    height: 70px;

    top: 0;

    left: 20px;

    animation:
        movimientoCabeza
        5s
        ease-in-out
        infinite;

}



/* PÉTALOS */

.petalo {

    position: absolute;

    width: 28px;

    height: 42px;

    left: 21px;

    top: 14px;

    border-radius:
        50%
        50%
        45%
        45%;

    transform-origin:
        14px
        21px;

    background:

        linear-gradient(
            180deg,
            #fff176,
            #ffd82f
        );

    box-shadow:
        0
        4px
        12px
        rgba(
            217,
            164,
            0,
            .16
        );

}


.p1 {

    transform:
        rotate(0deg)
        translateY(-24px);

}


.p2 {

    transform:
        rotate(60deg)
        translateY(-24px);

}


.p3 {

    transform:
        rotate(120deg)
        translateY(-24px);

}


.p4 {

    transform:
        rotate(180deg)
        translateY(-24px);

}


.p5 {

    transform:
        rotate(240deg)
        translateY(-24px);

}


.p6 {

    transform:
        rotate(300deg)
        translateY(-24px);

}



/* CENTRO */

.centro-flor {

    position: absolute;

    width: 27px;

    height: 27px;

    left: 21px;

    top: 21px;

    border-radius: 50%;

    background:

        radial-gradient(
            circle at 35% 35%,
            #e4a329,
            #9c5d13
        );

    box-shadow:
        inset
        0
        2px
        4px
        rgba(
            255,
            255,
            255,
            .25
        ),

        0
        3px
        7px
        rgba(
            110,
            61,
            0,
            .18
        );

}



/* TALLO */

.tallo {

    position: absolute;

    width: 4px;

    height: 120px;

    top: 58px;

    left: 54px;

    border-radius: 10px;

    background:

        linear-gradient(
            90deg,
            #6c9d52,
            #87b965
        );

    transform:
        rotate(2deg);

}



/* HOJAS */

.hoja {

    position: absolute;

    width: 38px;

    height: 18px;

    background:

        linear-gradient(
            135deg,
            #76a95a,
            #9ac778
        );

    border-radius:
        100%
        0
        100%
        0;

}


.hoja-1 {

    left: 53px;

    top: 102px;

    transform:
        rotate(-18deg);

}


.hoja-2 {

    left: 25px;

    top: 130px;

    transform:
        scaleX(-1)
        rotate(-20deg);

}



/* POSICIONES */

.flor-1 {

    top: 30px;

    right: 10px;

    opacity: .82;

    transform:
        rotate(12deg);

}


.flor-2 {

    bottom: -35px;

    left: 5px;

    opacity: .72;

    transform:
        rotate(-10deg);

    animation-delay: -1.5s;

}


.flor-3 {

    bottom: 120px;

    right: -10px;

    opacity: .38;

    transform:
        scale(.65)
        rotate(10deg);

    animation-delay: -2.3s;

}



/* ==========================================================
   ANIMACIONES FLORES
========================================================== */

@keyframes moverFlor {

    0%,
    100% {

        translate:
            0
            0;

        rotate:
            -2deg;

    }


    50% {

        translate:
            3px
            -7px;

        rotate:
            4deg;

    }

}


@keyframes movimientoCabeza {

    0%,
    100% {

        rotate:
            -2deg;

    }


    50% {

        rotate:
            4deg;

    }

}



/* BRILLO */

.cabeza-flor::after {

    content: "";

    position: absolute;

    width: 10px;

    height: 10px;

    top: 4px;

    right: 8px;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            .7
        );

    filter:
        blur(1px);

    animation:
        brilloFlor
        3s
        ease-in-out
        infinite;

}


@keyframes brilloFlor {

    0%,
    100% {

        opacity: .2;

        transform:
            scale(.8);

    }


    50% {

        opacity: .8;

        transform:
            scale(1.3);

    }

}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 768px) {


    .hero {

        padding-top:

            calc(
                55px +
                env(
                    safe-area-inset-top
                )
            );

    }


    .contador {

        display: none;

    }


    .grid-cartas {

        grid-template-columns:
            1fr;

    }


    .carta-simple {

        width: 100%;

        max-width: 450px;

        margin:
            0
            auto;

    }


    .carta-simple
    .carta-imagen {

        height: 240px;

    }


    .carta-fecha-index {

        min-height: 110px;

        padding:
            25px
            20px;

    }


    .carta-fecha-index h3 {

        font-size: 36px;

    }


    .carta-completa-imagen {

        width: 250px;

        height: 175px;

        margin-top: 28px;

    }


    .carta-completa-video {

        width: 100%;

        max-width:
            calc(
                100% - 20px
            );

        margin:
            25px
            auto
            0;

        border-width: 4px;

        border-radius: 16px;

    }


    .carta-completa-contenido {

        padding:
            30px
            30px
            45px;

    }


    .flor-1 {

        right: -15px;

        transform:
            scale(.8)
            rotate(12deg);

    }


    .flor-2 {

        left: -15px;

        transform:
            scale(.8)
            rotate(-10deg);

    }


    .flor-3 {

        right: -25px;

        transform:
            scale(.5);

    }

}



/* ==========================================================
   CELULAR / IPHONE
========================================================== */

@media (max-width: 480px) {


    .hero {

        padding-top:

            calc(
                40px +
                env(
                    safe-area-inset-top
                )
            );


        padding-left:

            calc(
                18px +
                env(
                    safe-area-inset-left
                )
            );


        padding-right:

            calc(
                18px +
                env(
                    safe-area-inset-right
                )
            );

    }


    .hero-etiqueta {

        font-size: 8px;

        letter-spacing: 1.5px;

    }


    .hero h1 {

        font-size: 56px;

    }


    .hero p {

        font-size: 13px;

        line-height: 1.8;

    }


    .firma {

        font-size: 27px;

    }


    .seccion-cartas {

        width: 90%;

        padding-top: 30px;

    }


    .encabezado-cartas h2 {

        font-size: 25px;

    }


    /* TARJETA INDEX */

    .carta-simple {

        max-width: 320px;

        margin:
            0
            auto;

        border-radius: 24px;

    }


    .carta-simple
    .carta-imagen {

        height: 165px;

    }


    .carta-simple
    .carta-imagen img {

        filter:
            blur(2px)
            brightness(.95)
            saturate(.92);

        transform:
            scale(1.04);

    }


    .carta-fecha-index {

        min-height: 92px;

        padding:
            18px
            15px;

    }


    .carta-fecha-index h3 {

        font-size: 30px;

    }


    .boton-carta {

        margin-top: 12px;

        padding:
            8px
            16px;

        font-size: 11px;

    }


    /* CARTA COMPLETA */

    .pagina-carta {

        width: 91%;

        padding-top:

            calc(
                30px +
                env(
                    safe-area-inset-top
                )
            );

    }


    .volver {

        margin-bottom: 22px;

        font-size: 12px;

    }


    .carta-completa {

        border-radius: 24px;

    }


    .carta-completa-imagen {

        width: 200px;

        height: 145px;

        max-width:
            calc(
                100% - 40px
            );

        margin:
            25px
            auto
            0;

        border-width: 4px;

        border-radius: 16px;

        transform:
            rotate(-1.5deg);

    }


    .carta-completa-contenido {

        padding:
            27px
            22px
            40px;

    }


    .carta-completa h1 {

        margin-bottom: 25px;

        font-size: 52px;

    }


    .carta-fecha {

        font-size: 9px;

    }


    .carta-texto p {

        margin-bottom: 20px;

        font-size: 20px;

        line-height: 1.9;

    }


    .carta-despedida strong {

        font-size: 36px;

    }


    /* FLORES */

    .flor-1 {

        top: 5px;

        right: -35px;

        opacity: .60;

        transform:
            scale(.55)
            rotate(12deg);

    }


    .flor-2 {

        bottom: -55px;

        left: -32px;

        opacity: .55;

        transform:
            scale(.55)
            rotate(-8deg);

    }


    .flor-3 {

        bottom: 65px;

        right: -40px;

        opacity: .25;

        transform:
            scale(.40)
            rotate(8deg);

    }

}



/* ==========================================================
   CELULARES PEQUEÑOS
========================================================== */

@media (max-width: 360px) {


    .hero h1 {

        font-size: 49px;

    }


    .carta-fecha-index h3 {

        font-size: 31px;

    }


    .carta-completa-imagen {

        width: 175px;

        height: 125px;

    }


    .carta-completa h1 {

        font-size: 42px;

    }


    .flor-1 {

        right: -40px;

        transform:
            scale(.46);

    }


    .flor-2 {

        left: -38px;

        transform:
            scale(.47);

    }


    .flor-3 {

        display: none;

    }

}



/* ==========================================================
   ACCESIBILIDAD
========================================================== */

@media (prefers-reduced-motion: reduce) {


    *,
    *::before,
    *::after {

        scroll-behavior:
            auto !important;

    }


    .corazon,
    .flor,
    .cabeza-flor,
    .cabeza-flor::after,
    .rosa-carga,
    .rosa-carga::before,
    .rosa-carga::after,
    .barra-carga span {

        animation:
            none !important;

    }


    .pantalla-carga,
    .pagina-carta {

        animation-duration: .01s !important;

        animation-delay: .01s !important;

    }

}


/* ==========================================================
   BOTÓN DE LA CARTA
========================================================== */

.boton-carta {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 16px;

    padding:
        10px
        20px;

    border:
        1px solid
        rgba(
            198,
            77,
            127,
            .28
        );

    border-radius: 999px;

    background: #fff4f8;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .2px;

    color: #c64d7f;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;

}


.carta-simple:hover
.boton-carta {

    background: #d85d91;

    color: #ffffff;

    box-shadow:
        0
        8px
        18px
        rgba(
            216,
            93,
            145,
            .22
        );

    transform:
        translateY(-1px);

}
