/* SECTION */
.faq-section {
    padding: 44px 20px;
    font-family: 'Inter', sans-serif;
}

.faq-section .section_heading {
    margin-bottom: 24px !important;
}

/* CONTAINER */
.faq-container {
    max-width: 850px;
    margin: auto;
}

/* HEADER */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-badge {
    display: inline-block;
    background: #111827;
    color: white;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 18px;
}

.faq-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
}

.faq-header p {
    color: #6b7280;
    font-size: 17px;
}

/* FAQ ITEM */
.faq-item {
    background: white;
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: .3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    transform: translateY(-2px);
}

/* QUESTION */
.faq-question {
    width: 100%;
    padding: 17px 20px;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

/* ICON */
.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: .3s;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #111827;
    border-radius: 10px;
    transition: .3s;
}

.faq-icon::before {
    width: 18px;
    height: 2px;
    top: 11px;
    left: 3px;
}

.faq-icon::after {
    width: 2px;
    height: 18px;
    top: 3px;
    left: 11px;
}

/* ANSWER */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all .4s ease;
}

.faq-answer p {
    margin-bottom: 0;
    padding: 0 20px 17px;
    color: #6b7280;
    line-height: 1.8;
    font-size: 16px;
}

/* ACTIVE */
.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-icon::after {
    opacity: 0;
}

/* VARIANTE EN DOS COLUMNAS */
.faq-section--columns {
    --faq-text-color: white;
    --faq-muted-color: color-mix(in srgb, var(--faq-text-color) 65%, transparent);
    --faq-border-color: color-mix(in srgb, var(--faq-text-color) 22%, transparent);
    --faq-border-hover-color: color-mix(in srgb, var(--faq-text-color) 40%, transparent);
    --faq-number-color: var(--color-primario, #21c36c);
    --faq-icon-color: var(--color-secundario, #0ea5e9);
   /*  background: #212529; */
    color: var(--faq-text-color);
}

.faq-section--columns::before {
    display: none;
}

.faq-section--columns .faq-container {
    max-width: 1200px;
}

/* .faq-section--columns .section_heading_title small {
    color: var(--faq-text-color);
}

.faq-section--columns .section_heading_description {
    color: var(--faq-muted-color);
} */

.faq-list--columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.faq-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 12px;
}

.faq-list--columns .faq-item {
    margin: 0;
    border-color: var(--faq-border-color);
    border-radius: 30px;
    background: #0f0f0f;
    box-shadow: none;
}

.faq-list--columns .faq-item:hover {
    transform: none;
    border-color: var(--faq-border-hover-color);
}

.faq-list--columns .faq-item.active {
    border-color: var(--faq-border-hover-color);
}

.faq-list--columns .faq-question {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 10px;
    align-items: start;
    padding: 18px 20px;
    color: white;
    font-size: 16px;
    text-align: left;
}

.faq-number {
    padding-top: 3px;
    color: var(--faq-number-color);
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    white-space: nowrap;
}

.faq-question-text {
    min-width: 0;
}

.faq-list--columns .faq-icon::before,
.faq-list--columns .faq-icon::after {
    background: var(--faq-icon-color);
}

.faq-list--columns .faq-item.active .faq-answer {
    max-height: 700px;
}

.faq-list--columns .faq-answer p {
    padding: 0 54px 18px;
    color: var(--faq-muted-color);
    font-size: 15px;
    line-height: 1.7;
}

.faq-list--columns .faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-list--columns .faq-item.active .faq-icon::after {
    opacity: 1;
}

/* MOBILE */
@media(max-width:768px) {

    .faq-header h2 {
        font-size: 32px;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px 16px;
    }

    .faq-answer p {
        font-size: 15px;
        padding: 0 16px 15px;
    }

    .faq-list--columns {
        grid-template-columns: 1fr;
    }

    .faq-list--columns .faq-answer p {
        padding: 0 54px 16px;
    }

}