// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.lexend-<uniquifier> {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

* {
    font-family: Lexend, sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
.item {
    scroll-margin-top: 8ex;
}

body {
    min-height: 100vh;
    background-color: #ffffff;
}

/*---------- CSS PARA EL NAVBAR 1 ----------*/
.call {
    font-size: 1.15rem;
    padding: 0 50px;
    width: 100%;
    background-color: #001286;
    color: #f7f7f7;
    cursor: pointer;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.titulo {
    font-size: 35px;
    color: #001286;
    font-weight: 600;
    margin-bottom: 15px;
}

.titulo3 {
    font-size: 35px;
    color: #001286;
    font-weight: 600;
    margin-bottom: 15px;
    margin-inline-start: 7.2%;
}


.subtitulo {
    font-size: 23px;
    color: #001286;
    font-weight: 700;
}

.parrafo {
    width: 850px;
    max-width: 100%;
    padding: 0 10px;
    font-size: 17px;
    line-height: 25px;
    margin-bottom: 20px;
}

.parrafo2 {
    width: 850px;
    max-width: 100%;
    padding: 0 35px;
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 20px;
}


.horarios span {
    margin-left: 5px;
}

.telefono span {
    margin-left: 5px;
}

.email {
    margin-left: 40px;
}
.email span {
    margin-left: 5px;
}

/*---------- CSS PARA EL NAVBAR 2 ----------*/
.header {
    top: 0;
    width: 100%;
    padding: 1.3rem 10%;
    background: #f7f7f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    position: sticky;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    transition: transform 0.3s ease;
}
.header.hidden {
    transform: translateY(-100%);
}

.navbar li {
    list-style: none;
}

.navbar a {
    font-size: 1.15rem;
    color: #272727;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
    outline: 0px solid #f7f7f7;
    transition: border-bottom 60ms ease-out, border-radius 300ms ease-out;
}

.navbar a:hover {
    border-bottom: 4px solid #001286;
    border-radius: 4px;
}

.logo {
    max-width: 210px;
    height: auto;
}

.menu-icon {
    position: absolute;
    right: 5%;
    font-size: 2.5rem;
    color: #001286;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

/*---------- CSS PARA EL SLIDER ---------- */

.position {
    position: absolute;
    top: 52%;
    right: 28%;
    transform: translate(-50%, -50%);
}

.slider {
    background-image: url(/media/img/logoSWCA.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 46%;
    width: 46%;
    border-radius: 10px;
    animation: animate 20s infinite;
}

@keyframes animate {
    0%, 100% {
        background-image: url(/media/img/logoSWCA.png);
    }
    25% {
        background-image: url(/media/img/torquimetro.png);
    }
    50% {
        background-image: url(/media/img/Skidmore2.jpg);
    }
    75% {
        background-image: url(/media/img/soldador.png);
    }
}


/* ---------- CSS PARA EL ABOUT US ---------- */
.about {
    min-height: 100vh; /* Usar min-height en lugar de height para mayor flexibilidad */
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px 0; /* Agregar espacio vertical */
}

.about .main img {
    width: 100%; /* Hacer que las imágenes sean responsivas */
    max-width: 400px; /* Limitar el ancho máximo */
    height: auto;
    padding: 0 10px;
}

.all-text {
    flex: 1; /* Ajuste automático basado en el espacio disponible */
    max-width: 850px;
    padding: 0 10px;
    margin: 10px 0; /* Espaciado entre bloques */
}

.all-text h4 {
    font-size: 23px;
    color: #140791;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 10px;
}

.all-text h1 {
    font-size: 30px; /* Ajuste para que no sea demasiado grande en pantallas pequeñas */
    color: #001286;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center; /* Centrar el título para mejor presentación */
}

.all-text p {
    font-size: 17px;
    line-height: 1.6; /* Mejor espaciado entre líneas */
    margin-bottom: 20px;
    text-align: justify; /* Justificar el texto para mejorar la lectura */
}

.main {
    width: 100%; /* Ancho completo del contenedor */
    max-width: 1290px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Ajustar automáticamente en pantallas pequeñas */
    align-items: center;
    justify-content: space-between; /* Separar elementos de forma uniforme */
    gap: 20px; /* Espacio entre elementos */
}

/* ---------- MEDIA QUERIES PARA RESPONSIVIDAD ---------- */
@media (max-width: 768px) {
    .all-text {
        text-align: center; /* Centrar el texto en pantallas pequeñas */
    }

    .about .main {
        flex-direction: column; /* Apilar elementos verticalmente */
    }

    .about .main img {
        max-width: 300px; /* Reducir el tamaño de las imágenes en dispositivos pequeños */
    }
}


/*---------- CSS PARA LOS VALORES ----------*/
.valores {
    width: 80%;
    margin: 0  auto;
    margin-block-end: 5%;
}

.valores h4 {
    text-align: center;
}

.valores1 {
    width: 45%;
    height: 250px;
}

.valores1 h4 {
    text-align: left;
    margin-top: 3px;
}

.valores1 p {
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 20px;
}


/*---------- CSS PARA LOS SERVICIOS ----------*/
.azul {
    width: 100%;
    margin: 0 auto;
    margin-top: 0px;
    background-image: linear-gradient(to right, rgba(0, 18, 134, 0.525), rgba(0, 18, 134, 0.525)), url(../media/img/fondo_valores.jpg) ;
    background-size: cover;
    background-repeat: no-repeat;
}

.servicios {
    width: 80%;
    color: #ffffff;
    margin: 0 auto;
    padding-top: 30px;
}

.service-card {
    width: 30%;
    height: 400px; /* Altura fija para todas las tarjetas */
    margin: 20px;
    border-radius: 1.5rem;
    background: #f7f7f7;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 400ms ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* Evita que el contenido salga de la tarjeta */
}

.service-card .contenido {
    flex-grow: 1;
    padding: 10px 15px;
    overflow-y: auto; /* Permite scroll interno si el contenido es muy grande */
}

.service-card .contenido img {
    width: 90%;
    height: 150px; /* Altura fija para las imágenes dentro de las tarjetas */
    margin: 10px auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.service-card:hover {
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-8%);
}

.service-card .title {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title img {
    width: 50px;
    height: auto;
}

.title h4 {
    width: 60%;
    text-align: left;
    margin-left: 10px;
    margin-top: 15px;
    font-size: 23px;
    color: #140791;
    font-weight: 700;
}

.titulo2 {
    font-size: 45px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 15px;
}

.contenido {
    width: 80%;
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 20px;
    color: rgb(0, 0, 0);
    margin: 0 auto;
    padding-top: 20px;
}

/*---------- CSS PARA EL VIDEO ----------*/
.video {
    width: 100%;
    height: 100px;
    padding-top: 20px;
    margin: 0;
}

.video-frame{
    position: absolute;
    top: 0;
    left: 0%;
    border: none;
    border-radius: 1.5rem;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}


/*---------- CSS PARA LOS PROYECTOS ----------*/
.proyectos {
    display: grid;
    place-items: center;
    margin-inline: 1.5rem;
    padding-block: 2rem;
    margin-block-end: 550px;
}

.proyect-card {
    display: grid;
    row-gap: 1.5rem;
    
}

.card-article {
    position: relative;
    cursor: pointer;
    transition: all 400ms ease;
}

.card-article:hover {
    transform: translateY(-8%);
}

.card-article img {
    width: 328px;
    border-radius: 1.5rem;
}

.card-data {
    width: 280px;
    background-color: #f7f7f7;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.15);
    border-radius: 1.5rem;
    position: absolute;
    bottom: -2rem;
    left: 0;
    right: 0;
    margin-inline: auto;
}

/*---------- CSS PARA LOS CLIENTES ----------*/
.clientes {
    padding-top: 50px;
}
.clientes h4 {
    text-align: center;
}

.clientes-container {
    width: 90%;
    display: flex;
    justify-content: right;
    align-items: center;
    margin: 0 auto;
}

.clientes-text {
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 20px;
    width: 50%;
}

.clientes-text img {
    width: 400px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/*---------- CSS PARA EL CONTACTO ----------*/
.map {
    flex: 1;
    min-width: 350px;
    max-width: 600px;
    height: 350px;
    border: none;
}
.contacto {
    width: auto;
    background-size: cover;
    background-repeat: no-repeat;
}

.contacto-container {
    width: 30%;
    max-width: 1200px;
    color: #001286;
    margin: none;
    display: grid;
    grid-gap: 50px;
    padding: 50px 10%;
}

.contacto-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 50px 10%;
    flex-wrap: wrap; /* Para que se acomoden en móviles */
}

.tituloC {
    font-size: 35px;
    color: #001286;
    font-weight: 600;
    margin-bottom: 5px;
    margin-inline: 10%;
    margin-block-start: 10%;
}

.contacto-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
  }
  
  .contacto-ubicacion,
  .contacto-numeros {
    max-width: 300px;
  }

.contacto-numeros ul li {
    margin-bottom: 6px;
}


.contacto-ubicacion p {
    font-size: 15px;
    line-height: 25px;
    margin-top: 10px;
}

.contacto-numeros li {
    list-style: none;
    margin-top: 10px;
    color: #140791;
}

.contacto-numeros i {
    margin-right: 5px;
}

.contacto-numeros a {
    text-decoration: none;
    color: #140791;
}

/*---------- CSS PARA EL FOOTER ----------*/
.footer {
    width: 100%;
    background-color: #8e8e8e;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    color: #ffffff;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    padding: 45px 0px;
    font-size: 110%;
}

.footer-container .box figure {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container .box img  {
    width: 150px;
}

.footer-container .box figure img {
    width: 250px;
}

.footer-container .box li {
    list-style: none;
}

.footer-container .box a {
    text-decoration: none;
    font-size: 130%;
    color: #ffffff;
}

.footer-servicios {
    margin: 0 auto;
}

.footer-servicios ul {
    margin-top: 10px;
}

.footer-servicios ul li {
    margin-bottom: 5px;
}

.footer-proyectos {
    display: flex;
    justify-content: left;
    margin-top: 10px;
}

.f-proyectos {
    margin-left: 10px;
}

.small-footer {
    width: 100%;
    background-color: #0F0F0F;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    font-size: 1.7rem;
}

/*---------- CSS PARA EL DIVISOR ----------*/
.divisor {
    padding-top: 45%;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divisor img {
    width: 550px;
    height: auto;
    opacity: 50%;
}

.lineas {
    background-color: #001286;
    width: 600px;
    height: 10px;
    border-radius: 4px;
    opacity: 50%;
}

/*---------- CSS PARA EL DIVISOR2 ----------*/
.divisor2 {
    width: 90%;
    height: 110px;
    display: flex;
    justify-content: right;
    align-items: center;
    margin-block-end: 5%;
    padding-top: 0px;
}

.divisor2 .dato {
    padding-left: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divisor2 .dato img {
    width: 80px;
    height: auto;
}

.divisor2 .dato .dato-texto {
    padding-left: 10px;
}

.divisor2 .dato .dato-texto h4 {
    font-size: 23px;
    color: #140791;
    letter-spacing: 1px;
    font-weight: 400;
    margin-bottom: 4px;
}

.divisor2 .dato .dato-texto p {
    font-size: 15px;
}

.divisor2 :hover{
    transform: scale(1.1);
}

.icon-data {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
}

.data {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.data img {
    width: 100px;
    height: auto;
}
h4 {
    display: inline;
  }

/*--------inicio------*/

.inicio {
    padding-top: 10px;
}
.inicio h4 {
    text-align: center;
}

.inicio-container {
    width: 90%;
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 0 auto;
}

.inicio-text {
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 20px;
    width: 50%;
}

.inicio-text img {
    width: 400px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}


/*---------- RESPONSIVE ----------*/
/* ABOUT US */
@media screen and (max-width: 1250px){
    .divisor {
        padding-top: 10%;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .divisor img {
        opacity: 100%;
    }
    
    .lineas {
        display: none;
    }
    /*.slider {
        display: none;
    }*/
    .call {
        display: none;
    }
    .menu-icon{
        display: inline-flex;
    }
    #check:checked~.menu-icon #menu-icon {
        display: none;
    }
    .menu-icon #close-icon {
        display: none;
    }
    #check:checked~.menu-icon #close-icon {
        display: block;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background-color: #FFDF2B;
        display: block;
        background-color: #ffffff;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
        backdrop-filter: blur(50px);
        overflow: hidden;
        transition: .3s ease;
    }
    #check:checked~.navbar{
        height: 18.7rem;
    }
    .navbar li {
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        transition: .3s ease;
        }
    #check:checked~.navbar li{
        transform: translateY(0);
    }
    .about {
        width: 100%;
        height: auto;
    }
    .about .main img {
        display: none;
    }
    .all-text {
        text-align: center;
        margin-top: 40px;
    }
    .about .main img {
        margin-bottom: 35px;
    }
    .all-text h1 {
        font-size: 45px;
        margin-bottom: 20px;
    }
    .valores {
        display: contents;
    }
    .valores1 {
        width: 80%;
        height: auto;
        margin: 0 auto;
        text-align: center;
    }
    .valores1 h4 {
        text-align: center;
    }
    .servicios {
        margin-top: 0;
        padding-top: 0;
    }
    .video-frame {
        width: 80%;
        height: 80%;
        left: 10%;
    }
    .row {
        display: contents;
    }
    .service-card {
        width: 80%;
        margin: 0 auto;
        margin: 20px;
    }
    .divisor2 {
        display: contents;
        height: auto;
        padding: 0;
    }
    .clientes {
        padding-top: 20px;
    }
    .clientes-container {
        width: 90%;
        margin: 0 auto;
        display: grid;
        justify-items: center;
    }
    .icon-data {
        display: contents;
    }
    .parrafo {
        text-align: center;
    }
    .titulo {
        text-align: center;
    }
    .contacto-container, .contacto-box {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
    }
    .map{
        width: 400px;
        margin: 0 auto;
    }
    .footer-container {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        padding: 35px 0px;
    }
}

/* PROYECTOS */
@media screen and (min-width: 1120px) {
    .proyectos {
        height: 120vh;
    }
    .proyect-card {
        grid-template-columns: repeat(3, 1fr);
    }
    .card-article {
        margin: 2rem;
    }
    .card-article img {
        width: 348px;
    }
    .card-data {
        width: 316px;
        padding-inline: 2.5rem;
    }
}

/*---escritorio---*/

@media (max-width: 767px){
    .desktop{
        display: none;
    }
    tablet {
        display: none;
    }
}

/*---tablet---*/
@media (min-width: 768px) and (max-width: 990px){
    .desktop{
        display: none;
    }
    .movil {
        display: none;
    }
}

/* Escritorio (default) */
.video-container {
    width: 40%;
    max-width: 800px;
    margin: 20px auto;
    position: relative;
    padding-bottom: 22.5%;
    height: 0;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(23, 81, 198, 0.677);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilos específicos para el carrusel de logos */
.slider-container {
    width: 80%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 20px 0;
    margin: 60px auto; /* Aumenta este margen para separar del título y del proyect-card */
}


.slider-container .slider-track {
    display: flex;
    width: calc(150px * 14); /* Ajusta según el número total de logos duplicados */
    animation: scroll 20s linear infinite;
}

.slider-container .slider-track img {
    width: 150px;
    height: 100px;
    object-fit: contain;
    margin: 0 15px;
    transition: transform 0.3s ease;
}

.slider-container .slider-track img:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}



/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    body {
        display: block !important; /* Restaura a estado original */
    }

    .call, .header, .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .call .left, .call .right {
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .call {
        display: none;
    }

    .menu-icon {
        display: inline-flex !important;
        position: absolute;
        top: 15px;
        right: 15px;
        cursor: pointer;
        color: #001286;
        z-index: 1100 !important;
    }

    #check {
        display: none;
    }

    .navbar {
        display: none;
        width: 100%;
        background-color: #fff;
    }

    /* Ajuste definitivo para el menú desplegable en TODAS las interfaces */
    nav.header {
        position: sticky !important;
        top: 0;
        z-index: 1000;
        overflow: visible !important;
        flex-direction: column;
        align-items: center;
    }

    nav.header .navbar {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #ffffff !important;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 20px 0 !important;
        display: none !important;
        overflow: visible !important;
        text-align: center !important;
    }

    nav.header .navbar a {
        font-size: 1.1rem !important;
        margin-left: 0 !important;
        display: block !important;
        border-bottom: 4px solid transparent;
        transition: border-bottom 60ms ease-out, border-radius 300ms ease-out;
    }

    nav.header .navbar a:hover {
        border-bottom: 4px solid #001286;
        border-radius: 4px;
    }

    nav.header .navbar li {
        margin: 10px 0 !important;
        transform: none !important;
    }

    nav.header .navbar a {
        font-size: 1.1rem !important;
        margin-left: 0 !important;
        display: block !important;
    }

    nav.header input[type="checkbox"]:checked ~ .navbar {
        display: flex !important;
        height: auto !important;
        max-height: none !important;
        padding: 15px 0 !important;
    }

    #check:checked ~ .menu-icon #menu-icon {
        display: none !important;
    }

    .menu-icon #close-icon {
        display: none !important;
    }

    #check:checked ~ .menu-icon #close-icon {
        display: block !important;
    }

    .slider-container, .clientes-container, .inicio-container {
        padding: 15px;
    }

    .clientes-text, .inicio-text, .parrafo, .parrafo2 {
        text-align: justify;
        padding: 0 10px;
    }

    .divisor2 {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .dato {
        flex-direction: row;
        justify-content: center;
    }

    .dato-texto {
        align-items: center;
        text-align: center;
    }

    /* Ajuste para el contenedor del iframe del video */
    .video-container {
        position: relative;
        width: 90%;
        margin: 2 auto;
        padding-bottom: 56.25%; /* Relación 16:9 estándar */
        height: 0;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(23, 81, 198, 0.677);
    }

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-proyectos {
        justify-content: center;
    }

    /*Clientes*/ 
    .clientes, .clientes-container, .clientes-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: justify;
        padding: 15px;
        box-sizing: border-box;
        margin: 0 auto;
        width: 100%;
    }

    .clientes-img {
        width: 60%;
        max-width: 250px;
        margin-bottom: 15px;
    }

    .clientes-text .parrafo {
        width: 100%;
        font-size: 0.95em;
        line-height: 1.5;
        padding: 0 10px;
    }

    .divisor2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .dato {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .dato img {
        width: 60px;
        margin-bottom: 8px;
    }

    .dato-texto {
        display: flex;
        justify-content: center;
        align-items: baseline;
        gap: 5px;
        flex-wrap: wrap;
    }

    .dato-texto h4, .dato-texto p {
        margin: 0;
    }

    /*slider*/
    .mobile-layout {
        display: flex;
        flex-direction: column;
    }

    .call {
        order: 1;
    }

    .header {
        order: 2;
    }

    .clientes {
        order: 3; /* Clientes primero */
    }

    .slider-movil {
        order: 4; /* Slider después de clientes */
        position: relative !important; 
        width: 90% !important;
        height: 200px !important;
        margin: 10px auto !important;
        display: block !important;
    }

    .slider-container, .slider.position {
        position: static !important; 
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        transform: none !important;
    }

    .divisor2 {
        order: 5;
    }

    .titulo3 {   /* Aquí agregamos claramente el título Inicio */
        order: 6;
        text-align: center;
    }

    .inicio {
        order: 7;
    }

    .video-container {
        order: 8;
    }

    .footer {
        order: 9;
    }

    /*parrafo2*/
      /* Ajuste del parrafo2 exactamente como el primero */
      .inicio-container, .inicio-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px;
        box-sizing: border-box;
        width: 100%;
    }

    .parrafo2 {
        width: 100%;
        text-align: justify;
        padding: 0 10px;
        font-size: 0.95em;
        line-height: 1.5;
        margin: 0 auto;
    }

    .contacto-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    /*Carrusel*/
    .slider-containercar {
        width: 95%; /* más ancho en móviles */
        margin: 40px auto; /* menos margen vertical */
        padding: 10px 0; /* menos padding vertical */
    }

    .slider img {
        width: 100px; /* imágenes más pequeñas */
        height: 70px;
        margin: 0 8px; /* menor separación horizontal */
    }

    .titulo {
        margin-top: 20px; /* asegura espacio arriba del título */
    }

    .proyect-card {
        margin-top: 30px; /* separa claramente del carrusel */
    }

    .proyect-card {
        display: grid;
        row-gap: 3.0rem;
    }
}

