/* =========================================================
   M & M Parfums · hoja de estilos de la tienda
   Paleta tomada del logotipo: negro verdoso, oro champán, y un rojo
   de sello de cera que identifica a las piezas CERRADAS.
   ========================================================= */

@font-face { font-family: "Bodoni Moda"; src: url(/fonts/bodoni-var.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(/fonts/bodoni-var-italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(/fonts/jost-var.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0b0f0e;
  --ink-2: #111715;
  --ink-3: #18201d;
  --ink-4: #222c28;
  --bone: #f1eadb;
  --bone-dim: #cdc5b3;
  --muted: #98a09a;
  --gold: #d4b98c;
  --gold-hi: #f0d6a8;
  --gold-lo: #9c8156;
  --seal: #8c2332;
  --seal-hi: #c4495b;
  --line: rgba(212, 185, 140, 0.16);
  --line-2: rgba(212, 185, 140, 0.34);
  --ok: #8fbf93;
  --danger: #e0786d;

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-ui: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 72px;
  --r: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

/* grano fino de película, da textura al negro */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r); font-weight: 500; }
.skip:focus { top: 12px; }

/* ---------- tipografía ---------- */
.display { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.04; }
.gold-text {
  background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold-hi) 38%, var(--gold) 62%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.05; letter-spacing: -0.015em; }
.section-lede { color: var(--bone-dim); max-width: 56ch; font-size: 1.06rem; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  font-weight: 500; font-size: 0.98rem; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn:active { transform: scale(0.98); }
.btn--gold { background: linear-gradient(110deg, var(--gold-lo), var(--gold) 35%, var(--gold-hi) 55%, var(--gold)); background-size: 220% 100%; color: #1a140a; }
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 10px 40px -10px rgba(212, 185, 140, 0.55); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--bone); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(212, 185, 140, 0.08); }
.btn--wa::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico-wa) center / contain no-repeat; mask: var(--ico-wa) center / contain no-repeat; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

:root {
  --ico-wa: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12.04 2a9.9 9.9 0 0 0-8.5 15L2 22l5.1-1.5A9.93 9.93 0 1 0 12.04 2Zm5.8 14.1c-.25.7-1.43 1.34-1.97 1.38-.5.05-1.13.07-1.82-.12-.42-.13-.96-.31-1.65-.6-2.9-1.25-4.8-4.17-4.95-4.36-.14-.2-1.18-1.57-1.18-3s.75-2.13 1.02-2.42c.27-.3.58-.37.78-.37h.56c.18 0 .43-.07.67.51.25.6.85 2.07.92 2.22.07.15.12.32.02.52-.1.2-.15.32-.3.5l-.45.52c-.15.15-.3.31-.13.6.17.3.77 1.27 1.65 2.05 1.14 1 2.1 1.32 2.4 1.47.3.15.47.12.65-.07.17-.2.75-.87.95-1.17.2-.3.4-.25.67-.15.27.1 1.72.82 2.02.97.3.15.5.22.57.35.07.12.07.72-.18 1.4Z'/></svg>");
  --ico-bag: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 8h14l-1 12H6L5 8Z'/><path d='M9 8V6.5a3 3 0 0 1 6 0V8'/></svg>");
  --ico-x: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'><path d='M5 5l14 14M19 5L5 19'/></svg>");
  --ico-search: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'><circle cx='11' cy='11' r='6.5'/><path d='M16 16l4.5 4.5'/></svg>");
  --ico-plus: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>");
  --ico-share: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 15V3m0 0L8 7m4-4 4 4'/><path d='M5 12v7a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-7'/></svg>");
}
.ico { display: inline-block; width: 1.25em; height: 1.25em; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; flex: none; }
.ico--bag { --ico: var(--ico-bag); } .ico--x { --ico: var(--ico-x); } .ico--search { --ico: var(--ico-search); } .ico--plus { --ico: var(--ico-plus); } .ico--share { --ico: var(--ico-share); }

/* indicadores de estado: sello de cera (cerrado) y anillo dorado (abierto) */
.seal { display: inline-block; width: 0.78em; height: 0.78em; border-radius: 52% 48% 55% 45% / 48% 54% 46% 52%; background: radial-gradient(circle at 34% 28%, var(--seal-hi), var(--seal) 58%, #4a1119); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 1px 3px rgba(0, 0, 0, 0.5); flex: none; }
.ring { display: inline-block; width: 0.78em; height: 0.78em; border-radius: 50%; border: 1.5px solid var(--gold); flex: none; position: relative; }
.ring::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: linear-gradient(180deg, transparent 45%, var(--gold) 45%); opacity: 0.85; }

/* ---------- preloader ---------- */
.curtain { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; pointer-events: none; }
.curtain__half { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--ink); will-change: transform; }
.curtain__half--t { top: 0; } .curtain__half--b { bottom: 0; }
.curtain__logo { position: relative; z-index: 2; width: min(240px, 52vw); opacity: 0; }
.curtain__bar { position: absolute; z-index: 2; left: 50%; bottom: 18vh; width: 120px; height: 1px; margin-left: -60px; background: var(--line); overflow: hidden; }
.curtain__bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.no-js .curtain { display: none; }

/* ---------- barra de anuncio + header ---------- */
.announce { background: var(--ink-2); border-bottom: 1px solid var(--line); text-align: center; font-size: 0.86rem; color: var(--bone-dim); padding: 8px var(--gutter); position: relative; z-index: 60; }
.announce:empty { display: none; }

.header { position: sticky; top: 0; z-index: 70; height: var(--header-h); transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.header.is-stuck { background: rgba(11, 15, 14, 0.82); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; height: 100%; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; margin-inline: auto; }
.nav a { padding: 8px 14px; font-size: 0.95rem; color: var(--bone-dim); border-radius: 999px; transition: color 0.25s, background-color 0.25s; }
.nav a:hover, .nav a.is-active { color: var(--bone); background: rgba(212, 185, 140, 0.09); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.bag-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.95rem; transition: border-color 0.3s, background-color 0.3s; }
.bag-btn:hover { border-color: var(--gold); background: rgba(212, 185, 140, 0.08); }
.bag-btn__n { min-width: 22px; height: 22px; border-radius: 11px; background: var(--gold); color: var(--ink); font-size: 0.78rem; font-weight: 600; display: grid; place-items: center; padding: 0 6px; }
.bag-btn__n[data-n="0"] { background: transparent; color: var(--muted); border: 1px solid var(--line-2); }
.bag-btn.is-bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.1); border-color: var(--gold-hi); } }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger i { display: block; width: 18px; height: 1.5px; background: var(--bone); transition: transform 0.35s var(--ease), opacity 0.2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 65; background: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 20px) var(--gutter) 40px; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 0.6s var(--ease), visibility 0s 0.6s; }
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 0.6s var(--ease), visibility 0s; }
.menu a.menu__link { font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.25; display: block; padding: 4px 0; border-bottom: 1px solid var(--line); }
.menu__foot { margin-top: 28px; color: var(--muted); font-size: 0.9rem; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - 34px); display: flex; align-items: center; overflow: hidden; padding: 24px 0 64px; isolation: isolate; }
.hero__fog { position: absolute; inset: -20%; z-index: -2; background:
  radial-gradient(40% 40% at 72% 48%, rgba(212, 185, 140, 0.16), transparent 70%),
  radial-gradient(34% 34% at 24% 80%, rgba(140, 35, 50, 0.16), transparent 70%),
  radial-gradient(30% 30% at 50% 10%, rgba(143, 191, 147, 0.06), transparent 70%); animation: fog 24s ease-in-out infinite alternate; }
@keyframes fog { to { transform: translate3d(-3%, 2%, 0) scale(1.08); } }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(16px, 4vw, 56px); }
.hero__h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(3rem, 7vw, 6.2rem); line-height: 0.98; letter-spacing: -0.025em; }
.hero__h1 .ln { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.hero__h1 .ln > span { display: block; will-change: transform; }
.hero__lede { margin-top: 26px; max-width: 46ch; color: var(--bone-dim); font-size: 1.12rem; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 0.92rem; }
.hero__facts li { display: flex; align-items: center; gap: 9px; }

.stage { position: relative; height: clamp(380px, 62vh, 640px); display: grid; place-items: center; }
.stage__amp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(300px, 40vw, 640px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1.2px rgba(212, 185, 140, 0.55); user-select: none; pointer-events: none; text-shadow: 0 0 80px rgba(212, 185, 140, 0.2); }
.stage__item { position: absolute; bottom: 8%; width: 42%; max-width: 280px; text-align: center; will-change: transform; }
.stage__item--closed { left: 6%; }
.stage__item--open { right: 6%; bottom: 14%; }
.stage__item button { display: block; width: 100%; }
.stage__img { width: 100%; height: clamp(190px, 38vh, 380px); object-fit: contain; filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.6)); transition: transform 0.7s var(--ease); }
.stage__item button:hover .stage__img { transform: translateY(-8px) rotate(-1.5deg); }
.stage__floor { position: absolute; left: 14%; right: 14%; bottom: -14px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7), transparent); filter: blur(5px); }
.stage__cap { margin-top: 16px; display: inline-flex; align-items: center; gap: 9px; font-size: 0.95rem; }
.stage__name { display: block; margin-top: 2px; font-size: 0.8rem; color: var(--muted); }
.stage__float { animation: float 9s ease-in-out infinite alternate; }
.stage__item--open .stage__float { animation-duration: 11s; animation-delay: -4s; }
@keyframes float { to { transform: translateY(-10px); } }

.scrollhint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); opacity: 0.7; animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 0% { transform: translateX(-50%) scaleY(0); transform-origin: top; } 50% { transform: translateX(-50%) scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; } }

/* ---------- marquee de marcas ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ink-2); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { font-family: var(--f-display); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--bone-dim); padding: 0 26px; white-space: nowrap; transition: color 0.3s; }
.marquee__item:hover { color: var(--gold-hi); }
.marquee__dot { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-lo); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- catálogo ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.catalog__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.catalog__count { color: var(--muted); font-size: 0.95rem; }

.filters { position: sticky; top: var(--header-h); z-index: 40; margin-inline: calc(var(--gutter) * -1); padding: 14px var(--gutter); background: rgba(11, 15, 14, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); display: grid; gap: 12px; }
.filters__row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.field-search { position: relative; flex: 1 1 260px; min-width: 200px; max-width: 420px; }
.field-search input { width: 100%; height: 46px; padding: 0 16px 0 46px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; outline: none; transition: border-color 0.3s; }
.field-search input:focus { border-color: var(--gold); }
.field-search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.seg { display: inline-flex; padding: 4px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; }
.seg button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 0.93rem; color: var(--bone-dim); display: inline-flex; align-items: center; gap: 8px; transition: background-color 0.3s, color 0.3s; }
.seg button small { color: var(--muted); font-size: 0.78rem; }
.seg button[aria-pressed="true"] { background: var(--gold); color: #1a140a; }
.seg button[aria-pressed="true"] small { color: rgba(26, 20, 10, 0.7); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 46px; padding: 0 40px 0 18px; background: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; outline: none; cursor: pointer; max-width: 220px; }
.select select:focus-visible { border-color: var(--gold); }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select option { background: var(--ink-2); color: var(--bone); }
.filters__reset { color: var(--gold); font-size: 0.92rem; text-decoration: underline; text-underline-offset: 4px; }
.filters__reset[hidden] { display: none; }

.grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color 0.4s, transform 0.5s var(--ease); }
.card:hover { border-color: var(--line-2); }
.card.is-soldout .card__stage { filter: saturate(0.4) brightness(0.8); }
.card__link { display: flex; flex-direction: column; flex: 1; }
.card__stage { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: radial-gradient(70% 55% at 50% 36%, #2a3631 0%, #17201d 55%, #0f1513 100%); }
.card__stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.65), transparent); filter: blur(4px); z-index: 1; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9% 9% 13%; z-index: 2; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.5)); transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); }
.card__img[data-fit="cover"] { object-fit: cover; padding: 0; filter: none; }
.card__img.is-hidden { opacity: 0; transform: scale(0.94); }
.card:hover .card__img:not(.is-hidden) { transform: scale(1.05) rotate(-0.8deg); }
.card__shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(240, 214, 168, 0.12) 50%, transparent 62%); transform: translateX(-120%); transition: transform 1s var(--ease); }
.card:hover .card__shine { transform: translateX(120%); }
.card__soldout { position: absolute; z-index: 4; top: 12px; left: 12px; background: rgba(11, 15, 14, 0.85); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 12px; font-size: 0.8rem; }
.card__review { position: absolute; z-index: 4; top: 12px; right: 12px; }
.card__body { padding: 18px 18px 10px; }
.card__brand { font-size: 0.86rem; color: var(--gold); letter-spacing: 0.02em; }
.card__name { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; line-height: 1.15; margin-top: 3px; }
.card__meta { color: var(--muted); font-size: 0.88rem; margin-top: 6px; min-height: 1.4em; }
.card__vars { padding: 4px 12px 14px; display: grid; gap: 6px; }
.var { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; transition: border-color 0.3s, background-color 0.3s; }
.var:hover { border-color: var(--gold-lo); background: rgba(212, 185, 140, 0.05); }
.var__state { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; text-align: left; line-height: 1.2; }
.var__lbl { min-width: 0; }
.var__state small { display: block; color: var(--muted); font-size: 0.76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.var__price { font-weight: 500; white-space: nowrap; }
.var__price.is-ask { color: var(--muted); font-weight: 400; font-size: 0.86rem; }
.var__add { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; flex: none; transition: transform 0.35s var(--ease), background-color 0.3s; }
.var__add:hover { transform: scale(1.1); background: var(--gold-hi); }
.var__add[disabled] { background: var(--ink-4); color: var(--muted); pointer-events: none; }
.var__add .ico { width: 16px; height: 16px; }
.var.is-added .var__add { animation: bump 0.5s var(--ease); }
.empty { grid-column: 1 / -1; text-align: center; padding: 70px 0; color: var(--bone-dim); }
.empty h3 { font-family: var(--f-display); font-size: 2rem; font-weight: 500; margin-bottom: 8px; color: var(--bone); }
.more { display: flex; justify-content: center; margin-top: 44px; }

/* skeleton mientras carga */
.skel { aspect-ratio: 4 / 6.6; border-radius: var(--r); background: linear-gradient(100deg, var(--ink-2) 30%, var(--ink-3) 50%, var(--ink-2) 70%); background-size: 300% 100%; animation: skel 1.6s linear infinite; border: 1px solid var(--line); }
@keyframes skel { to { background-position: -100% 0; } }

/* ---------- cerrado & abierto ---------- */
.states { background: var(--ink-2); border-block: 1px solid var(--line); overflow: hidden; }
.states__top { text-align: center; max-width: 720px; margin-inline: auto; }
.states__top .section-lede { margin: 18px auto 0; }
.states__stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 6vw, 80px); min-height: 460px; align-items: end; }
.states__amp { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font-family: var(--f-display); font-style: italic; font-size: clamp(220px, 34vw, 520px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(212, 185, 140, 0.4); pointer-events: none; user-select: none; }
.states__col { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 clamp(8px, 3vw, 40px); }
.states__img { width: min(100%, 300px); height: clamp(220px, 34vw, 380px); object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.55)); will-change: transform; }
.states__col h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-top: 26px; display: flex; align-items: center; gap: 12px; }
.states__col p { color: var(--bone-dim); max-width: 36ch; margin-top: 10px; font-size: 1rem; }
.states__col ul { margin-top: 16px; display: grid; gap: 6px; color: var(--bone-dim); font-size: 0.94rem; text-align: left; }
.states__col li { position: relative; padding-left: 20px; }
.states__col li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1px; background: var(--gold); }

/* ---------- cómo comprar ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); margin-top: 56px; counter-reset: s; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line-2); }
.step__n { font-family: var(--f-display); font-style: italic; font-size: clamp(3.4rem, 7vw, 5.4rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.step h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; margin-top: 18px; }
.step p { color: var(--bone-dim); margin-top: 10px; max-width: 34ch; }
.steps__note { margin-top: 40px; padding: 18px 22px; border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: var(--r); color: var(--bone-dim); max-width: 64ch; background: var(--ink-2); }

/* ---------- preguntas ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--f-display); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.25; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 100% no-repeat; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__body { padding: 0 0 24px; color: var(--bone-dim); max-width: 62ch; }
.faq__body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- contacto ---------- */
.contact { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__info { display: grid; gap: 24px; }
.contact__info dl { margin: 0; display: grid; gap: 16px; }
.contact__info dt { color: var(--gold); font-size: 0.88rem; }
.contact__info dd { margin: 2px 0 0; color: var(--bone-dim); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 0.9rem; color: var(--bone-dim); }
.fld input, .fld textarea, .fld select { width: 100%; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; outline: none; transition: border-color 0.3s, background-color 0.3s; min-height: 48px; }
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld textarea:focus { border-color: var(--gold); background: var(--ink-4); }
.fld .hint { font-size: 0.8rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--bone-dim); line-height: 1.45; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--ink-3); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.form__msg { min-height: 1.4em; font-size: 0.92rem; }
.form__msg.is-err { color: var(--danger); }
.form__msg.is-ok { color: var(--ok); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--ink); position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 78px; width: auto; }
.footer__brand p { margin-top: 18px; color: var(--muted); max-width: 34ch; font-size: 0.94rem; }
.footer h4 { font-size: 0.92rem; color: var(--gold); font-weight: 500; margin-bottom: 14px; }
.footer li + li { margin-top: 9px; }
.footer a:hover, .footer .linkbtn:hover { color: var(--gold-hi); }
.footer li a, .linkbtn { color: var(--bone-dim); font-size: 0.95rem; transition: color 0.25s; }
.footer__legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; color: var(--muted); font-size: 0.84rem; }
.footer__legal p { max-width: 80ch; }

/* ---------- modal de producto ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(5, 8, 7, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.4s; }
.modal.is-in .modal__bg { opacity: 1; }
.modal__panel { position: relative; width: min(1120px, 100%); max-height: calc(100svh - 40px); overflow: auto; overscroll-behavior: contain; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; display: grid; grid-template-columns: 1.05fr 0.95fr; opacity: 0; transform: translateY(24px) scale(0.985); transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }
.modal.is-in .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(11, 15, 14, 0.7); display: grid; place-items: center; transition: border-color 0.3s, transform 0.4s var(--ease); }
.modal__close:hover { border-color: var(--gold); transform: rotate(90deg); }
.pv { position: relative; background: radial-gradient(70% 55% at 50% 40%, #2d3a35 0%, #18211e 58%, #0f1513 100%); min-height: 520px; display: flex; flex-direction: column; }
.pv__main { position: relative; flex: 1; min-height: 420px; overflow: hidden; }
.pv__main::after { content: ""; position: absolute; left: 26%; right: 26%; bottom: 7%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7), transparent); filter: blur(6px); }
.pv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8% 10% 12%; z-index: 2; filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.55)); transition: opacity 0.4s; }
.pv__img[data-fit="cover"] { object-fit: cover; padding: 0; filter: none; }
.pv__tools { position: absolute; left: 16px; bottom: 16px; z-index: 4; display: flex; gap: 8px; }
.pv__tool { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(11, 15, 14, 0.7); font-size: 0.85rem; transition: border-color 0.3s; }
.pv__tool:hover, .pv__tool[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); }
.pv__thumbs { display: flex; gap: 8px; padding: 12px 16px 16px; overflow-x: auto; z-index: 3; }
.pv__thumb { flex: none; width: 64px; height: 64px; border-radius: 4px; border: 1px solid var(--line); background: var(--ink-3); overflow: hidden; opacity: 0.7; transition: opacity 0.3s, border-color 0.3s; }
.pv__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pv__thumb[data-fit="cover"] img { object-fit: cover; padding: 0; }
.pv__thumb[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.pi { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.pi__brand { color: var(--gold); font-size: 0.95rem; }
.pi h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; margin-top: 4px; }
.pi__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 0.84rem; color: var(--bone-dim); }
.pi__states { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-align: left; transition: border-color 0.3s, background-color 0.3s; cursor: pointer; }
.opt:hover { border-color: var(--gold-lo); }
.opt[aria-checked="true"] { border-color: var(--gold); background: rgba(212, 185, 140, 0.07); }
.opt[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.opt__t { font-weight: 500; }
.opt__d { color: var(--muted); font-size: 0.86rem; display: block; margin-top: 1px; }
.opt__p { font-weight: 500; white-space: nowrap; }
.pi__price { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; }
.pi__price small { font-family: var(--f-ui); font-size: 0.9rem; color: var(--muted); margin-left: 8px; }
.pi__stock { font-size: 0.9rem; color: var(--bone-dim); }
.pi__stock.is-low { color: var(--gold-hi); }
.pi__stock.is-out { color: var(--danger); }
.pi__desc { color: var(--bone-dim); max-width: 52ch; }
.pi__buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 50px; }
.qty button { width: 44px; height: 100%; font-size: 1.2rem; border-radius: 999px; transition: background-color 0.25s; }
.qty button:hover { background: rgba(212, 185, 140, 0.1); }
.qty output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.pi__sec { display: flex; flex-wrap: wrap; gap: 10px; }
.pi__note { font-size: 0.84rem; color: var(--muted); }
.related { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 26px clamp(24px, 3.4vw, 44px) 32px; }
.related h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 16px; }
.related__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 190px); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.rel { border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-3); text-align: left; overflow: hidden; transition: border-color 0.3s; }
.rel:hover { border-color: var(--gold-lo); }
.rel img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; background: radial-gradient(70% 60% at 50% 40%, #2a3631, #121916); }
.rel img[data-fit="cover"] { object-fit: cover; padding: 0; }
.rel span { display: block; padding: 10px 12px 12px; font-size: 0.86rem; line-height: 1.3; }
.rel b { display: block; font-weight: 400; color: var(--gold); font-size: 0.78rem; }

/* ---------- carrito ---------- */
.drawer { position: fixed; inset: 0; z-index: 210; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(5, 8, 7, 0.7); opacity: 0; transition: opacity 0.4s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer.is-in .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--ink-2); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.55s var(--ease); }
.drawer.is-in .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--f-display); font-weight: 500; font-size: 1.8rem; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: var(--ink-2); }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color 0.3s; }
.iconbtn:hover { border-color: var(--gold); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { width: 72px; height: 88px; border-radius: 4px; background: radial-gradient(70% 60% at 50% 40%, #2a3631, #121916); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.line__img img[data-fit="cover"] { object-fit: cover; padding: 0; }
.line__t { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.2; }
.line__s { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.84rem; margin-top: 4px; }
.line__p { font-weight: 500; text-align: right; white-space: nowrap; }
.line__p small { display: block; color: var(--muted); font-weight: 400; font-size: 0.78rem; }
.line__ctl { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.line .qty { height: 36px; }
.line .qty button { width: 34px; }
.line__rm { color: var(--muted); font-size: 0.84rem; text-decoration: underline; text-underline-offset: 3px; }
.line__rm:hover { color: var(--danger); }
.totals { display: grid; gap: 6px; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; color: var(--bone-dim); }
.totals .grand { color: var(--bone); font-family: var(--f-display); font-size: 1.7rem; margin-top: 4px; }
.cart-empty { text-align: center; padding: 56px 8px; color: var(--bone-dim); }
.cart-empty h3 { font-family: var(--f-display); font-size: 1.8rem; font-weight: 500; color: var(--bone); margin-bottom: 8px; }
.cart-empty .btn { margin-top: 20px; }
.checkout { display: grid; gap: 14px; margin-top: 22px; }
.checkout h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; }
.done { text-align: center; padding: 40px 6px; }
.done__seal { width: 64px; height: 64px; margin: 0 auto 22px; font-size: 64px; animation: stamp 0.7s var(--ease); }
@keyframes stamp { 0% { transform: scale(2.4) rotate(-20deg); opacity: 0; } 60% { transform: scale(0.92); opacity: 1; } 100% { transform: none; } }
.done h3 { font-family: var(--f-display); font-weight: 500; font-size: 2rem; }
.done p { color: var(--bone-dim); margin: 10px auto 0; max-width: 34ch; }
.done .folio { display: inline-block; margin-top: 16px; padding: 8px 18px; border: 1px dashed var(--gold-lo); border-radius: 999px; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; color: var(--gold-hi); }
.done .btn { margin-top: 24px; }

/* ---------- cookies + toasts ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 250; width: min(400px, calc(100% - 40px)); background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 18px 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); transform: translateY(30px); opacity: 0; visibility: hidden; transition: transform 0.6s var(--ease), opacity 0.5s, visibility 0s 0.6s; }
.cookie.is-open { transform: none; opacity: 1; visibility: visible; transition: transform 0.6s var(--ease), opacity 0.5s, visibility 0s; }
.cookie h2 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; }
.cookie p { color: var(--bone-dim); font-size: 0.92rem; margin-top: 8px; }
.cookie p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie .btn--sm { padding: 0 14px; font-size: 0.88rem; }
.cookie__prefs { display: none; margin-top: 16px; gap: 12px; }
.cookie.is-prefs .cookie__prefs { display: grid; }
.toggle { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.toggle b { display: block; font-weight: 500; font-size: 0.95rem; }
.toggle span { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 2; }
.switch i { position: absolute; inset: 0; border-radius: 13px; background: var(--ink-4); border: 1px solid var(--line-2); transition: background-color 0.3s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--bone-dim); transition: transform 0.35s var(--ease), background-color 0.3s; }
.switch input:checked + i { background: var(--gold-lo); border-color: var(--gold); }
.switch input:checked + i::after { transform: translateX(18px); background: var(--bone); }
.switch input:disabled { cursor: not-allowed; } .switch input:disabled + i { opacity: 0.6; }
.switch input:focus-visible + i { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 30px); opacity: 0; padding: 12px 22px; border-radius: 999px; background: var(--ink-4); border: 1px solid var(--line-2); font-size: 0.94rem; transition: transform 0.5s var(--ease), opacity 0.4s; pointer-events: none; max-width: calc(100% - 40px); text-align: center; }
.toast.is-in { transform: translate(-50%, 0); opacity: 1; }

/* ---------- páginas legales ---------- */
.legal { padding: 48px 0 100px; }
.legal__in { max-width: 780px; margin-inline: auto; padding-inline: var(--gutter); }
.legal h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; }
.legal .upd { color: var(--muted); margin-top: 12px; }
.legal h2 { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; margin: 44px 0 10px; }
.legal h3 { font-weight: 500; font-size: 1.05rem; margin: 22px 0 6px; color: var(--gold); }
.legal p, .legal li { color: var(--bone-dim); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: none; margin: 10px 0; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: var(--gold); }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.94rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--bone-dim); }
.legal th { color: var(--bone); font-weight: 500; }
.legal .box { margin: 22px 0; padding: 16px 20px; border: 1px solid var(--line-2); border-left: 2px solid var(--gold); border-radius: var(--r); background: var(--ink-2); color: var(--bone-dim); }
.legal .toc { margin-top: 28px; padding: 20px 24px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); }
.legal .toc a { text-decoration: none; color: var(--bone-dim); }
.legal .toc a:hover { color: var(--gold-hi); }
.legal .toc ol { list-style: decimal; padding-left: 20px; display: grid; gap: 4px; }
.legal .toc li { padding: 0; } .legal .toc li::before { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__actions { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero { padding-top: 12px; }
  .stage { height: clamp(330px, 52vh, 460px); order: -1; margin-bottom: 8px; }
  .hero__h1 { font-size: clamp(2.7rem, 11vw, 4.2rem); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .modal { padding: 0; }
  .modal__panel { grid-template-columns: 1fr; max-height: 100svh; height: 100svh; border-radius: 0; border: 0; }
  .pv { min-height: 0; } .pv__main { min-height: 52vh; flex: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .brand img { height: 40px; }
  .bag-btn { padding: 0 14px; } .bag-btn__t { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 12px 12px 8px; } .card__name { font-size: 1.1rem; }
  .card__vars { padding: 2px 8px 10px; } .var { padding: 6px 6px 6px 10px; font-size: 0.84rem; gap: 6px; } .var__state small { display: none; } .var__add { width: 30px; height: 30px; }
  .filters { padding-block: 10px; } .filters__row--wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .filters__row--wrap::-webkit-scrollbar { display: none; }
  .field-search { flex-basis: 100%; max-width: none; }
  .select select { max-width: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .states__stage { grid-template-columns: 1fr; gap: 56px; }
  .states__amp { top: 50%; }
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .stage__item { width: 46%; } .stage__item--closed { left: 0; } .stage__item--open { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; }
}

/* ---------- estados iniciales del hero (los controla GSAP al cargar) ---------- */
.js:not(.is-ready) .hero__h1 .ln > span { transform: translateY(112%); }
.js:not(.is-ready) .hero__lede, .js:not(.is-ready) .hero__cta, .js:not(.is-ready) .hero__facts, .js:not(.is-ready) .stage__item, .js:not(.is-ready) .stage__amp { opacity: 0; }
