/* ==========================================================
   el puntito. — Tienda virtual en construcción
   ========================================================== */
:root {
  --bg: #111113;
  --bg-2: #18181b;
  --bg-3: #222226;
  --ink: #f2f1ec;
  --ink-dim: rgba(242, 241, 236, 0.62);
  --red: #d91f26;
  --red-hot: #ff3b42;
  --yellow: #ffc629;
  --line: rgba(242, 241, 236, 0.1);
  --radius: 18px;
  --font-display: "Archivo Black", "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100svh;
  -webkit-tap-highlight-color: transparent;
}
img, svg { max-width: 100%; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
/* Foco visible para teclado: punto rojo de marca */
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.notify__row input:focus-visible { outline: 0; }
.btn:focus-visible, .social:focus-visible { border-radius: 999px; }
::selection { background: var(--red); color: var(--ink); }

/* ---------- Logo ---------- */
/* Réplica del logo: sans bold compacta, blanco hueso, punto rojo en la línea base */
.logo {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.035em;
  word-spacing: 0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  white-space: nowrap;
}
.logo .dot {
  display: inline-block;
  width: 0.27em; height: 0.27em;
  background: var(--red);
  border-radius: 50%;
  margin-left: 0.09em;
}
.logo--lg { font-size: 2.4rem; }
.red { color: var(--red); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease-bounce), background 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--red { background: var(--red); color: var(--ink); box-shadow: 0 8px 30px -8px rgba(217, 31, 38, 0.7); }
.btn--red:hover { background: var(--red-hot); box-shadow: 0 12px 40px -8px rgba(255, 59, 66, 0.8); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }

/* ---------- Verificación de edad ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 1.5rem;
  overflow-y: auto;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.age-gate.is-hidden { opacity: 0; visibility: hidden; }
.age-gate__card {
  width: min(440px, 100%);
  text-align: center;
  padding: 2.75rem 2rem;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
  animation: pop-in 0.6s var(--ease-bounce) both;
}
.age-gate__title { font-family: var(--font-display); font-size: 1.6rem; margin: 1.6rem 0 0.6rem; letter-spacing: -0.02em; }
.age-gate__text { color: var(--ink-dim); font-size: 0.95rem; }
.age-gate__actions { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1.8rem; flex-wrap: wrap; }
.age-gate__denied { margin-top: 1.2rem; color: var(--yellow); font-weight: 700; }

@keyframes pop-in { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Cursor ---------- */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transition: width 0.25s, height 0.25s, margin 0.25s, opacity 0.3s;
}
.cursor-dot.is-active { opacity: 1; }
.cursor-dot.is-hover { width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0.55; }
@media (hover: none) { .cursor-dot { display: none; } }

/* ---------- Fondo ---------- */
.bg-dots { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-dots span {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  background: var(--red);
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(calc(var(--d) * 0.6px));
  transform: translate(calc(var(--mx, 0) * var(--d) * 30px), calc(var(--my, 0) * var(--d) * 30px));
  transition: transform 0.6s var(--ease-out);
  animation: drift 9s ease-in-out infinite alternate;
  animation-delay: calc(var(--d) * -3s);
}
@keyframes drift { to { translate: 0 -18px; } }
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before {
  content: ""; position: fixed; z-index: 0; pointer-events: none;
  width: 900px; height: 900px; right: -300px; top: -300px;
  background: radial-gradient(circle, rgba(217,31,38,0.16), transparent 60%);
}

header, main, footer { position: relative; z-index: 2; }

/* ---------- Encabezado ---------- */
.header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.6rem clamp(1.25rem, 5vw, 4rem);
}
.header__social { display: flex; gap: 0.6rem; }
.social {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease-bounce);
}
.social svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.social svg .fill { fill: var(--ink); stroke: none; }
.social:active, .social:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px) rotate(-6deg); }

/* ---------- Portada ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 5vw, 4rem) 4rem;
  min-height: calc(100vh - 100px);
  max-width: 1400px; margin: 0 auto;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(217, 31, 38, 0.14);
  border: 1px solid rgba(217, 31, 38, 0.45);
  color: #ff8a8e;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
}
.badge__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 0 0 rgba(255,59,66,0.7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255,59,66,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,66,0); } }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 6.2rem);
  overflow-wrap: break-word;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 1.4rem 0 1.4rem;
}
.title-dot {
  display: inline-block;
  width: 0.22em; height: 0.22em;
  margin-left: 0.06em;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(217, 31, 38, 0.8);
  animation: beat 1.4s ease-in-out infinite;
}
@keyframes beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(0.95); }
  45% { transform: scale(1.15); }
}
.hero__subtitle { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--ink-dim); max-width: 34rem; }
.hero__subtitle strong { color: var(--ink); font-weight: 700; }

/* ---------- Cuenta regresiva ---------- */
.countdown { display: flex; align-items: flex-start; gap: 0.6rem; margin: 2.2rem 0 2.2rem; }
.countdown__item {
  min-width: 86px;
  padding: 1rem 0.6rem 0.75rem;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  position: relative; overflow: hidden;
}
.countdown__item::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.35); }
.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.countdown__num.tick { animation: tick 0.45s var(--ease-out); }
@keyframes tick { from { transform: translateY(-30%); opacity: 0; } to { transform: none; opacity: 1; } }
.countdown__label { display: block; margin-top: 0.4rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.countdown__sep { font-family: var(--font-display); font-size: 2rem; color: var(--red); padding-top: 1.1rem; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.countdown.is-open { font-family: var(--font-display); font-size: 2rem; color: var(--yellow); }

/* ---------- Registro ---------- */
.notify { max-width: 520px; }
.notify__label { display: block; font-weight: 700; margin-bottom: 0.75rem; font-size: 0.95rem; }
.notify__row {
  display: flex; gap: 0.4rem;
  padding: 0.4rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.notify__row:focus-within { border-color: rgba(217,31,38,0.7); box-shadow: 0 0 0 4px rgba(217,31,38,0.15); }
.notify__row input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  padding: 0 1.1rem;
  color: var(--ink); font-size: 1rem;
}
.notify__row input::placeholder { color: rgba(242,241,236,0.35); }
.notify__row.is-error { animation: shake 0.4s; border-color: var(--red); }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.notify__msg { min-height: 1.5rem; margin-top: 0.7rem; font-size: 0.9rem; font-weight: 600; }
.notify__msg.ok { color: #7ee0a1; }
.notify__msg.err { color: #ff8a8e; }

/* ---------- Mascota ---------- */
.hero__mascot { display: grid; place-items: center; }
.stage { position: relative; width: min(520px, 100%); aspect-ratio: 1; }
.stage__disc {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, var(--ink) 55%, #d9d7cf);
  box-shadow: 0 40px 100px -30px rgba(217,31,38,0.55), inset 0 -20px 50px rgba(0,0,0,0.08);
}
.stage__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.stage__ring text { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.32em; fill: var(--ink-dim); }
@keyframes spin { to { transform: rotate(360deg); } }

.mascot {
  position: absolute; left: 50%; bottom: 3%;
  width: 100%; max-width: none; height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 20px rgba(0,0,0,0.22));
  animation: bob 3.2s ease-in-out infinite;
  user-select: none; -webkit-user-drag: none;
}
@keyframes bob { 50% { margin-bottom: 10px; } }

.float-item { position: absolute; filter: drop-shadow(0 12px 14px rgba(0,0,0,0.35)); z-index: 3; }
.float-item--can { height: 40%; width: auto; left: 2%; top: 30%; animation: float 5s ease-in-out infinite; --r: -14deg; }
.float-item--bottle { height: 42%; width: auto; right: 4%; top: 6%; animation: float 6s ease-in-out infinite -2s; --r: 12deg; }
.float-item--glass { height: 42%; width: auto; right: 0; bottom: 8%; animation: float 5.5s ease-in-out infinite -1s; --r: 8deg; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-18px) rotate(calc(var(--r) * -0.6)); }
}

/* ---------- Cinta de obra ---------- */
.tape {
  position: relative;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 22px, #111 22px 44px);
  padding: 6px 0;
  transform: rotate(-2deg);
  margin: 0 -2rem;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.6);
}
.tape__track {
  display: flex; width: max-content;
  background: var(--yellow);
  color: #111;
  animation: marquee 26s linear infinite;
}
.tape__track span {
  display: flex; align-items: center; gap: 1.4rem;
  padding: 0.85rem 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tape__track i { width: 12px; height: 12px; background: var(--red); border-radius: 50%; display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { max-width: 1400px; margin: 0 auto; padding: 7rem clamp(1.25rem, 5vw, 4rem) 3rem; }
.section__head { max-width: 760px; margin-bottom: 3rem; }
.eyebrow { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-hot); }
.section__title { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; margin-top: 0.8rem; }

/* ---------- Tarjetas de productos ----------
   From Uiverse.io by gharsh11032000 - https://uiverse.io/gharsh11032000/tasty-frog-49
   MIT License, Copyright (c) gharsh11032000 (Harsh Gupta)
   Adaptado: clases con prefijo ep-, colores de el puntito., tamaño fluido. */
.section--products { padding-bottom: 6rem; }
.ep-cards {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2.2rem 1.6rem;
  padding: 0 6px;
}
.ep-cards > .reveal { flex: 1 1 130px; max-width: 175px; }
.ep-card {
  position: relative;
  width: 100%;
  aspect-ratio: 190 / 254;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: default;
}
.ep-card::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #d91f26 0%, #ff8a6b 100%);
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.ep-card::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #ff1f2a 0%, #f2f1ec 100%);
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
  opacity: 0.55;
  transition: filter 0.4s, opacity 0.4s;
}
.ep-card p { margin: 0; color: var(--ink-dim); font-size: 14px; line-height: 1.3; }
.ep-card .ep-card__heading {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ep-card p:last-child { color: var(--red-hot); font-weight: 600; }
.ep-card__num {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em;
  color: rgba(242,241,236,0.35);
}
.ep-card:hover::after { filter: blur(30px); opacity: 0.8; }
.ep-card:hover::before { transform: rotate(-90deg) scaleX(1.34) scaleY(0.77); }

/* ---------- Pie ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem);
  display: grid; gap: 0.8rem; justify-items: center; text-align: center;
}
.footer__links { display: flex; align-items: center; gap: 0.8rem; font-weight: 700; }
.footer__links a { transition: color 0.25s; }
.footer__links a:hover { color: var(--red-hot); }
.footer__links .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); display: inline-block; }
.footer__legal { font-weight: 700; font-size: 0.9rem; }
.footer__copy { color: var(--ink-dim); font-size: 0.82rem; }

/* ---------- Confeti ---------- */
.confetti { position: fixed; z-index: 150; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; }

/* ---------- Apariciones ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Notebooks chicas */
@media (max-width: 1180px) {
  .hero { gap: 1rem; }
  .countdown__item { min-width: 74px; }
}

/* Tablets */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 0.5rem; padding-bottom: 3rem; min-height: auto; gap: 0.5rem; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__title { font-size: clamp(2.1rem, 10.5vw, 5.6rem); }
  .hero__subtitle { margin: 0 auto; }
  .hero__mascot { order: -1; }
  .stage { width: min(380px, 78vw, 46svh); }
  .countdown { justify-content: center; }
  .notify { width: 100%; }
  .notify__label { text-align: center; }
  .section { padding-top: 5rem; }
  .section__head { text-align: center; margin-left: auto; margin-right: auto; }
  .ep-cards { max-width: 720px; margin: 0 auto; }
  body::before { width: 600px; height: 600px; right: -250px; top: -250px; }
}

/* Celulares */
@media (max-width: 560px) {
  .mascot { width: 104%; }
  .btn { min-height: 48px; }
  .header { padding: 1.1rem 1.25rem; }
  .logo { font-size: 1.35rem; }
  .logo--lg { font-size: 2rem; }
  .social { width: 40px; height: 40px; }
  .social svg { width: 18px; height: 18px; }
  .badge { font-size: 0.7rem; letter-spacing: 0.14em; }
  .hero__title { margin: 1rem 0; letter-spacing: -0.04em; }
  .countdown { gap: 0.3rem; width: 100%; margin: 1.6rem 0; }
  .countdown__item { min-width: 0; flex: 1; padding: 0.8rem 0.2rem 0.6rem; border-radius: 14px; }
  .countdown__num { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .countdown__label { font-size: 0.62rem; letter-spacing: 0.1em; }
  .countdown__sep { font-size: 1.3rem; padding-top: 0.9rem; }
  .notify__row { flex-direction: column; border-radius: 22px; padding: 0.5rem; }
  .notify__row input { padding: 0.85rem 0.9rem; font-size: 16px; /* evita zoom en iOS */ }
  .notify__row .btn { width: 100%; }
  .stage__ring text { font-size: 19px; }
  .tape { transform: rotate(-3deg); }
  .tape__track span { padding: 0.65rem 0.5rem; gap: 1rem; }
  .tape__track i { width: 9px; height: 9px; }
  .section { padding: 4.5rem 1.25rem 2rem; }
  .section__head { margin-bottom: 2rem; }
  .ep-cards { gap: 1.6rem 1.1rem; }
  .ep-cards > .reveal { flex-basis: 120px; }
  .section--products { padding-bottom: 4rem; }
  .age-gate { padding: 1rem; }
  .age-gate__card { padding: 2.2rem 1.4rem; border-radius: 22px; }
  .age-gate__title { font-size: 1.35rem; }
  .age-gate__actions { flex-direction: column; }
  .age-gate__actions .btn { width: 100%; }
}

/* Celulares muy chicos (ej. iPhone SE, 320-360px) */
@media (max-width: 360px) {
  .countdown__sep { display: none; }
  .countdown { gap: 0.35rem; }
  .hero__subtitle { font-size: 0.95rem; }
}

/* Celulares en horizontal */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 960px) {
  .hero { grid-template-columns: 1.2fr 0.8fr; text-align: left; min-height: auto; }
  .hero__content { align-items: flex-start; }
  .hero__mascot { order: 0; }
  .hero__title { font-size: clamp(2rem, 6vw, 3.4rem); }
  .hero__subtitle { margin: 0; }
  .stage { width: min(300px, 80svh); }
  .countdown { justify-content: flex-start; width: auto; }
  .notify__label { text-align: left; }
  .age-gate__card { padding: 1.5rem; }
  .age-gate__title { margin-top: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
