/* Estilos generales */
html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

/* Navbar */

.fotocaracol {
    padding-left: 20px;
}

.container {
    padding: 0 !important;
    margin: 0 auto;
    max-width: 100%;
}

@font-face {
    font-family: "patome";
    src: url("../font/patome.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

.margin-section-title {
    margin-left: 30px;

    margin-right: 30px;
}

.nav-link {
    color: #1030a1;
    font-size: 16px;
    font-family: Poppins;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
    margin: 0 20px;
}

.nav-link:hover {
    color: #e8673e;
}
.nav-link a {
}

/* Sección Hero */
.hero {
    color: white;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 64px;
}

/* Títulos */
.section-title {
    color: #e8673e;
    font-size: 72px;
    font-family: patome;
    font-weight: 400;
    line-height: 76px;
    word-wrap: break-word;
    text-align: left;
}

.margin-text {
    width: 600px;
    max-width: 600px;

    color: #575757;

    text-align: left;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 136.364% */
}

/* Botón de contacto */
.btn-orange {
    background-color: #ff6f00;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-orange:hover {
    background-color: #e65c00;
}

/* Botón flotante de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    font-size: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 9999; /* Para que siempre esté encima */
}

.whatsapp-button:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
}

/* Footer */
footer {
    padding: 20px;
    background-color: #e8673e;
    margin: 15px;
    border-radius: 20px;
}
@media (min-width: 768px) {
    footer {
        margin: 34px;
    }
}

/* Foto equipo */
.fotojardin {
    width: 424px;
}

.fotojardin-padding {
    padding-left: 220px;
}

/* Card equipo */
.card-team {
    background-color: #1030a1;
    width: 150px;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card-team-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-content: center;
}

@media (min-width: 768px) {
    .card-team {
        width: 320px;
        height: 336px;
    }
    .card-team-container {
        column-gap: 35px;
    }
}

.card-team:hover {
    transform: translateY(-10px);
}

.card-team-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-team-content {
    padding: 20px;
}

.card-team-title {
    color: white;
    font-size: 22px;
    font-family: Poppins;
    font-weight: 700;
    line-height: 24px;
    word-wrap: break-word;
    color: #ffffff;
}

.card-team-description {
    font-size: 1rem;
    color: #777;
    margin-bottom: 20px;

    font-size: 16px;
    font-family: Poppins;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

/* Card documentos */

.card-docu {
    background-color: #fff;
    width: 320px;
    height: 412px;
    border-radius: 18px 18px 16px 16px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    gap: 8px;
    padding: 0px 0px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
}

.card-docu:hover {
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
}

.card-docu-img {
    width: 100%;
    height: 256px;
    object-fit: cover;
}

.card-docu-content {
    padding: 20px;
}

.card-docu-title {
    color: var(--Azul-Principal-Caracolitos, #1030a1);
    text-align: center;
    font-family: Poppins;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px; /* 118.182% */
    margin-bottom: 10px;
}

.card-docu-description {
    font-size: 1rem;
    color: #777;
    margin-bottom: 20px;
}

.card-docu-btn {
    height: 48px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    background: var(--Naranjo-Principal-Caracolitos, #e8673e);
    color: #ffffff;
    text-align: center;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 150% */
    display: inline-flex;
}

.card-docu-btn:hover {
    background-color: #555;
}

.fila-documento1 {
    padding-left: 120px;
}

/* Card testimonio */
.card-testimonio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    max-width: 513px; /* Ajusta el tamaño máximo */
    margin: 0 auto; /* Centrado automático */

    background-color: #ffffff;
    width: 513px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.car-testimonio-1,
.card-testimonio-2.card-testimonio-2 {
    padding-left: 50px;
}

.card-testimonio-content {
    padding: 35px;
}

.card-testimonio:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card-testimonio-title {
    color: var(--Azul-Principal-Caracolitos, #1030a1);
    /* H2/22-26 */
    font-family: Poppins;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px; /* 118.182% */
    text-align: left;
}

.card-testimonio-description {
    color: #575757;
    /* Paragraph/16-24 */
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.section-title-testimonio {
    color: #e8673e;
    font-size: 72px;
    font-family: patome;
    font-weight: 400;
    line-height: 76px;
    word-wrap: break-word;
    padding-right: 500px;
}

.card-testimonio-horizontal {
    background-color: #ffffff;
    width: 1056px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.botonprimario {
    padding: 8px;
    background: #e8673e;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: inline-flex;
    border: none;
    height: 80px;
    color: white;
    font-size: 22px;
    font-family: Poppins;
    font-weight: 700;
    line-height: 26px;
    word-wrap: break-word;

    width: 100%;
    max-width: 472px; /* ancho máximo original */
    height: 80px;
    margin: 0 auto; /* lo centra cuando es más pequeño */
    /* El resto de tus propiedades se mantienen: color, padding, etc. */
}

.generic-card-1 {
    padding-left: 0px;
}

.generic-card-2 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.generic-card-4 {
    padding-left: 100px;
}

.generic-card-5 {
    padding-left: 40px;
}

.contenedor-testimonios {
    display: flex;
    flex-direction: column; /* Para que se apilen */
    align-items: center; /* Centra horizontalmente */
    justify-content: center; /* Centra verticalmente */
    width: 100%;
}

.fotocaracol {
    width: 100px;
}

.parrafo {
    color: #575757;
    font-size: 22px;
    font-family: Poppins;
    font-weight: 400;
    line-height: 30px;
    word-wrap: break-word;
    text-align: center;
    margin: 20px;
}

.subtitulo {
    text-align: center;
    color: #1030a1;
    font-size: 22px;
    font-family: Poppins;
    font-weight: 800;
    line-height: 24.54px;
    word-wrap: break-word;
    padding-top: 15px;
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    .fotocaracol {
        padding-left: 0px;
        width: 70px;
    }
    .parrafo {
        font-size: 16px;
    }
    .subtitulo {
        font-size: 16px;
        margin-bottom: 0;
    }

    .card-team-2 {
        padding-left: 30px;
    }

    .card-team-title,
    .card-docu-title,
    .card-testimonio-title {
        font-size: 16px;
    }
    .card-testimonio-description {
        font-size: 14px;
    }

    .card-docu {
        background-color: #fff;
        width: 45%;
        height: 312px;
        border-radius: 18px 18px 16px 16px;
        overflow: hidden;
        text-align: center;
        transition: transform 0.3s ease;
        gap: 8px;
        padding: 0px 0px;
        box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    }

    .card-docu-img {
        height: auto;
    }

    .card-testimonio {
        width: 100%;
        max-width: 340px;
        text-align: center; /* Asegura que el contenido también esté centrado */
    }

    .card-testimonio-horizontal {
        background-color: #ffffff;
        width: 100%;
        max-width: 340px; /* mantiene tu ancho máximo */
        margin: 0 auto; /* centra en pantallas grandes */
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        text-align: left;
        transition: transform 0.3s ease;
    }
    .section-title {
        margin-bottom: 30px;
        color: #ff6f00;
        padding-left: 0px;
        font-size: 40px;
        align-items: center;

        font-family: patome;
        font-weight: 400;
        line-height: 76px;
        word-wrap: break-word;
        text-align: left;
    }

    .botonprimario {
        padding: 8px;
        background: #e8673e;
        border-radius: 16px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        display: inline-flex;
        border: none;
        height: 80px;
        color: white;
        font-size: 22px;
        font-family: Poppins;
        font-weight: 700;
        line-height: 26px;
        word-wrap: break-word;

        width: 100%;
        max-width: 320px; /* ancho máximo original */

        margin: 0 auto; /* lo centra cuando es más pequeño */
        /* El resto de tus propiedades se mantienen: color, padding, etc. */
    }

    .fotojardin {
        position: relative; /* O quitar si no es necesario */

        justify-content: center;
        align-items: center;
        margin: 0 auto; /* Centra horizontalmente */
        left: auto; /* Elimina la posición absoluta */
        top: auto; /* Evita que se desplace raro */

        width: 100%;
        max-width: 320px; /* conservas tu tope */
        display: block;
    }

    .fotojardin-padding {
        padding-left: 15px;
    }

    .card-testimonio {
        background-color: #ffffff;
        width: 340px;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        text-align: left;
        transition: transform 0.3s ease;
    }

    .section-title {
        font-size: 40px;
        text-align: center;
        margin-bottom: 30px;
        color: #ff6f00;
    }

    .section-title-testimonio {
        font-size: 40px;
        text-align: center;
        margin-bottom: 30px;
        color: #ff6f00;
        padding-left: 560px;
    }

    .contenedor {
        padding-top: 0px;
    }

    .contenedor-equipo {
        display: flex;
        flex-wrap: wrap; /* Permite que las tarjetas se ajusten según el espacio disponible */
        justify-content: center; /* Centra horizontalmente */
        align-items: center; /* Centra verticalmente */
        gap: 16px; /* Espaciado entre tarjetas */
        width: 100%;
        flex-direction: column;
        padding-right: 0px;

        padding-left: 0px;
    }

    .contenedor-cards {
        display: flex;
        flex-direction: column; /* Para que se apilen en móviles */
        align-items: center; /* Centra horizontalmente */
        justify-content: center;
        width: 100%;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 34px;
    }

    .whatsapp-button {
        width: 60px;
        bottom: 60px;

        height: 60px;
        font-size: 30px;
        display: flex !important;
    }

    .whatsapp-button:hover {
        background-color: #1ebe5d;
        transform: scale(1.1);
    }

    .margin-text-1 {
        margin-right: 18px;
        margin-left: 28px;
        text-align: center;
    }

    .margin-text-2 {
        margin-right: 28px;
        margin-left: 50px;
        text-align: center;
    }

    .fila-documento1 {
        padding-left: 0px;
    }

    .margin-text {
        width: 80%;

        color: #575757;

        text-align: center;
        font-family: Poppins;
        font-size: 14px;
        font-style: normal;
        font-weight: 440;
        line-height: 20px; /* 150% */
        padding-left: 70px;
    }

    .niveles-atencion {
        padding-right: 130px;
    }
}

@media (max-width: 400px) {
    .margin-section-title {
        font-size: 12px;
    }

    .botonprimario {
        padding: 8px;
        background: #e8673e;
        border-radius: 16px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        display: inline-flex;
        border: none;
        height: 80px;
        color: white;
        font-size: 22px;
        font-family: Poppins;
        font-weight: 700;
        line-height: 26px;
        word-wrap: break-word;

        width: 100%;
        max-width: 320px; /* ancho máximo original */

        margin: 0 auto; /* lo centra cuando es más pequeño */
        /* El resto de tus propiedades se mantienen: color, padding, etc. */
    }

    .contenedor-cards {
        display: flex;
        flex-direction: column; /* Para que se apilen en móviles */
        align-items: center; /* Centra horizontalmente */
        justify-content: center;
        width: 100%;
    }

    .section-title {
        text-align: center;
        margin-bottom: 30px;
        color: #ff6f00;
        padding-left: 0px;
        font-size: 40px;

        font-family: patome;
        font-weight: 400;
        line-height: 45px;
        word-wrap: break-word;
    }

    .whatsapp-button {
        width: 60px;
        bottom: 60px;

        height: 60px;
        font-size: 30px;
        display: flex !important;
    }

    .whatsapp-button:hover {
        background-color: #1ebe5d;
        transform: scale(1.1);
    }

    .margin-text-1 {
        margin-right: 28px;
        margin-left: 28px;
        align-items: center;
    }

    .margin-text-2 {
        margin-right: 28px;
        margin-left: 28px;
        align-items: center;

        text-align: center;
    }

    .fotojardin {
        position: relative; /* O quitar si no es necesario */

        justify-content: center;
        align-items: center;
        margin: 0 auto; /* Centra horizontalmente */
        left: auto; /* Elimina la posición absoluta */
        top: auto; /* Evita que se desplace raro */

        width: 100%;
        max-width: 320px; /* conservas tu tope */
        display: block;
    }

    .fila-documento1 {
        padding-left: 0px;
    }

    .card-team-2 {
        padding-left: 5px;
    }

    .generic-card-1 {
        padding-left: 0px;
        padding-right: 18px;
    }

    .fotocaracol {
        padding-left: 0px;
    }
}
