*{
    box-sizing: border-box;
}


body{
    font-family: poppins, sans-serif;
    
    margin: 0;
}

h1{ font-size: 3.5em;}
h2{ font-size: 2.5em;}
h3{ font-size: 2.5em;}
h4{ font-size: 2.5em;}
h5{ font-size: 2.5em;}
h6{ font-size: 2.5em;}


p{ font-size: 1.25em;}
ul{ font-size: 1.25em;}

button,
.btn-llamar{
    font-size: 1.05em;
    font-family: poppins, sans-serif;
    font-weight: 500;
    padding: 14px 14px;
    border-radius: 2px;
    color: #393939;
    background-color: yellow;
    border: 0;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

button:hover,
.btn-llamar:hover{
    transform: scale(1.05);
    opacity: 0.95;
}

button:active,
.btn-llamar:active{
    transform: scale(0.97);
}

.btn-llamar{
    display: inline-block;
    width: auto;
    max-width: none;
    margin: 20px 0 0 0;
    padding: 12px 12px;
    font-size: 1em;
    line-height: 1.2;
    border-radius: 18px;
    white-space: nowrap;
    text-align: center;
}


.container{
    max-width: 1400px;
    margin: auto;
}

.menu-hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0; 
    left: 0;
    z-index: 2000;
}

.menu-hero .logo {
    width: auto;
    height: 80px;
    position: relative;
    top: 40px;
}

.logo-click{
    cursor: pointer;
    transition: transform 0.15s ease;
}

.logo-click:active{
    transform: scale(0.95);
}

.menu-hero nav a {
    position: relative;
    text-decoration: none;
    color: #595959;
    margin: 0 15px;
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: nowrap;
    font-size: 1.2em;
}

.menu-hero nav {
  display: flex;
  gap: 0px;
  align-items: flex-start;
  position: relative;
  top: 40px;
  right: 130px;
}


/* La línea amarilla (inicialmente oculta) */
.menu-hero nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;                    /* separacion del texto; ajusta si quieres */
  width: 100%;
  height: 3px;                     /* grosor de la línea */
  background: yellow;              /* color de la línea */
  transform: scaleX(0);            /* oculta la línea */
  transform-origin: left center;   /* animación desde la izquierda */
  transition: transform 200ms ease;
  pointer-events: none;            /* no intercepta clics */
}

/* Mostrar la línea al pasar el mouse (desktop) */
@media (hover: hover) and (pointer: fine){
  .menu-hero nav a:hover::after{
    transform: scaleX(1);
  }
}

/* Mostrar la línea cuando el link está activo/foco (accesibilidad y teclado) */
.menu-hero nav a:focus-visible::after,
.menu-hero nav a:active::after,
.menu-hero nav a.is-active::after{ /* usa esta clase para marcar el link actual */
  transform: scaleX(1);
}

/* (Opcional) Si prefieres que se centre la animación: */
/* .menu-hero nav a::after{ transform-origin: center; } */

/* Respeto a usuarios que prefieren menos animación */
@media (prefers-reduced-motion: reduce){
  .menu-hero nav a::after{
    transition: none;
  }
}






/* === Dropdown para SOLUCIONES (cambios mínimos) === */
.menu-hero nav { position: relative; z-index: 3000; }  /* evita que lo tape algo */
.menu-hero nav .has-submenu{ position: relative; display: inline-block; }

/* Panel del submenú: oculto por defecto */
.menu-hero nav .submenu{
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 220px;
  display: none;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  backdrop-filter: saturate(120%) blur(2px);
}

/* Elige el skin del panel:
   - skin-transparent (por defecto): blanco translúcido con borde amarillo
   - skin-yellow: amarillo sólido
*/
.menu-hero nav .submenu.skin-transparent{
  background: rgba(255,255,255,0.7);
  border: none;
}
.menu-hero nav .submenu.skin-yellow{
  background: #FFEB3B;
  border: 2px solid #E6D000;
}

/* Links del submenú */
.menu-hero nav .submenu a{
  display: block;
  color: #595959;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color .2s ease, transform .15s ease;
}
@media (hover: hover) and (pointer: fine){
  .menu-hero nav .submenu a:hover{
    background: rgba(0,0,0,0.06);
    transform: translateX(2px);
  }
}

/* Mostrar en desktop por hover/focus */
@media (hover: hover) and (pointer: fine){
  .menu-hero nav .has-submenu:hover > .submenu,
  .menu-hero nav .has-submenu:focus-within > .submenu{
    display: block;
    animation: dropdownIn .15s ease-out;
  }
}


/* Subrayado amarillo bajo el texto “SOLUCIONES” al abrir/hover */
.menu-hero nav .submenu-toggle{ position: relative; }
.menu-hero nav .submenu-toggle::after{
  content: "";
  position: absolute; 
  left: 0; 
  bottom: -6px;
  width: 100%; 
  height: 3px; 
  background: #FFEB3B;
  transform: scaleX(0); 
  transform-origin: left center;
  transition: transform .2s ease;
}

@media (hover: hover) and (pointer: fine){
  .menu-hero nav .has-submenu:hover > .submenu-toggle::after,
  .menu-hero nav .has-submenu:focus-within > .submenu-toggle::after{
    transform: scaleX(1);
  }
}

/* En móviles abrimos con clase .open (vía JS) */
.menu-hero nav .has-submenu.open > .submenu{ display: block; }
.menu-hero nav .has-submenu.open > .submenu-toggle::after{ transform: scaleX(1); }

/* Animación de entrada */
@keyframes dropdownIn{
  from{ opacity: 0; transform: translateY(-6px); }
  to{   opacity: 1; transform: translateY(0); }
}

/* Evita que se recorte el panel si tu contenedor tenía overflow */
.menu-hero { overflow: visible; }


/* Hover amarillo transparente en los items del submenú */
.menu-hero nav .submenu a:hover,
.menu-hero nav .submenu a:focus {
    background-color: rgba(255, 230, 0, 0.556) !important; /* amarillo transparente */
    color: #595959 !important;  /* ← aquí lo dejo gris como pediste */
}


/* Quitar cualquier línea amarilla del SUBMENÚ */
.menu-hero nav .submenu a {
    background-image: none !important;   /* elimina subrayado falso */
}
.menu-hero nav .submenu a:hover {
    background-image: none !important;   /* por si había hover */
}


/* ===== Solo afecta a los TÍTULOS del SUBMENÚ ===== */

/* Estado normal */
.menu-hero nav .submenu a{
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-image: none !important;
  color: #595959; /* gris que usas */
}

/* Hover/focus EN AMARILLO con texto gris */
@media (hover: hover) and (pointer: fine){
  .menu-hero nav .submenu a:hover,
  .menu-hero nav .submenu a:focus{
    background-color: rgba(255, 230, 0, 0.56) !important; /* amarillo */
    color: #393939 !important; /* gris como pediste */
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
}

/* Quitar pseudo-elementos que pudieran crear líneas */
.menu-hero nav .submenu a::after,
.menu-hero nav .submenu a::before{
  content: none !important;
}

/* Si usas .skin-yellow, quitar borde amarillo */
.menu-hero nav .submenu.skin-yellow{
  border: none !important;
  /* opcional:
  border: 1px solid rgba(0,0,0,.08) !important;
  */
}

/* Mostrar submenú en desktop (corregido '>') */
@media (hover: hover) and (pointer: fine){
  .menu-hero nav .has-submenu:hover > .submenu,
  .menu-hero nav .has-submenu:focus-within > .submenu{
    display: block;
    animation: dropdownIn .15s ease-out;
  }
}

.menu-hero nav .has-submenu.open > .submenu{ display: block; }


/* Enlaces del submenú más juntos */
.menu-hero nav .submenu a{
  padding: 6px 10px;       /* ↓ antes tenías 8px 10px o similar */
  line-height: 1.2;        /* ↓ reduce altura de línea */
  font-size: 0.95rem;      /* conserva tu tamaño actual */
  border-radius: 6px;      /* puedes bajar a 4px si quieres un cuadro más recto */
}

/* Panel con menos aire (opcional) */
.menu-hero nav .submenu{
  padding: 8px 10px;       /* ↓ antes tenías 10px 12px */
}










/* Botón sandwich: oculto en desktop */
.menu-toggle{
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 34px;
  padding: 10px 12px;
  line-height: 1;
  position: relative;
  z-index: 4000;
  color: #595959;
}
.menu-toggle .icon-close{ display:none; }
.menu-hero.is-open .menu-toggle .icon-burger{ display:none; }
.menu-hero.is-open .menu-toggle .icon-close{ display:inline; }







#hero{
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    flex-direction: column;
    height: 120vh;
    background-image: url("imagenes/fondo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 60px;
    padding-top: 120px;
}

.hero-imagenes{ 
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50%;
    pointer-events: none; /* ← añade esto si quieres asegurar el clic del menú */
}

.hero-imagenes img{
    position: absolute;
    right: 0;
    top: calc(50% + 65px); /* MISMA altura para todas */
    transform: translateY(-50%);
    height: 80%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-imagenes img.activa{
    opacity: 1;
}

.hero-text {
    max-width: 600px; /* 🔥 controla solo el texto, no el fondo */
    position: absolute;
    top: 135px;     /* 🔼 ajusta este valor para subir o bajar el texto */
    left: 60px;     /* 🔼 controla qué tan a la izquierda o derecha está */
    max-width: 900px;
    color: #393939;
    font-size: 1.6em;
    line-height: 1.0;
}

.hero-text p{
    margin-top: -40px;
    max-width: 800px;
    font-size: 1.2em;
    color: #595959;
    line-height: 1.6;
}


/* ========================= */
/* HERO + MENU (MÓVIL) */
/* ========================= */

/* Botón sandwich: oculto en desktop */
.menu-toggle{
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 34px;
  padding: 10px 12px;
  line-height: 1;
  position: relative;
  z-index: 4000;
  color: #595959;
}
.menu-toggle .icon-close{ display:none; }
.menu-hero.is-open .menu-toggle .icon-burger{ display:none; }
.menu-hero.is-open .menu-toggle .icon-close{ display:inline; }



















@media (max-width: 768px){

  /* HERO GENERAL */
  #hero{
    height: auto;
    padding: 140px 25px 20px;     /* ✅ igual laterales que SOMOS */
    text-align: center;
    align-items: center;
    justify-content: flex-start;
  }

  /* ========================= */
  /* TOP BAR (logo izq / burger der) */
  /* ========================= */
  .menu-hero{
    width: 100%;
    box-sizing: border-box;
    padding: 20px 25px;           /* ✅ igual laterales que SOMOS */
    display: flex;
    justify-content: space-between; /* ✅ logo izq / burger der */
    align-items: center;            /* ✅ misma altura */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
  }

  /* En móvil ocultas nav normal */
  .menu-hero nav{ display:none; }

  /* ✅ Logo del HERO (menú cerrado) */
  .menu-hero .logo{
    height: 60px;
    width: auto;
    margin: 0 !important;
    display: block;

    position: relative;   /* ✅ mata ajustes raros del desktop */
    top: 10px !important;    /* ✅ mata top:40px del desktop */
    left: 20px !important;
    transform: none !important;
  }

  /* Mostrar botón sandwich en móvil */
  .menu-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;         /* ✅ alinea con el logo */
    padding: 10px 12px;
  }

  /* ========================= */
  /* MENÚ ABIERTO FULL SCREEN */
  /* ========================= */
  .menu-hero.is-open nav{
    display:flex;
    flex-direction:column;
    align-items:center;

    position:fixed;
    inset:0;
    background-color: white;

    padding: 330px 25px 30px;  /* ✅ laterales 25px */
    z-index: 3000;
    gap: 18px;
  }

 /* ===== Líneas SIN empujar el menú (CORREGIDO) ===== */
.menu-hero.is-open nav{
  /* Ajustes rápidos */
  --line-color: #FFEB3B;  /* color de la línea */
  --line-w: 80px;         /* largo */
  --line-h: 2px;          /* grosor */

  /* POSICIÓN */
  --line-top: 310px;      /* 👈 línea arriba de INICIO (fija) */
  --line-gap-bottom: 18px;/* 👈 separación debajo de CONTACTO (se mueve con él) */
}

/* ✅ Línea de ARRIBA (fija, no afecta layout) */
.menu-hero.is-open nav::before{
  content:"";
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: var(--line-top);
  width: var(--line-w);
  height: var(--line-h);
  background: var(--line-color);
  border-radius: 999px;
  pointer-events: none;
  z-index: 3200;
}

/* ========================= */
/* MENÚ ABIERTO MÓVIL: sin líneas en links */
/* ========================= */

/* baja un poco más todo el bloque del menú */
.menu-hero.is-open nav{
  padding: 320px 25px 30px;
}

/* baja también la línea amarilla de arriba para que acompañe al menú */
.menu-hero.is-open nav{
  --line-top: 300px;
}

/* NO tocar las líneas grande de arriba/abajo */
/* solo apagar subrayados de links */
.menu-hero.is-open nav a::after,
.menu-hero.is-open nav a::before,
.menu-hero.is-open nav .submenu-toggle::after,
.menu-hero.is-open nav .submenu-toggle::before,
.menu-hero.is-open nav .submenu a::after,
.menu-hero.is-open nav .submenu a::before{
  content: none !important;
}

/* efecto de acción en links del menú abierto */
.menu-hero.is-open nav > a,
.menu-hero.is-open nav > .has-submenu > .submenu-toggle,
.menu-hero.is-open nav .submenu a{
  transition: transform .18s ease, color .18s ease, opacity .18s ease;
}

/* hover en compu / trackpad */
@media (hover: hover) and (pointer: fine){
  .menu-hero.is-open nav > a:hover,
  .menu-hero.is-open nav > .has-submenu > .submenu-toggle:hover,
  .menu-hero.is-open nav .submenu a:hover{
    transform: translateY(-2px) scale(1.04);
    color: #3f3f3f;
  }
}

/* toque en móvil */
.menu-hero.is-open nav > a:active,
.menu-hero.is-open nav > .has-submenu > .submenu-toggle:active,
.menu-hero.is-open nav .submenu a:active{
  transform: scale(0.97);
}

/* ❌ Apaga la línea fija de ABAJO (la anterior nav::after) */
.menu-hero.is-open nav::after{
  content: none !important;
}

/* ✅ Línea de ABAJO pegada a CONTACTO (se mueve cuando abre/cierra el submenú) */
.menu-hero.is-open nav > a:last-of-type{
  position: relative; /* ancla */
}

.menu-hero.is-open nav > a:last-of-type::before{
  content:"";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + var(--line-gap-bottom));
  width: var(--line-w);
  height: var(--line-h);
  background: var(--line-color);
  border-radius: 999px;
  pointer-events: none;
  z-index: 3200;
}

  /* Logo centrado cuando abre */
  .menu-hero.is-open .logo{
    position: fixed;
    top: 170px !important;
    left: 50% !important;                
    right: auto !important;
    transform: translateX(-50%) !important;
    height: 60px;   /* ✅ mismo tamaño que en el hero */
    z-index: 3500;
  }

  /* ✅ Logo clickeable (no rompe layout) */
.logo-link{
  display: inline-block;
  line-height: 0;
}

/* ✅ feedback visual al tocar */
.menu-hero .logo-click{
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

/* Hover solo si el dispositivo tiene hover real */
@media (hover: hover) and (pointer: fine){
  .menu-hero .logo-click:hover{
    transform: scale(1.40);
    filter: brightness(1.05);
  }
}

/* Tap en móvil (menú cerrado) */
.menu-hero .logo-click:active{
  transform: scale(0.95);
}

/* Tap en móvil (menú abierto) -> conserva el centrado translateX */
.menu-hero.is-open .logo-click:active{
  transform: translateX(-50%) scale(0.95) !important;
}

  /* Botón (X) arriba derecha cuando abre */
  .menu-hero.is-open .menu-toggle{
    position: fixed;
    top: 18px;
    right: 25px;   /* ✅ respeta borde lateral 25px */
    z-index: 3600;
  }

  /* Submenu en móvil (acordeón) */
  .menu-hero.is-open .submenu{ display:none; position: static; }
  .menu-hero.is-open .has-submenu.open > .submenu{ display:block; }


/* ✅ Grosor de letra del menú ABIERTO */
.menu-hero.is-open nav a,
.menu-hero.is-open nav .submenu-toggle,
.menu-hero.is-open nav .submenu a{
  font-weight: 600;   /* prueba 500 / 600 / 700 */
}

/* ✅ Submenú (cuadro) más blanco / más opaco */
.menu-hero.is-open nav .submenu{
  background: rgba(255,255,255,0.95) !important; /* 0.85–1.0 */
  box-shadow: none !important;                   /* por si acaso */
}

  /* ========================= */
  /* TEXTO HERO */
  /* ========================= */
  .hero-text{
    position: static;
    max-width: 100%;
    text-align: center;
    font-size: 1em;
  }

  .hero-text h1{
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.1;
    margin-bottom: 20px;
  }

  /* ✅ Descripción igual que SOMOS */
  .hero-text p{
    margin-top: 15px;
    margin-bottom: 15px;

    font-size: clamp(16px, 4.2vw, 20px); /* ✅ igual que SOMOS */
    line-height: 1.5;                    /* ✅ igual que SOMOS */

    white-space: normal !important;      /* ✅ wrap SI o SI */
    overflow-wrap: anywhere;             /* ✅ evita “una sola línea” rara */
    word-break: normal;
  }

  /* BOTÓN MÁS PROPORCIONADO */
  button{
    font-size: 0.85em;
    padding: 8px 18px;
    border-radius: 12px;
    display: inline-block;
    width: auto;
    max-width: 90%;
  }

/* BOTÓN del HERO (un poco más pequeño) */
#hero .hero-text button{
  font-size: clamp(14px, 3.8vw, 18px);  /* 👈 antes 16–20 */
  padding: 14px 18px;                 /* 👈 antes 12 22 */
  line-height: 1.2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
  /* ========================= */
  /* IMAGEN HERO */
  /* ========================= */
  .hero-imagenes{
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 40px;
    padding: 0;
  }

  .hero-imagenes img{
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    transform: none;
    height: 100%;
    width: auto;
    margin-right: -25px;  /* ✅ cancela el padding derecho (25px) */
  }

 .menu-hero.is-open .menu-toggle{
     top: 44px;
     right: 24px;
   }

   .menu-hero.is-open .has-submenu .submenu{
     margin-top: 8px;
   }

   .menu-hero.is-open .has-submenu .submenu a{
     font-size: 17px;
     line-height: 1.45;
     padding: 3px 0;
   }

   .menu-hero.is-open .has-submenu.open > .submenu-toggle{
     color: #e6d84a;
     font-weight: 600;
   }


.menu-toggle .icon-burger,
.menu-toggle .icon-close{
  font-size: 36px;
  line-height: 1;
}

.menu-toggle{
  width: 56px;
  height: 56px;
  padding: 0;
  transform: translateX(8px);
}

.menu-hero.is-open .menu-toggle{
  top: 18px;
  right: 17px;
  width: 56px;
  height: 56px;
}

.menu-toggle{
  right: 5px !important;
  transform: none !important;
}

.menu-hero.is-open .menu-toggle{
  right: 5px !important;
  transform: none !important;
}

.menu-toggle .icon-close{
  transform: translateX(-15px) !important;
}


.menu-hero.is-open nav > a:last-of-type{
  position: relative;
}

.menu-hero.is-open nav > a:last-of-type::before{
  content: "" !important;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 16px);
  width: 80px;
  height: 2px;
  background: #FFEB3B;
  border-radius: 999px;
  pointer-events: none;
  z-index: 3200;
}


}

/* Bloquea scroll cuando el menú está abierto */
body.menu-open{ overflow:hidden; }









#somos{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    flex-direction: column;
    height: 120vh;
    position: relative;
    background-image: url(imagenes/fondo-somos.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 60px;
    padding-top: 120px;
    margin: 0;
}

.somos-text{
    position: absolute;
    top: 10px;     /* 🔼 ajusta este valor para subir o bajar el texto */
    left: 60px;     /* 🔼 controla qué tan a la izquierda o derecha está */
    max-width: 600px;
    color: #393939;
    font-size: 2.3em;
    line-height: 1.0;
}

.somos-imagen{
    position: absolute;
    right: 50px;   /* pegada a la derecha */
    top: 50%;
    transform: translateY(-50%);
}

.somos-imagen img{
    height: 70vh;  /* ajusta tamaño */
}

.descripcion1{
    margin-top: -10px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #595959;
    line-height: 1.6;
}

.descripcion1 strong{
    font-weight: 600;
}

.descripcion2{
    margin-top: 35px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #595959;
    line-height: 1.1;
}

.descripcion2 strong{
    font-weight: 600;
}

.descripcion1,
.descripcion2 {
    white-space: nowrap;
}


@media (max-width: 768px) {

    #somos {
        height: auto;
        padding: 70px 25px 60px 25px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .somos-text {
        position: static;
        max-width: 100%;
        font-size: 1em;
    }

    .somos-text h1 {
        font-size: clamp(36px, 9vw, 48px);
        line-height: 1.1;
        margin-bottom: 25px;
    }

    .descripcion1,
    .descripcion2 {
        font-size: clamp(16px, 4.2vw, 20px);
        line-height: 1.5;
        margin-top: 15px;
        margin-bottom: 15px;
        white-space: normal;
    }

    .somos-imagen {
        position: static;
        transform: none;
        margin-top: 40px;
    }

    .somos-imagen img {
        width: 85%;
        height: auto;
    }

}





#solucion-staffing{
    position: relative;
}

.flecha-staffing-ida{
    position: absolute;
    right: -130%;
    top: 63%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #e6a641;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
}

.flecha-staffing-regreso{
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #e6a641;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
}

.flecha-staffing-ida-2{
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #e6a641;
    cursor: pointer;
    z-index: 10;
    border: none;
    background: none;
    border: none;
    padding: 0;
}

.flecha-staffing-regreso-3{
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #e6a641;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
}

#solucion-staffing{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    flex-direction: column;
    height: 120vh;
    position: relative;
    background-image: url(imagenes/fondo-staffing.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 60px;
    padding-top: 120px;
    margin: 0;

    /* ✅ FIX */
    width: 100vw;
    overflow: hidden;
}


.staffing-text{
    position: absolute;
    top: 10px;     /* 🔼 ajusta este valor para subir o bajar el texto */
    left: 60px;     /* 🔼 controla qué tan a la izquierda o derecha está */
    max-width: 600px;
    color: #393939;
    font-size: 2.3em;
    line-height: 1.0;
}

.descripcion3{
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #595959;
    line-height: 1.3;
    white-space: nowrap;
}

.descripcion3 strong{
    font-weight: 600;
}

#solucion-staffing ul{
    margin-top: -10px;
    margin-bottom: 10px;
    font-size: 0.85em;
    color: #595959;
    line-height: 1.3;
    white-space: nowrap;
    padding-left: 85px; /* mueve las viñetas y el texto a la derecha */

}

#solucion-staffing ul li{
    margin-bottom: 10px;
}

#solucion-staffing ul li::marker{
    color: #e6a641; /* pon aquí el color que quieras, por ejemplo amarillo */
}

.staffing-imagen{
    position: absolute;
    right: 0px;   /* pegada a la derecha */
    top: 42%;
    transform: translateY(-50%);
}

.staffing-imagen img{
    height: 100vh;  /* ajusta tamaño */
}

#staffing-slide1 section {
    width: 100vw;          /* cada slide ocupa toda la pantalla */
    height: 120vh;         /* misma altura para que se vea el fondo */
    flex-shrink: 0;        /* no se reduzca en flex */
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}






@media (max-width: 768px) {

    /* Ocultamos flechas */
    .flecha-staffing-ida,
    .flecha-staffing-regreso,
    .flecha-staffing-ida-2,
    .flecha-staffing-regreso-3 {
        display: none;
    }

    /* Solo trabajamos un slide */
    #staffing-slide1 section {
        width: 100%;
        height: auto;
    }

    #solucion-staffing {
        height: auto;
        padding: 90px 25px 40px 25px;
        text-align: center;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    .staffing-text {
        position: static;
        max-width: 100%;
        font-size: 1em;
    }

    /* TÍTULO igual que SOMOS */
    .staffing-text h1 {
        font-size: clamp(36px, 9vw, 48px);
        line-height: 1.1;
        margin-bottom: 25px;
        margin-top: 0; 
    }

    /* DESCRIPCIÓN igual que sección anterior */
    .descripcion3 {
        font-size: clamp(16px, 4.2vw, 20px);
        line-height: 1.5;
        margin-bottom: 50px;
        white-space: normal;
    }

    /* LISTA alineada y limpia */
    #solucion-staffing ul {
        font-size: clamp(16px, 4.2vw, 20px);
        line-height: 1.5;
        padding-left: 0;
        list-style-position: inside;
        white-space: normal;
        margin-bottom: 20px;
    }

    #solucion-staffing ul li {
        margin-bottom: 12px;
    }

    /* Imagen */
    .staffing-imagen {
        position: static;
        transform: none;
        margin-top: 15%;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-right: -25px; 
    }

    .staffing-imagen img {
        width: 85%;
        height: auto;
        display: block;
    }


}





#staffing-slide2 {
    background-image: url("imagenes/fondo-staffing-slide2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



#staffing-slide3 {
    background-image: url("imagenes/fondo-staffing-slide3.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#staffing-slide2,
#staffing-slide3{
    height: 100vh;
}







/* 2. Tu contenedor principal como "MÁSCARA" */
#consultoria-slide1,
#staffing-slide1 {
    display: flex !important;
    width: 300vw !important;  /* Forza a que solo mida la pantalla */
    max-width: 300vw !important;
    height: 120vh;
   
    position: relative;
    margin: 0;
    padding: 0;
}

/* 3. Las páginas internas (las 3 slides) */
#solucion-staffing, 
#staffing-slide2, 
#staffing-slide3,
#consultoria-slide1 section {
    flex: 0 0 100vw !important; /* No permite que crezcan ni se encojan */
    width: 100vw !important;
    min-width: 100vw !important;
    height: 120vh;
    box-sizing: border-box; /* Importante para que el padding no sume ancho */
}



.titulo-staffing-slide2{
    display: block;
    text-align: center;
    top: 20px;
    max-width: none;
    width: 100%;
    color: #393939;
    font-size: 5.5em;
    line-height: 1.0;
    white-space: nowrap;

}

.titulo-staffing-slide3{
    position: relative;
    left: 250px;
    top: 20px;
    max-width: none;
    width: 100%;
    color: #393939;
    font-size: 2.5em;
    line-height: 1.0;
    white-space: nowrap;

}

/* Contenedor de los títulos */
.staffing-categories {
    display: flex;            /* Los pone uno al lado del otro */
    flex-wrap: wrap;         /* Si no caben, saltan a la siguiente línea */
    justify-content: center;  /* Los centra en la pantalla */
    gap: 20px;               /* Espacio entre cada título */
    margin-bottom: 70px;     /* Espacio hacia abajo para los iconos */
    /* AGREGA ESTO: */
    max-width: 1300px;  /* Este valor hace que quepan 4 y el 5to salte */
    margin-left: auto; /* Estos dos centran todo el bloque */
    margin-right: auto;
    margin-top: 70px;
}

/* Estilo de cada palabra */
.cat-link {
    font-family: 'poppins', sans-serif; /* O la que estés usando */
    font-size: 19px;
    font-weight: 500;
    color: #595959;             /* Gris oscuro */
    cursor: pointer;         /* Hace que salga la manita al pasar el mouse */
    transition: 0.3s;        /* Para que el cambio de color sea suave */
}

/* Clase especial para el color NARANJA */
.cat-link.active {
    color: #e6a641;          /* Color Naranja */
}






/* El contenedor de los 6 */
.grid-iconos-staffing {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 10px 20px;
    justify-items: center;
    max-width: 650px;
    margin: -20px auto 0 auto; /* El 80px es el espacio que empuja todo hacia abajo */
}

/* Estilo para la imagen (que ya trae su cuadro) */
.icono-item img {
    width: 110px;  /* Ajusta este tamaño al que quieras que tengan tus cuadros */
    height: auto;
    display: block;
    margin: 0 auto 15px auto; /* Centra la imagen y le da espacio al texto abajo */
}

/* El texto */
.icono-item p {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #595959;
    text-align: center;
}

/* 1. Preparamos el item para que el movimiento sea suave */
.icono-item {
    cursor: pointer;          /* Cambia el cursor a una manita */
    transition: transform 0.3s ease; /* Define que el zoom dure 0.3 segundos */
}

/* 2. Aquí sucede la magia cuando pasas el mouse (Hover) */
.icono-item:hover {
    transform: scale(1.1);    /* 1.1 significa un 10% más grande. Cámbialo a 1.2 si quieres más zoom */
}

/* Esconde las secciones que no están activas */
.tab-content {
    display: none;
}

/* Muestra solo la sección que tiene la clase .active */
.tab-content.active {
    display: block !important;
}

#arquitectura .grid-iconos-staffing {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: nowrap;
}

#arquitectura .grid-iconos-staffing {
    margin-top: 120px;
    gap: 20px;
}

#arquitectura .icono-item {
    min-width: 215px;
}


#seguridad .grid-iconos-staffing,
#datos .grid-iconos-staffing,
#producto .grid-iconos-staffing{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin-top: 120px;
    gap: 20px;
}

#seguridad .icono-item,
#datos .icono-item,
#producto .icono-item{
    min-width: 215px;
}

#operaciones .grid-iconos-staffing{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin-top: 120px;
    gap: 20px;
}

#operaciones .icono-item{
    min-width: 215px;
}

#experiencia .grid-iconos-staffing{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin-top: 120px;
    gap: 20px;
}

#experiencia .icono-item{
    min-width: 215px;
}
















#solucion-consultoria{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    flex-direction: column;
    height: 120vh;
    position: relative;
    background-image: url(imagenes/fondo-consultoria.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
}

.consultoria-text{
    position: absolute;
    top: 10px;     /* 🔼 ajusta este valor para subir o bajar el texto */
    left: 60px;     /* 🔼 controla qué tan a la izquierda o derecha está */
    max-width: 600px;
    color: #393939;
    font-size: 2.3em;
    line-height: 1.0;
}

.descripcion4{
    margin-top: -50px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #595959;
    line-height: 1.3;
    white-space: nowrap;
}

.descripcion4 strong{
    font-weight: 600;
}

#solucion-consultoria{
    position: relative;
}

.consultoria-imagen{
    position: absolute;
    right: 10px;   /* pegada a la derecha */
    top: 40%;
    transform: translateY(-50%);
}

.consultoria-imagen img{
    height: 100vh;  /* ajusta tamaño */
}

.flecha-consultoria-ida{
    position: absolute;
    right: -130%;
    top: 61%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #60c6ab;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
}

.flecha-impulsa-regreso{
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #60c6ab;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
}

.flecha-impulsa-ida {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #60c6ab;
    cursor: pointer;
    z-index: 10;
    border: none;
    background: none;
    border: none;
    padding: 0;
}

.flecha-regreso-3 {
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #60c6ab;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
}

.flecha-consultoria-ida:hover,
.flecha-impulsa-ida:hover,
.flecha-impulsa-regreso:hover,
.flecha-regreso-3:hover,
.flecha-staffing-ida:hover,
.flecha-staffing-ida-2:hover,
.flecha-staffing-regreso:hover,
.flecha-staffing-regreso-3:hover {
    transform: translateY(-50%) scale(1.15);
}

#consultoria-slide1,
#staffing-slide1{
    display: flex;
    width: 100vw;          /* 2 slides de 100vw cada uno */
    height: 120vh;         /* altura de tu slider */
    overflow: hidden;      /* oculta lo que no está visible */
    transition: transform 0.6s ease;
    position: relative;    /* necesario si hay elementos absolutos dentro */
    margin-top: 0;
    padding: 0;
    
}

#consultoria-slide1 section {
    width: 100vw;          /* cada slide ocupa toda la pantalla */
    height: 120vh;         /* misma altura para que se vea el fondo */
    flex-shrink: 0;        /* no se reduzca en flex */
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#consultoria-slide2 {
    background-image: url("imagenes/fondo-consultoria-slider2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.consultoria-text .titulo-slide2{
    position: absolute;
    top: 50px;     /* 🔼 ajusta este valor para subir o bajar el texto */
    left: -10px;     /* 🔼 controla qué tan a la izquierda o derecha está */
    max-width: 600px;
    color: #393939;
    font-size: 2.2em;
    line-height: 1.0;
    white-space: nowrap;
}

#consultoria-slide3 {
    background-image: url("imagenes/fondo-consultoria-slider3.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.consultoria-text .titulo-slide3{
    position: absolute;
    top: 0;     /* 🔼 ajusta este valor para subir o bajar el texto */
    left: 200px;     /* 🔼 controla qué tan a la izquierda o derecha está */
    max-width: 600px;
    color: #393939;
    font-size: 2.2em;
    line-height: 1.0;
    white-space: nowrap;
}









@media (max-width: 768px) {

    /* Ocultamos flechas */
    .flecha-consultoria-ida,
    .flecha-impulsa-regreso,
    .flecha-impulsa-ida,
    .flecha-regreso-3 {
        display: none;
    }

    /* Quitamos sistema de slides */
    #consultoria-slide1 {
        width: 100%;
        height: auto;
        display: block;
        transform: none !important;
    }

    #consultoria-slide1 section {
        width: 100%;
        height: auto;
    }

    /* Sección base igual que las otras */
    #solucion-consultoria {
        height: auto;
        padding: 90px 25px 40px 25px;
        text-align: center;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    /* Texto */
    .consultoria-text {
        position: static;
        max-width: 100%;
        font-size: 1em;
    }

    /* Título igual que SOMOS y STAFFING */
    .consultoria-text h1 {
        font-size: clamp(36px, 9vw, 48px);
        line-height: 1.1;
        margin-top: 0;
        margin-bottom: 25px;
    }

    /* Descripción igual sistema */
    .descripcion4 {
        font-size: clamp(16px, 4.2vw, 20px);
        line-height: 1.5;
        margin-top: 20px; 
        margin-bottom: 60px;
        white-space: normal;
    }

    /* Imagen pegada a la derecha igual que Staffing */
    .consultoria-imagen {
        position: static;
        transform: none;
        margin-top: 30px;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-right: -25px; /* cancela padding derecho */
    }

    .consultoria-imagen img {
        width: 85%;
        height: auto;
        display: block;
    }

}















#servicios-administrados{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    flex-direction: column;
    height: 120vh;
    position: relative;
    background-image: url(imagenes/fondo-somos.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 60px;
    padding-top: 120px;
    margin: 0;
}

.servicios-text{
    position: absolute;
    top: -20px;     /* 🔼 ajusta este valor para subir o bajar el texto */
    left: 60px;     /* 🔼 controla qué tan a la izquierda o derecha está */
    max-width: 600px;
    color: #393939;
    font-size: 2.3em;
    line-height: 1.0;
}

.descripcion5{
    margin-top: -50px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #595959;
    line-height: 1.3;
    white-space: nowrap;
}

.descripcion5 strong{
    font-weight: 600;
}

.servicios-imagen{
    position: absolute;
    right: 0px;   /* pegada a la derecha */
    top: 42%;
    transform: translateY(-50%);
}

.servicios-imagen img{
    height: 100vh;  /* ajusta tamaño */
}








@media (max-width: 768px) {

  /* (opcional) evita scroll horizontal por el margen negativo */
  body{ overflow-x: hidden; }

  #servicios-administrados{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 90px 25px 60px 25px;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background-position: center;

    gap: 55px; /* ✅ separa descripción e imagen SIN empujar la imagen hacia abajo */
    box-sizing: border-box;
  }

  .servicios-text{
    position: static;
    max-width: 100%;
    font-size: 1em;
  }

  .servicios-text h5{
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.1;
    margin-top: 40px;
    margin-bottom: 60px;
  }

  .descripcion5{
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.5;
    margin-top: 5px;
    margin-bottom: 0;
    white-space: normal;
  }

  .servicios-imagen{
    position: static;
    transform: none;
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-right: -55px;

    padding-top: 0; /* ✅ QUITA esto para que no baje y no se corte */
  }

  .servicios-imagen img{
    width: 85%;
    height: auto;
    display: block;

    /* ✅ evita corte abajo si la imagen es muy alta */
    max-height: 55vh;   /* prueba 52vh–58vh */
    object-fit: contain;
  }
}











#fabrica-software{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    flex-direction: column;
    height: 120vh;
    position: relative;
    background-image: url(imagenes/fondo-fabrica.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 60px;
    padding-top: 120px;
    margin: 0;
}

.fabrica-text{
    position: absolute;
    top: 50px;     /* 🔼 ajusta este valor para subir o bajar el texto */
    left: 60px;     /* 🔼 controla qué tan a la izquierda o derecha está */
    max-width: 600px;
    color: #ffffff;
    font-size: 2.3em;
    line-height: 1.0;
}

.descripcion-fabrica{
    margin-top: -40px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #ffffff;
    line-height: 1.3;
    white-space: nowrap;
}

.fabrica-imagen{
    position: absolute;
    right: 0px;   /* pegada a la derecha */
    top: 42%;
    transform: translateY(-50%);
}

.fabrica-imagen img{
    height: 100vh;  /* ajusta tamaño */
}


/* ========================= */
/* ICONOS FÁBRICA SOFTWARE */
/* ========================= */

.iconos-fabrica {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 410px;
    flex-wrap: wrap;
    gap: 180px;
}

.iconos-fabrica .item-icono {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10;
}

/* EFECTO HOVER */
.iconos-fabrica .item-icono:hover {
    transform: scale(1.08);
}

/* ICONOS MISMA ALTURA */
#fabrica-software .item-icono img {
    width: 70px;
    height: 70px;      /* fuerza misma altura */
    object-fit: contain;
    margin-bottom: -5px;
}

/* TEXTO */
#fabrica-software .item-icono p {
    color: #4e4d4d;
    font-size: 25px;
    font-variation-settings: "wght" 200;
    line-height: 1.1;
}

.iconos-fabrica .item-icono p{
    min-height: 55px;
}

.iconos-fabrica {
    position: relative;
    z-index: 5;
}











/* =========================
   FÁBRICA DE SOFTWARE (MÓVIL)
========================= */

@media (max-width: 768px){

  body{ overflow-x: hidden; }

  /* ✅ Sección base */
  #fabrica-software{
    display: flex;
    flex-direction: column;

    height: auto;
    min-height: 100vh;
    padding: 90px 25px 0 25px;     /* sin padding abajo para pegar imagen */
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;

    /* ✅ tu background */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  /* ✅ Texto */
  .fabrica-text{
    position: static;
    max-width: 100%;
    font-size: 1em;
  }

  #fabrica-software h2{
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.1;
    margin: 0 0 18px 0;
  }

  .descripcion-fabrica{
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.5;
    margin: 50px 0 0 0;
    white-space: normal;
  }

  /* ✅ ICONOS EN VERTICAL (solo móvil) */
  .iconos-fabrica{
    order: 2;
    width: 100%;
    margin-top: 60px;

    display: flex;              /* 👈 cambiamos a flex */
    flex-direction: column;     /* 👈 vertical */
    align-items: center;
    justify-content: center;
    gap: 40px;                  /* espacio entre items */
  }

  .iconos-fabrica .item-icono{
    max-width: 220px;
    width: 100%;
    display: flex;
    flex-direction: column;     /* icono arriba, texto abajo */
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    transition: transform .2s ease;
  }

  .iconos-fabrica .item-icono:hover{
    transform: scale(1.05);
  }

  #fabrica-software .item-icono img{
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin: 0 0 8px 0;
    display: block;
  }

  #fabrica-software .item-icono p{
    color: #4e4d4d !important;  /* gris visible */
    font-size: clamp(12px, 3.8vw, 16px);
    font-weight: 400;
    line-height: 1.15;
    opacity: 1 !important;
    display: block !important;
    margin: 0;
  }

  /* ✅ Imagen abajo y pegada a la derecha SIN borde */
  .fabrica-imagen{
    order: 3;
    position: static;
    transform: none;

    margin-top: auto;          /* ✅ hasta abajo */
    padding-top: 40px;
    width: 85%;
    display: flex;
    justify-content: flex-end;

    margin-right: -115px;       /* ✅ cancela padding derecho */
    pointer-events: none;
  }

  .fabrica-imagen img{
    width: 100%;               /* ✅ sin borde */
    max-width: none;
    height: auto;
    display: block;
    max-height: 55vh;
    object-fit: contain;
  }

  /* ✅ OCULTA LA IMAGEN DE LA SLIDE 2 EN LA SLIDE 1 */
  #plataforma-inteligente .setlab-imagen-slide2 {
      display: none !important;
  }

}











/* =========================
   SETLAB - SLIDER GENERAL
========================= */

#setlab-slider{
    display: flex;
    width: 200vw;
    height: 120vh;
    overflow: hidden;
    transition: transform 0.6s ease;
    position: relative;
    margin-top: 0;
    padding: 0;
}

#setlab-slider .setlab-slide{
    width: 100vw;
    height: 120vh;
    flex-shrink: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================
   SETLAB - SLIDE 1
========================= */

#plataforma-inteligente{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    height: 120vh;
    position: relative;
    margin: 0;
    padding-left: 60px;
    padding-top: 120px;

    background-image: url(imagenes/fondo-fabrica.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.plataforma-text{
    position: absolute;
    top: 180px;
    left: 60px;
    max-width: 600px;
    color: #ffffff;
    font-size: 2.5em;
    line-height: 1.0;
    z-index: 5;
}

.plataforma-text h6{
    transform: translateY(-330px);
}

.titulo-setlab{
    transform: translateY(-510px);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 0.73em;
    color: #ffffff;
    line-height: 1.3;
    white-space: normal;
}

.titulo-setlab strong{
    font-weight: 600;
}

.plataforma-imagen{
    position: absolute;
    right: 0px;
    top: 41.6%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.plataforma-imagen img{
    height: 100vh;
    display: block;
}

/* =========================
   ICONOS SETLAB
========================= */

.setlab-items{
    --h: 90px;
    width: min(800px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: var(--h);
    gap: 16px 18px;
    row-gap: 1px !important;
    column-gap: 35px !important;
    margin-top: 310px;
    position: relative;
    z-index: 999;
}

.setlab-items::after{
    content: "";
    grid-column: 3;
    grid-row: 1;
}

.setlab-item{
    height: var(--h);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
    position: relative;
    overflow: visible;
    cursor: pointer;
}

.setlab-item img{
    height: var(--h);
    width: 100%;
    max-width: 100%;
    display: block;
    object-fit: contain;
    transform-origin: center;
    will-change: transform;
    transition: transform .2s ease, filter .2s ease;
}

.setlab-item:hover img{
    transform: scale(1.04);
}

/* =========================
   SETLAB - FLECHA SLIDE 1
========================= */

.flecha-setlab-ida{
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: yellow;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
}

.flecha-setlab-ida:hover{
    transform: translateY(-50%) scale(1.15);
}

/* =========================
   SETLAB - SLIDE 2
========================= */

#setlab-slide2{
    background-image: url("imagenes/fondo-setlab-slide2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.perfiles-text-slide2 .titulo-perfiles-slide2{
    position: absolute;
    top: 40px;
    left: 55px;
    max-width: 600px;
    color: #ffffff;
    font-size: 5.5em;
    line-height: 1.0;
    white-space: nowrap;
}

.setlab-descripcion-slide2{
    position: relative;
    margin-top: 230px;
    margin-bottom: 0;
    left: 55px;
    font-size: 1.9em;
    color: #ffffff;
    line-height: 1.3;
    white-space: normal;
}

.setlab-descripcion-slide2 strong{
    font-weight: 600;
}

.setlab-imagen-slide2{
    position: absolute;
    right: 800px;
    top: 62%;
    transform: translateY(-50%);
    z-index: 2;
}

.setlab-imagen-slide2 img{
    height: 40vh;
    width: auto;
    display: block;
}

/* =========================
   SETLAB - FLECHA SLIDE 2
========================= */

.flecha-setlab-regreso{
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #ba9b15;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
}

.flecha-setlab-regreso:hover{
    transform: translateY(-50%) scale(1.15);
}













/* =========================
   SETLAB (MÓVIL)
========================= */

@media (max-width: 768px){

  body{
    overflow-x: hidden;
  }

  /* slider: en móvil ya no se desliza */
  #setlab-slider{
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    transform: none !important;
  }

  #setlab-slider .setlab-slide{
    width: 100%;
    height: auto;
  }

  /* ocultar slide 2 en móvil */
  #setlab-slide2{
    display: none !important;
  }

  .setlab-imagen-slide2,
  .setlab-imagen-slide2 img{
    display: none !important;
  }

  /* sección principal */
  #plataforma-inteligente{
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 90px 25px 0 25px;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .plataforma-text{
    order: 1;
    position: static;
    top: auto;
    left: auto;
    max-width: 100%;
    font-size: 1em;
    z-index: auto;
  }

  .plataforma-text h6{
    transform: none !important;
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.1;
    margin: 0 0 18px 0;
  }

  .titulo-setlab{
    transform: none !important;
    margin: 0 0 18px 0;
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.5;
    white-space: normal;
  }

  .titulo-setlab strong{
    font-weight: 600;
  }

  /* iconos SETLAB en móvil */
  .setlab-items{
    order: 2;
    width: 100%;
    max-width: 520px;
    margin: 24px auto 0;
    --h: 78px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: var(--h);
    row-gap: 8px !important;
    column-gap: 10px !important;

    position: relative;
    z-index: 10;
  }

  .setlab-items::after{
    content: none;
  }

  .setlab-item{
    height: var(--h);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
    position: relative;
    overflow: visible;
    cursor: pointer;
  }

  .setlab-item img{
    height: var(--h);
    width: 100%;
    max-width: 100%;
    display: block;
    object-fit: contain;
    transform-origin: center;
    will-change: transform;
    transition: transform .2s ease, filter .2s ease;
  }

  .setlab-item:hover img{
    transform: scale(1.04);
  }

  .setlab-item:active img{
    transform: scale(1.04);
  }

  /* imagen de plataforma visible solo en móvil, abajo y pegada a la derecha */
  .plataforma-imagen{
    order: 3;
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;

    margin-top: auto;
    padding-top: 40px;
    width: 86%;
    display: flex !important;
    justify-content: flex-end;
    align-self: flex-end;

    margin-right: -35px;
    pointer-events: none;
    z-index: 1;
  }

  .plataforma-imagen img{
  transform: translateY(5x);
}

  .plataforma-imagen img{
    width: 100%;
    max-width: none;
    height: auto;
    display: block !important;
    max-height: 44vh;
    object-fit: contain;
  }

  /* ocultar flechas en móvil */
  .flecha-setlab-ida,
  .flecha-setlab-regreso{
    display: none !important;
  }
}
















#clientes{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    flex-direction: column;
    height: 107vh;
    position: relative;
    background-image: url(imagenes/fondo-clientes.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 60px;
    padding-top: 100px;
    margin: 0;
}


.clientes-text h2{
    position: absolute;
    top: -75px;     /* 🔼 ajusta este valor para subir o bajar el texto */
    left: 350px;
    max-width: 600px;
    color: #393939;
    font-size: 6.0em;
    line-height: 1.0;
    white-space: nowrap;
}

.clientes-text{
    align-self: center;         /* centra el bloque dentro del flex container */
    text-align: center !important; /* centra el contenido interno (h2 y p) */
    margin-left: -50px;
    position: relative;
}


.descripcion-clientes{
    margin-top: 170px;
    margin-bottom: 10px;
    font-size: 2.1em;
    color: #595959;
    line-height: 1.3;
}

.descripcion-clientes strong{
    font-weight: 600;
}


.clientes-imagen{
text-align: center;
}

.clientes-imagen img{
    max-width: 95%;
    height: auto;
    margin-left: -50px;
    margin-top: 70px;
}










@media (max-width: 768px){

  #clientes{
    height: auto !important;      
    min-height: 100vh;             /* ✅ NUEVO: para que la sección no se vea pequeña */
    padding: 60px 20px 60px;      
    text-align: center;
    align-items: center;
    justify-content: center;

    /* ✅ CLAVE para que “termine” abajo sin dejar ese blanco */
    background-position: center bottom !important;
    background-size: cover;
    background-repeat: no-repeat;

    overflow: hidden;             /* ✅ recorta diagonales/bordes raros */
    margin: 0;
  }

  .clientes-text{
    margin: 0;
    position: static;
    text-align: center !important;
  }

  .clientes-text h2{
    position: static;
    max-width: 100%;
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.1;
    white-space: normal;
    margin-bottom: 50px;
    color: #393939;
  }

  .descripcion-clientes{
    margin-top: 0;
    margin-bottom: 30px;
    font-size: clamp(16px, 4.5vw, 20px);
    line-height: 1.5;
    text-align: center;
  }

  .clientes-imagen{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 0;            /* ✅ evita “aire” abajo */
  }

  .clientes-imagen img{
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  /* ✅ por si el último elemento deja margen extra */
  #clientes *:last-child{
    margin-bottom: 0 !important;
  }

}


















.footer{
    background-color: #4d4d4d;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    padding-top: 80px;
}

.footer-contenido{
    display: grid;
    grid-template-columns: 2fr 1fr 1.8fr;
    gap: 60px;
    padding: 0 80px;
    align-items: flex-start;
}

.footer-col:nth-child(2){
    position: relative;
    top: 18px;   /* prueba 12px, 18px o 22px */
}

.footer-logo img{
    width: auto;
    height: 80px;
    position: relative;
    top: 40px;
    left: -50px;
}

.footer-logo-link{
    display: inline-block;
    text-decoration: none;
}

.descripcion-footer{
    position: relative;
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 1.5em;
    left: -5px;
    color: #ffffff;
    line-height: 1.3;
}

/* Títulos */
.footer h4{
    position: relative;
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 20px;
    top: -50px;
    right: -30px;
}

/* Navegación */
.footer ul{
    list-style: none;
    padding: 0;
    margin: 0;
}


.footer-col:nth-child(2) ul{
    margin: -40px 0 0 0;   /* 👈 mueve esto para subir o bajar TODO el bloque */
    padding: 0;
}

.footer-col:nth-child(2) ul li{
    margin: 0 0 2px 0;
    padding: 0;
    line-height: 1;
}

.footer-col:nth-child(2) ul li a{
    display: block;
    position: relative;
    text-decoration: none;
    color: #ffffff;
    font-size: 1em;
    right: -30px;
    top: 0;                 /* 👈 ya no lo uses para mover */
    line-height: 1.3 !important;  /* 👈 esto junta los links */
    margin: 0;
    padding: 0;
}

.footer-col:nth-child(2) ul li a:hover{
    color: yellow;
}

.footer ul li{
    margin-bottom: -5px;
}



.footer ul li a:hove r{
    color: yellow;
}

/* Contacto */
.direccion-footer{
    position: relative;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2em;
    right: -30px;
    top: -41px;
    line-height: 1.4;
}

.footer a{
    position: relative;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.0em;
    right: -30px;
    top: -60px;
    line-height: 1.4;
}


.footer a:hover{
    color: yellow   ;
}

.footer-linea{
    margin-top: 0px;
    height: 8px;
    width: 55%;
    background: linear-gradient(
        to right,
        rgba(255, 215, 0, 1) 0%,
        rgba(255, 215, 0, 1) 40%,
        rgba(255, 215, 0, 0.6) 70%,
        rgba(255, 215, 0, 0) 100%
    );
}

/* Copy */
.footer-copy{
    position: relative;
    padding: 40px 80px 30px;
    font-size: 1.0em;
    color: #fff;
    left: -10px;
}











@media (max-width: 768px){

    .footer{
        padding-top: 60px;
    }

    .footer-contenido{
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 0 20px;
        text-align: center;
    }

    .footer-logo{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-col.footer-logo{
        align-items: center;
        text-align: center;
    }

    .footer-logo-link{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-logo img{
        height: 60px;
        width: auto;
        display: block;
        position: relative;
        top: 45px;
        margin: 0 auto 0 auto;
        transform: translateX(10px);
    }

    .descripcion-footer{
        position: static;
        margin-top: 10px;
        margin-bottom: 0;
        font-size: clamp(15px, 5vw, 17px);
        line-height: 1.5;
        text-align: center;
    }

    .footer h4{
        position: static;
        margin-bottom: 14px;
        font-size: clamp(16px, 5vw, 18px);
        text-align: center;
    }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3){
        position: static;
        top: auto;
    }

    .footer ul{
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-col:nth-child(2) ul{
        margin: 0;
        padding: 0;
    }

    .footer-col:nth-child(2) ul li{
        margin: 0 0 4px 0;
        padding: 0;
        line-height: 1;
    }

    .footer-col:nth-child(2) ul li a{
        display: block;
        position: static;
        right: auto;
        top: auto;
        margin: 0;
        padding: 0;
        font-size: 15px;
        line-height: 1.35;
        text-align: center;
    }

    .direccion-footer{
        position: static;
        right: auto;
        top: auto;
        margin: 0 0 14px 0;
        font-size: 15px;
        line-height: 1.55;
        text-align: center;
    }

    .footer-col:nth-child(3) a{
        display: inline-block;
        position: static;
        right: auto;
        top: auto;
        font-size: 15px;
        line-height: 1.55;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .footer-col:nth-child(3) a:first-child{
        margin-bottom: 8px;
    }

    .footer-linea{
        width: 100%;
        margin: 30px 0 0 0;
    }

    .footer-copy{
        position: static;
        left: auto;
        padding: 30px 20px;
        text-align: center;
        font-size: 14px;
        line-height: 1.4;
    }
    
}











/* 1. Evita que TODA la página se mueva a los lados */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}
















#btn-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 85px;
    height: 85px;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);

    color: yellow;
    font-size: 40px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    line-height: 1;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.3s ease;

    opacity: 0;
    visibility: hidden;
    z-index: 9999;

    box-shadow:
      0 12px 28px rgba(0,0,0,0.15),
      0 4px 10px rgba(0,0,0,0.1);
}

#btn-top:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

#btn-top.btn-blue   { color: #60c6ab !important; }
#btn-top.btn-orange { color: #e6a641 !important; }

@media (max-width: 768px){
  #btn-top{
    width: 62px;
    height: 62px;
    right: 16px;
    bottom: 20px;
    font-size: 34px;
  }
}


html {
    scroll-behavior: smooth;
}





@media (max-width: 768px){
  #btn-top{
    width: 75px;
    height: 75px;
    bottom: 18px;
    right: 30px;
    bottom: 30px;
    font-size: 40px;
  }
}

















como ves el aviso de privacidad el desktop, le harias un cambio, yo digo que el texto se alargue mas o ocupe mas espeacio  y de tamaño es el mismo que las otras secciones o como crees que deberia de verse mejor, tu dime /* =========================
   AVISO DE PRIVACIDAD
========================= */

.pagina-privacidad{
    height: auto;
    overflow: visible;
    position: relative;
    margin: 0;
    padding: 0;
}

.container-privacidad{
    min-height: 100vh;
    padding: 100px 60px 80px 60px;  /* mismo aire lateral que tu sitio desktop */
    background-image: url(imagenes/fondo-somos.jpg); /* cambia la ruta si tu imagen está en IMG */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #393939;
    margin: 0;
    border: 0;
    position: relative;
}

/* tapa la línea entre fondo y footer */
.container-privacidad::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 4px;
    pointer-events: none;
}

/* TÍTULO */
.titulo-privacidad{
    color: #393939;
    font-family: poppins, sans-serif;
    font-size: clamp(56px, 6.2vw, 82px);
    font-weight: 600;
    margin: 0 0 40px 0;
    line-height: 0.95;
}

/* BOTÓN */
.btn-volver-inicio{
    display: inline-block;
    margin: 0 0 40px 0;
    padding: 12px 22px;
    border-radius: 14px;
    background: yellow;
    color: #393939;
    text-decoration: none;
    font-family: poppins, sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.2vw, 18px);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-volver-inicio:hover{
    transform: scale(1.03);
    opacity: 0.92;
}

/* TEXTO */
.texto-privacidad{
    margin-bottom: 0;
    max-width: 1400px;
}

.texto-privacidad p{
    font-family: poppins, sans-serif;
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 1.65;
    margin: 0 0 24px 0;
    color: #595959;
    text-align: justify;
    text-justify: inter-word;
}

.texto-privacidad p:last-child{
    margin-bottom: 0;
}

/* VIÑETAS */
.lista-privacidad{
    list-style-type: disc;
    margin: 0 0 35px 28px;
    padding: 0;
}

.lista-privacidad li{
    font-family: poppins, sans-serif;
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 10px;
    color: #595959;
    text-align: justify;
    text-justify: inter-word;
}

/* FOOTER pegado */
.footer{
    margin-top: -2px;
    border-top: 0;
    position: relative;
    z-index: 2;
} 



.footer-contenido{
    align-items: flex-start;
}

.footer-col:nth-child(2){
    margin-top: -18px; /* prueba -12px, -18px o -22px */
}

.footer ul{
    margin: 0;
    padding: 0;
}

.footer ul li{
    margin-bottom: 6px;
}

.footer ul li a{
    display: inline-block;
    line-height: 1.15;
}





@media (max-width: 768px){

    .pagina-privacidad{
        height: auto;
        overflow: visible;
    }

    .container-privacidad{
        padding: 90px 25px 50px 25px;
        text-align: center;
    }

    .titulo-privacidad{
        font-size: clamp(34px, 8.4vw, 46px);
        line-height: 1.05;
        margin: 0 0 18px 0;
    }

    .btn-volver-inicio{
        width: auto;
        display: inline-block;
        text-align: center;
        margin: 15px auto 32px auto;
        padding: 10px 18px;
        border-radius: 12px;
        font-size: clamp(14px, 3.6vw, 16px);
    }

    .texto-privacidad{
        max-width: 100%;
    }

    .texto-privacidad p{
        font-size: clamp(14px, 3.5vw, 16px);
        font-weight: 300;
        line-height: 1.55;
        margin-bottom: 18px;
        text-align: left;
    }

    .lista-privacidad{
        margin: 0 0 20px 22px;
        text-align: left;
    }

    .lista-privacidad li{
        font-size: clamp(14px, 3.5vw, 16px);
        font-weight: 300;
        line-height: 1.55;
        margin-bottom: 10px;
        text-align: left;
    }
}