/* ===================== TOKENS ===================== */
:root {
  --negro: #0A0A0A;
  --negro-carbon: #141210;
  --dorado: #C8A24A;
  --dorado-claro: #E8C977;
  --dorado-oscuro: #8A6D2F;
  --blanco-hueso: #F2EEE6;
  --gris-texto: #A89F8D;
  --rojo-oferta: #C0192B;

  --grad-dorado: linear-gradient(135deg, #8A6D2F 0%, #C8A24A 40%, #E8C977 50%, #C8A24A 60%, #8A6D2F 100%);

  --font-display: 'Cinzel', serif;
  --font-body: 'Manrope', sans-serif;

  --container: 1200px;
  --pad-x: clamp(1.5rem, 5vw, 4rem);
  --pad-y: clamp(3rem, 6vw, 5.5rem);
  --gap: clamp(1rem, 2vw, 2rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: var(--blanco-hueso);
  background: var(--negro);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

/* ===================== LAYOUT ===================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--pad-y); }
.section--carbon { background: var(--negro-carbon); }

/* ===================== TIPOGRAFÍA ===================== */
h1, h2, h3 { line-height: 1.15; }

.grad-text {
  background: var(--grad-dorado);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradShift 8s linear infinite;
}

/* SplitType genera div.word inline-block; el background-clip:text del padre
   no atraviesa esos hijos, así que reaplicamos el degradado a cada palabra. */
.grad-text .word {
  background: var(--grad-dorado);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradShift 8s linear infinite;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--dorado);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--dorado);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--blanco-hueso);
}

p { color: var(--blanco-hueso); }

/* ===================== BLEND DE IMÁGENES =====================
   Las fotos traen fondo oscuro propio; el mask radial disuelve los
   bordes en el negro de la página para que no se vean "pegadas". */
.blend {
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 58%, transparent 100%);
          mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 58%, transparent 100%);
  width: 100%;
}

/* ===================== BOTONES / CTA ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--negro);
  background: var(--grad-dorado);
  background-size: 200% auto;
  border: none;
  border-radius: 999px;
  padding: .85rem 1.6rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 6px 24px rgba(200, 162, 74, .25);
}
.btn--sm { padding: .55rem 1.2rem; font-size: .8rem; }
.btn--lg { padding: 1.1rem 2.6rem; font-size: clamp(1rem, 1.6vw, 1.2rem); }

/* shine sweep */
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.5s ease-in-out infinite;
}
@media (hover: hover) {
  .btn:hover { transform: scale(1.04); box-shadow: 0 10px 36px rgba(232, 201, 119, .45); }
}

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform .4s ease, background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 162, 74, .25);
}
/* Se oculta para no ocupar espacio visual mientras el cliente scrollea. */
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .7rem; }
.header__logo img { width: 44px; height: 44px; border-radius: 50%; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 6.5rem) var(--pad-y);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: 40%; left: 50%;
  width: min(120vw, 900px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200,162,74,.30) 0%, rgba(200,162,74,.10) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.hero__media { order: 2; }
.hero__img { max-width: 540px; margin-inline: auto; filter: drop-shadow(0 20px 50px rgba(0,0,0,.6)); }
.hero__content { order: 1; }

.hero__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.8rem, 1.4vw, 1rem);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 6rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
}
.hero__sub {
  color: var(--dorado-claro);
  font-weight: 500;
  letter-spacing: .04em;
  margin-top: .9rem;
}
.hero__promise {
  color: var(--gris-texto);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-style: italic;
  margin-top: 1.1rem;
  max-width: 38ch;
}

/* ===================== BADGE / PRECIO ===================== */
.badge-envio {
  display: inline-block;
  margin-top: 1.4rem;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dorado-claro);
  border: 1px solid var(--dorado-oscuro);
  border-radius: 999px;
  background: rgba(200,162,74,.06);
}

.price { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.price__old {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--gris-texto);
  text-decoration: line-through;
  font-weight: 500;
}
.price__arrow { color: var(--dorado); font-size: 1.6rem; }
.price__now {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  color: #fff;
  background: var(--rojo-oferta);
  padding: .1em .35em;
  border-radius: .15em;
  box-shadow: 0 6px 24px rgba(192,25,43,.4);
}

.microcopy { margin-top: 1.6rem; font-size: .85rem; color: var(--gris-texto); }

/* Sello de confianza: logo oficial de Mercado Pago en chip blanco
   para que se lea con sus colores de marca sobre el fondo negro. */
.mp-badge {
  display: inline-block;
  height: 44px;        /* chip contenido */
  width: auto;
  margin-top: .9rem;
  padding: 5px 10px;   /* padding chico: el logo ocupa casi todo el chip */
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}
.cta { /* hook para JS pixel/tracking */ }

/* Separar el botón del bloque de precio en hero y cierre. */
.hero__content .btn,
.cierre__content .btn { margin-top: 1.8rem; }

/* ===================== PROMESA ===================== */
.promesa__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.promesa__content h2 { margin-bottom: 1.2rem; }
.promesa__content p { color: var(--blanco-hueso); margin-bottom: 1rem; }
.promesa__close {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  text-transform: uppercase;
  margin-top: 1.5rem;
}

/* ===================== BENEFICIOS ===================== */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.card {
  flex: 1 1 280px;
  max-width: 360px;
  background: var(--negro);
  border: 1px solid rgba(200,162,74,.22);
  border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
@media (hover: hover) {
  .card:hover {
    transform: scale(1.03);
    border-color: var(--dorado);
    box-shadow: 0 10px 30px rgba(200,162,74,.18);
  }
}
.card__icon { display: block; font-size: 2rem; color: var(--dorado); margin-bottom: .9rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--gris-texto); font-size: .95rem; }

/* ===================== FEROMONAS ===================== */
.feromonas { position: relative; overflow: hidden; }
.feromonas__seal {
  position: absolute;
  top: 50%; right: -8%;
  width: clamp(280px, 40vw, 520px);
  transform: translateY(-50%);
  opacity: .05;
  pointer-events: none;
  border-radius: 50%;
}
.feromonas__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.feromonas__text h2 { margin-bottom: 1.2rem; }
.feromonas__text p { margin-bottom: 1rem; }

/* ===================== CTA BAND ===================== */
.cta-band {
  position: relative;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background: var(--negro);
}
.cta-band__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: min(120vw, 900px); aspect-ratio: 2.2/1;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(200,162,74,.22) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.cta-band__inner h2 { font-size: clamp(1.6rem, 4vw, 3rem); max-width: 18ch; }

/* ===================== CÓMO USAR ===================== */
.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); }
.paso { display: flex; flex-direction: column; gap: .8rem; padding: 1.5rem; border-left: 2px solid rgba(200,162,74,.3); }
.paso__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  background: var(--grad-dorado);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.paso p { color: var(--blanco-hueso); }
.uso__nota {
  margin-top: 2.5rem;
  text-align: center;
  font-size: .85rem;
  color: var(--gris-texto);
  max-width: 70ch;
  margin-inline: auto;
}

/* ===================== TESTIMONIOS ===================== */
.testi-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.testi {
  flex: 1 1 280px;
  max-width: 360px;
  background: var(--negro);
  border: 1px solid rgba(200,162,74,.22);
  border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2rem);
  transition: transform .3s ease, border-color .3s ease;
}
@media (hover: hover) {
  .testi:hover { transform: scale(1.03); border-color: var(--dorado); }
}
.stars { color: var(--dorado-claro); letter-spacing: .15em; margin-bottom: .8rem; }
.testi blockquote { color: var(--blanco-hueso); font-size: .98rem; line-height: 1.6; }
.testi figcaption { margin-top: 1rem; color: var(--dorado); font-weight: 700; font-size: .9rem; }

/* ===================== CIERRE ===================== */
.cierre { position: relative; overflow: hidden; }
.cierre__glow {
  position: absolute;
  top: 50%; left: 30%;
  width: min(110vw, 800px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200,162,74,.25) 0%, transparent 68%);
  pointer-events: none;
}
.cierre__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.cierre__media img { max-width: 480px; margin-inline: auto; }
.cierre__content h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.cierre__stock { color: var(--gris-texto); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-top: .5rem; }
.cierre__content .badge-envio,
.cierre__content .price { margin-top: 1.2rem; }

/* ===================== FOOTER ===================== */
.footer { background: var(--negro-carbon); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(200,162,74,.15); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; }
.footer__logo { width: 56px; height: 56px; border-radius: 50%; }
.footer__name { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.footer__credit { color: var(--gris-texto); font-size: .8rem; }
.footer__credit a { color: var(--gris-texto); transition: color .2s; }
.footer__credit a strong { font-weight: 700; }
.footer__credit a:hover { color: var(--dorado); }

/* ===================== STICKY BAR MOBILE ===================== */
.sticky-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 1.5rem);
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(200,162,74,.3);
}
.sticky-bar__price { display: flex; flex-direction: column; line-height: 1.1; }
.sticky-bar__price strong { color: #fff; font-size: 1.3rem; font-weight: 800; }
.sticky-bar__price span { color: var(--dorado-claro); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.sticky-bar .btn { flex-shrink: 0; }

/* ===================== REVEALS (estado inicial) ===================== */
.reveal, .reveal-card { will-change: transform, opacity; }

/* ===================== ANIMACIONES CSS ===================== */
@keyframes shine {
  0% { left: -120%; }
  60%, 100% { left: 130%; }
}
@keyframes gradShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .feromonas__inner { grid-template-columns: 1fr; }
  .feromonas__media { max-width: 460px; margin-inline: auto; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; text-align: center; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: 1; }
  .hero__img { max-width: 320px; }
  .hero__content { order: 2; }
  .hero__promise { margin-inline: auto; }
  .price { justify-content: center; }

  .promesa__inner { grid-template-columns: 1fr; text-align: center; }
  .promesa__media { max-width: 380px; margin-inline: auto; }
  .promesa__close { margin-inline: auto; }

  .cierre__inner { grid-template-columns: 1fr; text-align: center; }
  .cierre__media { order: 1; }
  .cierre__content { order: 2; }
  .cierre__content .price { justify-content: center; }

  /* carrusel testimonios (flex horizontal con scroll-snap) */
  .testi-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }
  .testi {
    flex: 0 0 82%;
    max-width: none;
    scroll-snap-align: center;
  }

  .sticky-bar { display: flex; }
  /* aire para que la sticky bar no tape el contenido final */
  body { padding-bottom: 4.5rem; }
}

/* ===================== MODAL DE ENVÍO ===================== */
body.no-scroll { overflow: hidden; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s ease;
}
.modal-overlay.is-open { opacity: 1; }
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--negro-carbon);
  border: 1px solid rgba(200, 162, 74, .35);
  border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  transform: scale(.96);
  transition: transform .25s ease;
}
.modal-overlay.is-open .modal { transform: scale(1); }

.modal__close {
  position: absolute;
  top: .7rem; right: .9rem;
  width: 2.2rem; height: 2.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; line-height: 1;
  color: var(--dorado);
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.modal__close:hover { background: rgba(200, 162, 74, .12); color: var(--dorado-claro); }

.modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: var(--dorado);
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.2;
  margin-bottom: 1.3rem;
  padding-right: 1.6rem;
}

.modal__form { display: flex; flex-direction: column; gap: .85rem; }
.modal__form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gris-texto);
}
.modal__form input {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--blanco-hueso);
  background: var(--negro);
  border: 1px solid rgba(200, 162, 74, .3);
  border-radius: 10px;
  padding: .75rem .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.modal__form input::placeholder { color: rgba(168, 159, 141, .55); }
.modal__form input:focus {
  outline: none;
  border-color: var(--dorado);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, .18);
}

.modal__submit, .modal__pay { width: 100%; }
.modal__submit { margin-top: .6rem; }
.modal__submit:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.4);
  box-shadow: none;
}
.modal__submit:disabled::after { display: none; }
@media (hover: hover) {
  .modal__submit:disabled:hover { transform: none; box-shadow: none; }
}

.modal__microcopy { text-align: center; margin-top: 1rem; }

#step2 { text-align: center; }
.modal__text { color: var(--blanco-hueso); margin-bottom: 1.5rem; }
.modal__back {
  display: block;
  margin: 1.2rem auto 0;
  background: none;
  border: none;
  color: var(--gris-texto);
  font-size: .85rem;
  text-decoration: underline;
  cursor: pointer;
  transition: color .2s;
}
.modal__back:hover { color: var(--dorado); }

.modal__step[hidden] { display: none; }

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn::after { display: none; }
  .grad-text { animation: none; }
}
