/* #region ---------- EXTRAS ------------------------------------- */
.nombre{
    font-weight: 900;
    font-size: 15px;
}

.nombreBig{
    color: var(--color-primary);
    font-weight: 900;
    font-size: 35px;
}

@media (max-width: 650px) {    
    .nombreBig{
        font-size: 18px;
    }
}
/* #endregion  */

/* #region----------- Hero Section ------------------------------- */
 .hero {
    background: url('/images/toDuenio/fondoMasInfo.png') center/cover;
    color: var(--color-white);
    display: flex;
    height: 100dvh;
    min-height: 100svh;
    align-items: center;
    overflow: hidden; 
    justify-content: center;
    text-align: center;

    &::before {
        content: "";
        position: absolute;
        inset: 0; 
        background: url('/images/toDuenio/fondoMasInfo.png') center/cover;
        filter: blur(5px) brightness(0.5);
        z-index: 0;
    }
    &::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(27, 54, 93, 0.3) 0%, rgba(67, 85, 240, 0.25) 100%);
        z-index: 0;
        pointer-events: none;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hacheUno {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(67, 85, 240, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    &:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 40px rgba(67, 85, 240, 0.65);
    }
}

@media (max-width: 650px) {
    .hero {
        padding: 60px 20px;
    }

    .hacheUno{
        font-size: clamp(1rem, 7vw, 3rem);
        line-height: 1.7;
        font-weight: 900;
    }
}

/* #endregion */

/* #region ---------- DatosCard Section -------------------------- */
#datosCards{
    background-image: url("/images/fondo2.png");
    background-size: cover;
    padding-bottom: 70px;
}

#promo{
    height: 50vh;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    p{
        font-size: clamp(25px, 3vw, 40px);
        line-height: 1.4;
        color: var(--color-secondary);
        position: relative;
        padding-bottom: 25px;
    }

    p::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 5px;
        border-radius: 3px;
    background: var(--gradient-bar);
    }
}

.contenedorCards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0 5vw;
    margin-top: 4rem;
}

.cardPorque {
    position: relative;
    height: 40vh;
    transition: transform 0.6s ease-in-out, filter 0.3s ease-in-out;
    transform-origin: center;
     
    img { 
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.card-icon {
    color: var(--color-primary);
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    margin-bottom: 6px;
    filter: drop-shadow(0 4px 8px rgba(67, 85, 240, 0.3));
}

.card-title {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    border: 3px solid var(--color-accent);
    position: absolute;
    top: 50px;
    border-left: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 8px 14px;
    font-size: clamp(10px, 1.5vw, 20px);
    font-weight: bold;
    box-shadow: 4px 4px 15px rgba(67, 85, 240, 0.4);
}

.card-content {
    position: absolute;
    inset: 8%;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 12px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    box-shadow: 0px 0px 12px 0px var(--color-white);
    gap: 4px;

    h5 {
        font-size: clamp(0.95rem, 1.3vw, 1.25rem);
        margin: 0;
    }

    p{
        color: var( --color-text-muted);
        font-size: clamp(0.85rem, 1vw, 1rem);
    }    
}

.separadorCard {
    background: var(--gradient-bar);    height: 3px;
    width: 5vw;
    border-radius: 2px;
    margin: 5px auto;
    flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
    .contenedorCards:hover .cardPorque {
        filter: brightness(0.4);
    }

    .contenedorCards .cardPorque:hover {
        transform: scale(1.1); 
        filter: brightness(1);
        z-index: 10;
        border: 4px solid var(--color-primary);
        border-radius: 10px;
    }

    .cardPorque:hover .card-title {
        opacity: 0;
    }

    .cardPorque:hover .card-content {
        opacity: 1;
    }
}

@media (max-width: 650px) {
    #datosCards {
        /* background-image: none; */
        padding-bottom: 0;
        background-size: inherit;
    }

    #porque h2 {
        /* text-align: center; */
        font-size: 18px;
        /* margin-bottom: 2vh; */
        /* margin-right: 3vw;    */
        margin-left: 7vw;
    }

    .contenedorCards {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        width: 100%;    
        margin-top: 2rem;   
    }

    .card-icon {
        font-size: 30px
    }

    .cardPorque {
        width: 100%;    
        overflow: hidden;
        border-top: 1px solid var(--color-primary);
        border-bottom: 1px solid var(--color-primary);
    }


    .card-title {
        display: none;
    }

    .card-content {      
        opacity: 1;        
        padding: 5px;

        p {
            line-height: 2;
            padding: 20px;
        }
    }

    .separadorCard {
        width: 40%;
        margin: 4px auto;
    }

    h5 {
        font-size: 20px !important;
        font-weight: bold;
    }

}
/* #endregion */

/* #region----------- Info Section ------------------------------- */
 #infoSection {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.cajitaToPlayer {
    display: flex;
    flex-wrap: wrap;
}

.infoSectionText {
    padding-left: 7vw;
    padding-right: 20px;
}

.imagenTo {
    display: flex;
    padding: 0;
    justify-content: end;
}

.tituloPara {
    font-size: clamp(15px, 3vw, 40px);
    margin-top: 1.5rem;
}

.infoPara {
    font-size: clamp(15px, 2vw, 25px);
    margin: 40px 0;
}

.imagen {
    height: 60vh;
}

.container-fluid {
    padding: 0;
}

@media (max-width: 770px) {
    #infoSection {
        background: linear-gradient(rgba(27, 54, 93, 0.75), rgba(27, 54, 93, 0.75)),
                    url("/images/toDuenio/info3.png") center/cover;
        min-height: auto;
        margin-top: 3rem;
    }

    .cajitaToPlayer {
        display: block;
    }

    .infoSectionText {
        padding: 0 7vw;
    }

    .infoSectionText a {
        margin-bottom: 3.5rem;
    }

    .tituloPara {
        font-size: 25px;
        margin-top: 3rem;
    }

    .infoPara {
        font-size: 15px;
        margin: 20px 0 10px;
    }

    .imagenTo {
        display: none;
    }
}
/* #endregion */

/* #region----------- Statics Section ---------------------------- */
 #statsSection {
    color: var(--color-white);
    background-color: var(--color-bg-stats);
    box-shadow: 0px 0px 12px 0px var( --color-navbar-bg);
    height: 250px;
    width: 100%;
    padding: 0 10vw;
    display: flex;
    justify-content: space-between;
    align-items: center;

    p {
        font-size: clamp(10px, 2vw, 20px);
        text-align: center;
        font-weight: 700;
    }
}

.resultado {
    display: flex;
    align-items: center;

    img {
        width: 78px;
        height: 78px;
        margin-right: 2vw;
    }
}

.separadorResultado {
    background-color: var(--color-accent);
    width: 4px;
    height: 130px;
}

.cancha{
    height: 60px !important;
}

@media (max-width: 650px) {
    #statsSection {
        height: 20vh;
        padding: 0 5vw;
    }

    #statsSection p {
        font-size: clamp(1rem, 2vw, 3rem);
        margin-top: 1vh;
    }

    .resultado {
        flex-direction: column;

        img {
            width: 32px;
            height: 32px;
            margin: 0;
        }
    }

    .separadorResultado {
        width: 1px;
        height: 9vh;
    }

    .cancha{
        height: 25px !important;
    }

}
/* #endregion */

/* #region----------- Price Section ------------------------------ */
#priceSection{
    padding-top: 3rem; 
}

.tipoPlan{
    margin-top: 5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.subtituloPlan {
    color: var(--color-secondary);
    font-size: 0.95rem;
    margin-top: 4px;
}

.badgeDescuento {
    color: var(--color-text-green);
    border: 1px solid var(--color-text-green);
    background: var(--color-bg-green);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(10, 110, 63, 0.15);
}

.contenedorPlanes {
    display: flex;
    justify-content:center;
    gap: 2rem;                
}

.contenedorPlan,
.contenedorPlanPremium {
    box-shadow: 0px 0px 12px 0px var(--color-shadow);
    padding: 0;
    border-radius: 15px;
}

.plan {
    background: linear-gradient(150deg, var(--color-white) 0%, var(--color-accent) 100%);
    border-radius: 15px;
    height: 100%;
}

.contenedorPlanPremium .plan {
    background: linear-gradient(150deg, var(--color-secondary-dark) 0%, var(--color-primary) 100%);
    border: 2px solid var(--color-accent);
}

.contenedorPrecio {
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 20px;
}

.priceRow {
    align-items: baseline;
    gap: 4px;
}

.price {
    color: var(--color-secondary);
    font-size: 22px;
    font-weight: 700;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.priceSufijo {
    color: var(--color-text-muted);
    font-size: 14px;
}

.contenedorOpciones{
    align-items: flex-start;
    gap: 12px;
}

.opcion {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
}

.plan-footer {
    margin-top: auto; 
}

.masPopular {
    color: var(--color-white);
    background: var(--gradient-primary);
    position: absolute;
    top: -20px; 
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 22px;    
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(67, 85, 240, 0.5);
    white-space: nowrap;
}

.precioOut {
    color: #aaa;
    display: none;
    font-size: 12px;
    text-decoration: line-through;
}
    .precioOut.visible {
        display: block;
    }

.billingInfo {
    color: #888;
    font-size: 12px;
    margin: 4px 0 10px;
    display: none;
}
    .billingInfo.visible {
        display: block;
    }

@media (max-width: 1000px) {   
    #priceSection{
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .tipoPlan{
        margin: 1rem 0;
        margin-top: 3rem;
    }

    .contenedorPlanes{
        flex-direction: column;
    }

    .contenedorPlanPremium{
        margin-top: 18px;
    }
}
/* #endregion */

/* #region ---------- FAQ Section ----------------------------- */
#faqSection {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light-gray) 100%);
}

.nombreSeccion{
    margin-left: 7vw;
}

.separador{
    background: var(--gradient-bar);    height: 7px;
    margin-right: 75vw;
    border-radius: 4px;
}
/* #endregion */
