/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  background-color: #0a0a0a;
  color: #fff;
  scroll-behavior: smooth;
}

a {
  color: #25d366;
  text-decoration: none;
}


/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 20px 30px;
  height: 100px;
}

.logo {
  max-width: 100%;
  margin-bottom: 20px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
}

.nav a {
  margin-left: 25px;
  font-weight: 600;
  font-size: 1.05em;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #1dbf73;
}

/* HERO */
.hero {
  padding: 160px 20px 0px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5em;
  color: #25d366;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  color: #ccc;
}

/* SECTION */
.section {
  padding: 120px 20px 0 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #25d366;
}

/* GRID CARDS */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.card {
  background-color: #111;
  border: 1px solid #25d36644;
  padding: 25px;
  width: 260px;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.card:hover {
  transform: translateY(-5px);
  border-color: #25d366;
  box-shadow: 0 0 15px #25d36688;
}

/* FOOTER */
.footer {
  padding: 50px 20px;
  text-align: center;
  color: #888;
  font-size: 0.9em;
}

/* SCROLL ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* NAV TOGGLE BUTTON */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #25d366;
  transition: 0.3s;
}

/* ACTIVE NAV */
.nav.active {
  display: flex;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #111;
    width: 100%;
    margin-top: 15px;
    border-top: 1px solid #222;
    padding-bottom: 10px;
    animation: fadeSlide 0.3s ease;
  }

  @keyframes fadeSlide {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav a {
    margin: 12px 0;
  }

  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .logo {
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }

  .card {
    width: 90%;
  }
}

.menu-logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #25d366;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-logo:hover {
  color: #1dbf73;
}
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centra las tarjetas */
  gap: 16px;
  padding: 0;
}
#contacto{
  padding: 100px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  flex: 1 1 240px;
  max-width: 320px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  justify-content: center;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.card-whatsapp { background-color: #25D366; }
.card-email { background-color: #0072C6; }
.card-facebook { background-color: #1877F2; }
.card-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.card-tiktok {
  background-color: #010101;
  color: #fff;
}

.contact-card i {
  font-size: 1.5em;
}
.clientes-grid {
  display: flex;
  flex-wrap: wrap; /* Permite que los elementos se distribuyan en varias filas */
  justify-content: center; /* Centra el contenido en el eje horizontal */
  gap: 30px; /* Espaciado entre los elementos */
  margin-top: 40px;
}

.clientes-grid img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.clientes-grid img:hover {
  transform: scale(1.08);
  opacity: 1;
}
