:root {
  --naranja: #f67c00;
  --amarillo: #ffd84d;
  --rojo: #e63946;
  --gris: #444;
  --fondo: #fffaf3;
  --blanco: #ffffff;
}

/* 🔹 RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', sans-serif;
  background-color: var(--fondo);
  color: var(--gris);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 🔹 HEADER */
header {
  background-color: var(--naranja);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

/* 🔹 NAVBAR */
nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--amarillo);
}

/* 🎯 HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(237, 123, 0, 0.8), rgba(0, 0, 0, 0.4)),
              url('imagenes/ventas-al-por-mayor.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.6;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
}

.btn-hero {
  display: inline-block;
  background-color: #fff;
  color: #ED7B00;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: #ED7B00;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}


/* 🔹 CATÁLOGO PRINCIPAL */
.catalogo {
  padding: 3rem 1.5rem;
  text-align: center;
  background-color: #ffffff;
}

.catalogo h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--naranja);
}

.catalogo p {
  margin-bottom: 2rem;
}

.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.producto {
  background: #fffaf3;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.producto img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 10px;
}

.producto h4 {
  margin-top: 0.8rem;
  color: var(--rojo);
  font-size: 1.1rem;
}

.producto p {
  font-size: 0.9rem;
  color: #666;
}

/* 🔹 SECCIÓN: MÁS JUGUETES */
.catalogo-precios {
  background-color: #fff8ec;
  padding: 3rem 1.5rem;
  text-align: center;
}

.catalogo-precios h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--rojo);
}

.catalogo-precios p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--gris);
}

.catalogo-precios .productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.catalogo-precios .producto {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1rem;
  max-width: 250px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalogo-precios .producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.catalogo-precios .producto img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
}

/* 🔹 BENEFICIOS */
.beneficios {
  background-color: #fff8ec;
  padding: 3rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.beneficio {
  background-color: white;
  border: 2px solid var(--amarillo);
  border-radius: 12px;
  padding: 1.5rem;
  width: 280px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.beneficio:hover {
  transform: translateY(-4px);
  border-color: var(--naranja);
}

.beneficio i {
  font-size: 2rem;
  color: var(--amarillo);
  margin-bottom: 0.5rem;
  display: block;
}

/* 🔹 CONTACTO */
.contacto {
  text-align: center;
  background-color: #fffaf3;
  padding: 3rem 1rem;
}

.whatsapp-btn {
  display: inline-block;
  background-color: var(--rojo);
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #c92d3a;
}

/* 🔹 BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--naranja);
  color: white;
  font-size: 26px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #e86d00;
}

/* ================================
   🔹 FOOTER - NARANJA
=================================== */
.footer {
  background: #ED7B00;
  color: #fff;
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
}

.footer h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #FFD43B; /* detalle decorativo */
  margin-top: 5px;
  border-radius: 3px;
}

.footer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #fff;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: #FFD43B;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-links a {
  color: #fff;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #FFD43B;
  color: #ED7B00;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #fff;
}

.footer-bottom a {
  color: #FFD43B;
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* 🔹 Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}



/* 🔹 RESPONSIVE */
@media (max-width: 992px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav ul {
    gap: 1rem;
  }

  .hero {
    padding: 5rem 1rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .catalogo h3, .catalogo-precios h3 {
    font-size: 1.5rem;
  }

  .producto img {
    height: 220px;
  }

  .catalogo-precios .producto img {
    height: 200px;
  }

  .beneficios {
    flex-direction: column;
    align-items: center;
  }

  .beneficio {
    width: 90%;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.3rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }

  .hero h2 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .producto img {
    height: 190px;
  }

  .catalogo-precios .producto img {
    height: 180px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}
