.margs-1, .margs-2{
        margin-top: 190px;
}
@media only screen and (min-width: 1399px){
    .ajustar{
        display: flex;
        justify-content: center;
    }
    .multiple-itemsG{
        width: 100%;
    }
    .content-title{
        width: 700px;
    }
    .content-title2{
        width: 800px;
    }
    .content-title-electroconstruciones{
        width: 578px;
    }
    .content-nosotrosec{
        width: 920px;
    }
    .fabriquemos{
        width: 800px;
    }
    .titleanimacioncont{
        width: 400px;
    }
     .serviciosaction{
        width: 500px;
    }
     .titleanimacioncont2{
         width: 300px;
     }
     .cardDos{
        height: 889px;
      
    }
    .item3{
        height: 33%;
        
    }
    
}
/*
@media only screen and (max-width: 1599px){
    .ec1 {
        background-size: 477px 650px;
    }
}
@media only screen and (max-width: 1499px){
    .ec1 {
        background-size: 464px 644px;
    }
}*/
@media only screen and (max-width: 1399px){
    .margs-1, .margs-2{
        margin-top: 60px;
    } 
     .serviciosaction{
        width: 500px;
    }
    .cont-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 24px; /* espacio entre cards */
    align-items: start; /* evita que se estiren raro */
    }
    /*.ec1 {
                  background-size: 466px 635px;
    }*/
}
@media only screen and (max-width: 1300px){
    .cardDos {
        height: 900px;
    }
    .item3 {
        height: 40%;
    }
    /*.ec1 {
               background-size: 466px 635px;

    }*/
}
@media only screen and (max-width: 1200px){
        
    .cont-cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 columnas */
    gap: 24px; /* espacio entre cards */
    align-items: start; /* evita que se estiren raro */
    }
    .diagramas{
        width: 100%;
    }
    .ec1 {

        background-size: 45%;
    }
    .ABC-38-5-1E1E1E {
        font-size: 34.76px;
    }
    .hb1 h1 {
        font-size: 86px;
    }
    ol.espaciado-simple {
        margin-top: 53px;
    }
    .margs-1, .margs-2{
        margin-top: 18px;
    }
}
@media only screen and (max-width: 999px) {
    .cont-direccion {
        width: auto;
    }
    .foto-hover {
        opacity: 1;
    }
    .margs-1, .margs-2 {
        margin-top: 13px;
    }
    .hb1 h1 {
        font-size: 62px;
    }
    .hclientes {
        height: auto;
    }
    .cont-form {
        height: auto;
        margin-bottom: 50px;
    }
    .cont-cards {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }
    .ec1 {
       background-position: right bottom;
        background-size: 41%;
    }
    .diagramas{
        width: 100%;
    }
    ol.espaciado-simple li {
         padding-left: 0px; /* Ajusta este valor a tu gusto */
    }
}
@media (min-width: 768px) {
    /* El contenedor padre mantendrá el espacio total del recorrido del scroll */
    .scroll-animacion-wrapper {
        position: relative;
        width: 100%;
        min-height: auto;
    }

    /* Contenedor interno que se quedará fijo en pantalla durante la animación */
    .animation-container {
        position: relative;
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
    }
    
    .image-sticky-panel {
        height: auto;
        padding:0rem;
    }

   .text-dynamic-panel {
        position: relative;
        height: 590px;
        display: flex;
        align-items: center;
    }

    /* Estructura para encimar los textos y hacer la transición de opacidad */
    .texto-slide {
        position: absolute;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, transform 0.4s ease;
        transform: translateY(20px);
    }

    /* Estado cuando el texto está activo */
    .texto-slide.active-slide {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* En móviles se comporta como bloques normales hacia abajo */
@media (max-width: 767.98px) {
    .texto-slide {
        margin-bottom: 3rem;
    }
    .image-sticky-panel {
        padding: rem 0;
    }
}
@media only screen and (max-width: 750px) {
    
    .content-title-electroconstruciones,.cont-g-list {
        width: auto;
    }
    .dropdown-toggle::after, .navbar-toggler.collapsed::after {
        content: "";
      background: none;
    }
    .dropdown-toggle.white::after, .navbar-toggler.collapsed.white::after {
        content: "";
        background: none;
        display: none;
    }
    .navbar-nav .nav-link.white.show::after, .navbar-toggler.white::after, #menumobil::after {
        content: "";
       background:none;
    }
    .cont-g-list{
        padding-right: 0px;
    }
    .cont-list {
        width: auto;    
        grid-template-columns: 45px 1fr;
    }
    .ecb2 {
        height: auto;
    }
    .hb1 h1 {
        font-weight: 500;
        font-style: Medium;
        font-size: 44px;
        leading-trim: NONE;
        line-height: 89%;
        letter-spacing: -1.9%;
        text-align: center;

    }
    .rmmono-14-1E1E1E{
        font-size: 12px;
    }
    .rowcard {
        height: auto;
    }
    .cardDos {
        height: auto;
    }
    .text-abc-32-FFFFFF{
        font-weight: 500;
        font-style: Medium;
        font-size: 28px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: -1.1%;

    }
    li.gray {
        font-size: 14px;
    }
    .ABC-32-1E1E1E {
        font-size: 26px;
    }.text-abc-28-F3F3F3{
        font-size: 24px;
    }
    .ABC-32-1E1E1E{
        font-weight: 400;
        font-style: Regular;
        font-size: 32px;
        leading-trim: NONE;
        line-height: 86%;
        letter-spacing: 0%;
    }
    .rmmono-16-1E1E1E{
        font-family: RM Mono;
        font-weight: 400;
        font-style: Regular;
        font-size: 12px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        text-transform: uppercase;

    }
    footer img{
        width: 100px;
        height: 29.34px;
    }
    .rmmono-16-757575{
        font-family: RM Mono;
        font-weight: 400;
        font-style: Regular;
        font-size: 12px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 0%;
        text-transform: uppercase;
    }
    .cardDos{
        width: 100%;
    }
    .cardDos img{
       width: 100%;
    height: 100%;
    }
    .ABC-42-1E1E1E{
        font-weight: 500;
        font-style: Medium;
        font-size: 32px;
        leading-trim: NONE;
        line-height: 99%;
        letter-spacing: -1.1%;

    }
    .diagramaazul {
        width: 100%;
        height: auto;
        border-radius: 4px;
        padding: 30px;
        background: #0049D1;
    }
    .diagramaazul img {
        width: auto;
        height: auto;
         margin-top: 0px; 
    }
    .customcard{
        width: 100%;
        height: 363.5px;

    }
    .rtex {
        width: 370px;
        height: auto;
    }
    .ABC-32-1E1E1E{
        font-size: 26px;
    }
    .btn-primaryCustom{
        width: 225px;
        height: 42px;
        padding: 24px;
    }
    .ABCD-18-ffffff {
        font-size: 16px;
    }
    .ec1 {
        background-size: 264px auto;
        background-position: 144px 42%;
        height: 1121px;

    }
    .ABC-36-FFFFFF {
        font-size: 32px;
    }
    .padigtnosotros{
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .pading24{
        padding-left: 20px !important;
        padding-right: 20px !important;  
    }
    .rmmono-16-000000 {
        font-size: 14px;
    }
    .p0{
        padding: 0px;
    }
    .ulblue{
        font-size: 14px;
    }
    .bordert {
        margin-bottom: 45px;
    }
    .borderb {
        margin-top: 80px;
    }
    .cont-cards {
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
    }
    .avisoconyt{
        padding-top: 15px;
    }
    .ABC-36-1E1E1E {
        font-size: 32px;
    }
    .electroservicios-fabricamos{
        height: auto;
        padding-top: 50px;
        padding-bottom: 70px;
    }
    .clientes{
        height: auto;
    }
    .cmb30{
            margin-bottom: 30px;
    }
    .content-nosotrosec{
        padding-top: 10px;
    }
    .ABC-36-000000 {
        font-family: ABCDiatype-Regular;
        font-weight: 400;
        font-style: Regular;
        font-size: 24px;
        leading-trim: NONE;
        line-height: 97%;
        letter-spacing: -1.1%;
        color: #000000;
    }
    .ABC-36-fff{
        font-size: 32px;
    }
    .servicioscont{
        height: auto;
        display: inline-flex;
        padding: 33px 17px 160.5px 19px;
        flex-direction: column;
        align-items: center;
        gap: 120.5px;
    }
    .servicioscont ul{
        margin-bottom: 120px;
    }
    .paddingtop98{
        padding-top: 40px;
    }
    .clientes{
        padding-bottom: 40px;
    }
    .margen60{
        margin-top: 60px!important;
    }
    .margen40{
        margin-top: 40px!important;
    }
    .form35{
        padding-top: 60px;
    }
    .ABC-48-000000{
        font-size:24px ;
    }
    .navbar-brand .logo{
        margin-top: 3px;
    }
    #menumobil{
        padding-top: 0px;
       
    }
    .btn-primaryCustom {
        width: 100%;
        height: 42px;
        padding: 0px
    }
    .ABC-38-5-1E1E1E{
        font-size: 32px;
    }
    .ABC-26-1E1E1E{
        font-size: 26px;
    }
    .ABC-26-1E1E1E-Regular{
        font-size: 26px;
    }
    .ABC-24-1E1E1E{
        font-size: 24px;
    }
    .contacto{
        height: auto;
    }
    .dropdown-menu {
        display: block;
    }
    .text-abc-32-F3F3F3{
        font-size: 28px;
    }
    .list {
        padding: 0px;
        height: 112px;
        align-items: center;
    }
    .text-abc-28-FFFFFF{
        font-size: 24px;
    }
    .ABC-28-1E1E1E{
        font-size: 24px;
    }
    .slick-dots li button{
        width: 10px;
        height: 10px;
    }
    .multiple-items{
        padding-bottom: 150px;
    }
    .content-title {
        width: auto;
    }
    .barclient{
        border: none;
        padding-bottom: 150px;
    }
    .padding158 {
        padding-top: 126px;
    }
    .padding96{
        padding-bottom: 96px;
    }
    .reptrasimg{
        margin-bottom: 24px;
       

    }
    .rmmono-14-757575 {
       font-size: 12px;
    }
     .reptrasimg,.diagramas{
         width: 100%;
        height: 361px;
    }
    .diagramas{
        padding: 0px;
    }
    .mt-80{
        margin-top: 60px;
    }
    .padin64{
        padding-top: 64px;
    }
    .mb-100 {
        margin-bottom: 0px;
    }
   
    .serviciosaction {
        width: auto;
    }
    form div{
        padding-left: 0px!important;
        padding-right: 0px!important;
    }
    .cont-direccion {
        width: auto;
    }
    .contsomos{
        width: auto;
    }
    .gapnav{
        gap:60px;
        padding-right: 0px;
    }
    .scroll-animacion-wrapper{
        display: none;
    }
    #menu{
        padding: 0px 0px;
    }
    #nav,.menu-mobil{
        padding-right: 20px;
        padding-left: 20px;
    }
    .dropdown-toggle::after, .navbar-toggler.collapsed::after ,.navbar-nav .nav-link.white.show::after, .navbar-toggler.white::after, #menumobil::after { 
        content: "";
        display: none;
    }
    #menumobil {
               padding-top: 10px;
        padding-left: 0px;
    }
     .menu-mobil .logo{
       margin-left: 0px; 
       margin-top: 2px;
     }
}
@media only screen and (max-width: 370px) {
    .rtex {
        width: 332px;
        height: auto;
    }
    .customcard {
        width: 100%;
        height: auto;
    }
    .dropdown-toggle.white::after, .navbar-toggler.collapsed.white::after {
    content: "";
    display: none;
    }
       
     .cardDos {
        width: 100%;
    }
}