/* ===== FINAL PATCH: móvil entorno tecnológico + footer centrado + menú móvil ===== */

/* Quitar "Vista general" del submenú móvil de Atracción de talento */
#mobileAtraccionSub a[href="atraccion-talento.html"]{
  display:none !important;
}

/* Footer: centrar logo, slogan y redes en todas las páginas */
#contacto-footer .footer-brand-col{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  text-align:center !important;
}
#contacto-footer .footer-brand-col .footer-logo{
  display:block !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
#contacto-footer .footer-brand-col p{
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}
#contacto-footer .social,
#contacto-footer .footer-brand-col .social,
#contacto-footer .footer-actions-col .social,
.mobile-social{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
#contacto-footer .social a,
#contacto-footer .footer-brand-col .social a,
#contacto-footer .footer-actions-col .social a,
#contacto-footer .social a i,
#contacto-footer .footer-brand-col .social a i,
#contacto-footer .footer-actions-col .social a i,
.mobile-social a,
.mobile-social a i{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}

/* Galería móvil visible en Entorno tecnológico */
@media (max-width: 768px){
  body[data-page='atraccion-talento'] .entorno-tech-shared .tech-carousel,
  body[data-page='talentoadministrativo'] .entorno-tech-shared .tech-carousel,
  body[data-page='talentoit'] .entorno-tech-shared .tech-carousel,
  body[data-page='talentoheadhunting'] .entorno-tech-shared .tech-carousel,
  body[data-page='atraccion-talento'] .entorno-tech-shared .tech-carousel.reveal,
  body[data-page='talentoadministrativo'] .entorno-tech-shared .tech-carousel.reveal,
  body[data-page='talentoit'] .entorno-tech-shared .tech-carousel.reveal,
  body[data-page='talentoheadhunting'] .entorno-tech-shared .tech-carousel.reveal{
    display:block !important;
    position:relative !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    scroll-behavior:smooth !important;
    scroll-snap-type:x proximity !important;
    touch-action:pan-x !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    min-height:96px !important;
    margin-top:1rem !important;
    padding:.2rem 0 .55rem !important;
    -webkit-mask-image:none !important;
    mask-image:none !important;
    cursor:grab !important;
  }

  body[data-page='atraccion-talento'] .entorno-tech-shared .tech-carousel:active,
  body[data-page='talentoadministrativo'] .entorno-tech-shared .tech-carousel:active,
  body[data-page='talentoit'] .entorno-tech-shared .tech-carousel:active,
  body[data-page='talentoheadhunting'] .entorno-tech-shared .tech-carousel:active{
    cursor:grabbing !important;
  }

  body[data-page='atraccion-talento'] .entorno-tech-shared .tech-carousel::-webkit-scrollbar,
  body[data-page='talentoadministrativo'] .entorno-tech-shared .tech-carousel::-webkit-scrollbar,
  body[data-page='talentoit'] .entorno-tech-shared .tech-carousel::-webkit-scrollbar,
  body[data-page='talentoheadhunting'] .entorno-tech-shared .tech-carousel::-webkit-scrollbar{
    height:6px;
  }

  body[data-page='atraccion-talento'] .entorno-tech-shared .tech-carousel::-webkit-scrollbar-thumb,
  body[data-page='talentoadministrativo'] .entorno-tech-shared .tech-carousel::-webkit-scrollbar-thumb,
  body[data-page='talentoit'] .entorno-tech-shared .tech-carousel::-webkit-scrollbar-thumb,
  body[data-page='talentoheadhunting'] .entorno-tech-shared .tech-carousel::-webkit-scrollbar-thumb{
    background:rgba(252,132,3,.45);
    border-radius:999px;
  }

  body[data-page='atraccion-talento'] .entorno-tech-shared .tech-carousel-track,
  body[data-page='talentoadministrativo'] .entorno-tech-shared .tech-carousel-track,
  body[data-page='talentoit'] .entorno-tech-shared .tech-carousel-track,
  body[data-page='talentoheadhunting'] .entorno-tech-shared .tech-carousel-track{
    display:flex !important;
    align-items:center !important;
    gap:.85rem !important;
    width:max-content !important;
    min-height:84px !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    animation:none !important;
    will-change:auto !important;
    padding:0 .5rem !important;
  }

  body[data-page='atraccion-talento'] .entorno-tech-shared .tech-carousel-track > *,
  body[data-page='talentoadministrativo'] .entorno-tech-shared .tech-carousel-track > *,
  body[data-page='talentoit'] .entorno-tech-shared .tech-carousel-track > *,
  body[data-page='talentoheadhunting'] .entorno-tech-shared .tech-carousel-track > *{
    flex:0 0 auto !important;
  }

  body[data-page='atraccion-talento'] .entorno-tech-shared .tech-carousel-card,
  body[data-page='talentoadministrativo'] .entorno-tech-shared .tech-carousel-card,
  body[data-page='talentoit'] .entorno-tech-shared .tech-carousel-card,
  body[data-page='talentoheadhunting'] .entorno-tech-shared .tech-carousel-card{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:132px !important;
    min-width:132px !important;
    height:84px !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    scroll-snap-align:start !important;
  }

  body[data-page='atraccion-talento'] .entorno-tech-shared .tech-carousel-card img,
  body[data-page='talentoadministrativo'] .entorno-tech-shared .tech-carousel-card img,
  body[data-page='talentoit'] .entorno-tech-shared .tech-carousel-card img,
  body[data-page='talentoheadhunting'] .entorno-tech-shared .tech-carousel-card img{
    display:block !important;
    width:auto !important;
    height:auto !important;
    max-width:100% !important;
    max-height:54px !important;
    opacity:1 !important;
    visibility:visible !important;
    object-fit:contain !important;
    pointer-events:none !important;
  }
}
