* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  color: #222;
  line-height: 1.6;
}

/* HEADER SUPERIOR SOLO LOGO */
.main-header {
  width: 100%;
  padding: 12px 0; /* antes 24px → ahora más angosto */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  position: relative;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Línea arcoíris inferior */
.main-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  background-size: 300%;
  animation: rainbowGlow 6s linear infinite;
}

@keyframes rainbowGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.logo-container {
  text-align: center;
}

.main-logo {
  height: 150px; /* logo más grande */
  width: auto;
  display: block;
}

/* efecto desaparición */
.main-header.hide-header {
  opacity: 0;
  transform: translateY(-20px);
}

/* ===== RESPONSIVE MOBILE ===== */

@media (max-width: 768px) {

  header {
    height: 70px;   /* header más angosto en celular */
  }

  .main-logo {
    height: 85px;   /* logo proporcional en móvil */
  }

}

/* celulares pequeños */
@media (max-width: 480px) {

  header {
    height: 90px;
  }

  .main-logo {
    height: 70px;
  }

}

.header {
  background: #111;
  padding: 12px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;   /* ajustá el tamaño */
  width: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.hero {
  position: relative;
  height: 90vh;
  min-height: 520px;
  background-image: url('img/hero.png'); /* CAMBIAR IMAGEN */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* Oscurece la imagen para mejorar lectura */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.7rem;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
  background: #1ebe5d;
}

.btn-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wsp-icon {
  width: 20px;
  height: 20px;
  fill: white;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    padding: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }
}

.benefits, .products, .target, .cta {
  padding: 60px 20px;
}

.benefit-grid, .product-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.benefit-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ===== BENEFIT CARDS NUEVO DISEÑO ===== */

/* ===== BENEFIT CARDS MEJORADOS ===== */

.benefit {
  padding: 35px 22px;
  border-radius: 14px;
  text-align: center;
  background: #fff;
  transition: 0.25s;
}

/* SOMBRAS PERSONALIZADAS */
.benefit-yellow {
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.35);
}

.benefit-red {
  box-shadow: 0 10px 25px rgba(220, 53, 69, 0.35);
}

.benefit-purple {
  box-shadow: 0 10px 25px rgba(111, 66, 193, 0.35);
}

.benefit:hover {
  transform: translateY(-6px);
}

/* ICONO CONTENEDOR */
.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* colores de fondo del icono */
.benefit-yellow .benefit-icon {
  background: #FFC107;
}

.benefit-red .benefit-icon {
  background: #DC3545;
}

.benefit-purple .benefit-icon {
  background: #6F42C1;
}

/* SVG MÁS GRANDE Y NÍTIDO */
.benefit-icon svg {
  width: 42px;
  height: 42px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}

.benefit h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

/* DESCRIPCIÓN MÁS GRANDE */
.benefit p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.5;
}

/* ===== PRODUCTOS CATALOGO ===== */

.catalog-grid {
  display: grid;
  gap: 40px;
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.catalog-title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* caja */
.catalog-box {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  max-width: 420px;
  margin: 0 auto;
}

/* imagen */
.catalog-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* overlay */
.catalog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* menos oscuro */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* botón */
.catalog-btn {
  background: #25D366;
  color: white;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
}

/* HOVER EFECTOS */
.catalog-box:hover img {
  transform: scale(1.04); /* antes 1.08 */
  filter: brightness(80%);
}

.catalog-box:hover .catalog-overlay {
  opacity: 1;
}

.catalog-box:hover .catalog-btn {
  transform: translateY(0);
  opacity: 1;
}

/* mobile */
/* ===== FIX IMAGENES EN MOBILE ===== */
@media (max-width: 768px) {

  .catalog-box {
    aspect-ratio: 4 / 5; /* mantiene proporción correcta */
  }

  .catalog-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

}

/* ===== COLORES SECCION TRABAJAMOS CON ===== */

.benefit-blue {
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.30);
}
.benefit-blue .benefit-icon {
  background: #0D6EFD;
}

.benefit-orange {
  box-shadow: 0 10px 25px rgba(253, 126, 20, 0.30);
}
.benefit-orange .benefit-icon {
  background: #FD7E14;
}

.benefit-green {
  box-shadow: 0 10px 25px rgba(25, 135, 84, 0.30);
}
.benefit-green .benefit-icon {
  background: #198754;
}

.target ul {
  list-style: none;
  margin-top: 20px;
}

.target li {
  margin: 10px 0;
}

/* ===== FILTRO DE LEADS ===== */

.lead-filter {
  padding: 70px 20px;
  background: #f7f7f7;
  text-align: center;
}

.filter-box {
  max-width: 720px;
  margin: auto;
  padding: 45px 35px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 3px solid transparent; /* necesario */
  background-clip: padding-box;  /* mantiene interior blanco */
  position: relative;
}

/* borde arcoiris */
.filter-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 3px; /* grosor del borde */
  background: linear-gradient(
    90deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  background-size: 300%;
  animation: rainbowBorder 6s linear infinite;

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  pointer-events: none;
}

@keyframes rainbowBorder {
  0% { background-position: 0% }
  100% { background-position: 300% }
}

.lead-filter h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.filter-main {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.filter-secondary {
  color: #666;
  margin-bottom: 25px;
}

.btn-minorista {
  display: inline-block;
  padding: 14px 28px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-minorista:hover {
  background: #333;
  transform: translateY(-2px);
}

/* MOBILE */

@media (max-width: 768px) {
  .filter-box {
    padding: 35px 20px;
  }

  .lead-filter h2 {
    font-size: 24px;
  }

  .filter-main {
    font-size: 18px;
  }
}

.cta {
  background: #111;
  color: white;
}

.cta-final {
  background: linear-gradient(135deg, #111, #333);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.cta-contenido h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-contenido p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-boton {
  background: #22ed36;
  color: white;
  padding: 15px 35px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
  display: inline-block;
}

.cta-boton:hover {
  background: #057627;
  transform: scale(1.05);
}

/* FOOTER */
.site-footer {
  background: #000;
  padding: 20px 30px;
  position: relative;
}

/* borde blanco brilloso */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ffffff,
    #e6e6e6,
    #ffffff
  );
  box-shadow: 0 0 12px rgba(255,255,255,0.8);
}

/* contenedor */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* logo */
.footer-logo img {
  height: 45px;
  width: auto;
}

/* instagram */
.footer-instagram img {
  height: 50px;
  width: 50px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-instagram:hover img {
  transform: scale(1.15);
  opacity: 0.8;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: row;
    gap: 12px;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-instagram img {
  height: 50px;
  width: 50px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
}