/*==================================================*
 * SIDV THEME - CONTACT FAQ (DOBLE COLUMNA)
 *==================================================*/

.sidv-contact-faq {

    padding: 6.5rem 0;

    background: #FFFFFF;

    position: relative;

    overflow: hidden;

}


/*==================================================*
 * ENCABEZADO DE SECCIÓN
 *==================================================*/

.sidv-contact-faq__header {

    max-width: 780px;

    margin: 0 auto 4rem;

    text-align: center;

}

.sidv-contact-faq__badge {

    display: inline-flex;

    align-items: center;

    gap: .5rem;

    padding: .5rem 1.1rem;

    border-radius: 999px;

    background: #FFF4E5;

    color: #f09700;

    font-size: .82rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}

.sidv-contact-faq__title {

    margin: 1.2rem 0 1rem;

    color: #0D2137;

    font-size: clamp(2.1rem, 4vw, 3.2rem);

    font-weight: 800;

    line-height: 1.18;

    letter-spacing: -0.02em;

}

.sidv-contact-faq__subtitle {

    max-width: 660px;

    margin: 0 auto;

    color: #64748B;

    font-size: 1.05rem;

    line-height: 1.8;

}


/*==================================================*
 * ESTRUCTURA EN DOBLE COLUMNA (GRID)
 *==================================================*/

.sidv-contact-faq__grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2.5rem;

    align-items: start;

}

.sidv-contact-faq__col-title {

    display: flex;

    align-items: center;

    gap: .75rem;

    margin: 0 0 1.5rem;

    color: #0D2137;

    font-size: 1.25rem;

    font-weight: 700;

    padding-bottom: .85rem;

    border-bottom: 2px solid #F1F5F9;

}

.sidv-faq-dot {

    display: inline-block;

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background-color: #f09700;

}

.sidv-faq-dot--cyan {

    background-color: #025672;

}


/*==================================================*
 * ACORDEÓN E ÍTEMS DE PREGUNTA
 *==================================================*/

.sidv-contact-faq__accordion {

    display: flex;

    flex-direction: column;

    gap: 1.15rem;

}

.sidv-faq-item {

    border: 1px solid #E2E8F0;

    border-radius: 16px;

    background: #FFFFFF;

    overflow: hidden;

    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;

}

.sidv-faq-item:hover {

    border-color: #CBD5E1;

    box-shadow: 0 10px 25px rgba(13, 33, 55, .04);

}

.sidv-faq-item:has(.sidv-faq-item__question[aria-expanded="true"]) {

    border-color: #025672;

    box-shadow: 0 16px 35px rgba(2, 86, 114, .08);

}


/*==================================================*
 * BOTÓN DE PREGUNTA INTERACTIVO
 *==================================================*/

.sidv-faq-item__question {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    padding: 1.25rem 1.5rem;

    gap: 1.25rem;

    border: 0;

    background: transparent;

    color: #0D2137;

    font-family: inherit;

    font-size: 1rem;

    font-weight: 700;

    line-height: 1.5;

    text-align: left;

    cursor: pointer;

    appearance: none;

    transition: color .3s ease;

}

.sidv-faq-item__question:hover {

    color: #025672;

}

.sidv-faq-item__question[aria-expanded="true"] {

    color: #025672;

}

.sidv-faq-item__question span:first-child {

    flex: 1;

}


/*==================================================*
 * ÍCONO DINÁMICO (+ / -)
 *==================================================*/

.sidv-faq-item__icon-wrapper {

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 36px;

    width: 36px;

    height: 36px;

    border-radius: 50%;

    background: #F1F5F9;

    color: #0D2137;

    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), background-color .3s ease, color .3s ease;

}

.sidv-faq-icon {

    display: block;

    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);

}

.sidv-faq-item__question:hover .sidv-faq-item__icon-wrapper {

    background: #E6F0F4;

    color: #025672;

}

.sidv-faq-item__question[aria-expanded="true"] .sidv-faq-item__icon-wrapper {

    transform: rotate(45deg);

    background: #025672;

    color: #FFFFFF;

}


/*==================================================*
 * CONTENEDOR Y ANIMACIÓN DE RESPUESTA
 *==================================================*/

.sidv-faq-item__answer {

    overflow: hidden;

    transition: height .35s cubic-bezier(0.16, 1, 0.3, 1);

}

.sidv-faq-item__answer[hidden] {

    display: none;

}

.sidv-faq-item__answer-inner {

    padding: 0 1.5rem 1.5rem 1.5rem;

}

.sidv-faq-item__answer-inner p {

    margin: 0;

    color: #64748B;

    font-size: .96rem;

    line-height: 1.75;

}


/*==================================================*
 * TARJETA CTA INFERIOR (CONSULTAS TÉCNICAS)
 *==================================================*/

.sidv-contact-faq__cta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 2rem;

    margin-top: 4.5rem;

    padding: 2.5rem 3rem;

    border-radius: 24px;

    background: #0D2137;

    color: #FFFFFF;

    box-shadow: 0 20px 50px rgba(13, 33, 55, .15);

}

.sidv-contact-faq__cta-content {

    max-width: 600px;

}

.sidv-contact-faq__cta-content h4 {

    margin: 0 0 .65rem;

    color: #FFFFFF;

    font-size: 1.35rem;

    font-weight: 700;

    line-height: 1.35;

}

.sidv-contact-faq__cta-content p {

    margin: 0;

    color: #94A3B8;

    font-size: .98rem;

    line-height: 1.6;

}

.sidv-btn-faq-cta {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: .75rem;

    padding: 1.1rem 1.8rem;

    border-radius: 14px;

    background: #f09700;

    color: #0D2137;

    font-size: .95rem;

    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;

    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);

    box-shadow: 0 10px 25px rgba(240, 151, 0, .25);

}

.sidv-btn-faq-cta:hover {

    background: #d88800;

    transform: translateY(-3px);

    box-shadow: 0 16px 32px rgba(240, 151, 0, .35);

    color: #0D2137;

}


/*==================================================*
 * REVEAL & ACCESIBILIDAD
 *==================================================*/

.sidv-contact-faq__header,
.sidv-contact-faq__grid,
.sidv-contact-faq__cta {

    opacity: 0;

    transform: translateY(30px);

    transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1), transform .7s cubic-bezier(0.16, 1, 0.3, 1);

}

.sidv-contact-faq.is-visible .sidv-contact-faq__header,
.sidv-contact-faq.is-visible .sidv-contact-faq__grid,
.sidv-contact-faq.is-visible .sidv-contact-faq__cta {

    opacity: 1;

    transform: translateY(0);

}

.sidv-faq-item__question:focus-visible {

    outline: 3px solid rgba(2, 86, 114, .4);

    outline-offset: -2px;

    border-radius: 14px;

}


/*==================================================*
 * RESPONSIVE (TABLETS Y MÓVILES)
 *==================================================*/

@media (max-width: 992px) {

    .sidv-contact-faq__grid {

        grid-template-columns: 1fr;

        gap: 3rem;

    }

    .sidv-contact-faq__cta {

        flex-direction: column;

        text-align: center;

        padding: 2.5rem 2rem;

    }

    .sidv-btn-faq-cta {

        width: 100%;

    }

}

@media (max-width: 768px) {

    .sidv-contact-faq {

        padding: 4.5rem 0;

    }

    .sidv-contact-faq__header {

        margin-bottom: 3rem;

    }

    .sidv-contact-faq__title {

        font-size: 2rem;

    }

    .sidv-faq-item__question {

        padding: 1.1rem 1.25rem;

        gap: 1rem;

        font-size: .95rem;

    }

    .sidv-faq-item__answer-inner {

        padding: 0 1.25rem 1.25rem 1.25rem;

    }

    .sidv-faq-item__answer-inner p {

        font-size: .92rem;

    }

    .sidv-faq-item__icon-wrapper {

        flex-basis: 32px;

        width: 32px;

        height: 32px;

    }

    .sidv-contact-faq__cta {

        margin-top: 3.5rem;

        border-radius: 18px;

    }

    .sidv-contact-faq__cta-content h4 {

        font-size: 1.2rem;

    }

}