#boletos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 3% 0 7%;
}

#boletos .banner-container {
    width: 100%;
    padding: 20px 0 0;
    display: flex;
    justify-content: center;
    background-color: transparent;
}
#boletos .titulo-boletos {
    font-family: 'FuturaPTCondensed-ExtraBold', sans-serif;
    font-size: clamp(30px,7vw,60px);
    font-weight: 900;
    color: #003351;
    margin: 0;
    padding: 8px 13vw;
    text-align: center;

    background: linear-gradient(
        90deg, 
        rgba(255, 222, 89, 0) 0%,
        rgba(255, 222, 89, 1) 15%,
        rgba(255, 222, 89, 1) 85%,
        rgba(255, 222, 89, 0) 100%
    );

    background-size: 100% 100%;
    display: inline-block;
}

#boletos p{
    font-family: 'FuturaPTCondensed-Book', sans-serif;
    font-weight: 600;
    font-size: clamp(19px, 5vw, 28px);
    text-align: center;
    color: #003351;
    margin: 2% 0;
}

#boletos .cardsContainer {
    display: flex;
    width: 100%;
    margin: 0 auto;
    max-width: 1100px;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
}

/* Estilo base */
#boletos .card {
    overflow: visible;
    width: 220px;
    height: 300px;
    perspective: 1000px;
    -webkit-tap-highlight-color: transparent;
}
#boletos .content {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
/* #boletos .card:hover .card.is-flipped .content {
    transform: rotateY(180deg);
} */
/* Cuando pasas el mouse O cuando tiene la clase activa */
#boletos .card:hover .content,
#boletos .card.is-flipped .content {
    transform: rotateY(180deg);
}

#boletos .front, 
#boletos .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    background-color: #FFFFFF;
}

/* Parte trasera - Icono */
#boletos .back {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
#boletos .back::before {
    position: absolute;
    content: ' ';
    display: block;
    width: 250px;
    height: 180%;
}
#boletos .back-content {
    position: absolute;
    width: 95%;
    height: 96%;
    background-color: #FFFFFF;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2;
}
#boletos .back-content svg {
    width: 50%;
    transition: transform 0.3s;
}
#boletos .back-content strong {
    font-size: 34px;
    letter-spacing: 1px;
    font-family: 'FuturaPTCondensed-Bold', sans-serif;
}

@keyframes rotation_481 {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

/* Parte delantera - Beneficios */
#boletos .front {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    text-align: left;
}
#boletos .front-content .badge {
    display: block;
    padding: 5px 15px;
    border-radius: 50px;
    font-family: 'futura-pt-condensed-bold', sans-serif;
    font-size: 18px;
    font-weight: 800;
    width: fit-content;
    margin: 0 auto 20px auto;
}
#boletos .description p {
    font-family: 'FuturaPTCondensed-Book', sans-serif;
    font-size: 26px;
    line-height: 1.5;
    color: black;
    font-weight:600;

    text-align: center;
}

/* Esencia */
.ticketEsencia {
    color: #298387;
    stroke: #6AACA9;
    fill: #6AACA9;
}
.ticketEsencia .back::before {
    background: linear-gradient(90deg, transparent, #6AACA9, #6AACA9, transparent);
    animation: rotation_481 4000ms infinite linear;
}
.ticketEsencia .badge {
    background: rgba(106, 172, 169, 0.15);
    border: 1px solid #6AACA9;
    color: #298387;
}
.ticketEsencia .front {
    border-top: 6px solid #6AACA9;
}

/* Impacto */
.ticketImpacto {
    color: #003351;
    stroke: #005791;
    fill: #005791;
}
.ticketImpacto .back::before {
    background: linear-gradient(90deg, transparent, #005791, #005791, transparent);
    animation: rotation_481 4000ms infinite linear;
}
.ticketImpacto .badge {
    background: rgba(0, 87, 145, 0.15);
    border: 1px solid #005791;
    color: #003351;
}
.ticketImpacto .front {
    border-top: 6px solid #005791;
}

/* Leyenda */
.ticketLeyenda {
    color: #B89900;
    stroke: #FAD623;
    fill: #FAD623;
    transform: scale(1.05);
}
.ticketLeyenda .back::before {
    background: linear-gradient(90deg, transparent, #FAD623, #FAD623, transparent);
    animation: rotation_481 2500ms infinite linear;
}
.ticketLeyenda .badge {
    background: rgba(250, 214, 35, 0.25);
    border: 1px solid #FAD623;
    color: #B89900;
}
.ticketLeyenda .front {
    border-top: 6px solid #FAD623;
}
