:root {
  --black: #000;
  --ink-0: #0a0a0a;
  --ink-1: #141414;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.32);
  --white: #f4f4f2;
  --mute: #a3a3a0;
  --mute-2: #7a7a77;
  --display: "Krona One", sans-serif;
  --text: "Manrope", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scrollbar-color: #444 #000; }
body {
  background: var(--black);
  color: var(--white);
  font: 400 clamp(16px, 1.05vw, 18px) / 1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--white); color: var(--black); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; border-radius: 4px; }
body.locked { overflow: hidden; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 6vw, 4.6rem); letter-spacing: -0.02em; }
h3 { font-size: 0.95rem; letter-spacing: 0.04em; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 0.95rem/1 var(--text); letter-spacing: 0.02em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { background: #fff; box-shadow: 0 10px 40px rgba(255, 255, 255, 0.18); }
.btn-line { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.85rem; }
.ig { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ig .fill, .ig-float .fill { fill: currentColor; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--gutter);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-brand { font: 400 1rem/1 var(--display); letter-spacing: 0.06em; margin-right: auto; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { font-size: 0.9rem; color: var(--mute); transition: color 0.3s; }
.nav nav a:hover { color: var(--white); }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: 110px var(--gutter) 90px;
  overflow: hidden; isolation: isolate;
}
.smoke { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1;
  background: linear-gradient(transparent, var(--black));
}
.hero-inner { display: grid; justify-items: center; text-align: center; gap: 8px; }
.hero-logo img {
  width: min(560px, 82vw); height: auto;
  mix-blend-mode: screen;
  margin: -12% 0 -14%;
  animation: logo-in 1.6s var(--ease) both;
}
@keyframes logo-in {
  from { opacity: 0; filter: blur(18px); transform: translateY(18px) scale(0.96); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.hero-copy { max-width: 34ch; color: var(--mute); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border: 1px solid var(--line-strong); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--white); animation: cue 2s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: ticker 32s linear infinite; }
.ticker span { font: 400 clamp(0.9rem, 1.6vw, 1.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.ticker span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1px var(--white); }
.ticker i { width: 8px; height: 8px; border-radius: 50%; background: var(--white); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Catálogo */
.catalog { padding: clamp(90px, 12vw, 170px) var(--gutter) clamp(70px, 9vw, 130px); }
.catalog-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 60px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.catalog-head p { color: var(--mute); max-width: 42ch; }

.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.slot {
  position: relative; overflow: hidden;
  display: grid; justify-items: start; gap: 6px;
  padding: 22px 22px 26px; border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(120% 70% at 50% 0%, #1b1b1b, var(--ink-0) 70%);
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.slot:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.slot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.06) 50%, transparent 65%);
  transform: translateX(-100%); animation: sheen 4.5s ease-in-out infinite;
}
.slot:nth-child(2)::after { animation-delay: 0.6s; }
.slot:nth-child(3)::after { animation-delay: 1.2s; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.slot-art { justify-self: stretch; display: grid; place-items: center; height: clamp(220px, 24vw, 300px); margin-bottom: 14px; }
.slot-art svg { height: 88%; width: auto; opacity: 0.55; filter: grayscale(1) blur(0.4px); transition: opacity 0.5s, transform 0.8s var(--ease); }
.slot:hover .slot-art svg { opacity: 0.8; transform: translateY(-6px) rotate(-3deg); }
.tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; }
.slot h3 { margin-top: 8px; }
.slot p { color: var(--mute); font-size: 0.92rem; }

.notify {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: var(--white); color: var(--black);
}
.notify p { max-width: 52ch; color: #2b2b2b; }
.notify strong { color: var(--black); }
.notify .btn-solid { background: var(--black); color: var(--white); }
.notify .btn-solid:hover { background: #222; box-shadow: none; }

/* Cómo pedir */
.steps { padding: clamp(60px, 8vw, 120px) var(--gutter); border-top: 1px solid var(--line); }
.steps h2 { margin-bottom: clamp(36px, 5vw, 64px); }
.steps ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.steps li { display: flex; gap: 18px; padding: 8px clamp(16px, 2.4vw, 32px) 8px 0; }
.steps li + li { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.step-n { font: 400 2.4rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--white); }
.steps h3 { margin: 6px 0 8px; }
.steps p { color: var(--mute); font-size: 0.95rem; }

/* Cierre */
.closer {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; gap: 32px; text-align: center;
  padding: clamp(100px, 14vw, 200px) var(--gutter);
  border-top: 1px solid var(--line);
}
.closer-big { font: 400 clamp(1.8rem, 5.4vw, 4.4rem)/1.08 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 28px var(--gutter) 34px; border-top: 1px solid var(--line); color: var(--mute-2); font-size: 0.85rem; }
.footer .warn { color: var(--mute); }

/* Botón flotante */
.ig-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 15;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease);
}
.ig-float:hover { transform: scale(1.08); }
.ig-float svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Fotos de producto */
.slot-art img { display: none; height: 92%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6)); transition: transform 0.8s var(--ease); }
.slot-art.has-photo img { display: block; }
.slot-art.has-photo svg { display: none; }
.slot:hover .slot-art img { transform: translateY(-6px) rotate(-3deg); }
.slot-link { margin-top: 12px; font-size: 0.9rem; font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color 0.3s; }
.slot-link:hover { border-color: var(--white); }

/* Aparición al scrollear */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav .btn-sm span { display: none; }
  .nav .btn-sm { width: 42px; padding: 0; }
  .catalog-head { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 110px 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 20px; align-items: start; }
  .slot-art { grid-row: 1 / -1; height: 170px; margin: 0; }
  .slot .tag { justify-self: start; }
  .steps ol { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .notify .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}
