
:root {
  --mx: 0;
  --my: 0;
  --orange-a: #ffbb55;
  --orange-b: #ff7300;
  --orange-c: #da4200;
  --dark: #111111;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff4e8;
  color: var(--dark);
}

.gold-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 74px);
  isolation: isolate;
  background:
    radial-gradient(circle at 65% 34%, rgba(255,255,255,.55), transparent 21%),
    radial-gradient(circle at 18% 72%, rgba(255,255,255,.22), transparent 25%),
    linear-gradient(135deg, var(--orange-a), var(--orange-b) 52%, var(--orange-c));
}

.gold-hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -3;
  background:
    radial-gradient(circle, rgba(255,255,255,.42) 0 1px, transparent 2px) 0 0 / 34px 34px,
    radial-gradient(circle, rgba(125,37,0,.18) 0 2px, transparent 3px) 16px 18px / 64px 64px;
  opacity: .42;
  animation: dust 18s linear infinite;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -2;
  filter: blur(38px);
  opacity: .45;
}

.ambient-1 {
  width: 520px;
  height: 520px;
  top: 4%;
  right: 11%;
  background: rgba(255,255,255,.65);
  transform: translate(calc(var(--mx) * 26px), calc(var(--my) * 28px));
}

.ambient-2 {
  width: 420px;
  height: 420px;
  bottom: -8%;
  left: 4%;
  background: rgba(255,123,0,.72);
  transform: translate(calc(var(--mx) * -18px), calc(var(--my) * -22px));
}

.hero-wrap {
  width: min(1260px, 100%);
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(18px, 4vw, 70px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 9;
  color: #fff;
  text-shadow: 0 18px 42px rgba(88, 28, 0, .32);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 10px 17px;
  border-radius: 999px;
  background: rgba(17,17,17,.86);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
}

.hero-copy h1 {
  margin: 22px 0 16px;
  font-size: clamp(48px, 8vw, 118px);
  line-height: .86;
  letter-spacing: -.075em;
}

.hero-copy p {
  max-width: 510px;
  margin: 0 0 28px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.34;
  color: rgba(255,255,255,.92);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-dark {
  background: #111;
  color: #fff;
  box-shadow: 0 20px 38px rgba(0,0,0,.24);
}

.btn-light {
  background: rgba(255,255,255,.88);
  color: #111;
  box-shadow: 0 18px 34px rgba(255,255,255,.18);
}

/* ===== Comprar en (retailers) ===== */
.buy { margin-top: 6px; }

.buy-label {
  display: inline-block;
  margin-bottom: 13px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  opacity: .92;
}

.buy-stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 150px;
  min-height: 70px;
  padding: 12px 22px;
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(85, 25, 0, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.store:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 44px rgba(85, 25, 0, .32);
}

.store:focus-visible { outline: 3px solid #111; outline-offset: 3px; }

/* Amazon */
.store-word {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #131921;
  line-height: 1;
}
.amz-smile { width: 70px; height: 12px; }

/* Mercado Libre */
.meli-pill {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: #FFE600;
  color: #2D3277;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

/* Nacional Abastecedora */
.na-word { display: grid; line-height: 1.02; text-align: center; }
.na-word b { font-size: 18px; font-weight: 900; color: #E2231A; letter-spacing: .01em; }
.na-word i { font-size: 13px; font-weight: 800; font-style: normal; color: #009A44; letter-spacing: .04em; }

.hero-stage {
  position: relative;
  min-height: min(780px, 78vw);
  display: grid;
  place-items: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.product-bag {
  position: relative;
  z-index: 5;
  width: min(430px, 48vw);
  max-width: 100%;
  transform:
    translate3d(calc(var(--mx) * 18px), calc(var(--my) * 12px), 80px)
    rotateX(calc(var(--my) * -4deg))
    rotateY(calc(var(--mx) * 6deg));
  filter: drop-shadow(0 38px 46px rgba(85, 25, 0, .42));
  animation: bagFloat 5.8s ease-in-out infinite;
  will-change: transform;
}

.peanut-layer {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(850px, 86vw);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.peanut-back {
  z-index: 2;
  opacity: .74;
  transform:
    translate3d(calc(-50% + var(--mx) * -28px), calc(-50% + var(--my) * -18px), -120px)
    scale(1.08);
  animation: peanutsBack 13s ease-in-out infinite;
  filter: blur(.2px) drop-shadow(0 24px 24px rgba(90,30,0,.22));
}

.peanut-mid {
  z-index: 4;
  opacity: .86;
  transform:
    translate3d(calc(-50% + var(--mx) * 22px), calc(-50% + var(--my) * 16px), 20px)
    scale(.95);
  animation: peanutsMid 9s ease-in-out infinite;
  filter: drop-shadow(0 24px 30px rgba(80,24,0,.28));
}

.peanut-front {
  z-index: 7;
  width: min(980px, 92vw);
  opacity: .92;
  transform:
    translate3d(calc(-50% + var(--mx) * 42px), calc(-50% + var(--my) * 30px), 160px)
    scale(1.08);
  animation: peanutsFront 7.2s ease-in-out infinite;
  filter: drop-shadow(0 28px 35px rgba(73,22,0,.34));
}

.badge {
  position: absolute;
  right: 8%;
  bottom: 15%;
  z-index: 8;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 26px 50px rgba(0,0,0,.30);
  animation: badgePulse 3.8s ease-in-out infinite;
}

.badge span {
  display: block;
  font-size: 14px;
  font-weight: 800;
  opacity: .78;
}

.badge strong {
  display: block;
  font-size: 39px;
  line-height: .94;
  letter-spacing: -.06em;
}

@keyframes bagFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}

@keyframes peanutsBack {
  0%, 100% { margin-top: 0; rotate: 0deg; }
  50% { margin-top: -24px; rotate: -2deg; }
}

@keyframes peanutsMid {
  0%, 100% { margin-left: 0; margin-top: 0; rotate: 0deg; }
  50% { margin-left: 14px; margin-top: -34px; rotate: 2.8deg; }
}

@keyframes peanutsFront {
  0%, 100% { margin-left: 0; margin-top: 0; rotate: 0deg; }
  50% { margin-left: -18px; margin-top: -42px; rotate: -3.5deg; }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}

@keyframes dust {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-64px,-64px,0); }
}

@media (max-width: 920px) {
  .gold-hero {
    padding: 28px 18px 48px;
  }

  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 2;
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .buy { text-align: center; }
  .buy-stores { justify-content: center; }

  .hero-stage {
    min-height: 570px;
  }

  .product-bag {
    width: min(360px, 72vw);
  }

  .peanut-layer {
    width: min(690px, 125vw);
  }

  .peanut-front {
    width: min(740px, 132vw);
  }

  .badge {
    width: 104px;
    height: 104px;
    right: 1%;
    bottom: 8%;
  }

  .badge strong {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
