/*_____________________HEADER_______________________ */
*{margin:0;padding:0;box-sizing:border-box}
    html,body {
        height:100%;        
        font-family:'Segoe UI',sans-serif;
        scroll-behavior:smooth
    }

    #background-video {     
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.6);
      z-index: 1;
      
      /* Aceleración por hardware (crítico para rendimiento) */
      transform: translate3d(0, 0, 0);
      backface-visibility: hidden;
      perspective: 1000px;
      
      /* Optimización para animaciones */
      will-change: transform, filter;
      
      /* Animación optimizada */
      animation: zoom 30s ease-in-out infinite alternate;
    }
    
    @keyframes zoom {
      from { transform: scale(1) translate3d(0, 0, 0); }
      to { transform: scale(1.1) translate3d(0, 0, 0); }
    }
    
    #toggleAudio{
      position: absolute;
      bottom: 20px;
      left: 20px;
      z-index: 10;
      background-color: #0077B6;
      color: #90E0EF;
      border: 2px solid #90E0EF;
      border-radius: 8px;
      padding: 10px 16px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.2s ease;
  
    }
    .navbar{
      position:fixed;top:0;left:0;width:100%;padding:1rem 2rem;
      background:rgba(55, 196, 243, 0);
      display:flex;justify-content:center;align-items:center;
      backdrop-filter:blur(8px);z-index:1000;
      transition:background .4s,box-shadow .4s;
      animation:slideInDown .6s ease-out forwards;
    }
    .navbar.scrolled{
      background:rgba(52, 161, 245, 0.95);
      box-shadow:0 4px 12px rgba(0,0,0,0.3);
    }
    .nav-container{
      width:100%;max-width:1200px;
      display:flex;align-items:center;justify-content:space-between;
    }
    .nav-left,.nav-right{
      display:flex;gap:1.2rem;
      list-style:none;
    }
    .nav-left a,.nav-right a{
      position:relative;color:#f4f4f4;text-decoration:none;
      transition:color .3s;
      animation:fadeInUp .6s ease-out forwards;
    }
    .nav-left a::after,.nav-right a::after{
      content:"";position:absolute;left:0;bottom:-4px;width:0;height:2px;
      background:#FF9F1C;transition:width .3s;
    }
    .nav-left a:hover::after,.nav-right a:hover::after{width:100%}
    .nav-left a:hover,.nav-right a:hover{color:#FF9F1C}

    

    .logo img{
      height: 70px;transition:transform .3s;
      animation:fadeIn .8s ease-out forwards .8s;
      opacity:0;
    }

    .hamburger{
      display:none;flex-direction:column;gap:5px;cursor:pointer;
      z-index:1100;transition:transform .3s;
    }
    .hamburger span{
      width:25px;height:3px;background:#fff;border-radius:2px;
      transition:all .3s;
    }
    .hamburger.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
    .hamburger.open span:nth-child(2){opacity:0}
    .hamburger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

    .sidebar{
      position:fixed;top:0;left:-260px;width:260px;height:100%;
      background:#2C3E50;padding:3rem 1.5rem;
      display:flex;flex-direction:column;gap:1.5rem;
      transition:left .4s;z-index:1050;
    }
    .sidebar.active{
      left:0;animation:fadeIn .4s ease-out forwards;
    }
    
    .sidebar a{
      color:#f0f0f0;text-decoration:none;font-size:1.1rem;font-weight:500;
      opacity:0;transform:translateX(-20px);
      animation:slideIn .5s forwards;
    }
    .sidebar a:nth-child(1){animation-delay:.3s}
    .sidebar a:nth-child(2){animation-delay:.4s}
    .sidebar a:nth-child(3){animation-delay:.5s}
    .sidebar a:nth-child(4){animation-delay:.6s}
    .sidebar a:nth-child(5){animation-delay:.7s}
    .sidebar a:nth-child(6){animation-delay:.8s}

    .overlay{
      position:fixed;top:0;left:0;width:100vw;height:100vh;
      background:rgba(0,0,0,0.5);display:none;z-index:1040;
      animation:fadeIn .4s ease-out forwards;
    }
    .overlay.active{display:block}


@keyframes moveWavesUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

    @keyframes slideInDown{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}
    @keyframes slideIn{to{opacity:1;transform:translateX(0)}}
    @keyframes fadeIn{from{opacity:0}to{opacity:1}}
    @keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
    @keyframes zoom{from{transform:scale(1.1)}to{transform:scale(1)}}

    @media(max-width:768px){
      .nav-left,.nav-right{display:none}
      .hamburger{display:flex}
      .logo img{height:48px}
    }

    /* Dropdown en navbar */
.nav-right .dropdown {
  position: relative;
}
.nav-right .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #2C3E50;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 1100;
}
.nav-right .dropdown-menu li {
  list-style: none;
  margin: 5px 0;
}
.nav-right .dropdown-menu a {
  color: #fff;
  text-decoration: none;
  display: block;
}
.nav-right .dropdown:hover .dropdown-menu {
  display: block;
}

/* Submenú dentro del sidebar */
#sidebar-submenu {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  gap: 6px;
}
#sidebar .submenu a {
  color: #f0f0f0;
  font-size: 0.95rem;
}
#sidebar .submenu.active {
  display: flex;
}
#sidebar-submenu {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  gap: 6px;
}
#sidebar .submenu a {
  color: #f0f0f0;
  font-size: 0.95rem;
}
#sidebar .submenu.active {
  display: flex;
}

/* --- ANULACIÓN DE ESTILOS DE BOOTSTRAP EN TABS --- */
.nav-tabs {
  border-bottom: none !important;
  justify-content: center;
  gap: 16px;
}

.nav-tabs .nav-link {
  border: none !important;
  background-color: transparent !important;
  color: #0077B6 !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  font-size: 1rem;
  border-radius: 8px 8px 0 0 !important;
  transition: background-color .3s ease, color .3s ease;
}

.nav-tabs .nav-link:hover {
  background-color: #f1f4f8 !important;
}

.nav-tabs .nav-link.active {
  background-color: #f1f4f8 !important;
  color: #26bed6 !important;
  border-bottom: 3px solid #1ed2ee !important;
  border-radius: 8px 8px 0 0 !important;
  border-color: transparent !important;
}

.nav-tabs .nav-item {
  margin-bottom: -1px; /* para que el borde azul quede visible */
}


/*________________QUIENES SOMOS___________________ */
    /* ESTILOS QUIÉNES SOMOS */
.quienes-somos {
  padding: 80px 20px;
  background: #f8fbff;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.quienes-somos .intro h2  {
  font-size: 2.8rem ;
  font-weight: 700;
  color: #0c1225;
  position: relative;
  margin-bottom: 15px;
}

.quienes-somos .intro h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: #1669ff;
  margin: 8px auto 0;
  border-radius: 2px;
}

.quienes-somos .intro p {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #3c4a63;
  line-height: 1.6;
}

.quienes-somos .intro p a {
  color: #1669ff;
  text-decoration: none;
  font-weight: 500;
}

.contenedor-cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) ;
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  padding: 50px 30px; /* Más alto */
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px; /* Tarjeta más estirada */
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.card .icono {
  width: 55px;
  height: 55px;
  background: #1669ff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.card .icono i {
  color: white;
  font-size: 24px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0c1225;
  margin-bottom: 10px;
}

.card p {
  color: #5f6b7d;
  font-size: 0.95rem;
  line-height: 1.5;
}

.boton-proyectos {
  margin-top: 50px;
}

.boton-proyectos a {
  background: #1669ff;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
}

.boton-proyectos a:hover {
  background: #0c4dd3;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .quienes-somos .intro h2 {
    font-size: 2rem;
  }

  .card {
    padding: 35px 20px;
    min-height: unset;
  }

  .boton-proyectos a {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}


    /*________________MISION, VISION y nuestra historia___________________ */
   
/* Sección general */
.seccion-mv {
  background: #0a48f5;
  padding: 80px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
}

/* Título */
.seccion-mv h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
}

/* Contenedor con grid responsivo */
.contenedor-mv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* Tarjeta cuadrada */
.tarjeta {
  background: #fff;
  padding: 30px 25px;
  border-radius: 18px;
  color: #0c1225;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;

  /* CUADRADO */
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 320px;
}

/* Efecto al pasar mouse */
.tarjeta:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Ícono */
.icono {
  font-size: 34px;
  color: #2c72ff;
  margin-bottom: 20px;
}

/* Título de tarjeta */
.tarjeta h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Texto de tarjeta */
.tarjeta p {
  color: #1e2b40;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: auto;
}

/* Botón */
.boton-historia {
  margin-top: 25px;
  background: transparent;
  border: 1.5px solid #2c72ff;
  color: #2c72ff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.boton-historia:hover {
  background: #2c72ff;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .seccion-mv h2 {
    font-size: 2rem;
  }

  .tarjeta {
    padding: 25px 20px;
    aspect-ratio: unset;
    min-height: unset;
  }
}


 /* ======== SECCIÓN SERVICIOS CON TÍTULO LATERAL ROTADO Y DESAPARICIÓN AL ABRIR ========== */
.servicios-section {
  max-width: 1300px;
  margin: 60px auto;
  padding: 20px;
}

.titulo-dentro {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
} 

.servicios-titulo {
  text-align: center;
  font-size: 2.6rem;
  font-weight: bold;
  color: #003a6f;
  margin-bottom: 40px;
}

.acordeon-lealco {
  display: flex;
  height: 350px;
  gap: 10px;
  border-radius: 12px;
  overflow: hidden;
}

.acordeon-item {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.4s ease;
  border-radius: 10px;
}

.acordeon-item.open {
  flex: 4;
}

.fondo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  z-index: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  transition: background 0.4s ease;
}

.acordeon-item.open .overlay {
  background: linear-gradient(135deg, #003a6f 0%, #0077b6 100%);
  opacity: 0.95;
}

.label-bar {
  position: absolute;
  top: 85%;
  right: 150px;
  transform: translateY(-50%) rotate(-90deg);
  background: rgba(255, 255, 255, 0.85);
  color: #003a6f;
  padding: 12px 8px;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 12px;
}

.acordeon-item.open .label-bar {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg) scale(0.95);
}

.acordeon-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  max-width: 300px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.acordeon-item.open .acordeon-content {
  opacity: 1;
  transform: translateY(0);
}

.acordeon-content p {
  font-size: 1rem;
  line-height: 1.5;
}

.btn-saber-mas {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  background: #ffffff;
  color: #003a6f;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-saber-mas:hover {
  background: #e0e0e0;
}

/* === MÓVIL (Versión visual tipo tarjeta) === */
.accordion-visual-mobile {
  display: none;
}

@media (max-width: 768px) {
  .acordeon-lealco {
    display: none;
  }

  .accordion-visual-mobile {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
  }

  .accordion-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #ccc;
  }

  .accordion-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .accordion-header {
    width: 100%;
    padding: 16px;
    background: #f0f0f0;
    font-weight: bold;
    font-size: 1.1rem;
    color: #003a6f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: none;
    outline: none;
  }

  .accordion-body {
    display: none;
    padding: 16px;
    background: linear-gradient(135deg, #003a6f 0%, #0077b6 100%);
    color: #fff;
  }

  .accordion-body p {
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .accordion-card.active .accordion-body {
    display: block;
  }

  .accordion-card.active .icon {
    transform: rotate(45deg);
  }

  .icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .btn-saber-mas {
    background: #fff;
    color: #003a6f;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 10px;
  }
}


    /*________________CARROUSEL___________________ */

    .lealco-carousel-section {
        background: #f5f5f5;
        padding: 60px 20px;
        text-align: center;
      }
      .carousel-title {
        display: block;
        margin: 0 auto 30px;
        font-family: 'Segoe UI', sans-serif;
        font-size: 2.4rem;
        color: #00394F;
        animation: floatTitle 4s ease-in-out infinite;
        position: relative;
      }
      .carousel-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -8px;
        width: 0;
        height: 4px;
        background: #FF9F1C;
        transform: translateX(-50%);
        animation: lineExpand 1s ease-out infinite alternate;
      }
    
      .lealco-carousel {
        overflow: hidden;
        width: 100%;
        background: #ffffff;
        padding: 30px 0;
      }
    
      .carousel-track {
        display: flex;
        gap: 60px;
        align-items: center;
        width: max-content;
        animation: scrollLeft 40s linear infinite;
      }
    
      .carousel-track img {
        height: 100px;
        max-width: 150px;
        object-fit: contain;
        filter: grayscale(100%);
        transition: filter 0.3s ease, transform 0.3s ease;
      }
      .carousel-track img:hover {
        filter: none;
        transform: scale(1.1);
      }
    
      @keyframes scrollLeft {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
      }
      @keyframes floatTitle {
        0%,100% { transform: translateY(0); }
        50%     { transform: translateY(-8px); }
      }
      @keyframes lineExpand {
        from { width: 0; }
        to   { width: 60px; }
      }

    /*________________CONTADOR___________________ */

    /* === LEALCO STATS SECTION === */
.lealco-stats {
    background-color: #004F80; /* Fondo azul oscuro */
    color: #FFFFFF;
    padding: 80px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .lealco-stats-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
  }
  
  .stats-description {
    flex: 1;
    min-width: 300px;
  }
  
  .stats-description h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #FDE3A7; /* Amarillo pastel */
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards, floatTitle 4s ease-in-out 1s infinite;
  }
  
  .stats-description p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #E0E0E0;
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards 0.5s;
  }
  
  .stats-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .stat-box {
    background-color: #FFFFFF; /* Ahora las tarjetas son BLANCAS */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
  }
  
  .stat-box:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  }
  
  .stat-number {
    font-size: 3rem;
    color: #00A0D6; /* Azul claro */
    font-weight: 700;
  }
  
  .stat-box p {
    font-size: 1rem;
    color: #004F80; /* Texto en azul oscuro */
    margin-top: 10px;
  }
  
  /* === RESPONSIVE === */
  @media (max-width: 768px) {
    .lealco-stats-wrapper {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .stats-container {
      grid-template-columns: 1fr 1fr;
      width: 100%;
    }
  
    .stats-description h2 {
      font-size: 2.2rem;
    }
  
    .stats-description p {
      font-size: 1rem;
    }
  }
  
  /* === ANIMACIONES === */
  @keyframes fadeInDown {
    from {opacity: 0; transform: translateY(-40px);}
    to {opacity: 1; transform: translateY(0);}
  }
  
  @keyframes floatTitle {
    0%,100% {transform: translateY(0);}
    50% {transform: translateY(-8px);}
  }
  
  @keyframes fadeUp {
    to {opacity: 1; transform: translateY(0);}
  }
  

/*_________________________PROYECTOS_________________________________*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* TÍTULOS */
.section-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #007BFF;
  margin-bottom: 10px;
  letter-spacing: 1px;
  margin-top: 30px;
}

.main-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #121212;
  margin-bottom: 20px;
}

/* TABS */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0 auto 20px;
  border-bottom: 1px solid #ddd;
  list-style: none;
  position: relative;
  z-index: 2;
}

.tabs a {
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  font-weight: 600;
  color: #2c3e50;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 12px 12px 0 0;
  position: relative;
  transition: all 0.3s ease;
  background: none;
  border: none;
  height: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tabs a::after {
  content: '';
  position: absolute;
  bottom: -1px; /* Ajusta para alineación exacta con borde */
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.tabs a.active {
  color: #1ed2ee;
  font-weight: 700;
}

.tabs a.active::after {
  background-color: #1ed2ee;
}

/* CARRUSEL */
.carousel {
  max-width: 900px;
  margin: 40px auto 50px; /* Espaciado superior agregado */
  position: relative;
  display: none;
  z-index: 1;
}

.carousel.active {
  display: block;
}

.slides {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* INDICADORES */
.indicators {
  text-align: center;
  margin-top: 15px;
}

.indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.indicator.active {
  background-color: #1ed2ee;
}

/* RESPONSIVE */

/* Tablets */
@media screen and (max-width: 992px) {
  .main-title {
    font-size: 2rem;
  }

  .tabs {
    gap: 16px;
  }

  .tabs a {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  .slides {
    height: 300px;
  }

  .carousel {
    margin: 30px auto 40px;
  }
}

/* Celulares */
@media screen and (max-width: 600px) {
  .tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    justify-content: center;
    padding: 10px 20px;
    margin: 0 auto 30px;
    border-bottom: none;
  }

  .tabs li {
    display: flex;
    justify-content: center;
    padding: 0 5px;
  }

  .tabs li:last-child {
    grid-column: span 2;
    justify-content: center;
  }

  .tabs a {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #ffffff;
    color: #007BFF;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .tabs a.active {
    background-color: #e7fafe;
    color: #1ed2ee;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px #c1f1fb;
  }

  .tabs a.active::after {
    display: none;
  }

  .slides {
    height: 220px;
  }

  .carousel {
    margin: 20px 10px 40px;
  }
}


  /*______________________REDES_______________________*/

  .social-launcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .launcher-toggle {
    background-color: #ffffff;
    border: 3px solid  #0067d5;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
  }

  .launcher-toggle:hover {
    transform: scale(1.05);
  }

  .launcher-toggle img {
    width: 28px;
    height: 28px;
  }

  .social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .social-icons.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .icon-btn {
    background-color: #ffffff;
    width: 55px;
    height: 55px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .icon-btn:hover {
    transform: scale(1.1);
  }

  .icon-btn img {
    width: 28px;
    height: 28px;
  }

  /*___________________________ CONTACTOS____________________________*/

  .footer-lealco {
  background-color: #0B1E2D;
  color: #EAF4F9;
  font-family: 'Segoe UI', sans-serif;
  padding: 60px 20px 30px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  font-size: 1.5rem;
  color: #EAF4F9;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-col p,
.footer-col a {
  font-size: 1rem;
  line-height: 1.7;
  color: #EAF4F9;
  text-decoration: none;
  font-weight: 400;
}

.footer-col strong {
  font-weight: 600;
}

.footer-col a:hover {
  color: #FF9F1C !important;
  text-decoration: underline;
}

.badge {
  display: inline-block;
  background-color: #1C6EF2;
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.experience-box {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1C6EF2;
  padding: 12px 18px;
  border-radius: 12px;
  color: white;
}

.big-number {
  font-size: 1.25rem;
  font-weight: 600;
  background: white;
  color: #1C6EF2;
  border-radius: 8px;
  padding: 6px 12px;
}

.schedule-box {
  background: #1A2A3A;
  padding: 16px;
  border-radius: 10px;
  color: #EAF4F9;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 400;
}


.privacy-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #ffffff;
  color: #0443a8 !important;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid #072af1;
}
.privacy-btn:hover {
  background: #F0F0F0;
  text-decoration: underline;
}

.google-maps-btn {
  display: inline-block;
  margin-top: 12px;
  background: #1C6EF2;
  color: white;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
}
.google-maps-btn:hover {
  background: #155BCE;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: #c2c2c2;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  margin: 0 12px;
  color: #2452f9;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-container iframe {
    height: 160px;
  }
}


/*------ BOLSA DE TRABAJO Y PROVEDORES ------*/
.proy-section {
  padding: 60px 20px;
  text-align: center;
}

.proy-label {
  display: inline-block;
  background-color: #e0e7ff;
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 12px;
}

.proy-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.proy-description {
  font-size: 16px;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 40px;
}

.proy-card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.proy-card {
  width: 100%;
  max-width: 600px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proy-card-header {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: white;
}

.proy-card-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(244, 244, 244, 0.336));
  z-index: 1;
}

.proy-card-header-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.proy-card-header-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.proy-card-header-content p {
  font-size: 15px;
  color: #e5e7eb;
}

.proy-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  z-index: 2;
}

.proy-icon-top {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  padding: 8px;
  border-radius: 50%;
  z-index: 2;
}

.proy-card-body {
  padding: 30px;
  text-align: left;
}

.proy-icon-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.proy-icon-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.proy-icon-info p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.proy-icon-box {
  width: 50px;
  height: 50px;
  padding: 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proy-icon-box img {
  width: 100%;
  height: auto;
}

.proy-list {
  margin: 16px 0;
  padding-left: 20px;
  color: #111827;
}

.proy-list li {
  margin-bottom: 8px;
  list-style: disc;
}

.proy-button {
  display: inline-block;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  font-size: 15px;
}

.proy-blue {
  background-color: #2563eb;
}

.proy-green {
  background-color: #22c55e;
}

.proy-white {
  color: #fff !important;
}

/*------ BOLSA DE TRABAJO Y PROVEDORES ------*/
.proy-section {
  padding: 60px 20px;
  text-align: center;
}

.proy-label {
  display: inline-block;
  background-color: #e0e7ff;
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 12px;
}

.proy-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.proy-description {
  font-size: 16px;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 40px;
}

.proy-card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.proy-card {
  width: 100%;
  max-width: 600px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proy-card-header {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: white;
}

.proy-card-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(244, 244, 244, 0.336));
  z-index: 1;
}

.proy-card-header-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.proy-card-header-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.proy-card-header-content p {
  font-size: 15px;
  color: #e5e7eb;
}

.proy-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  z-index: 2;
}

.proy-icon-top {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  padding: 8px;
  border-radius: 50%;
  z-index: 2;
}

.proy-card-body {
  padding: 30px;
  text-align: left;
}

.proy-icon-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.proy-icon-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.proy-icon-info p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.proy-icon-box {
  width: 50px;
  height: 50px;
  padding: 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proy-icon-box img {
  width: 100%;
  height: auto;
}

.proy-list {
  margin: 16px 0;
  padding-left: 20px;
  color: #111827;
}

.proy-list li {
  margin-bottom: 8px;
  list-style: disc;
}

.proy-button {
  display: inline-block;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  font-size: 15px;
}

.proy-blue {
  background-color: #2563eb;
}

.proy-green {
  background-color: #22c55e;
}

.proy-white {
  color: #fff !important;
}