/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0a1628;
  --navy-light: #132042;
  --blue: #1a73e8;
  --blue-dark: #1557b0;
  --gold: #f5c518;
  --gold-dark: #daa800;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --green-whatsapp: #25d366;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  background: var(--green-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: var(--white);
}

/* ===== SECTION 1 – HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0d2240 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Particles / stars */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite alternate;
}

.hero-particles span:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 25%; left: 80%; animation-delay: 0.5s; }
.hero-particles span:nth-child(3) { top: 60%; left: 30%; animation-delay: 1s; }
.hero-particles span:nth-child(4) { top: 40%; left: 65%; animation-delay: 1.5s; }
.hero-particles span:nth-child(5) { top: 75%; left: 85%; animation-delay: 0.8s; }
.hero-particles span:nth-child(6) { top: 10%; left: 50%; animation-delay: 2s; }
.hero-particles span:nth-child(7) { top: 85%; left: 15%; animation-delay: 1.3s; }
.hero-particles span:nth-child(8) { top: 50%; left: 45%; animation-delay: 0.3s; }

@keyframes twinkle {
  0% { opacity: 0.2; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.5); }
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.hero-logo img {
  height: 60px;
  width: auto;
}

.hero-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.hero-logo-text span {
  color: var(--gold);
}

.hero-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  backdrop-filter: blur(8px);
  transition: background var(--transition);
}

.hero-nav-wa:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-nav-wa svg {
  width: 18px;
  height: 18px;
  fill: var(--green-whatsapp);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 80px;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}

.hero-text p strong {
  color: var(--white);
}

.hero-text .hero-emoji {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 28px;
  display: block;
}

.hero-discount {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #ffd54f);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.3rem;
  padding: 12px 28px;
  border-radius: 8px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.3);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), #2196f3);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.35);
  text-transform: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 115, 232, 0.5);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #ffd54f);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 8px 28px rgba(245, 197, 24, 0.5);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  max-height: 480px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: floatProduct 4s ease-in-out infinite;
}

@keyframes floatProduct {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(135deg, var(--gold), #ffd54f);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.4);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-wa-bottom {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

.hero-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-whatsapp);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.hero-wa-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

/* ===== SECTION 2 – BENEFICIOS ===== */
.beneficios {
  background: var(--white);
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-header .subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.7;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.beneficio-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.beneficio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.beneficio-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(26, 115, 232, 0.05));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beneficio-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.beneficio-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-800);
}

.beneficio-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== SECTION 3 – PRODUCTOS ===== */
.productos {
  background: var(--gray-50);
  padding: 100px 0;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.producto-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.producto-img {
  width: 100%;
  height: 260px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.producto-img img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.producto-card:hover .producto-img img {
  transform: scale(1.05);
}

.producto-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.producto-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.producto-info .producto-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.producto-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.precio-original {
  font-size: 0.95rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.precio-descuento {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
}

.btn-comprar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, var(--gold), #ffd54f);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 12px rgba(245, 197, 24, 0.25);
}

.btn-comprar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.4);
}

/* ===== SECTION 4 – ¿POR QUÉ ELEGIRNOS? ===== */
.elegirnos {
  background: var(--white);
  padding: 100px 0;
}

.elegirnos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.elegirnos-card {
  text-align: center;
  padding: 32px 20px;
}

.elegirnos-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.2);
}

.elegirnos-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.elegirnos-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-800);
}

.elegirnos-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.elegirnos-cta {
  text-align: center;
}

/* ===== SECTION 5 – PRESENTACIÓN ===== */
.presentacion {
  background: var(--gray-50);
  padding: 100px 0;
}

.presentacion-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.presentacion-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: var(--gray-800);
}

.presentacion-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.presentacion-video .video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}

.presentacion-video .video-placeholder svg {
  width: 60px;
  height: 60px;
  fill: rgba(255, 255, 255, 0.7);
}

.presentacion-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--gray-800);
}

.presentacion-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ===== SECTION 6 – TESTIMONIOS ===== */
.testimonios {
  background: var(--white);
  padding: 100px 0;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.testimonio-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.testimonio-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--blue);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.15);
}

.testimonio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonio-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonio-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonio-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin-bottom: 4px;
}

.footer a {
  color: var(--gold);
  transition: color var(--transition);
}

.footer a:hover {
  color: #ffd54f;
}

/* ===== ANIMATIONS ON SCROLL ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.1rem;
  }

  .beneficios-grid,
  .elegirnos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 40px 0 60px;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-height: 320px;
  }

  .hero-badge {
    bottom: -5px;
    right: 20%;
  }

  .hero-nav {
    flex-direction: column;
    gap: 16px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .beneficios-grid,
  .elegirnos-grid,
  .testimonios-grid {
    grid-template-columns: 1fr;
  }

  .productos-grid {
    grid-template-columns: 1fr;
  }

  .presentacion-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-wa-bottom {
    justify-content: center;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-discount {
    font-size: 1.1rem;
    padding: 10px 20px;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}
