

/* =========================================================
   PARTE 1 - NOSOTROS
========================================================= */

.nosotros-section {
    width: 100%;
    padding: 10px 20px 15px;
    background: #ffffff;
    
}


/* =========================================================
   CONTENEDOR
========================================================= */

.nosotros-container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    
}


/* =========================================================
   ENCABEZADO
========================================================= */

.nosotros-header {
    max-width: 950px;
    margin: 0 auto 10px;
    text-align: center;
    
}

.nosotros-label {
    display: block;
    margin-bottom: 12px;
    color: #10A0A0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nosotros-title {
    margin: 0;
    color: #0040A0;
    font-size: clamp(18px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.05;
    
}


/* =========================================================
   GRID PRINCIPAL
========================================================= */

.nosotros-content-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.2fr);

    gap: 38px;
    
    align-items: center;
}


/* =========================================================
   IMAGEN
========================================================= */

.nosotros-image {
    position: relative;

    overflow: hidden;

    width: 100%;
    height: 330px;

    border-radius: 22px;
    

    background: #eef4f5;

    box-shadow:
        0 12px 35px rgba(31, 52, 83, 0.08);
    
        
}

.nosotros-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}



/* =========================================================
   TEXTO
========================================================= */

.nosotros-text {
    padding: 5px 5px;
    
}

.nosotros-text p {
    margin: 0 0 25px;

    color: #5f6878;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
}

.nosotros-text p:last-child {
    margin-bottom: 0;
}

.nosotros-text strong {
    color: #10A0A0;
    font-weight: 800;
}



/* =========================================================
   MISIÓN, VISIÓN Y VALORES
========================================================= */
.mision-section {
    width: 100%;
    padding: 35px 20px 45px;
    background: linear-gradient(180deg, #ffffff 0%, var(--fondo-suave) 100%);
    
}

.mision-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
    
}

.mision-pri,
.vision-pri,
.valores-pri {
    min-height: 210px;

    display: flex;
    align-items: flex-start;

    gap: 22px;

    padding: 30px 28px;

    background: #ffffff;

    border: 1px solid #edf1f4;
    border-radius: 18px;

    box-shadow: 0 12px 35px rgba(31, 52, 83, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    
}


.icono-mision,
.icono-vision,
.icono-valores {
    width: 80px;
    height: 80px;

    min-width: 78px;

    align-self: center;      


    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #10A0A0;

    box-shadow:
        0 10px 25px rgba(116, 184, 181, 0.25);
}



.icono-mision i,
.icono-vision i,
.icono-valores i {
    font-size: 32px;
    color: #ffffff;
}


.contenido-mision,
.contenido-vision,
.contenido-valores {
    padding-top: 0;
}


.contenido-mision h2,
.contenido-vision h2,
.contenido-valores h2 {
    margin: 0 0 10px;

    color: #10A0A0;

    font-size: 21px;
    font-weight: 800;

    line-height: 1.1;

    text-transform: uppercase;
}

.contenido-mision p,
.contenido-vision p {
    margin: 0;

    color: #5f6878;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.55;
    text-align: justify;
}

.lista-valores {
    display: grid;

    

    column-gap: 25px;
    row-gap: 10px;
}

.lista-valores span {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #5f6878;

    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;
}


.lista-valores span i {
    color: #10A0A0;

    font-size: 14px;
}


/* =========================================================
   RESPONSIVE GENERAL - NOSOTROS + MISIÓN/VISIÓN/VALORES
========================================================= */


/* =========================================================
   LAPTOP / PANTALLAS MEDIANAS
   1200px hacia abajo
========================================================= */

@media (max-width: 1200px) {

    /* =========================
       NOSOTROS
    ========================== */

    .nosotros-container {
        max-width: 1100px;
    }

    .nosotros-content-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1.1fr);

        gap: 32px;
    }

    .nosotros-image {
        height: 320px;
    }

    .nosotros-text p {
        font-size: 16px;
        line-height: 1.7;
    }


    /* =========================
       MISIÓN / VISIÓN / VALORES
    ========================== */

    .mision-container {
        max-width: 1100px;
        gap: 18px;
    }

    .mision-pri,
    .vision-pri,
    .valores-pri {
        gap: 18px;
        padding: 26px 22px;
    }

    .icono-mision,
    .icono-vision,
    .icono-valores {
        width: 72px;
        height: 72px;
        min-width: 72px;
    }

    .icono-mision i,
    .icono-vision i,
    .icono-valores i {
        font-size: 28px;
    }

    .contenido-mision h2,
    .contenido-vision h2,
    .contenido-valores h2 {
        font-size: 19px;
    }

}


/* =========================================================
   TABLET HORIZONTAL
   1000px hacia abajo
========================================================= */

@media (max-width: 1000px) {

    /* =========================
       NOSOTROS
    ========================== */

    .nosotros-section {
        padding: 30px 20px 25px;
    }

    .nosotros-header {
        max-width: 820px;
        margin-bottom: 28px;
    }

    .nosotros-title {
        font-size: clamp(30px, 5vw, 42px);
    }

    .nosotros-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .nosotros-image {
        height: 310px;
    }

    .nosotros-text {
        padding: 0;
    }

    .nosotros-text p {
        margin-bottom: 18px;
        font-size: 15.5px;
        line-height: 1.65;
    }


    /* =========================
       MISIÓN / VISIÓN / VALORES
    ========================== */

    .mision-section {
        padding: 28px 20px 40px;
    }

    .mision-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    /* Valores ocupa toda la fila */
    .valores-pri {
        grid-column: 1 / -1;
    }

    .mision-pri,
    .vision-pri,
    .valores-pri {
        min-height: 220px;
    }

    .valores-pri {
        max-width: 700px;
        width: 100%;
        justify-self: center;
    }

    .lista-valores {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET VERTICAL
   800px hacia abajo
========================================================= */

@media (max-width: 800px) {

    /* =========================
       NOSOTROS
    ========================== */

    .nosotros-section {
        padding: 35px 18px 25px;
    }

    .nosotros-container {
        max-width: 700px;
    }

    .nosotros-header {
        max-width: 650px;
        margin-bottom: 25px;
    }

    .nosotros-label {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .nosotros-title {
        font-size: clamp(30px, 6vw, 40px);
        line-height: 1.08;
    }

    .nosotros-content-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .nosotros-image {
        width: 100%;
        max-width: 650px;
        height: 360px;

        margin: 0 auto;
    }

    .nosotros-text {
        width: 100%;
        max-width: 650px;

        margin: 0 auto;

        padding: 0 4px;

        /* Mejor lectura que centrado */
        text-align: left;
    }

    .nosotros-text p {
        font-size: 16px;
        line-height: 1.7;
    }


    /* =========================
       MISIÓN / VISIÓN / VALORES
    ========================== */

    .mision-section {
        padding: 25px 18px 35px;
    }

    .mision-container {
        max-width: 650px;

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .valores-pri {
        grid-column: auto;
        max-width: none;
    }

    .mision-pri,
    .vision-pri,
    .valores-pri {
        width: 100%;

        min-height: auto;

        gap: 24px;

        padding: 30px 28px;
    }

    .icono-mision,
    .icono-vision,
    .icono-valores {
        width: 78px;
        height: 78px;

        min-width: 78px;

        align-self: center;
    }

    .contenido-mision,
    .contenido-vision,
    .contenido-valores {
        min-width: 0;
        width: 100%;
    }

    .contenido-mision h2,
    .contenido-vision h2,
    .contenido-valores h2 {
        font-size: 20px;
    }

    .contenido-mision p,
    .contenido-vision p {
        font-size: 15px;
        line-height: 1.65;
    }

    .lista-valores {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .lista-valores span {
        font-size: 15px;
    }

}


/* =========================================================
   MÓVIL
   600px hacia abajo
========================================================= */

@media (max-width: 600px) {

    /* =========================
       NOSOTROS
    ========================== */

    .nosotros-section {
        padding: 28px 15px 20px;
    }

    .nosotros-header {
        margin-bottom: 22px;
    }

    .nosotros-label {
        margin-bottom: 7px;

        font-size: 12px;
        letter-spacing: 1.6px;
    }

    .nosotros-title {
        font-size: clamp(28px, 9vw, 36px);
        line-height: 1.1;
        letter-spacing: -0.5px;
    }

    .nosotros-content-grid {
        gap: 22px;
    }

    .nosotros-image {
        height: 290px;

        border-radius: 18px;
    }

    .nosotros-text {
        padding: 0;
    }

    .nosotros-text p {
        margin-bottom: 16px;

        font-size: 15px;
        line-height: 1.65;

        /* En móvil suele verse mejor alineado a la izquierda */
        text-align: left;
    }


    /* =========================
       MISIÓN / VISIÓN / VALORES
    ========================== */

    .mision-section {
        padding: 20px 15px 30px;
    }

    .mision-container {
        gap: 16px;
    }

    .mision-pri,
    .vision-pri,
    .valores-pri {
        padding: 26px 22px;

        gap: 20px;

        border-radius: 16px;
    }

    .icono-mision,
    .icono-vision,
    .icono-valores {
        width: 68px;
        height: 68px;

        min-width: 68px;
    }

    .icono-mision i,
    .icono-vision i,
    .icono-valores i {
        font-size: 26px;
    }

    .contenido-mision h2,
    .contenido-vision h2,
    .contenido-valores h2 {
        margin-bottom: 10px;

        font-size: 18px;
    }

    .contenido-mision p,
    .contenido-vision p {
        font-size: 14.5px;
        line-height: 1.65;

        /*
        En pantallas pequeñas NO recomiendo justificar:
        crea huecos grandes entre palabras.
        */
        text-align: left;
    }

    .lista-valores {
        gap: 10px;
    }

    .lista-valores span {
        white-space: normal;

        font-size: 14.5px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   450px hacia abajo
========================================================= */

@media (max-width: 450px) {

    /* =========================
       NOSOTROS
    ========================== */

    .nosotros-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .nosotros-title {
        font-size: 30px;
    }

    .nosotros-image {
        height: 245px;
    }

    .nosotros-text p {
        font-size: 14.5px;
    }


    /* =========================
       TARJETAS
    ========================== */

    .mision-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mision-pri,
    .vision-pri,
    .valores-pri {
        /*
        En teléfonos muy estrechos:
        icono arriba y contenido abajo.
        */
        flex-direction: column;

        align-items: center;

        padding: 24px 20px;

        gap: 16px;
    }

    .icono-mision,
    .icono-vision,
    .icono-valores {
        align-self: center;

        width: 70px;
        height: 70px;

        min-width: 70px;
    }

    .contenido-mision,
    .contenido-vision,
    .contenido-valores {
        width: 100%;

        text-align: center;
    }

    .contenido-mision h2,
    .contenido-vision h2,
    .contenido-valores h2 {
        text-align: center;
    }

    .contenido-mision p,
    .contenido-vision p {
        text-align: left;
    }

    .lista-valores {
        width: fit-content;

        margin: 0 auto;

        text-align: left;
    }

}


/* =========================================================
   MÓVIL MUY PEQUEÑO
   360px hacia abajo
========================================================= */

@media (max-width: 360px) {

    .nosotros-title {
        font-size: 27px;
    }

    .nosotros-image {
        height: 220px;
    }

    .nosotros-text p {
        font-size: 14px;
    }

    .mision-pri,
    .vision-pri,
    .valores-pri {
        padding: 22px 17px;
    }

    .contenido-mision p,
    .contenido-vision p,
    .lista-valores span {
        font-size: 14px;
    }

}




/* =========================================================
   FAQ + TESTIMONIOS
========================================================= */

.confianza-section {
    width: 100%;

    padding: 45px 20px 55px;

    background: #ffffff;
}


.confianza-container {
    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(330px, 0.85fr)
        minmax(0, 1.65fr);

    gap: 55px;

    align-items: start;
}


/* =========================================================
   TÍTULOS
========================================================= */

.confianza-titulo {
    margin-bottom: 16px;
}


.confianza-titulo h2 {
    margin: 0;

    color: #10A0A0;

    font-size: 18px;

    font-weight: 800;

    letter-spacing: 1px;
}


.testimonios-titulo {
    display: flex;

    align-items: center;

    gap: 10px;
}


.testimonios-titulo > i {
    color: #10A0A0;

    font-size: 20px;
}


/* =========================================================
   FAQ
========================================================= */

.faq-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #edf1f4;

    border-radius: 18px;

    box-shadow:
        0 14px 35px rgba(31, 52, 83, 0.08);
}


.faq-item {
    border-bottom:
        1px solid #edf1f4;
}


.faq-item:last-child {
    border-bottom: none;
}


/* BOTÓN */

.faq-question {
    width: 100%;

    min-height: 74px;

    display: grid;

    grid-template-columns:
        52px
        minmax(0, 1fr)
        25px;

    align-items: center;

    gap: 14px;

    padding: 10px 20px;

    border: none;

    background: #ffffff;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.25s ease;
}


.faq-question:hover {
    background: #f8fbfb;
}


/* ICONO */

.faq-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #55bebb;

    color: #ffffff;

    font-size: 17px;

    box-shadow:
        0 7px 18px rgba(85, 190, 187, 0.18);
}


/* TEXTO */

.faq-question-text {
    color: #123c7c;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.35;
}


/* FLECHA */

.faq-arrow {
    color: #123c7c;

    font-size: 12px;

    transition:
        transform 0.3s ease;
}


/* RESPUESTA */

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.35s ease;
}


.faq-answer-content {
    padding:
        0
        25px
        22px
        86px;
}


.faq-answer-content p {
    margin: 0;

    color: #5f6878;

    font-size: 13.5px;

    line-height: 1.65;
}


.faq-item.activo .faq-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   CARRUSEL
========================================================= */

.testimonios-slider {
    width: 100%;

    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr)
        48px;

    align-items: center;

    gap: 12px;
}


/* VENTANA */

.testimonios-viewport {
    width: 100%;

    overflow: hidden;
}


/* TRACK */

.testimonios-track {
    display: flex;

    gap: 18px;

    transition:
        transform 0.45s cubic-bezier(.22,.61,.36,1);
}


/* =========================================================
   TARJETA
========================================================= */

.testimonio-card {
    flex:
        0 0
        calc((100% - 36px) / 3);

    min-width: 0;

    display: flex;

    flex-direction: column;

    padding: 16px;

    background: #ffffff;

    border:
        1px solid #edf1f4;

    border-radius: 18px;

    box-shadow:
        0 14px 35px rgba(31, 52, 83, 0.08);
}


/* ETIQUETA */

.testimonio-label {
    margin-bottom: 10px;

    color: #10A0A0;

    font-size: 18px;

    font-weight: 800;
}


/* =========================================================
   CAPTURA WHATSAPP
========================================================= */

.testimonio-whatsapp {
    width: 100%;

    height: 290px;

    overflow: hidden;

    

    background: #f4f6f5;

    border:
        1px solid #edf0ef;
}


.testimonio-whatsapp img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    object-position: center;

    background: #f4f6f5;
}




/* =========================================================
   PERSONA
========================================================= */

.testimonio-persona {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: auto;
}


.testimonio-persona-icono {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #55bebb;

    color: #ffffff;

    font-size: 15px;
}


.testimonio-persona strong {
    display: block;

    color: #123c7c;

    font-size: 16px;

    font-weight: 800;
}


.testimonio-persona div > span {
    display: block;

    margin-top: 2px;

    color: #5f6878;

    font-size: 13px;
}


/* =========================================================
   BOTONES CARRUSEL
========================================================= */

.testimonio-nav {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #ffffff;

    color: #10A0A0;

    font-size: 17px;

    cursor: pointer;

    box-shadow:
        0 8px 24px rgba(31, 52, 83, 0.13);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}


.testimonio-nav:hover {
    transform: scale(1.07);

    background: #10A0A0;

    color: #ffffff;
}


/* =========================================================
   INDICADORES
========================================================= */

.testimonios-dots {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin-top: 20px;
}


.testimonios-dots button {
    width: 9px;
    height: 9px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #d6dfe1;

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}


.testimonios-dots button.activo {
    width: 24px;

    border-radius: 20px;

    background: #10A0A0;
}


/* =========================================================
   BANDA DE CONFIANZA
========================================================= */

.testimonio-confianza {
    width: min(92%, 1380px);

    margin:
        35px
        auto
        0;

    min-height: 95px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    padding: 20px 35px;

    border-radius: 18px;

    background:
        linear-gradient(
            90deg,
            #f3fbfa,
            #edf8f8
        );
}


.testimonio-confianza-icono {
    width: 60px;
    height: 60px;

    flex: 0 0 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #10A0A0;

    color: #ffffff;

    font-size: 25px;
}


.testimonio-confianza strong {
    display: block;

    color: #10A0A0;

    font-size: 18px;

    font-weight: 800;
}


.testimonio-confianza p {
    margin:
        4px
        0
        0;

    color: #5f6878;

    font-size: 13px;
}


/* =========================================================
   RESPONSIVE - LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .confianza-container {
        gap: 35px;

        grid-template-columns:
            minmax(300px, 0.8fr)
            minmax(0, 1.2fr);
    }


    /* 2 testimonios visibles */

    .testimonio-card {
        flex-basis:
            calc((100% - 18px) / 2);
    }

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .confianza-section {
        padding:
            35px
            18px
            45px;
    }


    .confianza-container {
        max-width: 700px;

        grid-template-columns: 1fr;

        gap: 45px;
    }


    .confianza-titulo {
        text-align: center;
    }


    .testimonios-titulo {
        justify-content: center;
    }


    .faq-card {
        max-width: 650px;

        margin: 0 auto;
    }


    /* Dos testimonios */

    .testimonio-card {
        flex-basis:
            calc((100% - 18px) / 2);
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 650px) {

    .confianza-section {
        padding:
            30px
            14px
            40px;
    }


    .confianza-titulo h2 {
        font-size: 16px;
    }


    /* FAQ */

    .faq-question {
        grid-template-columns:
            45px
            minmax(0, 1fr)
            20px;

        min-height: 68px;

        gap: 10px;

        padding:
            10px
            14px;
    }


    .faq-icon {
        width: 40px;
        height: 40px;

        font-size: 15px;
    }


    .faq-question-text {
        font-size: 13px;
    }


    .faq-answer-content {
        padding:
            0
            20px
            18px
            69px;
    }


    /* CARRUSEL */

    .testimonios-slider {
        grid-template-columns:
            38px
            minmax(0, 1fr)
            38px;

        gap: 7px;
    }


    /* Un testimonio */

    .testimonio-card {
        flex-basis: 100%;

        padding: 14px;
    }


    .testimonio-whatsapp {
        height: 340px;
    }


    .testimonio-nav {
        width: 38px;
        height: 38px;

        font-size: 14px;
    }


    /* MENSAJE FINAL */

    .testimonio-confianza {
        width: 100%;

        flex-direction: column;

        text-align: center;

        padding: 25px 20px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 400px) {

    .faq-question-text {
        font-size: 12.5px;
    }


    .testimonio-whatsapp {
        height: 300px;
    }


    .testimonio-persona strong {
        font-size: 12.5px;
    }

}

