/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', sans-serif;
  background: #fff;
  color: #000;
}

/* HEADER */
header {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: relative;
  z-index: 100;
}

header .logo img {
  height: 40px;
}

/* Botón hamburguesa - visible solo en móviles */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Menú en escritorio */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Estilos responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #111;
    padding: 20px;
    border-radius: 8px;
  }

  nav ul.show {
    display: flex;
  }
}

/* HERO */
.hero {
  text-align: center;
  padding: 60px 20px 30px;
}
.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}
.hero p {
  font-size: 18px;
  color: #666;
}

/* GRID DE PRODUCTOS */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}
.tarjeta {
  background: #f3f3f3;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}
.tarjeta:hover {
  transform: translateY(-4px);
}
.tarjeta img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}
.tarjeta h3 {
  font-size: 20px;
  margin-bottom: 5px;
}
.tarjeta p {
  color: #444;
  margin-bottom: 10px;
}
.ver-mas {
  background: #000;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.ver-mas:hover {
  background: #333;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-contenido {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  max-width: 700px;
  width: 90%;
  position: relative;
}
.modal-body {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.modal-body img {
  max-width: 250px;
  border-radius: 10px;
}
.modal-info {
  flex: 1;
}
.modal-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.modal-info p {
  color: #444;
  margin-bottom: 10px;
}
.modal-info form {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-info input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
/* WHATSAPP BUTTON */
.whatsapp-button {
  position: fixed;
  bottom: 0px;      /* ⬅️ Más abajo que 20px */
  right: 10px;        /* ⬅️ En la esquina inferior izquierda */
  z-index: 1000;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* Imagen del botón */
.whatsapp-button img {
  width: 140px;      /* Puedes ajustar el tamaño */
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Efecto hover */
.whatsapp-button img:hover {
  transform: scale(1.1);
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 80px;
}
footer .social a,
footer .legal a {
  color: #aaa;
  margin: 0 10px;
  text-decoration: none;
  font-size: 14px;
}
footer .social a:hover,
footer .legal a:hover {
  color: #fff;
}
footer p {
  margin-top: 20px;
  font-size: 12px;
  color: #777;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #111;
    padding: 20px;
    border-radius: 8px;
    z-index: 999;
  }
  nav ul.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .modal-body {
    flex-direction: column;
    align-items: center;
  }
  .modal-body img {
    max-width: 80%;
  }
}
.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
}

