/* =========================
   LAYOUT HELPERS
========================= */
.gen{
  float:left;
  height: auto;
  padding: 0;
  margin: 0;
  display: block;
}

.forma{
  width:100%;
  float:left;
  height: auto;
  padding: 0;
  margin: 0;
  display: block;
}

.center{
  float:none!important;
  display: block!important;
  margin: 0 auto!important;
  right: 0;
  left: 0;
}

.contenedor { max-width: 100%; padding: 0; }
.contenedor1 { max-width: 1150px; }
.contenedor2 { max-width: 1300px; }
.contenedor3 { max-width: 1200px; }

.span_ser{ letter-spacing: 1px; }

.t_left{ text-align: left!important; }
.t_right{ text-align: right; }
.t_center{ text-align: center!important; }
.t_justify{ text-align: justify; }

.left_{ float: left; }
.right_{ float: right; }

.color_1{ color:#343d42; }
.color_2{ color:#ce8e00!important; }
.color_3{ color:#fff; }
.color_4{ color:#000; }

.bk_1{ background:#343d42; }
.bk_2{ background:#ce8e00; }

.font-1{ font-size: 40px; }
.font-2{ font-size: 14px; }
.font-3{ font-size: 28px; }
.font-4{ font-size: 12px!important; }

.absolute{ position: absolute; }
.relative{ position: relative; }
.fixed{ position: fixed; }

.line_h_1{ line-height:57px; }

.center_ab{
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto!important;
}
.right_ab{ right:0; }
.left_ab{ left:0; }
.top_ab{ top:0; }
.bottom_ab{ bottom:0; }

/* widths */
.d100{ width:100%;}
.d99{ width: 99%; }
.d95{ width: 95%; }
.d90{ width: 90%; }
.d85{ width: 85%; }
.d80{ width: 80%; }
.d75{ width: 75%; }
.d70{ width: 70%; }
.d666{ width: 66.6666666%; }
.d65{ width: 65%; }
.d60{ width: 60%; }
.d55{ width: 55%; }
.d50{ width: 50%; }
.d45{ width: 45%; }
.d40{ width: 40%; }
.d35{ width: 35%; }
.d33{ width: 33%; }
.d333{ width: 33.3333333%; }
.d30{ width: 30%; }
.d25{ width: 25%; }
.d20{ width: 20%; }
.d21{ width: 21%; }
.d17{ width: 17%; }
.d16{ width: 16%; }
.d15{ width: 15%; }
.d14{ width: 14.28%; }
.d12{ width: 12.5%; }
.d11{ width: 11.11%; }
.d10{ width: 10%; }
.d9{ width: 9.09%; }
.d5{ width: 5%; }

/* margins */
.mar_t_0{ margin-top:0px; }
.mar_t_1{ margin-top:10px!important; }
.mar_t_15{ margin-top:15px!important; }
.mar_t_2{ margin-top: 20px !important; }
.mar_t_3{ margin-top:30px!important; }
.mar_t_4{ margin-top:40px; }
.mar_t_5{ margin-top:50px!important; }
.mar_t_6{ margin-top:60px; }
.mar_t_7{ margin-top:70px; }
.mar_t_8{ margin-top:80px; }
.mar_t_9{ margin-top:90px; }
.mar_t_10{ margin-top:100px!important; }
.mar_r_10 { margin-right: 70px; }

.mar_b_1{ margin-bottom:10px!important; }
.mar_b_2{ margin-bottom:20px!important; }
.mar_b_3{ margin-bottom:30px; }
.mar_b_4{ margin-bottom:40px; }
.mar_b_5{ margin-bottom:50px!important; }
.mar_b_6{ margin-bottom:60px; }
.mar_b_7{ margin-bottom:70px; }
.mar_b_8{ margin-bottom:80px; }
.mar_b_9{ margin-bottom:90px; }
.mar_b_10{ margin-bottom:100px!important; }

.mar_neg_1{ margin-top: -41px; }
.mar_l_5{
  margin-left:60px;
}

/* paddings */
.pad_t_1{ padding-top:10px; }
.pad_t_2{ padding-top:20px; }
.pad_t_3{ padding-top:30px; }
.pad_t_4{ padding-top:40px; }
.pad_t_5{ padding-top:50px; }
.pad_t_6{ padding-top:60px; }
.pad_t_7{ padding-top:70px; }
.pad_t_8{ padding-top:80px; }
.pad_t_9{ padding-top:90px; }
.pad_t_10{ padding-top:100px; }

.pad_b_1{ padding-bottom:10px; }
.pad_b_2{ padding-bottom:20px!important; }
.pad_b_3{ padding-bottom:30px; }
.pad_b_4{ padding-bottom:40px; }
.pad_b_5{ padding-bottom:50px; }
.pad_b_6{ padding-bottom:60px; }
.pad_b_7{ padding-bottom:70px; }
.pad_b_8{ padding-bottom:80px; }
.pad_b_9{ padding-bottom:90px; }
.pad_b_10{ padding-bottom:100px; }
.pad_30{
  padding: 30px!important;
}
.pad_10{
  padding: 10px!important;
}
.pad_lr_30{
  padding-left: 30px;
  padding-right: 30px;
}

/* positions helpers */
.top{ top:0px; }
.top_1{ top:10px; }
.top_2{ top:20px; }
.top_3{ top:30px; }
.top_4{ top:40px; }
.top_5{ top:50px; }
.top_6{ top:60px; }
.top_7{ top:70px; }
.top_8{ top:80px; }
.top_9{ top:90px; }
.top_10{ top:100px; }

.bottom{bottom:0px;}
.bottom_1{ bottom:10px; }
.bottom_2{ bottom:20px; }
.bottom_3{ bottom:30px; }
.bottom_4{ bottom:40px; }
.bottom_5{ bottom:50px; }
.bottom_6{ bottom:60px; }
.bottom_7{ bottom:70px; }
.bottom_8{ bottom:80px; }
.bottom_9{ bottom:90px; }
.bottom_10{ bottom:100px; }

.right{
  right: 0;
}

/* form headers need extra top spacing when centered */
.form-title {
  margin-top: 20px !important;
}


.back_mor{ background:#570249; }
.back_neg{ background:#000; }

.block{ display: block; }

.z-1{ z-index: 10; }
.z-2{ z-index: 20; }
.z-3{ z-index: 30; }
.z-4{ z-index: 40; }
.z-5{ z-index: 50; }

.h100{ height: 100%; }
.h90{ height: 90%; }

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Book.eot');
    src: url('fonts/Gotham-Book.eot?#iefix') format('embedded-opentype'),
        url('fonts/Gotham-Book.woff2') format('woff2'),
        url('fonts/Gotham-Book.woff') format('woff'),
        url('fonts/Gotham-Book.ttf') format('truetype'),
        url('fonts/Gotham-Book.svg#Gotham-Book') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Century Gothic';
    src: url('fonts/CenturyGothic-Bold.eot');
    src: url('fonts/CenturyGothic-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/CenturyGothic-Bold.woff2') format('woff2'),
        url('fonts/CenturyGothic-Bold.woff') format('woff'),
        url('fonts/CenturyGothic-Bold.ttf') format('truetype'),
        url('fonts/CenturyGothic-Bold.svg#CenturyGothic-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
*{
  font-family: 'Gotham';
}
.logo_hader a{
  width:auto ;
}
header{
  color:#000;
}
header a{
  text-decoration: none;
  color:#000;
  text-align: center;
}
.links_header a{
  padding: 20px 0;
  box-sizing: border-box;
}
header .line{
  border-right:1px solid #eeeeee;
}
header {
    color: #000;
    position: fixed;
    z-index: 1;
    background: #fff;
    z-index: 4;
}

.container {
            position: relative;
            width: 100%;
            max-width: 1000px;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            user-select: none; /* Evita seleccionar imágenes al arrastrar */
        }

        /* Imágenes */
        .image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .before-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 50%; /* Posición inicial */
            height: 100%;
            overflow: hidden;
            z-index: 2;
            border-right: 3px solid var(--accent-color);
        }

        /* Etiquetas flotantes */
        .label {
            position: absolute;
            bottom: 20px;
            padding: 8px 15px;
            background: rgba(0,0,0,0.6);
            color: white;
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 1px;
            border-radius: 4px;
            pointer-events: none;
            z-index: 3;
        }

        .label-before { left: 20px; }
        .label-after { right: 20px; }

        /* El Input Slider (el truco invisible) */
        .slider_ {
            position: absolute;
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            height: 100%;
            background: transparent;
            outline: none;
            margin: 0;
            z-index: 10;
            cursor: col-resize;
        }

        /* El círculo del controlador */
        .slider_::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 40px;
            height: 40px;
            background:#fff;
            border: 4px solid rgba(0,0,0,0.1);
            border-radius: 50%;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            box-shadow: 0 0 15px rgba(0,0,0,0.3);
        }

        /* Estilos para que la imagen del "antes" no se encoja al mover el contenedor */
        .before-container .image {
            width: 1000px; /* Debe coincidir con el max-width del contenedor */
            max-width: none;
        }
.slider {
    background: url(../img/slider_bk.jpg);
    background-size: cover;
    color: #fff;
    height: 460px;
    padding: 160px 0 0;
}
.slider_cab {
    background-size: cover;
    background-position: center;
    color: #fff;
    height: auto;
    padding: 130px 0 30px;
    float: left;
}
.locales_cab{
  background: url(../img/locales_cab.png);
}
.vehiculo_cab{
  background: url(../img/vehiculo_cab.jpg);
}
.eventos_cab{
  background: url(../img/eventos_cab.jpg);
}
.corporativo_cab{
  background: url(../img/corporativos_cab.jpg);
}
.venta_cab{
  background: url(../img/ventas_cab.jpg);
}
.soluciones_cab{
    background: url(../img/servicios_cab.jpg);
}
.servicios_cab{
    background: url(../img/servicios2_cab.jpg);
}
.portafolio_cab{
    background: url(../img/portafolio_cab.png);
}
.empresas_cab{
    background: url(../img/empresas_cab.png);
}
.somos_cab{
    background: url(../img/somos_cab.png);
}
.senal_cab{
  background: url(../img/senal_cab.jpg);
}
.contacto_cab{
  background: url(../img/hero-contacto.jpg) center/cover no-repeat;
}
.green_t{
  color:#45ad40;
  font-weight: bold;
}
.slider h1{
  font-size: 40px;
}
.bot_pksl{
    background: #c40062;
    color: #fff;
    border:3px solid #fff;
    text-decoration: none;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0 0;
    text-align: center;
    width: 50%;
}
.icon_bot {
    width: 12px;
    padding: 0 0 0 5px;
}
.img_slider{
    right: 0;
    bottom: -10px;
    width: 58%;
}  
h1, h2, h3{
  font-family: 'Century Gothic';
}
.carrucel_1{
  background: url(../img/arrow1.png) center center no-repeat;
  background-size: contain;
}
.carrusel_az .carrucel_1{
  background: url(../img/arrow2.png) center center no-repeat;
  background-size: contain;
}
.carrusel_verde .carrucel_1{
  background: url(../img/arrow3.png) center center no-repeat;
  background-size: contain;
}
.carrusel_nar .carrucel_1{
  background: url(../img/arrow4.png) center center no-repeat;
  background-size: contain;
}
.tarjeta {
    background: #fff;
    box-shadow: 2px 5px 15px -6px rgba(0, 0, 0, 0.48);
    -webkit-box-shadow: 2px 5px 15px -6px rgba(0, 0, 0, 0.48);
    -moz-box-shadow: 2px 5px 15px -6px rgba(0,0,0,0.48);
    box-sizing: border-box;
    padding: 25px;
    text-align: center;
    display: flow-root;
}
.bk_grs{
  background: #f9f9f9;
}
.box{
  box-sizing: border-box;
}
.pad_l_r{
  padding: 0 20px;
}
.necesidades .tarjeta a{
  color:#324b96;
}
.am{
  background: #efc637;
}
.az{
  background:#324b96;
}
.ro{
  background:#c40062;
}
.ve{
  background:#45ad40;
}
.nar{
  background:#D1672F;
}
.neg{
  background: #000;
}
.list_servicios li{
  margin: 10px 0 10px 30px;
}

.bot{
  text-align: center;
  color:#fff;
  text-decoration: none;
  padding: 18px 0;
  margin: 40px auto !important;
  border-radius: 10px;
}
.num_g {
    color: #717891;
    font-size: 80px;
    margin: 0;
    font-weight: bold;
    font-family: 'Century Gothic';
}
.comtra .mar_t_1 p{
    font-weight: bold;
    font-family: 'Century Gothic';
    font-size: 18px;
    padding: 0 20px;
}

.border_b_b{
  border-bottom:1px solid #000;
}
.a_green{
  position: absolute;
  top: 0;
  bottom: 0;
  right: -22px;
  margin: auto;
  width:53px;
  height: 53px;
}
.a_green img{
  width: 100%;
}
.servicios .tarjeta{
  margin: 20px auto!important;
}
.corporativo{
  background: url(../img/fondo_corporativo.png);
  background-size: cover;
  color:#fff;
}
.clientes img{
  width: 70%;
  margin: 0 auto;
}
.somos_img {
  top: -220px;
}
.interna_img {
    top: -150px;
}
.somos_txt {
    padding: 110px 60px 60px;
}
.introtext_txt {
    padding: 70px 60px 70px;
    margin: 30px 0 70px;
}
.banner{
  background: url(../img/banner.jpg);
  background-size: cover;
  color: #fff;
  text-align: center;
  letter-spacing: -1px;
  font-size: 30px;
}
.banner a {
    font-family: 'Century Gothic';
    letter-spacing: 15px;
    font-size: 20px;
    padding: 25px 70px;
}
footer{
  background: #000;
  color:#fff;
  box-sizing: border-box;
  padding: 30px 0 30px;
}
.luz{
  background: url(../img/luz_footer.png) center top no-repeat;
}
footer a {
    color: #fff;
    text-decoration: none;
    margin: 10px 0 7px !important;
}
footer h2 {
    padding: 20px 0 10px !important;
}
.az_span{
  color:#324b96;
}
.ve_span{
  color:#45ad40;
}
.ro_span{
  color:#c40062;
}
.am_span{
  color:#efc637;
}
.az_h:hover{
  color: #324b96;
}
.ve_h:hover{
  color: #45ad40;
}
.ro_h:hover{
  color: #c40062;
}
.am_h:hover{
  color: #efc637;
}
.na_h:hover{
  color: #D1672F;
}
.links_header .aza:hover{
  background: #324b96;
  color:#fff;
}
.links_header .vea:hover{
  background: #45ad40;
  color:#fff;
}
.links_header .roa:hover{
  background: #c40062;
  color:#fff;
}
.links_header .naa:hover{
  background: #D1672F;
  color:#fff;
}
.links_header .ama:hover{
  background: #efc637;
  color:#fff;
}
.links_header .nea:hover{
  background: #333;
  color:#fff;
}
.bot_pksl:hover{
  background: #fff;
  border: 3px solid #c40062;
  color:#c40062;
}
.necesidades .tarjeta a:hover {
    color: #c40062;
}
*{
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.bot:hover{
  background: #000;
}
.neg:hover{
  background: #fff;
  color:#000;
}
button.bot.neg:hover{
  background: #fff;
  color:#000;
  border-color: #000 !important;
}
.a_green{
  background: url(../img/more.png)no-repeat center;
}
.a_blue .a_green{
  background: url(../img/more_az.png)no-repeat center;
}
.a_yellow .a_green{
  background: url(../img/more_am.png)no-repeat center;
}
.a_orange .a_green{
  background: url(../img/more_nar.png)no-repeat center;
}
.a_green:hover{
  background: url(../img/more_hover.png)no-repeat center;
}



/* =========================
   FADE SLIDER (no slide)
   - Add more slides by duplicating .slider__slide[data-slide]
========================= */

[data-fade-slider]{
  position: relative;
}

.slider__slides{
  position: relative;
  height: 100%;
}

.slider__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

/* Keep layout height coming from .slider (your existing fixed height + padding) */
.slider__slide.is-active{
  opacity: 1;
  pointer-events: auto;
}

/* Controls */
.slider__controls{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 3;
  padding: 0 16px;
  box-sizing: border-box;
}

.slider__btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(0,0,0,.25);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.slider__btn:hover{ background: rgba(0,0,0,.35); }
.slider__btn:active{ transform: scale(.98); }

.slider__dots{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.slider__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.70);
  background: rgba(255,255,255,.20);
  cursor: pointer;
  padding: 0;
}
.list_proces li{
  float: left;
  margin: 0 0 10px;
}
.slider__dot.is-active{
  background: rgba(255,255,255,.95);
}
.tit3{
  font-size: 23px;
  margin-bottom: 10px;
}
/* Mobile: keep controls visible and not too low */
@media (max-width: 980px){
  .slider__controls{
    bottom: 12px;
  }
  .slider__btn{
    width: 42px;
    height: 42px;
  }
}



/* =========================
   NEEDS CAROUSEL (3 by 3)
   - Desktop: 3 cards visible, advance 3
   - Mobile: 1 card visible, advance 1
   - Preserves .carrucel_1 background arrow line
========================= */

.needs-carousel{
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 64px; /* room for arrows */
}

.needs-carousel__viewport {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.needs-carousel__track{
  display: flex;
  align-items: stretch;
  gap: 0;
  transform: translate3d(0,0,0);
  transition: transform .45s ease;
  will-change: transform;
}

.needs-carousel .needs-carousel__item{
  float: none !important;
  width: auto !important;
  flex: 0 0 33.3333333%;
  box-sizing: border-box;
  padding: 0 12px;
}

.needs-carousel .needs-carousel__item .d95.center{
  width: 95% !important;
}

.needs-carousel__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  cursor: pointer;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #000;
}

.needs-carousel__btn--prev{ left: 10px; }
.needs-carousel__btn--next{ right: 10px; }

.needs-carousel__btn:active{ transform: translateY(-50%) scale(.98); }

@media (max-width: 980px){
  .needs-carousel{
    padding: 0 14px;
    background: none; /* quítalo si quieres mantener la línea en móvil */
  }
  .needs-carousel .needs-carousel__item{
    flex: 0 0 100%;
    padding: 0 10px;
  }
  .needs-carousel__btn{
    width: 42px;
    height: 42px;
  }
}



/* =========================
   CORPORATIVO SLIDER (fade) - v5
   Fix: content uses floats -> needs clearfix so height is not 0
========================= */
.corp-slider{
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 58px;
}

.corp-slider__viewport{
  overflow: hidden;
  width: 100%;
}

.corp-slider__track{
  position: relative;
  width: 100%;
  min-height: 1px;
}

/* stack slides */
.corp-slider__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
  z-index: 1;
}

/* active slide becomes relative so its height can be measured */
.corp-slider__slide.is-active{
  position: relative;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* CLEARFIX: your content uses floats (.left_), so force the slide to wrap them */
.corp-slider__slide::after{
  content: "";
  display: block;
  clear: both;
}

.corp-slider__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  cursor: pointer;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #000;
}

.corp-slider__btn--prev{ left: 10px; }
.corp-slider__btn--next{ right: 10px; }

.corp-slider__dots{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.corp-slider__dot{
    width: 10px;
    height: 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .55);
    background: transparent;
    cursor: pointer;
    margin-top: 30px;
}

.corp-slider__dot.is-active{
  background: rgba(255,255,255,.9);
}
.mov{display: none!important;}
.no_mov{display: block!important;}
@media (max-width: 980px){
  .corp-slider{ padding: 0 54px; }
  .corp-slider__btn{ width: 42px; height: 42px; }
}



/* =========================
   CLIENTS MARQUEE (infinite) - v2
   Continuous elegant scroll, no arrows
========================= */
.clients-marquee{ position: relative; overflow: hidden; }
.clients-marquee__viewport{ overflow: hidden; width: 100%; }

.clients-marquee__track{
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: clientsMarqueeScroll var(--clients-marquee-duration, 28s) linear infinite;
}

/* Each set holds the original markup; override float-based layout for marquee */
.clients-marquee__set{
  display: flex;
  align-items: center;
  gap: 70px;
}

/* neutralize floats from existing utility classes inside marquee */
.clients-marquee__set > *{
  float: none !important;
  flex: 0 0 auto;
  width: auto !important;
}

/* keep images stable */
.clients-marquee img{
  display: block;
  max-height: 60px;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  opacity: .78;
  transition: opacity .25s ease, filter .25s ease;
}

.clients-marquee img:hover{ filter: grayscale(0%); opacity: 1; }

@media (prefers-reduced-motion: reduce){
  .clients-marquee__track{ animation: none; transform: translate3d(0,0,0); }
}

@keyframes clientsMarqueeScroll{
  from{ transform: translate3d(0,0,0); }
  to{ transform: translate3d(calc(-1 * var(--clients-marquee-shift, 600px)), 0, 0); }
}


/* =========================
   MOBILE NAV (Hamburguesa)
   - Restores responsive header without touching sliders
========================= */
.nav_toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #eeeeee;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
}
.nav_toggle__bar{
  display: block;
  width: 20px;
  height: 2px;
  background: #000;
  border-radius: 2px;
}

@media (max-width: 980px){
  header nav .d90.center{ position: relative; }
  .nav_toggle{
    display: inline-flex;
    position: absolute;
    right: 10px;
    top: 30px;
    transform: translateY(-50%);
    z-index: 10;
  }

  /* Logo + menu layout */
  header .d20.left_{ width: 70% !important; }
      header .logo_hader {
        width: 50% !important;
    }

  /* Menu hidden by default */
  .links_header{
    display: none;
    width: 100% !important;
    float: left !important;
    background: #fff;
    margin-top: 10px;
    border-top: 1px solid #eeeeee;
  }
  body.menu-open .links_header{ display: block; }

  /* Stack links */
  .links_header a{
    width: 100% !important;
    float: left !important;
    text-align: left !important;
    padding: 14px 16px !important;
    border-right: none !important;
    border-bottom: 1px solid #f0f0f0;
    box-sizing: border-box;
  }
  .links_header a:last-child{ border-bottom: none; }

  /* Avoid header overflow */
  header{ padding-bottom: 6px; }
}


/* =============================================
   RESPONSIVE RESTORE BLOCK (non-destructive)
   Restores mobile navigation + layout flow
   without touching sliders or existing modules
   ============================================= */

/* Ensure fluid containers */
@media (max-width: 1024px){
  .container, .wrapper, .contenedor, .gen, .d100{
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Header / Navigation mobile behavior */
@media (max-width: 980px){

  header{
    width:100%;
    left:0;
    right:0;
    top:0;
    z-index:9999;
  }

  /* Prevent content hidden under fixed header */
  body{
    padding-top: 90px;
  }

  /* Hamburger visible only in mobile */
  .menu_btn,
  .menu-toggle,
  .hamburger,
  .nav-toggle{
    display:block !important;
    cursor:pointer;
  }

  /* Hide desktop menu layout */
  .links_header{
    position:fixed;
    top:90px;
    left:0;
    right:0;
    width:100%;
    background:#ffffff;
    display:none;
    z-index:9998;
  }

  /* Open states (supports different JS patterns) */
  body.menu-open .links_header,
  header.is-open .links_header,
  .links_header.is-open{
    display:block;
  }

  /* Stack menu links vertically */
  .links_header a{
    display:block !important;
    float:none !important;
    width:100% !important;
    padding:14px 0;
    border-right:none !important;
    border-bottom:1px solid #eeeeee;
  }

  header .line{
    border-right:none !important;
  }
}

/* Improve flex/grid wrapping on small screens */
@media (max-width: 768px){
  .flex, .row, .d50, .d40, .d60, .d33, .d25{
    width:100% !important;

  }
}

/* Ultra small screens */
@media (max-width: 420px){
  body{ padding-top:80px; }
  .links_header{ top:80px; }
}
@media (max-width: 980px){
  .mov{display: block!important;}
  .no_mov{display: none!important;}
  /* Stack float grid */
  .d90, .d50, .d40, .d35, .d30, .d25, .d15, .d14, .d12, .d11, .d9, .d333{
    width: 100% !important;
  }
  
  .d10m{
    width: 10%!important;
    float: left!important;
  }
  .d40m{
    width: 40%!important;
    float: left!important;
  } 
  .no_mov{display: none!important;}
  /* Header layout: logo left, burger right */
  header nav .d90.center .gen.d100{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  header nav .d20.left_{
    width: auto !important;
    flex: 0 0 auto;
  }
  .logo_hader{
    width: 170px !important;
    display: block;
  }

  .nav-toggle{
    display: inline-flex;
    flex: 0 0 auto;
  }

  /* Mobile menu dropdown */
    .links_header {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 14px 38px rgba(0, 0, 0, .18);
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        max-height: calc(100vh - 70px);
        width: 91% !important;
        margin: 0 auto;
    }
  html.nav-open .links_header{
    display: block;
  }

  .links_header a{
    display: block;
    padding: 16px 18px !important;
    border-right: 0 !important;
    border-bottom: 1px solid #eeeeee;
    text-align: left;
    font-size: 16px;
  }
  .links_header a:last-child{
    border-bottom: 0;
  }

  /* Hero / slider */
  .slider{
    height: auto;
    background-position: center;
    padding-top: 90px;
    padding-bottom: 40px;
  }
  .slider h1{
    font-size: 30px;
    line-height: 1.15;
  }
  .contenedor3 {
    width: 90%;
  }

  /* Preserve button icon alignment; just make buttons full width */
  .bot_pksl{
    width: 100% !important;
    box-sizing: border-box;
  }
  .icon_bot{
    width: 12px; /* keep original */
  }

  /* Ensure hero image behaves on mobile without breaking styles */
  .img_slider{
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-top: 18px;
  }

  /* Keep "Cómo trabajamos" background arrow (do NOT remove) */
  .carrucel_1{
    background-size: contain;
    background-position: center;
  }

  /* Footer: keep light texture + improve spacing */
  footer{
    padding: 40px 0 30px;
  }
  footer .luz{
    background-size: cover;
    background-position: center top;
  }

  /* Social icons row: 3 columns */
  .redes .d333{
    width: 33.333% !important;
    float: left !important;
  }

  /* Some sections with absolute decorative images can overflow; contain it */
  .somos_img{
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: 18px;
  }

  /* Banner spacing */
  .banner{
    font-size: 24px;
  }
  .banner a{
    display: inline-block;
    font-size: 16px;
    letter-spacing: 6px;
    padding: 18px 22px;
  }
  .tarjeta {
    margin: 0 0 20px;
  }
  .somos{
    background: #fff;
  }
  .slider {
        padding-bottom: 660px;
  }
  .center_mov{
    float:none!important;
    display: block!important;
    margin: 0 auto!important;
    right: 0;
    left: 0;
  }
  .interna_img {
    top: 0px;
    margin: 30px auto 0 !important;
    position: inherit;
    width: 100%;
  }
  .d100m{ width:100%!important;float: left !important;}
  .d99m{ width: 99%!important;float: left !important; }
  .d95m{ width: 95%!important;float: left !important; }
  .d90m{ width: 90%!important;float: left !important; }
  .d85m{ width: 85%!important;float: left !important; }
  .d80m{ width: 80%!important;float: left !important; }
  .d75m{ width: 75%!important;float: left !important; }
  .d70m{ width: 70%!important;float: left !important; }
  .d666m{ width: 66.6666666%!important;float: left !important; }
  .d65m{ width: 65%!important;float: left !important; }
  .d60m{ width: 60%!important;float: left !important; }
  .d55m{ width: 55%!important;float: left !important; }
  .d50m{ width: 50%!important;float: left !important; }
  .d45m{ width: 45%!important;float: left !important; }
  .d40m{ width: 40%!important;float: left !important; }
  .d35m{ width: 35%!important;float: left !important; }
  .d33m{ width: 33%!important;float: left !important; }
  .d333m{ width: 33.3333333%!important;float: left !important; }
  .d30m{ width: 30%!important;float: left !important; }
  .d25m{ width: 25%!important;float: left !important; }
  .d20m{ width: 20%!important;float: left !important; }
  .d21m{ width: 21%!important;float: left !important; }
  .d17m{ width: 17%!important;float: left !important; }
  .d16m{ width: 16%!important;float: left !important; }
  .d15m{ width: 15%!important;float: left !important; }
  .d14m{ width: 14.28%!important;float: left !important; }
  .d12m{ width: 12.5%!important;float: left !important; }
  .d11m{ width: 11.11%!important;float: left !important; }
  .d10m{ width: 10%!important;float: left !important; }
  .d9m{ width: 9.09%!important;float: left !important; }
  .d5m{ width: 5%!important;float: left !important; }
  .redes a img {
        width: 50px !important;
    }
}

/* =========================
   NAV DROPDOWN
========================= */
.nav-dropdown {
  position: relative;
  float: left;
  box-sizing: border-box;
}
.nav-dropdown > a {
  display: block;
  padding: 20px 0;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 230px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  z-index: 200;
  border-top: 3px solid #324b96;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: block;
}
.nav-dropdown__menu a {
  display: block !important;
  float: none !important;
  width: 100% !important;
  padding: 11px 18px !important;
  text-align: left !important;
  border-right: none !important;
  border-bottom: 1px solid #f0f0f0;
  color: #000;
  font-size: 13px;
  white-space: nowrap;
  box-sizing: border-box;
}
.nav-dropdown__menu a:last-child {
  border-bottom: none;
}
.nav-dropdown__menu a:hover {
  background: #324b96;
  color: #fff !important;
}
.nav-dropdown--vea .nav-dropdown__menu {
  border-top-color: #45ad40;
}
.nav-dropdown--vea .nav-dropdown__menu a:hover {
  background: #45ad40;
}

/* Scroll offset so cards don't hide under the fixed header */
[id^="sol-"], [id^="serv-"] {
  scroll-margin-top: 90px;
}

/* Mobile: show dropdown items stacked inline within the open menu */
@media (max-width: 980px) {
  .nav-dropdown {
    width: 100%;
    float: none;
  }
  .nav-dropdown > a {
    width: 100% !important;
    float: none !important;
    padding: 16px 18px !important;
    text-align: left !important;
    border-right: none !important;
    border-bottom: 1px solid #f0f0f0;
    box-sizing: border-box;
  }
  .nav-dropdown__menu {
    display: none;
    position: static;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid #324b96;
    margin-left: 16px;
    min-width: 0;
    width: calc(100% - 16px);
  }
  .nav-dropdown.is-open > .nav-dropdown__menu {
    display: block;
  }
  .nav-dropdown__menu a {
    padding: 10px 14px !important;
    font-size: 14px;
    color: #324b96 !important;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-dropdown--vea .nav-dropdown__menu {
    border-left-color: #45ad40;
  }
  .nav-dropdown--vea .nav-dropdown__menu a {
    color: #45ad40 !important;
  }
}

/* ── Gallery Modal ──────────────────────────────────────────────────── */
#gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
}

#gallery-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
}

.gm-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 3.5rem 1rem 2.5rem;
  box-sizing: border-box;
}

.gm-img-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 86vw;
  max-height: calc(100vh - 7rem);
  overflow: hidden;
}

.gm-img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  user-select: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

/* Close button */
.gm-close {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  z-index: 2;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}
.gm-close:hover { opacity: 1; transform: scale(1.15); }

/* Prev / Next arrows */
.gm-prev,
.gm-next {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.10);
  border: none;
  color: #fff;
  font-size: 3.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
  user-select: none;
  -webkit-user-select: none;
}
.gm-prev:hover,
.gm-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.20);
}

/* Counter */
.gm-counter {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  font-family: inherit;
  pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .gm-prev,
  .gm-next {
    font-size: 2.2rem;
    padding: 0.4rem 0.6rem;
  }
  .gm-img {
    max-height: calc(100vh - 10rem);
  }
  .gm-img-wrap {
    max-width: 92vw;
  }
}

/* =========================
   FLOATING WHATSAPP BUTTON
========================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55), 0 3px 10px rgba(0,0,0,0.22);
}
@media (max-width: 980px) {
  .wa-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
  .wa-float img {
    width: 26px;
    height: 26px;
  }
}