@media (max-width: 768px) {
    :root {
        --azul: #212e6a;
        --amarillo: #ffe100;
        --rojo: #e91643;
    }

    @font-face {
        font-family: 'Modal';
        src: url('/assets/css/font/Modal/Modal-Black.woff2') format('woff2'),
            url('/assets/css/font/Modal/Modal-Black.woff') format('woff');
        font-weight: bold;
        font-style: normal;
    }

    body {
        margin: 0;
        padding: 0;
        /* background: linear-gradient(to right, #001f4d, #4b5e7b); */
        /* Degradado similar */
    }

    .navbar-custom {
        /* background: transparent; */
        background: linear-gradient(to right, #001f4d, #4b5e7b);
        padding: 0.5rem 2rem;
        align-items: center;
    }

    .navbar-brand img {
        height: 80px;
    }

    .navbar-nav {
        margin: 0 auto;

    }

    .nav-link {
        color: white;
        font-weight: 700;
        font-size: 0.95rem;
        letter-spacing: 0.08rem;
        margin: 0 0.4rem;
        text-transform: uppercase;
    }

    .nav-link.active {
        border-bottom: 2px solid white;
    }

    .nav-link:hover {
        color: #ffc107;
    }

    @media (max-width: 991.98px) {
        .navbar-collapse {
            background-color: #001f4d;
        }
    }

    .primera_seccion {

        background-image: url("../img/img/section1_img.webp");
        background-repeat: no-repeat;
        height: 85vh;
        background-size: cover;
        /* opacity: 0.7; */
        /* background-position: right center; */
        z-index: 2;
    }

    .nosotros_seccion {
        background-image: url("../img/img/nosotros_seccion.webp");
        background-repeat: no-repeat;
        height: 169vh;
        background-size: cover;
        /* opacity: 0.7; */
        /* background-position: right center; */
        z-index: 2;

    }

    .testimonio_seccion {
        background-image: url("../img/img/testimonio_seccion.webp");
        background-repeat: no-repeat;
        height: 85vh;
        background-size: cover;
        /* opacity: 0.7; */
        /* background-position: right center; */
        z-index: 2;

    }

    .pstxt {
        max-width: 600px;
        padding: 2rem;
        position: absolute;
        top: 24%;
        /* background: rgba(0, 0, 0, 0.4); */
        /* opcional: para mejorar legibilidad */
        border-radius: 8px;
    }

    .pstxt_servicio {
        max-width: 600px;
        padding: 2rem;
        position: relative;
        top: 44%;
        /* background: rgba(0, 0, 0, 0.4); */
        /* opcional: para mejorar legibilidad */
        border-radius: 8px;
    }

    .pstxt_about {
        /* max-width: 700px; */
        font-size: 1.1rem;
        width: 100%;
        padding: 13px;
        position: relative;
        top: 0%;
        background: rgba(0, 0, 0, 0.1);
        /* opcional: para mejorar legibilidad */
        border-radius: 8px;
        font-family: 'Segoe UI', sans-serif;
        text-align: justify;
    }

    .p_ayuda {

        font-size: 1.4rem;
    }

    h1 {
        color: white;
        font-weight: bold;
    }

    .pstxt .orange {
        color: #f8aa1c;
        font-weight: bold;
    }

    .pstxt_servicio .orange {
        color: #f8aa1c;
        font-weight: bold;
    }

    .pstxt-btn {
        /* background: linear-gradient(to right, #da951c, black);
   
    color: white;
    
    border: none;
    border-radius: 30px;
    padding: 0.8rem 2rem;
    font-size: 2.8rem;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: 0.3s ease; */

        background: linear-gradient(to right, #d4a016, #002f6c);
        color: white;
        padding: 12px 30px;
        display: inline-block;
        font-weight: bold;
        border-radius: 30px;
        /* margin-bottom: 40px; */
        font-size: 1.2rem;
        border: solid;

    }

    .hero-btn:hover {
        background-color: white;
        color: #0d2b5c;
    }


    /* pagina testimonios  */
    .body_testimonio {

        background-color: #ea9e18;
    }

    .testimonio_azul {
        /* background-color: blue; */
        border-radius: 30px;
        width: 80%;
        padding: 2%;
    }

    .testimonial-section {
        background-color: #042554;
        padding: 21px 20px;
        border-radius: 23px;

    }



    .testimonial-card {
        /* background-color: blue; */
        color: #fff;
        border-radius: 12px;
        padding: 20px;
        margin-top: 10px;
    }

    .testimonial-stars {
        color: yellow;
        font-size: 1.4rem;
        margin-top: 10px;
    }

    .testimonial-img {
        max-width: 100%;
        border-radius: 8px;
        /* width: 31%; */
    }

    .carousel-indicators [data-bs-target] {
        background-color: #fff;
        width: 16px;
        height: 16px;
        border-radius: 50%;
    }

    .iconos_testimonio {
        padding: 21px 20px;
        width: 50%;
    }

    .beneficio-card {
        display: flex;
        align-items: center;
        /* centramos verticalmente */
        gap: 15px;
        /* espacio entre icono y texto */
        padding: 15px;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .beneficio-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

    .imagen_beneficio {
        flex: 0 0 65px;
        /* tamaño fijo del contenedor */
        height: 65px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #f9f9f9;
        border-radius: 12px;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    .imagen_beneficio img {
        max-width: 40px;
        max-height: 40px;
    }

    .beneficio_text {
        flex: 1;
    }

    .beneficio_text h5 {
        font-weight: 600;
        color: #1a2a47;
        margin-bottom: 6px;
        font-size: 18px;
    }

    .beneficio_text p {
        margin: 0;
        font-size: 15px;
        line-height: 1.4;
        color: #444;
    }



    .servicios {
        background: #002b5c;
        /* tu color de fondo */
        color: #fff;
    }

    .servicios h1 {
        color: #ffa726;
        /* el naranja de tu imagen */
    }

    .lista-servicios {
        list-style: none;
        /* quitamos viñetas por defecto */
        padding: 0;
        margin: 0;
    }

    .lista-servicios li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 12px;
        line-height: 1.5;
        font-size: 21px;
    }

    .lista-servicios li::before {
        content: "•";
        /* reemplazamos por un punto */
        position: absolute;
        left: 0;
        top: 0;
        color: #ffa726;
        /* mismo naranja del título */
        font-size: 20px;
        line-height: 1;
    }

    .footer {
        background: linear-gradient(90deg, #002147, #003366);
        /* azul degradado */
        color: #fff;
        font-size: 14px;
        font-family: 'Segoe UI', sans-serif;
    }

    .footer .logo-footer {
        max-width: 180px;
    }

    .footer h5 {
        font-weight: 600;
        color: #fff;
    }

    .footer-menu li {
        margin-bottom: 8px;
    }

    .footer-menu a {
        color: #ccc;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-menu a:hover {
        color: #ffa726;
        /* naranja de tu marca */
    }

    .contacto {

        background: #00285e url('../img/img/contacto.webp') no-repeat center center;
        background-size: auto;
        background-repeat: no-repeat;
        color: white;
        font-family: 'Segoe UI', sans-serif;
        height: 104vh;

    }

    .contact-box {
        background-color: rgba(255, 255, 255, 0.1);
        border: 2px solid white;
        border-radius: 20px;
        padding: 2rem;
        margin: 2rem auto;
        max-width: 900px;
        backdrop-filter: blur(8px);
    }

    .contact-box label {
        font-weight: 600;
        margin-bottom: 0.3rem;
    }

    .contact-box input,
    .contact-box textarea {
        border-radius: 15px;
        border: none;
        padding: 0.75rem 1rem;
    }

    .contact-box textarea {
        height: 150px;
        resize: none;
    }

    .titulo {
        background-color: #ffffff88;
        padding: 0.5rem 2rem;
        display: inline-block;
        border-radius: 10px;
        margin-top: -2rem;
        font-size: 1.5rem;
        font-weight: bold;
        color: #00285e;
    }

    .team-section {
        background-color: #f8f9fa;
        padding: 60px 20px;
    }

    .team-title {
        background: linear-gradient(to right, #d4a016, #002f6c);
        color: white;
        padding: 12px 30px;
        display: inline-block;
        font-weight: bold;
        border-radius: 10px;
        margin-bottom: 40px;
    }

    .card-footer-custom {
        background-color: #002f6c;
        color: white;
        font-size: 0.9rem;
        padding: 10px;
        min-height: 160px;
    }

    .card img {
        height: 502px;
        object-fit: cover;
    }

    .politica {
        font-family: 'Segoe UI', sans-serif;
        padding: 2rem;
        margin: 2rem auto;
        max-width: 900px;
        color: black;
        text-align: justify;
        font-size: 1.2rem;
    }

    .scroll-top {
        position: fixed;
        visibility: hidden;
        opacity: 0;
        right: 15px;
        bottom: -15px;
        z-index: 99999;
        background: linear-gradient(to right, #d4a016, #002f6c);
        width: 44px;
        height: 44px;
        border-radius: 50px;
        transition: all 0.4s;
    }

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 50%);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }

    .fot img {
        width: 17%;
    }
}