/* =========================
   RESET Y BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f172a;
  color: white;
  overflow-x: hidden;
}

h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

p {
  font-size: 20px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.contenedor {
  max-width: 900px;
}


/* =========================
   BOTONES GENERALES
========================= */
.boton,
.boton-producto,
.footer a {
  display: inline-block;
  background: #22c55e;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}

.boton {
  padding: 15px 25px;
}

.boton-producto,
.footer a {
  padding: 12px 22px;
}

.boton:hover,
.boton-producto:hover,
.footer a:hover {
  background: #16a34a;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.boton-secundario {
  display: inline-block;
  background: transparent;
  color: #38bdf8;
  padding: 15px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #38bdf8;
  transition: 0.3s;
}

.boton-secundario:hover {
  background: #38bdf8;
  color: #020617;
  transform: scale(1.05);
}


/* =========================
   NAVBAR
========================= */
.navbar {
  width: 100%;
  padding: 18px 40px;
  background: rgba(2, 6, 23, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid #1e293b;
}

.nav-logo {
  font-size: 22px;
  font-weight: bold;
  color: #38bdf8;
}

.nav-logo img {
  height: 45px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #38bdf8;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}


/* =========================
   HERO / INICIO
========================= */
header {
  min-height: 100vh;
  padding-top: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #020617, #1e293b);
  scroll-margin-top: 90px;
}

.logo {
  font-size: 42px;
  font-weight: bold;
  color: #38bdf8;
  margin-bottom: 15px;
}

.logo-hero {
  width: 280px;
  max-width: 90%;
  margin-bottom: 25px;
}

.hero-contenido {
  max-width: 950px;
  margin: auto;
  padding: 30px;
}

.hero-contenido h1 {
  font-size: 48px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero-contenido p {
  font-size: 20px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.hero-botones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* =========================
   BENEFICIOS
========================= */
.beneficios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  padding: 60px 30px;
  background: #0f172a;
  max-width: 1200px;
  margin: auto;
}

.beneficio {
  background: #020617;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #1e293b;
  text-align: center;
  backdrop-filter: blur(10px);
}

.beneficio h3 {
  color: #38bdf8;
  margin-bottom: 10px;
  font-size: 22px;
}

.beneficio p {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 0;
}


/* =========================
   PRODUCTOS
========================= */
.productos {
  padding: 100px 30px 70px;
  background: #020617;
  text-align: center;
  scroll-margin-top: 100px;
}

.productos h2 {
  font-size: 38px;
  margin-bottom: 10px;
  color: #38bdf8;
}

.subtitulo {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 40px;
}

.buscador {
  width: 100%;
  max-width: 500px;
  padding: 15px 18px;
  margin: 0 auto 35px;
  display: block;
  border-radius: 12px;
  border: 1px solid #1e293b;
  background: #0f172a;
  color: white;
  font-size: 16px;
  outline: none;
}

.buscador::placeholder {
  color: #94a3b8;
}

.buscador:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.producto {
  background: #0f172a;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #1e293b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  max-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  backdrop-filter: blur(10px);
}

.producto::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  transition: 0.4s;
}

.producto:hover {
  transform: translateY(-8px);
  border-color: #38bdf8;
}

.producto:hover::before {
  left: 0;
}

.producto-img,
.imagen-producto,
.producto img {
  width: 120px;
  height: 120px;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.producto h3 {
  font-size: 22px;
  min-height: 55px;
  margin-bottom: 12px;
}

.producto p {
  font-size: 16px;
  color: #cbd5e1;
  min-height: 65px;
  margin-bottom: 20px;
}

.precio {
  display: block;
  font-size: 30px;
  font-weight: bold;
  color: #22c55e;
  margin-top: auto;
  margin-bottom: 20px;
}


/* =========================
   PREGUNTAS FRECUENTES
========================= */
.faq {
  padding: 70px 30px;
  background: #0f172a;
  text-align: center;
}

.faq h2 {
  font-size: 38px;
  color: #38bdf8;
  margin-bottom: 35px;
}

.faq-contenedor {
  max-width: 900px;
  margin: auto;
  display: grid;
  gap: 20px;
}

.pregunta {
  background: #020617;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #1e293b;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.pregunta h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 10px;
}

.pregunta h3::after {
  content: "+";
  float: right;
  color: #38bdf8;
  font-size: 24px;
}

.pregunta p {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 0;
}


/* =========================
   FOOTER
========================= */
.footer {
  background: #020617;
  padding: 50px 30px;
  text-align: center;
  border-top: 1px solid #1e293b;
}

.footer h3 {
  color: #38bdf8;
  font-size: 26px;
  margin-bottom: 10px;
}

.footer p {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.footer a {
  margin-bottom: 20px;
}

.copy {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 0;
}


/* =========================
   BOTONES FLOTANTES
========================= */
.whatsapp-flotante,
.instagram-flotante {
  position: fixed;
  right: 25px;
  color: white;
  padding: 15px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  z-index: 2000;
  transition: 0.3s;
}

.whatsapp-flotante {
  bottom: 25px;
  background: #22c55e;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.whatsapp-flotante:hover {
  background: #16a34a;
  transform: scale(1.05);
}

.instagram-flotante {
  bottom: 90px;
  background: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.35);
}

.instagram-flotante:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.5);
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .navbar {
    padding: 14px 18px;
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-logo {
    font-size: 18px;
  }

  .nav-logo img {
    height: 38px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 18px;
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 18px;
    flex-direction: column;
    gap: 16px;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  }

  .nav-links.activo {
    display: flex;
  }

  .nav-links a {
    font-size: 15px;
  }

  .logo {
    font-size: 32px;
  }

  .logo-hero {
    width: 220px;
  }

  .hero-contenido h1 {
    font-size: 32px;
  }

  .hero-contenido p {
    font-size: 16px;
  }

  .productos h2,
  .faq h2 {
    font-size: 30px;
  }

  .whatsapp-flotante,
  .instagram-flotante {
    right: 15px;
    padding: 13px 18px;
    font-size: 14px;
  }

  .whatsapp-flotante {
    bottom: 15px;
  }

  .instagram-flotante {
    bottom: 75px;
  }
}