@media (max-width: 900px) {
    body, html{
        overflow-x: hidden;
    }
    .contenedor_formulario {
        max-width: 400px !important;
        width: auto !important;
        margin: 0 15px !important;
        box-sizing: border-box !important;
        padding: 18px 12px !important;
    }
    .formulario_contacto {
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .formulario_contacto input,
    .formulario_contacto textarea,
    .formulario_contacto select {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .carousel-clientes-wrapper {
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .cliente_logos {
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .carousel-clientes-viewport {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
    }
    .carousel-clientes-track {
        display: flex !important;
        flex-direction: row !important;
        gap: 18px !important;
        width: max-content !important;
        min-width: 600px !important;
        align-items: center !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }
    .carousel-clientes-track {
        width: max-content !important;
        min-width: unset !important;
        max-width: unset !important;
    }
    .carousel-clientes-wrapper .carousel-btn {
        top: 50% !important;
        left: 0;
        right: 0;
        transform: translateY(-50%) !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    /* right: 0 !important;
    left: auto !important;
    margin-right: 2px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important; */
}
@media (max-width: 900px) {
    .logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 10px 0 !important;
    }
    .logo img {
        max-width: 180px !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
}
@media (max-width: 900px) {
    .cliente_logos {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        height: 90px !important;
        min-height: 90px !important;
        padding: 0 10px !important;
        background: #fff !important;
        box-shadow: none !important;
        position: relative !important;
    }
    .cliente_logos img {
        max-height: 60px !important;
        max-width: 90px !important;
        margin: 0 10px !important;
        object-fit: contain !important;
    }
    .carousel-clientes-wrapper {
        width: 100% !important;
    display: block !important;
        position: relative !important;
        background: transparent !important;
        z-index: 2 !important;
    }
    .carousel-btn {
        /* position: absolute !important; */
        top: 50% !important;
        /* transform: translateY(-50%) !important; */
        z-index: 3 !important;
        background: #fff !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        padding: 0 !important;
    }
    .carousel-btn.prev {
        left: 0 !important;
        margin-left: 2px !important;
    }
    .carousel-btn.next {
        right: 0 !important;
        margin-right: 2px !important;
    }
}
@media (max-width: 900px) {
    .servicios {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        width: 100% !important;
        align-items: stretch !important;
    }
    .card_service {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
    }
}
@media (max-width: 900px) {
    .clientes h2 {
        font-size: 2rem !important;
        font-weight: 700 !important;
        margin-bottom: 18px !important;
        text-align: center !important;
    }
    .carrusel_proyectos {
    overflow: initial !important;
    }
    .carrusel_proyectos-wrapper {
        overflow: visible !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        max-width: calc(100vw - 20px) !important;
        box-sizing: border-box !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100vw !important;
    }
    .proyecto {
        position: relative !important;
        z-index: 10 !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: 25vw !important;
        width: 25vw !important;
        height: 162px !important;
        border-radius: 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .proyecto img, .proyecto picture, .proyecto div {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        box-sizing: border-box !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .clientes-proyectos {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding-inline: 0 !important;
        margin-inline: 0 !important;
        box-sizing: border-box !important;
        background: none !important;
        height: auto;
        gap: 28px;
        padding-bottom: 32px;
    }
    .proyectos {
           overflow: hidden !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: stretch !important;
           overflow: hidden !important;
           box-sizing: border-box !important;
        max-width: 100vw !important;
        margin-inline: 0 !important;
        gap: 1vw !important;
        padding-inline: 1vw !important;
        box-sizing: border-box !important;
           min-width: 100vw !important;
    }
    .carrusel_proyectos {
        min-height: 130px !important;
        padding-block: 6px !important;
        width: 100vw !important;
        max-width: 100vw !important;
        gap: 6px !important;
        overflow-x: auto !important;
        box-sizing: border-box !important;
    }
    .carrusel-proyectos-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 1rem !important;
        padding: 0 !important;
        margin-inline: 2px !important;
    }
    .proyectos_col2{
    display: flex !important;
    flex-direction: column;
    align-items: center;
    }
    .proyectos_col2 h2 {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
        max-width: 80%;
    }
    .acerca_de {
        height: max-content !important;
        margin-top: -40px;
        margin-bottom: 48px !important;
        width: 100%!important;
        align-items: center !important;
        padding-left: 0!important;
        background-position: left !important;
        padding-top: 0px!important;
        /* background-image: none!important; */
    }
    .seccion_superior {
        width: 70%;
        padding-top: 0%!important;
        padding-left: 15%;
        padding-right: 15%!important;
        padding-bottom: 15%;
        /* background-image: url(/assets/img/fondo-quienes-somos-beikygroup.png)!important; */
        background-repeat: no-repeat;
        background-position:left;
        gap: 15px!important;
        margin-bottom: 30%;
    }
    .nuestros_servicios {
        padding-inline: 15px !important;
    }
    .nuestros_servicios h2 {
        font-size: 1.8rem !important;
    }
    .nuestros_servicios p {
        width: 90% !important;
        font-size: 1rem !important;
        margin: 0 auto !important;
    }
    .seccion_superior h2 {
        font-size: 1.2rem !important;
        padding-top: 100px;
    }
    .seccion_superior p {
        font-size: 0.95rem !important;
    }
    .destacados {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        align-items: stretch !important;
        justify-items: center !important;
        justify-content: center !important;
        padding-top: 10px !important;
        padding-inline: 6vw !important;
        max-width: 100vw !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .destacado {
        width: 38vw !important;
        max-width: 130px !important;
        min-width: 0 !important;
        height: auto !important;
        border-radius: 18px !important;
        padding-inline: 4px !important;
        padding-block: 8px !important;
        font-size: 0.90em !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    footer {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding-block: 24px;
        padding-top: 60px;
        background-size: cover;
        background-position: center;
    }
    .logos-footer{
        display: flex;
        flex-direction: column;
    }
    .contenedor_formulario {
    max-width: 400px;
    border-radius: 24px;
    gap: 12px;
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
    padding: 18px 0;
@media (max-width: 900px) {
    .contenedor_formulario {
        max-width: 400px !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
        width: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
}
    }
    .contenedor_formulario h2 {
        font-size: 1.2rem;
    }
    .contenedor_formulario p {
        font-size: 1rem;
        max-width: 95vw;
    }
    .formulario_contacto {
        gap: 14px;
        width: 100%;
    }
    .formulario_contacto input,
    .formulario_contacto select {
        font-size: 1rem;
        width: 100%;
        min-width: 0;
        padding: 8px 4px;
    }
    .btn_enviar {
        font-size: 1rem;
        padding-block: 8px;
        border-radius: 16px;
    }
    .enlaces {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        width: 100vw;
        max-width: 420px;
    }
    .logo_footer, .logo_ccl, .sublogos_footer {
        justify-content: center;
        align-items: center;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .logo_footer img, .logo_ccl img, .sublogos_footer img {
        max-width: 160px;
        height: auto;
    }
    .enlaces_rapidos, .info_contacto_col{
        width: 70%;
        max-width: 420px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .enlaces_rapidos ul {
        flex-direction: column;
        gap: 6px;
        align-items: center;
        padding-left: 0;
    }
    .info_contacto {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
    }
    .social .contenedor_btn_social {
        gap: 10px;
        justify-content: center;
    }
    .copy {
        font-size: 0.85rem;
        padding-block: 10px;
        text-align: center;
    }
    .carousel-clientes-wrapper .carousel-btn {
        display: flex !important;
        z-index: 20 !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: #fff !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        width: 28px !important;
        height: 28px !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        cursor: pointer !important;
        opacity: 1 !important;
    }
    .carousel-clientes-wrapper .carousel-btn.carousel-btn-prev {
        left: 0 !important;
        margin-left: 10px !important;
    }
    .carousel-clientes-wrapper .carousel-btn.carousel-btn-next {
        right: 0 !important;
        margin-right: 10px !important;
    }
    @media (max-width: 900px) {
        .carousel-clientes-wrapper .carousel-btn.carousel-btn-prev {
            left: 0 !important;
            margin-left: 2px !important;
        }
        .carousel-clientes-wrapper .carousel-btn.carousel-btn-next {
            right: 0 !important;
            margin-right: 2px !important;
        }
    }
/* CIERRE DEL PRIMER MEDIA QUERY MOVIL */
}
    .carousel-clientes-wrapper {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 510px !important;
        width: 100%;
        box-sizing: border-box !important;
        height: auto !important;
        background: none !important;
        z-index: 1 !important;
        position: relative !important;
        padding: 0 !important;
    }
.menu-overlay.activo {
    display: block;
}
@media (max-width: 900px) {
    .menu-hamburguesa {
        z-index: 2001;
    }
    .menu-lateral {
        z-index: 2002;
        pointer-events: auto;
    }
}
/* Ocultar menú hamburguesa y lateral en escritorio */
.menu-hamburguesa, .menu-lateral {
    display: none;
}
@media (max-width: 900px) {
    .menu-hamburguesa {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .menu-lateral {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 70vw;
        max-width: 320px;
        background: #fff;
        box-shadow: 2px 0 16px rgba(0,0,0,0.13);
        z-index: 2002;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        padding-top: 32px;
        pointer-events: auto;
    }
    .menu-lateral.abierto {
        transform: translateX(0);
    }
}
/* Menú hamburguesa y menú lateral móvil */
@media (max-width: 900px) {
    .menu-hamburguesa {
        position: fixed;
        top: 24px;
        left: 18px;
        z-index: 1200;
        background: #fff;
        border: none;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.13);
        font-size: 2rem;
        color: #0090d7;
        cursor: pointer;
    }
    .menu-lateral {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 70vw;
        max-width: 320px;
        background: #fff;
        box-shadow: 2px 0 16px rgba(0,0,0,0.13);
        z-index: 1300;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        display: flex;
        flex-direction: column;
        padding-top: 32px;
    }
    .menu-lateral.abierto {
        transform: translateX(0);
    }
    .menu-lateral ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 28px;
        margin-top: 40px;
        align-items: flex-start;
        padding-left: 32px;
    }
    .menu-lateral ul li a {
        color: #0090d7;
        font-size: 1.2rem;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s;
    }
    .menu-lateral ul li a:hover {
        color: #0077b6;
    }
    .cerrar-menu {
        position: absolute;
        top: 18px;
        right: 18px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #0090d7;
        cursor: pointer;
    }
    nav, .nav_links {
        display: none !important;
    }
}
#logo_footer {
    max-height: 52px;
    height: auto;
}
.info_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    height: 70px;
    margin-top: -50px;
    justify-content: center;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
    border-radius: 40px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    z-index: 10;
    padding-block: 20px;
    padding-inline: 15px;
}
.card_service_img_wrap {
    position: relative;
    display: inline-block;
}

.card_service_phrase {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    white-space: normal;
    width: auto !important;
    min-width: 70%;
    max-width: 95%;
    text-shadow: 0 2px 8px #000, 0 1px 2px #000;
    transition: opacity 0.3s;
    z-index: 2;
}

.card_service_img_wrap:hover .card_service_phrase {
    opacity: 1;
}
.proyectos_col2 h2 {
    color: #0090d7;
    font-size: 32px;
    font-weight: 500;
    font-style: oblique;
    text-align: center;
    margin-bottom: 8px;
}
.modal-galeria-carrusel {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    gap: 0.2rem;
    margin-top: 10px;
}
.modal-galeria-carrusel {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.2rem;
    margin-top: 10px;
}
.modal-galeria-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 180px;
    margin: 0 auto;
    margin-top: 0;
    flex-wrap: nowrap;
    overflow: hidden;
}
.modal-galeria-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0090d7;
    cursor: pointer;
    margin: 0 8px;
    transition: color 0.2s;
}
.modal-galeria-btn:hover {
    color: #0077b6;
}
.modal-galeria-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    opacity: 0.7;
    transition: transform 0.3s, opacity 0.2s, box-shadow 0.2s;
}
.modal-galeria-img.seleccionado {
    border: 3px solid #0090d7;
    opacity: 1;
    box-shadow: 0 8px 32px rgba(0,144,215,0.18);
    z-index: 2;
}
.modal-galeria-principal {
    width: 100%;
    max-width: 700px;
    height: 320px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    margin-bottom: 24px;
    display: block;
}
/* Modal galería proyectos */
.modal-galeria {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-galeria-content {
    background: #fff;
    border-radius: 24px;
    padding: 32px 24px;
    max-width: 800px;
    width: 90vw;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.modal-galeria-close {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 2rem;
    color: #0090d7;
    cursor: pointer;
    font-weight: bold;
}
.modal-galeria-content h2 {
    text-align: center;
    color: #0090d7;
    font-size: 2rem;
    margin-bottom: 10px;
}
.modal-galeria-content p {
    text-align: center;
    color: #4f4f4f;
    margin-bottom: 24px;
    max-width: 700px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.modal-galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}
.modal-galeria-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 1.5px 4px rgba(0,0,0,0.22);
}
*{
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
}

html, body{
    scroll-behavior: smooth;
}

body{
    font-family: 'Montserrat', sans-serif;
}

.hero{
    display: flex;
    height: 100vh;
    background: url('/assets/img/hero-beikygroup.png') no-repeat center center/cover;
    align-items: flex-start;
    justify-content: center;
}
header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 900px;
    height: 160px;
}
.logo img{
    height: 60px;
}
a { 
    text-decoration: none;
    color: white;
}
nav ul li{
    list-style: none;
}
nav ul li:hover{
    transform: scale(0.95);
    transition: all 0.3s ease;
}
.nav_links{
    display: flex;
    gap: 40px;
    font-size: 15px;
    font-weight: bold;
}

.nuestros_servicios{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-block: 80px;
    padding-inline: 80px;
    align-items: center;
}

.nuestros_servicios h2{
    text-align: center;
    color: #0090d7;
    font-size: 36px;
    font-weight: bold;
}
/* Evitar borde azul en inputs al hacer clic */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.nuestros_servicios p{
    width: 60%;
    margin: 0 auto;
    text-align: center;
    color: #0090d7;
    font-size: 18px;
}

.servicios{
    display: flex;
    max-width: 1200px;
    justify-content: space-between
}

.card_service{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1);
}

.card_service:hover {
    transform: translateY(-5%) scale(1.05);
    z-index: 2;
}

/* Sombra ovalada fija debajo de la card_service */

.card_service::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: rgba(0,0,0,0.22);
    border-radius: 50% / 60%;
    filter: blur(3px);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.card_service:hover::after {
    opacity: 1;
}
.info_card h3{
    text-align: center;
    color: #0090d7;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    width: 150px;
}
.info_card button{
    width: 130px;
    height: 35px;
    border: none;
    border-radius: 20px;
    background-color: #0090d7;
    color: white;
    font-weight: bold;
    font-size: 0.8em;
    cursor: pointer;
    padding-block: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card_service img{
    max-height: 330px;
    min-height: 200px;
}
.acerca_de{
    display: flex;
    width: 85%;
    height: 1200px;
    justify-content: left;
    background-image: url(/assets/img/fondo-quienes-somos-beikygroup.png);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 10%;
    padding-left: 15%;
    color: white;
}
.acerca_de_col1{
    display: flex;
    max-width: 1200px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 15%;
}
.acerca_de_col1 h2, .acerca_de_col1 p{
    max-width: 800px;
}
.acerca_de_col1 h2{
    font-weight: 500;
    font-size: 40px;
    max-width: 560px;
}
.acerca_de_col1 p{
    font-size: 18px;
    max-width: 530px;
}
.titulo_destacado{
    font-size: 40px;
    font-weight: bold;
}
.destacados{
    max-width: 560px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 50px;
}
.seccion_superior{
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.destacado{
    background-color: #0090d7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 35px;
    height: 110px;
    width: 140px;
    padding-inline: 15px;
    padding-block: 25px;
}
.destacado img{
    max-height: 50px;
    margin-bottom: 10px;
}
.destacado p{
    font-size: 12px;
}

.clientes-proyectos{
    background-image: url(/assets/img/fondo-clientes-proyectos.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 600px;
    gap: 50px;
}

.clientes{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.cliente_logos{
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    background: #fff !important;
    padding-block: 0;
    height: 100px !important;
    min-height: 100px !important;
    padding-inline: 20px;
    border-radius: 60px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 550px;
    width: 100%;
}

.cliente_logos img{
    max-height: 38px;
    max-width: 120px;
    width: auto;
    margin: 0 12px;
    object-fit: contain;
}
@media (max-width: 900px) {
        .cliente_logos {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-start !important;
            overflow-x: auto !important;
            overflow-y: hidden !important;
            min-height: 40px !important;
            height: unset !important;
            padding-block: 15px !important;
            padding-inline: 6px !important;
            width: calc(100vw - 20px) !important;
            max-width: 100vw !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
            background: #fff !important;
            box-sizing: border-box !important;
            margin: 0 auto !important;
            position: relative !important;
            gap: 14px !important;
        }
    .cliente_logos img {
        width: auto !important;
        max-width: 120px !important;
        min-width: 0 !important;
        max-height: 60px !important;
        margin: 0 8px !important;
        object-fit: contain !important;
        display: block !important;
    }
    .carousel-clientes-wrapper {
        display: block !important;
        width: 100% !important;
    }
    .carousel-clientes-viewport {
        display: block !important;
        width: 100% !important;
    }
        .carousel-clientes-wrapper .carousel-btn {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            z-index: 10 !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            margin-top: 0 !important;
            margin-bottom: 0 !important;
        }
}

.proyectos{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-inline: 120px;
}

.proyecto{
    display: flex;
    height: 370px;
    width: 210px;
    background-position: center;
    background-size: cover;
    border-radius: 60px;
}

 .carrusel_proyectos-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    overflow: visible !important;
}

/* Posicionar correctamente los botones prev y next del carrusel */
.carrusel_proyectos-wrapper {
    position: relative;
}
/* Botones de navegación del carrusel pegados a los lados */
.carrusel_proyectos-wrapper {
    position: relative;
}
.carrusel-proyectos-btn.prev {
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    margin: 0 !important;
}
.carrusel-proyectos-btn.next {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    margin: 0 !important;
}
/* Ajuste para evitar doble margen si ya hay margin-inline en móvil */
@media (max-width: 900px) {
    .carrusel-proyectos-btn {
        margin-inline: 0 !important;
    }
}

/* Carrusel de proyectos */
 .carrusel_proyectos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    overflow: visible !important;
    transition: height 0.3s;
    position: relative;
    min-height: 370px;
    padding-block: 30px;
}

    .proyecto {
        transition: transform 0.4s, box-shadow 0.4s, opacity 0.4s;
        opacity: 1;
        position: relative;
        flex-shrink: 0;
    }

    .proyecto.not-visible {
        opacity: 0;
        pointer-events: none;
        position: absolute !important;
    width: auto !important;
    max-width: 60px !important;
    min-width: 0 !important;
    max-height: 30px !important;
    margin: 0 12px !important;
    object-fit: contain !important;
        display: none !important;
    }

.proyecto {
    width: 180px;
    height: 320px;
    background-position: center;
    background-size: cover;
    border-radius: 40px;
    margin: 0 10px;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    opacity: 0.7;
    z-index: 1;
}
.proyecto.center {
    transform: scale(1.18);
    box-shadow: 0 8px 32px rgba(0,144,215,0.18);
    opacity: 1;
    z-index: 2;
}
.proyecto.hide {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7);
}

.carrusel-proyectos-btn {
    background: transparent !important;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #0090d7;
    transition: background 0.2s, color 0.2s;
    opacity: 0.9;
    padding: 0 !important;
}
.carrusel-proyectos-btn:hover {
    color: #0077b6;
    opacity: 1;
}

#proyecto-1{
    background-image: url(/assets/img/proyectos/1-proyectos.jpg);
}

#proyecto-2{
    background-image: url(/assets/img/proyectos/2-proyectos.jpg);
}

#proyecto-3{
    background-image: url(/assets/img/proyectos/3-proyectos.jpg);
}

#proyecto-4{
    background-image: url(/assets/img/proyectos/4-proyectos.jpg);
}

footer{
    width: 100%;
    height: max-content;
    display: flex;
    align-items: center;
    gap: 50px;
    padding-block: 40px;
    padding-top: 10%;
    flex-direction: column;
    background-image: url(/assets/img/fondo-pie-de-pagina.png);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}

.enlaces_rapidos ul li{
    list-style: none;
}

#logos-beiky {
    max-height: 18.5px;
    height: auto;
}

#ccl-logo {
    max-height: 45px;
}

.contenedor_formulario{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: white;
    height: max-content;
    width: 790px;
    padding-block: 40px;
    padding-inline: 40px;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.296);
}
.contenedor_formulario h2{
    color: #0090d7;
    font-size: 34px;
    font-weight: 500;
    text-align: center;
}
.contenedor_formulario p{
    color: #4f4f4f;
    font-size: 16px;
    max-width: 500px;
    text-align: center;
}
.formulario_contacto{
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}
.formulario_contacto input{
    background-color: #4f4f4f00;
    border-width: 0;
    border-bottom: 1px;
    border-style: solid;
    border-color: #4f4f4f;
    width: 100%;
    font-size: 18px;
    padding-bottom: 5px;
}
.formulario_contacto select{
    background-color: #4f4f4f00;
    border-width: 0;
    border-bottom: 1px;
    border-style: solid;
    border-color: #4f4f4f;
    color: #7c7c7c;
    width: 100%;
    font-size: 18px;
    padding-bottom: 5px;
}
.btn_enviar{
    background-color: #0090d7;
    width: 100%;
    border: none;
    color: white;
    font-size: 18px;
    padding-block: 10px;
    border-radius: 20px;
}
.enlaces{
    display: flex;
    max-width: 1200px;
    color: white;
    gap: 25px;
}
.copy{
    display: flex;
    align-items: center;
    color: white;
    justify-content: center;
    background-color: #000143;
    padding-block: 15px;
    font-size: 12px;
}

.clientes h2{
    color: #0090d7;
    font-size: 32px;
    font-weight: 500;
}

/* Carrusel de clientes */
.carousel-clientes-wrapper {
    position: relative;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    height: auto;
    background: none;
    padding-block: 34px;
}
.carousel-clientes-viewport {
    width: 100%;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: visible;
@media (max-width: 900px) {
    .carousel-clientes-viewport {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .carousel-clientes-track {
        display: flex !important;
        flex-direction: row !important;
        gap: 18px !important;
        width: max-content !important;
        min-width: 100% !important;
        align-items: center !important;
    }
    .carousel-clientes-track img {
        max-width: 90px !important;
        max-height: 50px !important;
            width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
        display: block !important;
    }
}
}
.carousel-clientes-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(.4,0,.2,1);
    gap: 18px;
    width: auto;
}
.carousel-clientes-wrapper .carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 28px;
    height: 28px;
    border: none;
    cursor: pointer;
    opacity: 1;
    z-index: 100;
}
.carousel-clientes-wrapper .carousel-btn.carousel-btn-prev {
    left: 0;
}
.carousel-clientes-wrapper .carousel-btn.carousel-btn-next {
    right: 0;
}
.carousel-btn:hover {
    background: transparent !important;
    color: #0090d7;
    opacity: 1;
}
.carousel-btn:active {
    background: transparent !important;
    box-shadow: none !important;
}

/* Forzar el botón next del carrusel de logos a la derecha */
.carousel-btn-next.cliente-logos-btn.right {
  right: 0 !important;
  left: auto !important;
  margin-right: 2px !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    cursor: pointer;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
}

.info_contacto{
        /* width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        box-sizing: border-box !important; */
    display: flex;
    gap: 20px;
    display: flex !important;
    flex-direction: row !important;
    gap: 18px !important;
    width: max-content !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.info_contacto_col{
    display: flex!important;
    flex-direction: column;
    align-items: flex-start!important;
}

.contenedor_btn_social{
    padding-top: 15px;
    display: flex;
    gap: 12px;
}

.contenedor_btn_social img{
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.enlaces h3{
    font-weight: 400;
    padding-bottom: 10px;
}

.logos-footer{
    display: flex;
    gap: 20px;
    align-items: center;
}
@media (max-width: 900px) {
  .contenedor_formulario {
    margin-top: -80px !important;
  }
  .contenedor_formulario {
    margin-bottom: 140px !important;
    padding: 25px!important;
  }
}
@media (max-width: 900px) {
  .destacados {
    padding-inline: 8vw !important;
    margin: 0 auto 18px auto !important;
    width: auto !important;
    box-sizing: border-box !important;
    max-width: none !important;
    justify-content: center !important;
  }
  .destacado {
    width: 100% !important;
    max-width: 130px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
  }
}
@media (max-width: 900px) {
  .formulario_contacto input,
  .formulario_contacto textarea,
  .formulario_contacto select {
    font-size: 0.95rem !important;
    padding: 10px 8px !important;
  }
  .formulario_contacto {
    font-size: 0.98rem !important;
  }
  .contenedor_formulario h2,
  .contenedor_formulario p {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
  }
  .btn_enviar {
    font-size: 1rem !important;
    padding: 12px 0 !important;
  }
}
@media (max-width: 900px) {
  .contenedor_formulario h2 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .enlaces {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: flex-start !important;
    justify-items: center !important;
    gap: 15px !important;
    max-width: 100vw !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 0px !important;
    margin-top: -100px !important;
  }
  .enlaces_rapidos,
  .logos-footer,
  .info_contacto_col {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
  }
  .logos-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .enlaces_rapidos ul {
    align-items: flex-start !important;
  }
}
@media (min-width: 601px) and (max-width: 1024px) {
    .nuestros_servicios{
        padding-inline: 80px !important;
    }
    .seccion_superior{
        padding-top: 20px !important;
        padding-bottom: 0px !important;
        width: 60% !important;
    }
  .servicios {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    justify-items: center !important;
    align-items: stretch !important;
  }
  .card_service {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto 0 auto !important;
  }
  .acerca_de{
    background-position: -400px !important;
  }
  .proyecto {
    height: 200px !important;
    width: 100px !important;
    max-width: 150px !important;
  }
  .carrusel_proyectos-wrapper{
    margin-top: 30px !important;
    width: 80% !important;
  }
  .carrusel_proyectos{
    gap: 1.5rem !important;
  }
  .carousel-clientes-wrapper{
    max-width: 100% !important;
  }
  .cliente_logos{
    max-width: 70% !important;
  }
  .clientes{
    gap: 10px !important    ;
  }
}
@media (max-width: 1024px) {
  .card_service::after {
    bottom: -12px !important;
    height: 14px !important;
    filter: blur(2px) !important;
  }
}
.grecaptcha-badge {
    left: 0 !important;
    right: auto !important;
    width: 70px !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    transition: width 0.2s;
    z-index: 99999 !important;
}
.grecaptcha-badge:hover {
    width: 256px !important;
    z-index: 99999 !important;
}