/* =========================================
   PREGUNTAS FRECUENTES - TECNOSALUD
========================================= */

.pagina-faq {
    --faq-turquesa: #0aa8b3;
    --faq-turquesa-oscuro: #087e89;
    --faq-azul: #073d49;
    --faq-texto: #315b65;
    --faq-gris: #72868c;
    --faq-naranja: #ff891e; 
    --faq-naraja-claro: #ffa13e; 

    overflow: hidden;
    background: #f7fafb;
    color: var(--faq-texto);
    font-family: "Open Sans", sans-serif;
}


/* HERO */

.faq-hero {
    position: relative;
    padding: 75px 0 70px;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(79, 226, 226, .18),
            transparent 32%
        ),
        linear-gradient(120deg, #063c48, #087d88);
}

.faq-hero::before,
.faq-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    pointer-events: none;
}

.faq-hero::before {
    width: 350px;
    height: 350px;
    top: -230px;
    left: -100px;
}

.faq-hero::after {
    width: 450px;
    height: 450px;
    right: -160px;
    bottom: -340px;
}

.faq-hero .container {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.faq-etiqueta {
    display: inline-block;
    margin-bottom: 17px;
    color: #ff891e;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
}

.faq-etiqueta i {
    margin-right: 7px;
    font-size: 15px;
}

.faq-hero h1 {
    margin: 0 0 17px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(34px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.2;
}

.faq-hero p {
    max-width: 650px;
    margin: 0 auto 27px;
    color: rgba(255, 255, 255, .84);
    font-size: 18px;
    line-height: 1.8;
}

.faq-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border-radius: 50px;
    background: #ff891e;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    transition: transform .2s ease, background .2s ease;
}

.faq-hero-btn:hover {
    background: #ffa13e;
    transform: translateY(-3px);
}


/* CONTENIDO */

.faq-contenido {
    padding: 55px 0 65px;
}

.faq-contenido > .container {
    max-width: 1000px;
}

.faq-intro {
    margin-bottom: 27px;
    text-align: center;
}

.faq-intro > span {
    color: var(--faq-turquesa-oscuro);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 2px;
}

.faq-intro h2 {
    margin: 9px 0 10px;
    color: var(--faq-azul);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(23px, 3vw, 35px);
    font-weight: 800;
}

.faq-intro p {
    margin: 0;
    color: var(--faq-gris);
    font-size: 17px;
}


/* FILTROS */

.faq-categorias {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 25px;
}

.faq-filtro {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px;
    border: 1px solid #dfeaec;
    border-radius: 50px;
    background: #fff;
    color: #55727a;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.faq-filtro:hover {
    border-color: var(--faq-naranja);
    color: var(--faq-naranja);
}

.faq-filtro.active {
    border-color: var(--faq-naranja);
    background: var(--faq-naranja);
    color: #fff;
    box-shadow: 0 5px 12px rgba(10, 168, 179, .16);
}


/* ACORDEÓN */

.faq-listado {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid #e1ebed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(7, 61, 73, .035);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item[hidden] {
    display: none !important;
}

.faq-item:hover,
.faq-item.abierto {
    border-color: rgba(10, 168, 179, .5);
    box-shadow: 0 7px 22px rgba(7, 61, 73, .07);
}

.faq-pregunta {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-height: 76px;
    padding: 16px 21px;
    border: 0;
    background: #fff;
    color: var(--faq-azul);
    text-align: left;
    cursor: pointer;
}

.faq-pregunta:focus-visible {
    outline: 2px solid var(--faq-turquesa);
    outline-offset: -4px;
}

.faq-numero {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e8f8f9;
    color: var(--faq-turquesa-oscuro);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.faq-pregunta-texto {
    flex: 1;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.faq-toggle {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fddcb9;
    color: var(--faq-naranja);
    font-size: 15px;
    transition: background .2s ease, color .2s ease;
}

.faq-item.abierto .faq-toggle {
    background: var(--faq-naraja-claro);
    color: #fff;
}

.faq-respuesta {
    border-top: 1px solid #edf2f3;
    background: #fff;
}

.faq-respuesta[hidden] {
    display: none !important;
}

.faq-respuesta-interior {
    padding: 22px 27px 25px 74px;
    color: #5b737a;
    font-size: 16px;
    line-height: 1.9;
}

.faq-respuesta-interior p {
    margin: 0 0 13px;
}

.faq-respuesta-interior p:last-child {
    margin-bottom: 0;
}


/* HORARIOS */

.faq-horario {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.faq-horario li {
    display: flex;
    flex: 1 1 200px;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e3eff0;
    border-radius: 10px;
    background: #f8fcfc;
}

.faq-horario li > i {
    color: var(--faq-turquesa);
    font-size: 22px;
}

.faq-horario li span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-horario li strong {
    color: var(--faq-azul);
    font-size: 16px;
}

.faq-horario li small {
    color: var(--faq-gris);
    font-size: 15px;
}


/* FINANCIAMIENTO */

.faq-financiamiento-opcion {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #e2eff0;
    border-radius: 10px;
    background: #f8fcfc;
}

.faq-financiamiento-opcion > i {
    margin-top: 3px;
    color: var(--faq-turquesa);
    font-size: 17px;
}

.faq-financiamiento-opcion strong {
    display: block;
    margin-bottom: 4px;
    color: var(--faq-azul);
}

.faq-contacto-financiamiento {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e4eeee;
}

.faq-contacto-financiamiento > p {
    margin-bottom: 3px;
    color: var(--faq-azul);
    font-weight: 700;
}

.faq-contacto-financiamiento a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--faq-turquesa-oscuro);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.faq-contacto-financiamiento a:hover {
    color: #ff891e;
}


/* BANDA DE CONTACTO */

.faq-contacto {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 35px;
    padding: 24px;
    border: 1px solid #ccebed;
    border-radius: 14px;
    background: linear-gradient(110deg, #e5f7f8, #f5fbfc);
}

.faq-contacto-icono {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--faq-turquesa);
    color: #fff;
    font-size: 23px;
}

.faq-contacto-texto {
    flex: 1;
}

.faq-contacto-texto h3 {
    margin: 0 0 6px;
    color: var(--faq-azul);
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.faq-contacto-texto p {
    margin: 0;
    color: var(--faq-gris);
    font-size: 15px;
    line-height: 1.7;
}

.faq-contacto-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 18px;
    border-radius: 50px;
    background: #ff891e;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease;
}

.faq-contacto-boton:hover {
    background: #f1933b;
    transform: translateY(-2px);
}


/* TABLET */

@media (max-width: 767px) {
    .faq-hero {
        padding: 55px 0 48px;
    }

    .faq-hero h1 {
        font-size: 33px;
    }

    .faq-hero p {
        font-size: 15px;
    }

    .faq-contenido {
        padding: 38px 0 45px;
    }

    .faq-intro h2 {
        font-size: 23px;
    }

    .faq-categorias {
        gap: 7px;
    }

    .faq-filtro {
        padding: 9px 12px;
        font-size: 13px;
    }

    .faq-pregunta {
        min-height: 69px;
        gap: 11px;
        padding: 13px;
    }

    .faq-numero {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .faq-pregunta-texto {
        font-size: 14px;
    }

    .faq-toggle {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    .faq-respuesta-interior {
        padding: 18px 16px;
        font-size: 14px;
    }

    .faq-contacto {
        flex-wrap: wrap;
        gap: 13px;
        padding: 19px;
    }

    .faq-contacto-icono {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .faq-contacto-texto {
        flex-basis: calc(100% - 60px);
    }

    .faq-contacto-texto h3 {
        font-size: 14px;
    }

    .faq-contacto-boton {
        width: 100%;
    }
}


/* CELULARES PEQUEÑOS */

@media (max-width: 380px) {
    .faq-hero h1 {
        font-size: 29px;
    }

    .faq-filtro {
        font-size: 15px;
        padding: 8px 10px;
    }

    .faq-pregunta {
        gap: 8px;
        padding: 11px;
    }

    .faq-pregunta-texto {
        font-size: 16px;
    }

    .faq-respuesta-interior {
        padding: 15px 12px;
    }
}


/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .pagina-faq *,
    .pagina-faq *::before,
    .pagina-faq *::after {
        transition: none !important;
    }
}
