/* style.css | Estilos personalizados para ML Servicios */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* para que el scroll no tape el inicio de secciones */
}

/* =======================================
   1. Animaciones
======================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.card-hover:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

/* =======================================
   2. Botón flotante WhatsApp
======================================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  text-decoration: none;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}

/* =======================================
   3. Compatibilidad y ajustes generales
======================================= */
img {
  image-rendering: auto;
}

input, textarea {
  font-size: 16px;
}

/* Hero: mejora el encuadre de la imagen en móviles */
@media (max-width: 768px) {
  #inicio img#hero-bg {
    object-position: center 20%;
  }
}

@media (max-width: 768px) {
  .servicios-laborales ul {
    columns: 1;
  }
}


  .hero p {
    font-size: 1rem !important;
  }

  .service-card img {
    width: 64px !important;
  }
}

/* =======================================
   4. Mejoras visuales para sección de servicios y asesoría
======================================= */
#servicios img, #asesoria-detalle img {
  width: 32px;
  height: 32px;
}

#nosotros h2,
#nosotros p {
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* =======================================
   5. Estilo para sección 'Visítanos'
======================================= */
#visitanos iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#visitanos a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #2d9898;
  color: white;
  border-radius: 9999px;
  font-weight: 600;
  transition: background-color 0.3s;
}

#visitanos a:hover {
  background-color: #257c7c;
}

.servicios-laborales {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.servicios-laborales h3 {
  font-weight: bold;
  margin-bottom: 15px;
}

.servicios-laborales ul {
  list-style: disc inside;
  columns: 2; /* 🔹 Hace las dos columnas */
  column-gap: 40px; /* Espacio entre columnas */
  text-align: left; /* 🔹 Alinea todo el texto a la izquierda */
}

.servicios-laborales li {
  margin-bottom: 8px;
}
