/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FUENTE Y FONDO */
body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(to right, #a9acac, #93d5e0);
  color: #222;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 28px;
  background: rgba(237, 249, 252, 0.85);
  backdrop-filter: blur(6px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #0a2e36;
}

nav#nav {
  display: flex;
  gap: 22px;
}

nav#nav a {
  text-decoration: none;
  color: #0a2e36;
  font-weight: 600;
  transition: color .2s ease;
}

nav#nav a:hover {
  color: #00796b;
}

/* MENÚ MÓVIL */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #0a2e36;
  border-radius: 3px;
}

/* HERO */
.hero {
  text-align: center;
  padding: 140px 20px 60px;
}

.hero h1 {
  font-size: 38px;
  color: #000;
}

.hero p {
  max-width: 750px;
  margin: 20px auto;
  color: #333;
  font-size: 18px;
}

/* SERVICIOS */
.servicios {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 40px 0 100px;
}

.servicio {
  width: 85%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  padding: 20px 20px 35px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: transform .3s ease, box-shadow .3s ease;
}

.servicio:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 26px rgba(0,0,0,0.2);
}

/* 🔥 IMÁGENES AJUSTADAS Y LIMPIAS */
.servicio img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 15px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* TEXTO Y BOTÓN */
.servicio h2 {
  font-size: 24px;
  color: #000;
  margin-bottom: 8px;
}

.servicio p {
  color: #333;
  font-size: 15.5px;
  margin-bottom: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.precio {
  font-weight: 700;
  color: #00796b;
  font-size: 17px;
  display: block;
  margin-bottom: 12px;
}

/* BOTÓN COMPRAR */
.btn-comprar {
  background: #00796b;
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}

.btn-comprar:hover {
  background: #004d40;
  transform: scale(1.05);
}

/* FOOTER */
footer {
  background: #000;
  color: #fff;
  padding: 15px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 5px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* BOTÓN WHATSAPP */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
  z-index: 2000;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn img {
  width: 35px;
  height: 35px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  nav#nav {
    display: none;
    position: absolute;
    top: 80px;
    right: 16px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
  }

  nav#nav.active {
    display: flex;
  }

  .servicio {
    width: 92%;
    padding: 15px 15px 30px;
  }

  .servicio img {
    border-radius: 12px;
  }

  .hero h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .servicio {
    width: 94%;
  }

  .servicio img {
    width: 100%;
    height: auto;
  }

  .servicio h2 {
    font-size: 21px;
  }

  .btn-comprar {
    width: 100%;
    font-size: 14px;
  }
}
