  @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');
    
html {
  font-size: 16px; /* vuelve al valor base de Tailwind */
}


    body {
      font-family: 'Montserrat', sans-serif !important;
      overflow-x: hidden;
      background: #000;
      color: #f1f1f1;
    }
    body.sidebar-open, body.modal-open {
      overflow: hidden;
    }
    .sidebar {
      transition: transform 0.4s ease;
      transform: translateX(100%);
    }
    .sidebar.open {
      transform: translateX(0);
    }
    .icon-btn {
      transition: all 0.3s ease;
    }
    .icon-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: scale(1.1);
    }
    .btn-glow {
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
      transition: all 0.3s ease;
    }
    .btn-glow:hover {
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
      transform: translateY(-3px);
    }
    .video-container {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      overflow: hidden;
    }
    .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }
    .service-card {
      transition: all 0.3s ease;
      overflow: hidden;
      position: relative;
    }
    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #ffffff, #888888);
      z-index: 10;
    }
    .peru-bg {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1526392060635-9d6019884377?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1200&q=80');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
    }
    .sidebar-nav-link {
      display: flex;
      align-items: center;
      font-size: 1.5rem;
      color: #f1f1f1;
      padding: 1rem 2rem;
      margin: 0.5rem 0;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
    .sidebar-nav-link:hover, .sidebar-nav-link.active {
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
      transform: translateX(-10px);
    }
    .sidebar-nav-link i {
      margin-right: 1rem;
      font-size: 1.8rem;
      width: 30px;
      text-align: center;
    }
    .stat-number {
      font-size: 2.5rem;
      font-weight: 800;
      background: linear-gradient(90deg, #ffffff, #aaaaaa);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display: inline-block;
    }
    .client-logo {
      filter: grayscale(100%) brightness(500%);
      opacity: 0.7;
      transition: all 0.3s ease;
    }
    .client-logo:hover {
      filter: grayscale(0%) brightness(100%);
      opacity: 1;
    }

    .swiper-slide {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      max-height: 60px;    /* todos igual de altos */
      max-width: 120px;    /* 👈 fija un ancho máximo */
      width: 100%;         /* que se estiren hasta el ancho asignado */
      object-fit: contain; 
    }

    /* Estilos para los modales */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 1000;
      opacity: 0;
      transition: opacity 0.3s ease;
      overflow-y: auto;
    }
    .modal.open {
      display: flex;
      opacity: 1;
    }
    .modal-content {
      background-color: #171717;
      margin: auto;
      width: 90%;
      max-width: 800px;
      border-radius: 12px;
      overflow: hidden;
      transform: scale(0.9);
      transition: transform 0.3s ease;
      position: relative;
    }
    .modal.open .modal-content {
      transform: scale(1);
    }
    .modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.1);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      transition: all 0.3s ease;
    }
    .modal-close:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: rotate(90deg);
    }
    .modal-header {
      padding: 30px 30px 20px;
      position: relative;
    }
    .modal-header h2 {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: white;
    }
    .modal-body {
      padding: 0 30px 30px;
    }
    .modal-image {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 20px;
    }
    .modal-description {
      color: #d4d4d4;
      line-height: 1.6;
      margin-bottom: 20px;
      font-size: 1.1rem;
    }
    .modal-features {
      margin-bottom: 25px;
    }
    .modal-features li {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      color: #d4d4d4;
    }
    .modal-features i {
      color: white;
      margin-right: 10px;
    }
    .modal-cta {
      text-align: center;
      padding: 20px 0;
      border-top: 1px solid #333;
    }

    .whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  z-index: 999;
}
.whatsapp-button img {
  width: 35px;
  height: 35px;
  filter: invert(1);
}
.whatsapp-button:hover {
  transform: scale(1.1);
}

.language-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  @apply bg-white text-black font-bold py-2 px-4 rounded-full transition;

}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.language-btn.active {
  @apply bg-black text-white;

}


/* Asegurar que los botones sean visibles en móviles */
@media (max-width: 640px) {
  header .flex.items-center.space-x-2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .translation-btn span {
    display: none;
  }
  
  .translation-btn {
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Estilos para elementos traducidos */
[data-translate] {
  transition: opacity 0.3s ease;
}

.language-changing [data-translate] {
  opacity: 0.8;
}