.faqs {
    background-color: var(--bgPrincipal);
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    
}

.faq-container {
    margin: 0 var(--margenDesktop);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 1100px;
    padding:  2rem  2vw;
    border-radius: 1rem;
    background-color: #fafcfbbb;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--negro);
    position: relative;
    z-index: 5;

}

.faqs::after {
    content: "";
    background: url(/public/image/moneda1.png) no-repeat;
    background-position: center;
    background-size: contain;
    width: 152px;
    height: 132px;
    position: absolute;
    top: 100px;
    right: 10vw;
    z-index: 1;
    
}
.faqs::before {
    content: "";
    background: url(/public/image/monedasleft1.png) no-repeat;
    background-position: center;
    background-size: contain;
    width: 159px;
    height: 209px;
    position: absolute;
    bottom: 200px;
    left: 150px;
    z-index: 2;
    
}

.faqs__title {
    margin-bottom: 1.5rem;
    
}


details {
    font-size: 19px;
    margin: 0 auto;
    width: 100%;
    border-radius: 1rem;
}

details > summary > svg {
    width: 20px;
    fill: #35764C;
    margin-left: 1rem;
}
details:hover {
    background-color: rgba(255, 255, 255, 0.353);
    backdrop-filter: blur(4px);
}
details:hover svg {
    fill: var(--verdePrincipal500);
    
}

details[open] {
    background-color: white;
    backdrop-filter: blur(4px);
}

details[open] .faq_title {
    color: var(--verdePrincipal500);
}
summary {
    user-select: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    padding: 1rem;
    align-items: center;
    hyphens: none;
}

.expand-icon {
    pointer-events: none;
    position: absolute;
    right: 1rem;
    transition: all 150ms ease-out;
}

/* summary svg {
    stroke: blue
} */

details[open] summary svg {
    fill: rgb(34, 182, 42);
    transform: rotate(90deg);
}

summary:hover .faq_title {
    display: none;
}

summary::-webkit-details-marker {
    display: none;
}
summary:focus {
    outline: none;
}

.faq-title {
    color: var(--verdeOscuro600);
    width: 100%;
    transition: all 250ms ease-in-out;

}

.faq-content {
    color: var(--negro);
    padding: 1rem;
    font-weight: 500;
    line-height: 170%;
    hyphens: none;
}
.faqs-whatsaap {
    font-weight: 700;
    border-radius: 1rem;
    background-color: #fafcfb7e;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--negro);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--verdeOscuro600);
    padding: 1.5rem;
    width: 1100px;
    z-index: 3;
    hyphens: none;
    margin-bottom: 15vh;

}
.faqs-whatsaap > .enlace-wts{
    position: relative;
    cursor: pointer;
    width: auto;
}
.faqs-whatsaap > .enlace-wts::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--verdeOscuro600);
    display: grid;
    place-items: center;
    cursor: pointer;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.5);
    }
    100% {
        opacity: 0;
        transform: scale(2.75);
    }
}

.faqs-whatsaap > .enlace-wts > span > svg {
    width: 24px;
    fill: var(--verdeOscuro600);
    cursor: pointer;
    
}
.faqs-whatsaap > .enlace-wts:hover > span > svg{
    fill: rgb(13, 13, 13);
}


/* FOOTER ANIMADO */

.background {
    position: absolute;
    bottom: -6px;
    width: 100%;
    z-index: 1;
}
.background::before {
    content: "";
    background: url(/public/image/CHART.png) no-repeat;
    background-size: contain;
    width: 352px;
    height: 371px;
    position: absolute;
    bottom: 0;
    right: 100px;
    z-index: 100;
}

@media (max-width: 1200px) and (min-width: 744px) {
    .faq-container,
    .faqs-whatsaap{
        width: 91%;
        
    }
    .faqs-whatsaap {
        margin-bottom: 18vh;
    }
    .faqs::after {
        right: 20px;
        top: 140px;
    }
    .faqs::before {
        left: 20px;
        bottom: 170px;
    }
}

@media (max-width: 744px) and (min-width: 300px) {
    .faqs::after {
        right: 20px;
        top: 120px;
    }
    .faqs::before {
        width: 30%;
        left: 20px;
        bottom: 100px;
    }
    .background::before {
        width: 40%;
        right: 10px;
        bottom: -200px;
    }

    .faqs-whatsaap > svg {
        width: clamp(3.125rem, 3.97rem + -4.505vw, 1.875rem);
    
    }
    .faq-container,
    .faqs-whatsaap {
        width: 90%;
        padding: 1rem;
    }
    .faqs-whatsaap {
        margin-bottom: 10vh;
    }
    details {
        font-size: clamp(1rem, 0.811rem + 0.943vw, 1.2rem); 
        line-height: 150%;
    }
}