/* =====================================================================
   3DS · TIENDA — "Capa a capa"
   ===================================================================== */
:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --panel: #16161a;
  --panel-2: #1d1d22;
  --line: rgba(236, 231, 222, .09);
  --line-2: rgba(236, 231, 222, .16);
  --bone: #ece7de;
  --bone-2: #d8d1c4;
  --muted: #8f897f;
  --gold: #e9b949;
  --gold-2: #f8dc94;
  --gold-3: #a77a17;
  --ember: #ff6b2c;
  --paper: #efe9de;
  --paper-ink: #17150f;
  --ok: #7ed6a0;

  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Bricolage Grotesque", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, monospace;

  --r: 18px;
  --r-lg: 28px;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* grain */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 9999; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

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

/* ---------- tipografía ---------- */
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.serif { font-family: var(--f-serif); font-weight: 400; }
.it { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.h-xl {
  font-family: var(--f-sans); font-weight: 600; letter-spacing: -.045em; line-height: .92;
  font-size: clamp(48px, 8.4vw, 132px); margin: 0;
}
.h-xl .it { font-weight: 400; letter-spacing: -.03em; }
.h-lg { font-weight: 600; letter-spacing: -.035em; line-height: 1; font-size: clamp(36px, 5.2vw, 76px); margin: 0; }
.h-md { font-weight: 600; letter-spacing: -.025em; line-height: 1.05; font-size: clamp(26px, 3vw, 40px); margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--bone-2); max-width: 56ch; line-height: 1.5; }

/* capa label: "CAPA 03 · 0,12 MM" */
.capa {
  display: inline-flex; align-items: center; gap: 10px; color: var(--muted);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
}
.capa::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.capa b { color: var(--gold); font-weight: 500; }

/* ---------- botones ---------- */
.btn {
  --bg: var(--bone); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 100px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  transform: translateY(101%); transition: transform .55s var(--ease-out);
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.07) 0 1px, transparent 1px 4px);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(233, 185, 73, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { --bg: var(--gold); }
.btn--gold::before { background-color: var(--bone); }
.btn--ghost { --bg: transparent; --fg: var(--bone); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { --fg: var(--ink); }
.btn--wa { --bg: #1fb855; --fg: #fff; }
.btn--wa::before { background-color: #18a049; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 100px;
  box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--bone-2);
  transition: all .35s var(--ease);
}
.chip:hover { color: var(--bone); box-shadow: inset 0 0 0 1px var(--bone-2); }
.chip[aria-pressed="true"] { background: var(--bone); color: var(--ink); box-shadow: none; }
.chip .n { font-family: var(--f-mono); font-size: 11px; opacity: .6; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px var(--pad);
  transition: transform .5s var(--ease-out);
}
.top.hide { transform: translateY(-110%); }
.top__bar {
  max-width: var(--max); margin: 0 auto; height: 64px; padding: 0 10px 0 22px; border-radius: 100px;
  display: flex; align-items: center; gap: 24px;
  background: rgba(16, 16, 18, .62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -30px rgba(0,0,0,.8);
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.04em; font-size: 22px; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__mark path { transition: transform .6s var(--ease-out); transform-box: fill-box; }
.logo:hover .logo__mark .l1 { transform: translateY(-3px); }
.logo:hover .logo__mark .l3 { transform: translateY(3px); }
.logo small { font-family: var(--f-mono); font-size: 10px; font-weight: 400; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-left: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 14px; font-size: 14.5px; color: var(--bone-2); border-radius: 100px; transition: color .3s, background .3s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); background: rgba(255,255,255,.05); }
.top__actions { display: flex; align-items: center; gap: 8px; }
.bag {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s;
}
.bag:hover { background: rgba(255,255,255,.06); }
.bag svg { width: 20px; height: 20px; }
.bag__n {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--gold); color: var(--ink); font: 600 11px/20px var(--f-mono); text-align: center;
  transform: scale(0); transition: transform .4s var(--ease-out);
}
.bag__n.on { transform: scale(1); }
.bag.bump { animation: bump .6s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); place-items: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--bone); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: inherit; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: grid; }
  .top__actions { margin-left: auto; }
  .top__actions .btn { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: fixed; inset: 92px var(--pad) auto; padding: 14px; gap: 2px;
    background: #101012; border-radius: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.55), inset 0 0 0 1px var(--line); max-height: calc(100svh - 112px); overflow-y: auto;
  }
  .nav.open a { padding: 14px 16px; font-size: 18px; }
}

/* ---------- HUD Z ---------- */
.hud {
  position: fixed; left: 14px; top: 50%; z-index: 40; pointer-events: none;
  transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase;
  display: flex; align-items: center; gap: 14px; white-space: nowrap;
}
.hud__bar { width: 2px; height: 90px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.hud__bar i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hud b { color: var(--bone); font-weight: 400; }
.hud br { display: none; }
.hud > div:last-child b + b { margin-left: 0; }
@media (max-width: 1240px) { .hud { display: none; } }

/* ---------- HERO · afiche "Capa a capa" ---------- */
.hero { position: relative; min-height: 100svh; padding: 96px 0 30px; display: flex; overflow: hidden; isolation: isolate; --p: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(38% 52% at 70% 46%, rgba(233,185,73,.15), transparent 70%),
    radial-gradient(40% 40% at 6% 96%, rgba(255,107,44,.06), transparent 70%);
}
.hero__poster { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: calc(100svh - 126px); }
.hero__title { position: relative; z-index: 1; margin: 0; font-weight: 700; }
.hero__kick {
  display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: fade 1s .2s var(--ease-out) forwards;
}
.hero__kick b { color: var(--gold); font-weight: 500; }
.hero__w {
  display: block; font-size: clamp(96px, min(19.6vw, 31svh), 330px); line-height: .8; letter-spacing: -.055em; white-space: nowrap;
  margin-top: .12em;
}
.hero__w--2 { text-align: right; margin-top: -.02em; }
/* la caja interna contiene ascendentes y descendentes completos (para recortar sin cortar la "p") */
.hero__layers, .hero__print { display: inline-block; line-height: 1.16; margin: -.18em -.04em; padding: 0 .04em; position: relative; }
/* "Capa": sólido, con líneas de capa como una pieza impresa; aparece capa por capa al cargar */
.hero__layers {
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: repeating-linear-gradient(180deg, var(--bone) 0 5px, rgba(236,231,222,.58) 5px 6px);
  clip-path: inset(100% 0 0 0); animation: capaIn 1.5s .15s steps(34, end) forwards;
}
@keyframes capaIn { to { clip-path: inset(0 0 0 0); } }
/* "a capa.": trayectoria fantasma que se llena de oro al ritmo de la impresión del visor (--p, 0..1) */
.hero__print { color: transparent; -webkit-text-stroke: 1.4px rgba(236,231,222,.2); }
.hero__print::before {
  content: attr(data-text); position: absolute; inset: 0; padding: inherit; -webkit-text-stroke: 0;
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: repeating-linear-gradient(180deg, #f6d27a 0 5px, #b4842a 5px 6px);
  clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0);
}
.hero__print::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; top: calc((1 - var(--p)) * 100%);
  background: linear-gradient(90deg, transparent, var(--gold-2) 20%, #fff 50%, var(--gold-2) 80%, transparent);
  box-shadow: 0 0 18px 3px rgba(233,185,73,.45);
  opacity: clamp(0, min((1 - var(--p)) * 40, var(--p) * 40), 1);
}
/* trofeo: delante del titular, sobre la segunda línea */
.hero .hero__vp {
  position: absolute; z-index: 2; right: 13%; top: 0; height: 86%; width: auto; aspect-ratio: 1 / 1.04; max-width: none;
}
.hero .hero__vp .viewport__fallback { inset: 8%; }
.hero__foot { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 48px; align-items: end; opacity: 0; animation: fade 1s .6s var(--ease-out) forwards; }
.hero__pitch p { margin: 0 0 22px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: var(--bone); max-width: 40ch; }
.hero__pitch p span { color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade 1s .65s var(--ease-out) forwards; }
.hero__foot .hero__cta { opacity: 1; animation: none; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: translateY(0); } }

/* ficha de la pieza en la impresora: una línea de datos, sin caja */
.ficha { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ficha__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.ficha__name { font-family: var(--f-serif); font-style: italic; font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--bone); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ficha__st { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ficha__st b { color: var(--gold); font-weight: 400; min-width: 4ch; text-align: right; }
.ficha .progress { width: 100%; height: 1px; margin: 12px 0 11px; }
.ficha__data { display: flex; justify-content: space-between; gap: 18px; white-space: nowrap; }
.ficha__data b { color: var(--bone); font-weight: 400; }
.ficha__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px var(--ember); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 48px; opacity: 0; animation: fade 1s .8s var(--ease-out) forwards; }
.hero__meta div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--bone-2); }
.hero__meta svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* viewport 3D */
.viewport {
  position: relative; aspect-ratio: 1 / 1.04; width: 100%; max-width: 640px; justify-self: end;
  border-radius: var(--r-lg);
}
.viewport canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; }
.viewport canvas:active { cursor: grabbing; }
.viewport__frame { position: absolute; inset: 0; pointer-events: none; }
.viewport__frame i { position: absolute; width: 22px; height: 22px; border-color: var(--line-2); border-style: solid; border-width: 0; }
.viewport__frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.viewport__frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.viewport__frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.viewport__frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.viewport__hud { position: absolute; left: 18px; right: 18px; pointer-events: none; display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.viewport__hud--t { top: 16px; }
.viewport__hud--b { bottom: 16px; align-items: flex-end; }
.viewport__hud b { color: var(--bone); font-weight: 400; }
.viewport__name { font-family: var(--f-serif); font-style: italic; font-size: 26px; text-transform: none; letter-spacing: 0; color: var(--bone); line-height: 1.1; }
.progress { width: 140px; height: 2px; background: var(--line-2); margin-top: 8px; position: relative; }
.progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.viewport__fallback { position: absolute; inset: 10%; object-fit: contain; filter: drop-shadow(0 40px 40px rgba(0,0,0,.6)); }
.viewport.ready .viewport__fallback { display: none; }
/* al 100 %: la impresión se "escanea" de abajo hacia arriba y se convierte en el render fotorrealista */
.viewport { overflow: hidden; }
.viewport canvas { transition: opacity .7s var(--ease); }
.viewport__render {
  position: absolute; top: 0; left: 50%; height: 100%; width: auto; aspect-ratio: 1; max-width: none;
  transform: translateX(-50%); pointer-events: none; opacity: 0; transition: opacity .8s var(--ease);
}
.viewport.is-render .viewport__render { opacity: 1; transition: none; animation: vpScan 1.4s cubic-bezier(.55,.05,.3,1) both; }
.viewport.is-render canvas { opacity: 0; transition: opacity .6s ease 1.1s; }
.viewport::after {
  content: ""; position: absolute; left: 6%; right: 6%; top: 100%; height: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--gold-2) 30%, #fff 50%, var(--gold-2) 70%, transparent);
  box-shadow: 0 0 22px 5px rgba(233,185,73,.42);
}
.viewport.is-render::after { animation: vpLine 1.4s cubic-bezier(.55,.05,.3,1) both; }
@keyframes vpScan { from { clip-path: inset(100% 0 0 0); filter: brightness(1.8) saturate(.6); } 70% { filter: brightness(1.15); } to { clip-path: inset(0 0 0 0); filter: none; } }
@keyframes vpLine { 0% { top: 96%; opacity: 0; } 10% { opacity: 1; } 88% { opacity: 1; } 100% { top: 2%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .viewport.is-render .viewport__render, .viewport.is-render::after { animation: none; } }

@media (max-width: 980px) {
  .viewport { justify-self: center; max-width: 520px; margin-top: 12px; aspect-ratio: 1; }
  .hero { padding-top: 84px; min-height: auto; }
  .hero__poster { min-height: 0; gap: 0; }
  .hero__kick { flex-direction: column; gap: 4px; font-size: 10.5px; }
  .hero__w { font-size: 27vw; }
  .hero .hero__vp { position: relative; right: auto; top: auto; height: auto; width: min(100%, 460px); max-width: none; aspect-ratio: 1; margin: -22vw auto -4vw; }
  .hero__foot { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ficha__name { font-size: 22px; }
  .ficha__data { font-size: 10.5px; letter-spacing: .06em; gap: 4px 16px; flex-wrap: wrap; justify-content: flex-start; }
  .ficha__data span:first-child { flex-basis: 100%; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marq 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 56px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; color: var(--bone-2); }
.marquee span .it { color: var(--gold); }
.marquee span::after { content: ""; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); opacity: .8; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.sec__head { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head .capa { grid-column: 1 / -1; }
.sec__head p { margin: 0; max-width: 42ch; color: var(--bone-2); }
@media (max-width: 760px) { .sec__head { grid-template-columns: 1fr; } }

/* reveal: texto */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
/* reveal por capas (escalonado como impresión) */
.rv-layer { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s steps(18, end); transition-delay: var(--d, 0s); }
.rv-layer.in { clip-path: inset(0 0 0 0); }

/* ---------- filtros ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1180px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 420px) { .grid { gap: 10px; } }

.card { position: relative; display: flex; flex-direction: column; perspective: 1000px; }
.card.hidden { display: none; }
.card__stage {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; aspect-ratio: 1 / 1.08; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 40%, #26262c 0%, #17171b 60%, #111114 100%);
  box-shadow: inset 0 0 0 1px var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .6s var(--ease-out), box-shadow .5s;
}
.card:hover .card__stage { box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 70px -40px rgba(0,0,0,.9); }
.card__stage::before { /* piso con líneas de capa */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 42%;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 6px);
  mask-image: linear-gradient(to top, #000 10%, transparent);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent);
  transform: perspective(400px) rotateX(55deg); transform-origin: bottom;
}
.card__stage::after { /* brillo */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(40% 40% at var(--mx) var(--my), rgba(255,255,255,.13), transparent 70%);
}
.card:hover .card__stage::after { opacity: 1; }
.card__img {
  position: absolute; inset: 9% 9% 13%; width: 82%; height: 78%; object-fit: contain;
  filter: drop-shadow(0 28px 22px rgba(0,0,0,.55));
  transform: translateZ(40px); transition: transform .8s var(--ease-out), opacity .6s;
}
.card__img--2 { opacity: 0; }
.card:hover .card__img--1 { opacity: 0; transform: translateZ(40px) scale(.96); }
.card:hover .card__img--2 { opacity: 1; transform: translateZ(60px) scale(1.04); }
.card__img--only { }
.card:hover .card__img--only { opacity: 1; transform: translateZ(60px) scale(1.06) translateY(-2%); }
.card__shadow { position: absolute; left: 22%; right: 22%; bottom: 9%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); transition: transform .8s var(--ease-out); }
.card:hover .card__shadow { transform: scale(.88); }
.tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 10px; border-radius: 100px;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(10,10,11,.6); backdrop-filter: blur(8px); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(233,185,73,.3);
}
.card__quick {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bone); color: var(--ink);
  transform: translateY(10px) scale(.8); opacity: 0; transition: all .45s var(--ease-out);
}
.card__quick svg { width: 18px; height: 18px; }
.card:hover .card__quick, .card:focus-within .card__quick { transform: none; opacity: 1; }
.card__quick:hover { background: var(--gold); }
@media (hover: none) { .card__quick { opacity: 1; transform: none; width: 38px; height: 38px; } }
@media (max-width: 520px) { .card__quick { right: 6px; bottom: 6px; } }
.card__info { padding: 16px 6px 6px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.card__name { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.card__price { font-family: var(--f-mono); font-size: 14px; color: var(--bone); white-space: nowrap; }
.card__price small { color: var(--muted); font-size: 11px; margin-right: 4px; text-transform: uppercase; letter-spacing: .08em; }
.card__sum { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 520px) {
  .card__info { grid-template-columns: minmax(0, 1fr); padding: 12px 46px 4px 2px; }
  .card__name { font-size: 15px; }
  .card__price { white-space: normal; }
  .card__sum { display: none; }
}

/* arte generado (productos a pedido sin foto) */
.arte { position: absolute; inset: 0; display: grid; place-items: center; }
.arte svg { width: 64%; height: 64%; transform: translateZ(50px); transition: transform .8s var(--ease-out); filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); }
.card:hover .arte svg { transform: translateZ(70px) scale(1.06) rotate(-3deg); }

/* ---------- a pedido (bento) ---------- */
.bento { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 340px; padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .5s;
}
.tile:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.tile--big { grid-row: span 2; min-height: 640px; }
.tile__bg { position: absolute; inset: 0; z-index: -1; }
.tile__bg canvas, .tile__bg img { width: 100%; height: 100%; object-fit: cover; }
.tile__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,11,.95) 10%, rgba(10,10,11,.2) 60%, transparent); }
.tile h3 { margin: 10px 0 10px; }
.tile p { margin: 0 0 22px; color: var(--bone-2); max-width: 44ch; }
.tile .arrow { position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: all .5s var(--ease-out); }
.tile .arrow svg { width: 20px; height: 20px; transition: transform .5s var(--ease-out); }
.tile:hover .arrow { background: var(--gold); color: var(--ink); box-shadow: none; }
.tile:hover .arrow svg { transform: rotate(-45deg); }
.tile__price { font-family: var(--f-mono); font-size: 13px; color: var(--gold-2); letter-spacing: .06em; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .tile--big { grid-row: auto; min-height: 520px; } }

/* ---------- proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step + .step { padding-left: 28px; }
.step__n { font-family: var(--f-serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--gold); }
.step h3 { margin: 18px 0 10px; font-size: 22px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--gold); transition: width 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.step.in::before { width: 100%; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; padding: 28px 18px 28px 0 !important; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- cifras / manifiesto ---------- */
.manifesto { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.manifesto__img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; background: #050505; }
.manifesto__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.8s var(--ease-out); }
.manifesto__img.in img { transform: scale(1); }
.manifesto__img figcaption { position: absolute; left: 18px; bottom: 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.stat { padding: 24px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 24px; }
.stat b { display: block; font-weight: 500; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.04em; line-height: 1; }
.stat b .it { color: var(--gold); }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .manifesto { grid-template-columns: 1fr; } .manifesto__img { aspect-ratio: 4/3; } }

/* ---------- sección papel (B2B) ---------- */
.paper { background: var(--paper); color: var(--paper-ink); border-radius: clamp(24px, 4vw, 48px); margin: 0 clamp(8px, 1.5vw, 20px); }
.paper .capa { color: #6c6659; }
.paper .capa b { color: #a77a17; }
.paper .capa::before { background: #a77a17; }
.paper .lead, .paper .sec__head p { color: #4a463d; }
.paper .muted { color: #776f61; }
.paper .btn { --bg: var(--paper-ink); --fg: var(--paper); }
.paper .btn::before { background-color: var(--gold); }
.paper .btn:hover { --fg: var(--paper-ink); }
.b2b { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.b2b__list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(23,21,15,.14); }
.b2b__list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(23,21,15,.14); }
.b2b__list li span { font-family: var(--f-mono); font-size: 12px; color: #a77a17; padding-top: 3px; }
.b2b__list li b { display: block; font-size: 17px; letter-spacing: -.01em; }
.b2b__list li p { margin: 2px 0 0; font-size: 14.5px; color: #5c574c; }
@media (max-width: 900px) { .b2b { grid-template-columns: 1fr; } }

/* ---------- formulario cotizador ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form--card { background: #fff; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); box-shadow: 0 40px 80px -50px rgba(23,21,15,.5), inset 0 0 0 1px rgba(23,21,15,.06); color: var(--paper-ink); }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #776f61; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(23,21,15,.14);
  background: #faf8f4; color: var(--paper-ink); outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #a77a17; background: #fff; box-shadow: 0 0 0 4px rgba(233,185,73,.25); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 100px; border: 1px solid rgba(23,21,15,.16); font-size: 14px; color: #3b372f; transition: all .25s; font-family: var(--f-sans); letter-spacing: 0; text-transform: none; }
.seg input:checked + span { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.seg input:focus-visible + span { outline: 2px solid #a77a17; outline-offset: 2px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 6px; }
.form__foot small { color: #776f61; max-width: 36ch; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: var(--gold); transition: transform .4s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: -6px 0 26px; color: var(--bone-2); max-width: 70ch; }

/* ---------- CTA final ---------- */
.cta { position: relative; text-align: center; padding: clamp(100px, 14vw, 200px) 0; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(233,185,73,.06) 0 1px, transparent 1px 7px); mask-image: radial-gradient(50% 60% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(50% 60% at 50% 50%, #000, transparent); }
.cta .h-xl { position: relative; }
.cta p { position: relative; margin: 26px auto 38px; }
.cta .hero__cta { opacity: 1; animation: none; justify-content: center; position: relative; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 120px; font-size: 14.5px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.foot h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--bone-2); transition: color .3s; }
.foot a:hover { color: var(--gold); }
.foot__big { font-family: var(--f-serif); font-style: italic; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin: 18px 0 0; color: var(--bone); max-width: 14ch; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- drawer pedido ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(5,5,6,.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 90; top: 10px; right: 10px; bottom: 10px; width: min(460px, calc(100vw - 20px));
  background: var(--ink-2); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line), -30px 0 80px -20px rgba(0,0,0,.7);
  display: flex; flex-direction: column; transform: translateX(calc(100% + 30px)); transition: transform .65s var(--ease-out);
}
.drawer.on { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, transform .4s var(--ease-out); }
.x:hover { background: rgba(255,255,255,.06); transform: rotate(90deg); }
.x svg { width: 16px; height: 16px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.drawer__empty .it { font-size: 34px; color: var(--bone); display: block; margin-bottom: 8px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { width: 76px; height: 76px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #2a2a30, #151518); overflow: hidden; display: grid; place-items: center; }
.line__img img { width: 86%; height: 86%; object-fit: contain; }
.line__img svg { width: 60%; height: 60%; }
.line__name { font-weight: 600; letter-spacing: -.01em; }
.line__opts { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.line__price { font-family: var(--f-mono); font-size: 13px; text-align: right; }
.qty { display: inline-flex; align-items: center; margin-top: 10px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line-2); height: 34px; }
.qty button { width: 32px; height: 34px; display: grid; place-items: center; color: var(--bone-2); }
.qty button:hover { color: var(--gold); }
.qty span { min-width: 22px; text-align: center; font-family: var(--f-mono); font-size: 13px; }
.rm { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.rm:hover { color: var(--ember); }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-size: 28px; letter-spacing: -.03em; font-weight: 600; }
.drawer__note { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.drawer .field label { color: var(--muted); }
.drawer .field input { background: var(--panel); border-color: var(--line-2); color: var(--bone); height: 46px; }
.drawer .field input:focus { background: var(--panel-2); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,185,73,.18); }
.drawer__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- modal cotizar ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal__box {
  position: relative; width: min(760px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--paper); color: var(--paper-ink);
  border-radius: 28px; padding: clamp(22px, 4vw, 44px); opacity: 0; transform: translateY(30px) scale(.97); transition: all .55s var(--ease-out);
}
.modal.on { pointer-events: auto; }
.modal.on .modal__box { opacity: 1; transform: none; }
.modal__box .x { position: absolute; top: 16px; right: 16px; box-shadow: inset 0 0 0 1px rgba(23,21,15,.18); }
.modal__box .x:hover { background: rgba(23,21,15,.06); }
.modal__box h2 { margin: 6px 0 8px; }
.modal__box > p { margin: 0 0 26px; color: #5c574c; }
.modal .form { margin: 0; }
.modal .btn { --bg: var(--paper-ink); --fg: var(--paper); }
.modal .btn--wa { --bg: #1fb855; --fg: #fff; }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 120; left: 50%; bottom: 26px; transform: translate(-50%, calc(100% + 60px)); display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 100px; background: var(--bone); color: var(--ink); font-weight: 500; font-size: 14.5px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); transition: transform .6s var(--ease-out); max-width: calc(100vw - 32px); }
.toast.on { transform: translate(-50%, 0); }
.toast button { height: 34px; padding: 0 14px; border-radius: 100px; background: var(--ink); color: var(--bone); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---------- whatsapp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1fb855; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 40px -8px rgba(31,184,85,.6); transition: transform .4s var(--ease-out); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31,184,85,.5); animation: ping 2.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31,184,85,.45); } 70%, 100% { box-shadow: 0 0 0 18px rgba(31,184,85,0); } }

/* =====================================================================
   PÁGINA DE PRODUCTO
   ===================================================================== */
.pdp { padding: 120px 0 60px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { opacity: .5; }
.pdp__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery__stage {
  position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; cursor: ew-resize; touch-action: pan-y;
  background: radial-gradient(65% 55% at 50% 42%, #2a2a31 0%, #17171b 60%, #0e0e10 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.gallery__stage::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 40%; background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 7px); mask-image: linear-gradient(to top, #000, transparent); -webkit-mask-image: linear-gradient(to top, #000, transparent); transform: perspective(500px) rotateX(55deg); transform-origin: bottom; }
.gallery__stage img { position: absolute; inset: 7% 7% 11%; width: 86%; height: 82%; object-fit: contain; filter: drop-shadow(0 40px 34px rgba(0,0,0,.6)); opacity: 0; transition: opacity .35s var(--ease), transform .8s var(--ease-out); transform: scale(.98); user-select: none; -webkit-user-drag: none; }
.gallery__stage img.on { opacity: 1; transform: none; }
.gallery__stage img.cover { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.gallery__stage .arte svg { width: 56%; height: 56%; transform: none; }
.gallery__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 100px; background: rgba(10,10,11,.6); backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); pointer-events: none; transition: opacity .5s; }
.gallery__hint svg { width: 16px; height: 16px; }
.gallery__stage.used .gallery__hint { opacity: 0; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 78px; height: 78px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: grid; place-items: center; transition: box-shadow .3s; }
.thumbs button img { width: 86%; height: 86%; object-fit: contain; }
.thumbs button[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--gold); }
.pdp__info { padding-top: 6px; }
.pdp__cat { margin-bottom: 14px; }
.pdp h1 { font-family: var(--f-sans); font-weight: 600; font-size: clamp(38px, 4.6vw, 64px); letter-spacing: -.04em; line-height: .98; margin: 0; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; }
.pdp__price b { font-size: 36px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pdp__price small { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pdp__sum { font-size: 18px; color: var(--bone-2); margin: 10px 0 30px; max-width: 46ch; }
.opt { padding: 20px 0; border-top: 1px solid var(--line); }
.opt__label { display: flex; justify-content: space-between; margin-bottom: 12px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.opt__label b { color: var(--bone); font-weight: 400; text-transform: none; letter-spacing: 0; font-family: var(--f-sans); font-size: 14px; }
.opt__vals { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__vals .chip small { font-family: var(--f-mono); font-size: 11px; opacity: .7; }
.swatch { width: 40px; height: 40px; border-radius: 50%; padding: 4px; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s, transform .3s var(--ease-out); }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 -6px 10px rgba(0,0,0,.35), inset 0 4px 6px rgba(255,255,255,.18); }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--gold); }
.opt input[type="text"] { width: 100%; height: 50px; margin-top: 12px; padding: 0 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); color: var(--bone); outline: none; }
.opt input[type="text"]:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,185,73,.18); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 24px 0 14px; border-top: 1px solid var(--line); }
.buy .qty { margin: 0; height: 54px; }
.buy .qty button { width: 44px; height: 54px; }
.buy .btn--wa { grid-column: 1 / -1; }
.assure { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.assure li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--bone-2); }
.assure svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.specs { margin: 34px 0 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-right: 24px; padding-top: 16px; }
.specs dd { font-size: 15px; }
.pdp__desc { margin-top: 30px; color: var(--bone-2); font-size: 16px; max-width: 60ch; }
@media (max-width: 900px) {
  .pdp { padding-top: 100px; }
  .pdp__grid { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; }
}

/* =====================================================================
   LANDINGS (trofeos / corporativo)
   ===================================================================== */
.lhero { position: relative; padding: 150px 0 80px; overflow: hidden; }
.lhero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.lhero .lead { margin: 28px 0 36px; }
.lhero .viewport { aspect-ratio: 1; }
@media (max-width: 980px) { .lhero { padding-top: 120px; } .lhero__grid { grid-template-columns: 1fr; } }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use { padding: 30px; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease-out), box-shadow .5s; }
.use:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2); }
.use svg { width: 36px; height: 36px; color: var(--gold); }
.use h3 { margin: 22px 0 8px; font-size: 21px; letter-spacing: -.02em; }
.use p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }
.prose { max-width: 72ch; color: var(--bone-2); font-size: 17px; }
.prose h2 { color: var(--bone); font-size: clamp(26px, 3vw, 36px); letter-spacing: -.025em; line-height: 1.1; margin: 56px 0 16px; }
.prose h3 { color: var(--bone); font-size: 20px; margin: 32px 0 10px; }
.prose strong { color: var(--bone); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier { position: relative; padding: 34px 30px; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.tier--hot { background: linear-gradient(180deg, rgba(233,185,73,.12), var(--panel) 50%); box-shadow: inset 0 0 0 1px rgba(233,185,73,.4); }
.tier h3 { margin: 12px 0 6px; font-size: 24px; letter-spacing: -.02em; }
.tier__p { font-size: 40px; font-weight: 500; letter-spacing: -.04em; margin: 16px 0 4px; line-height: 1.15; }
.tier__p small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-left: 6px; display: inline-block; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; flex: 1; }
.tier li { display: flex; gap: 10px; color: var(--bone-2); font-size: 15px; }
.tier li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv, .rv-layer { opacity: 1; transform: none; clip-path: none; }
}
.capa b { white-space: nowrap; }

/* =====================================================================
   LÍNEA RAQUETA (vitrina de trofeos)
   ===================================================================== */
.linea__grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.linea__stage {
  position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 50% at 50% 38%, #1d1a16, #0b0b0c 70%); box-shadow: inset 0 0 0 1px var(--line);
}
.linea__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.linea__img.print { animation: lineaPrint 1.15s steps(26, end) both; }
@keyframes lineaPrint { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.linea__stage::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 2px; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--gold-2) 25%, #fff 50%, var(--gold-2) 75%, transparent);
  box-shadow: 0 0 20px 4px rgba(233,185,73,.45);
}
.linea__stage.scan::after { animation: lineaScan 1.15s steps(26, end) both; }
@keyframes lineaScan { 0% { top: 100%; opacity: 1; } 96% { opacity: 1; } 100% { top: 0; opacity: 0; } }
.linea__stage .viewport__frame { z-index: 2; inset: 14px; }
.linea__hud { position: absolute; left: 26px; right: 26px; z-index: 2; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.linea__hud b { color: var(--bone); font-weight: 400; }
.linea__hud--t { top: 26px; }
.linea__hud--b { bottom: 24px; }

.linea__tabs { position: relative; display: inline-flex; padding: 5px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line-2); isolation: isolate; }
.linea__tabs button { height: 44px; padding: 0 24px; border-radius: 100px; font-weight: 500; font-size: 15px; color: var(--bone-2); transition: color .4s var(--ease); }
.linea__tabs button[aria-selected="true"] { color: var(--ink); }
.linea__ink { position: absolute; z-index: -1; top: 5px; left: 0; height: 44px; border-radius: 100px; background: var(--bone); transition: transform .55s var(--ease-out), width .55s var(--ease-out); }
.linea__name { margin: 30px 0 10px; font-size: clamp(32px, 3.4vw, 50px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.linea__rasgo { margin: 0 0 28px; color: var(--bone-2); max-width: 44ch; min-height: 3em; }
.linea__mets { display: flex; gap: 18px; flex-wrap: wrap; }
.linea__met { display: grid; justify-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.linea__met i { width: 50px; height: 50px; border-radius: 50%; box-shadow: inset 0 -7px 12px rgba(0,0,0,.4), inset 0 4px 7px rgba(255,255,255,.22), 0 0 0 1px var(--line-2); transition: box-shadow .35s, transform .45s var(--ease-out); }
.linea__met:hover i { transform: translateY(-3px); }
.linea__met[aria-pressed="true"] { color: var(--bone); }
.linea__met[aria-pressed="true"] i { box-shadow: inset 0 -7px 12px rgba(0,0,0,.4), inset 0 4px 7px rgba(255,255,255,.22), 0 0 0 3px var(--ink), 0 0 0 4.5px var(--gold); }
.linea__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 30px 0 6px; }
.linea__price b { font-size: clamp(38px, 3.6vw, 52px); font-weight: 500; letter-spacing: -.045em; }
.linea__price small { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.linea__feat { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; }
.linea__feat li { padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.linea__feat b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 24px; color: var(--gold-2); letter-spacing: -.01em; }
.linea__feat span { font-size: 14px; color: var(--muted); }
.linea__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.linea__alt { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 0; font-size: 14.5px; }
.linea__alt a { color: var(--gold-2); border-bottom: 1px solid transparent; transition: border-color .3s; }
.linea__alt a:hover { border-color: currentColor; }
@media (max-width: 980px) {
  .linea__grid { grid-template-columns: 1fr; }
  .linea__hud { left: 20px; right: 20px; font-size: 9.5px; }
}
@media (max-width: 480px) {
  .linea__tabs button { padding: 0 16px; }
  .linea__feat { grid-template-columns: 1fr; }
  .linea__mets { gap: 12px; }
}

/* =====================================================================
   ESTUDIO DE MODELADO + ARCHIVOS DIGITALES
   ===================================================================== */
.estudio__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.estudio__img { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; background: #0b0b0c; box-shadow: inset 0 0 0 1px var(--line); }
.estudio__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.estudio__img figcaption span {
  position: absolute; left: var(--x); top: var(--y); padding-left: 12px; border-left: 1px solid var(--gold);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone);
  opacity: 0; transform: translateX(-8px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.estudio__img figcaption small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.estudio__img.in figcaption span { opacity: 1; transform: none; }
.estudio__img.in figcaption span:nth-child(1) { transition-delay: 1.5s; }
.estudio__img.in figcaption span:nth-child(2) { transition-delay: 1.65s; }
.estudio__img.in figcaption span:nth-child(3) { transition-delay: 1.8s; }
.estudio__img.in figcaption span:nth-child(4) { transition-delay: 1.95s; }
.estudio__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.estudio__list li { padding-top: 14px; border-top: 1px solid var(--line); }
.estudio__list b { display: block; font-weight: 600; margin-bottom: 4px; }
.estudio__list span { font-size: 14.5px; color: var(--bone-2); }
.estudio__tiers .tier .capa { font-size: 10.5px; }
@media (max-width: 980px) {
  .estudio__grid { grid-template-columns: 1fr; }
  .estudio__img figcaption span { font-size: 9.5px; }
  .estudio__img figcaption small { display: none; }
}
@media (max-width: 480px) { .estudio__list { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .linea__hud--b, .linea__hud--t span:first-child { display: none; }
  .linea__hud--t { justify-content: flex-end; }
}

/* ajustes hero v2: titular centrado en el alto disponible, ficha libre del botón de WhatsApp, medidor lateral solo fuera del hero */
.hud { opacity: 0; transition: opacity .5s var(--ease); }
.hud.on { opacity: 1; }
@media (min-width: 981px) {
  .hero__title { flex: 1; display: flex; flex-direction: column; }
  .hero__kick { margin-bottom: auto; }
  .hero__w--2 { margin-bottom: auto; }
  .hero__foot { padding-right: 76px; }
}

/* hero v3 (PC): "a capa." apilado bajo "Capa" a la izquierda; el trofeo libre a la derecha, sin tapar el titular */
@media (min-width: 981px) {
  .hero__poster { container-type: inline-size; }
  .hero__w { font-size: clamp(96px, min(20cqi, 31svh), 330px); }
  .hero__w--2 { text-align: left; }
  .hero .hero__vp { right: 1%; top: 2%; height: 84%; }
  .hero::before { background: radial-gradient(34% 50% at 80% 46%, rgba(233,185,73,.15), transparent 70%), radial-gradient(40% 40% at 6% 96%, rgba(255,107,44,.06), transparent 70%); }
}

/* logo: "TIENDA" más grande, centrado en altura con "3DS" y separado por una línea fina */
.logo > span { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
.logo small { font-size: 13px; letter-spacing: .24em; color: var(--bone-2); margin: 0; padding: 3px 0 3px 11px; border-left: 1px solid var(--line-2); line-height: 1; }
@media (max-width: 600px) { .logo small { font-size: 12.5px; letter-spacing: .2em; } }

/* celular: al primer render, "a capa." se transforma en el botón "Ver productos" (queda fijo) */
.hero__morph { display: none; }
@media (max-width: 980px) {
  .hero__w--2 { position: relative; }
  .hero__morph {
    display: flex; position: absolute; left: 0; right: 0; top: 50%; height: 58px; transform: translateY(-50%);
    align-items: center; justify-content: center; gap: 12px; border-radius: 999px; overflow: hidden;
    background: linear-gradient(180deg, #f6d27a, var(--gold) 55%, #c8952e); color: var(--ink);
    font-family: var(--f-sans); font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1; white-space: nowrap;
    box-shadow: 0 14px 40px -12px rgba(233,185,73,.55), inset 0 1px 0 rgba(255,255,255,.45);
    opacity: 0; pointer-events: none; clip-path: inset(0 50% 0 50% round 999px);
    transition: opacity .3s ease .15s, clip-path .8s var(--ease-out) .15s;
  }
  .hero__morph svg { width: 20px; height: 20px; flex: none; }
  /* brillo que cruza una vez al aparecer */
  .hero__morph::after {
    content: ""; position: absolute; inset: 0; transform: translateX(-120%);
    background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  }
  .hero__print { transition: opacity .45s ease, filter .45s ease, transform .6s var(--ease-out); }
  .hero.is-cta .hero__title { z-index: 3; }
  .hero.is-cta .hero__print { opacity: 0; filter: blur(8px); transform: scale(.92); }
  .hero.is-cta .hero__morph { opacity: 1; pointer-events: auto; clip-path: inset(0 0 0 0 round 999px); }
  .hero.is-cta .hero__morph::after { animation: morphShine 1.1s .7s var(--ease) both; }
  .hero__morph:active { transform: translateY(-50%) scale(.98); }
}
@keyframes morphShine { to { transform: translateX(120%); } }

/* celular v2: el titular completo se va y "Ver productos" queda arriba, sin tapar la copa */
@media (max-width: 980px) {
  .hero__w--2 { position: static; }
  .hero__w--1 { position: relative; }
  .hero__morph { top: 50%; transform: translateY(calc(-50% - 12px)); }
  .hero__morph:active { transform: translateY(calc(-50% - 12px)) scale(.98); }
  .hero__kick, .hero__layers { transition: filter .45s ease, opacity .45s ease, transform .6s var(--ease-out); }
  .hero.is-cta .hero__kick { filter: blur(6px) opacity(0); }
  .hero.is-cta .hero__layers { opacity: 0; filter: blur(8px); transform: scale(.92); }
}

/* ===== "a capa." v2: láminas doradas que se ensamblan desde lados alternos (todas las pantallas) ===== */
.hero__print {
  -webkit-text-stroke: 0; color: transparent;
  background-image: repeating-linear-gradient(180deg, #f6d27a 0 5px, #b4842a 5px 6px); -webkit-background-clip: text; background-clip: text;
}
.hero__print::before, .hero__print::after { content: none; }
.hero__print.is-sliced { background: none; }
.hl__c { position: relative; display: inline-block; }
.hl__ghost { visibility: hidden; }
.hl__s {
  position: absolute; inset: 0; color: transparent;
  background-image: repeating-linear-gradient(180deg, #f6d27a 0 5px, #b4842a 5px 6px); -webkit-background-clip: text; background-clip: text;
  clip-path: inset(calc(var(--k) * 100% / var(--n) - .5px) -.1em calc((var(--n) - 1 - var(--k)) * 100% / var(--n) - .5px) -.1em);
  animation: hlIn 1s cubic-bezier(.2, .85, .25, 1) both;
  animation-delay: calc(.85s + var(--i) * 75ms + var(--k) * 55ms);
}
@keyframes hlIn {
  from { opacity: 0; transform: translateX(calc(var(--d) * .38em)); }
  45% { opacity: 1; }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hl__s { animation: none; } }

/* ===== Botón "Ver productos" (celular): placa de capas impresas que se hunde al tocarla ===== */
@media (max-width: 980px) {
  .hero__morph, .hero.is-cta .hero__morph {
    display: block; height: auto; padding: 0 0 12px; background: none; box-shadow: none; border-radius: 0; overflow: visible; clip-path: none;
  }
  .hero__morph::after { content: none; }
  .hero__morph { transform: translateY(calc(-50% + 14px)) scale(.9); transition: opacity .35s ease .1s, transform .75s cubic-bezier(.3, 1.6, .45, 1) .1s; }
  .hero.is-cta .hero__morph, .hero__morph:active { transform: translateY(calc(-50% - 12px)); }
  .morph__face {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; overflow: hidden;
    padding: 11px 11px 11px 22px; border-radius: 18px; color: var(--ink);
    background:
      repeating-linear-gradient(180deg, rgba(255,255,255,.09) 0 2px, transparent 2px 4px),
      linear-gradient(180deg, #ffe7a3, var(--gold) 52%, #cf972b);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.6),
      0 3px 0 #b8862a, 0 4px 0 #261c08, 0 7px 0 #9c711e, 0 8px 0 #261c08, 0 11px 0 #765312,
      0 26px 44px -14px rgba(233,185,73,.6);
    transition: transform .14s ease, box-shadow .14s ease;
    animation: morphBob 3.4s ease-in-out 2.4s infinite;
  }
  .morph__face::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%);
    animation: morphShine 3.4s ease-in-out 1.6s infinite;
  }
  .hero__morph:active .morph__face {
    transform: translateY(10px); animation: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 0 #b8862a, 0 2px 0 #261c08, 0 3px 0 #765312, 0 10px 20px -10px rgba(233,185,73,.5);
  }
  .morph__txt { display: flex; flex-direction: column; font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; white-space: nowrap; }
  .morph__txt small { font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .68; margin-bottom: 5px; }
  .morph__txt small b { font-weight: 500; }
  .morph__go { position: relative; flex: none; width: 48px; height: 48px; border-radius: 13px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(233,185,73,.25); }
  .morph__go svg { width: 22px; height: 22px; animation: goArrow 1.8s ease-in-out infinite; }
}
@keyframes morphBob { 0%, 72%, 100% { transform: translateY(0); } 80% { transform: translateY(-4px); } 88% { transform: translateY(1px); } }
@keyframes morphShine { 0% { transform: translateX(-130%); } 30%, 100% { transform: translateX(130%); } }
@keyframes goArrow { 0%, 55% { transform: translateX(0); } 75% { transform: translateX(34px); } 76% { transform: translateX(-34px); } 100% { transform: translateX(0); } }
/* letras de las láminas vía attr(): el <h1> conserva solo el texto real */
.hl__c::before { content: attr(data-c); visibility: hidden; }
.hl__s::before { content: attr(data-c); }
@media (max-width: 980px) {
  /* el botón vive fuera del <h1>: se ubica sobre la línea "Capa" (alto del kicker + mitad de la línea) */
  .hero__poster { position: relative; }
  .hero__morph { position: absolute; left: var(--pad); right: var(--pad); top: var(--morph-y, 150px); z-index: 4; }
}

/* ===== Ficha de producto v2: todo lo importante en la primera vista ===== */
.pdp { padding-top: 104px; }
.crumbs { margin-bottom: 18px; }
/* PC: miniaturas en columna a la izquierda y foto que cabe en la pantalla */
@media (min-width: 901px) {
  .gallery { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: start; }
  .gallery > .thumbs { order: -1; flex-direction: column; margin: 0; overflow: visible auto; max-height: calc(100svh - 150px); padding: 0; }
  .gallery > .thumbs button { width: 74px; height: 74px; }
  .gallery__stage { grid-column: 2; width: 100%; max-width: calc(100svh - 150px); max-height: calc(100svh - 150px); justify-self: center; }
  .gallery:not(:has(.thumbs)) { grid-template-columns: minmax(0, 1fr); }
  .gallery:not(:has(.thumbs)) .gallery__stage { grid-column: 1; }
  .pdp h1 { font-size: clamp(36px, min(4.2vw, 7.4svh), 60px); }
}
.thumbs button { transition: box-shadow .3s, transform .3s var(--ease-out), opacity .3s; opacity: .62; }
.thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.thumbs button[aria-current="true"] { opacity: 1; }

/* "Más en <categoría>": la misma línea, a un toque */
.sib { margin: -12px 0 26px; }
.sib__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.sib__row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; }
.sib__row::-webkit-scrollbar { display: none; }
.sib__it { flex: none; width: 76px; display: grid; gap: 7px; justify-items: center; text-align: center; }
.sib__img {
  width: 76px; height: 76px; border-radius: 16px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 40%, #26262c, #141417); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--f-mono); font-size: 14px; color: var(--bone-2);
  transition: box-shadow .3s, transform .35s var(--ease-out);
}
.sib__img img { width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0,0,0,.5)); }
.sib__img .arte svg { width: 60%; height: 60%; }
.sib__name { font-size: 12px; line-height: 1.2; color: var(--muted); transition: color .3s; }
.sib__it:hover .sib__img { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2); }
.sib__it:hover .sib__name { color: var(--bone); }
.sib__it[aria-current] .sib__img { box-shadow: inset 0 0 0 2px var(--gold); }
.sib__it[aria-current] .sib__name { color: var(--gold); }
@media (max-width: 900px) {
  .pdp { padding-top: 92px; }
  .sib { margin-top: -14px; }
}
.pdp__grid > * { min-width: 0; }

/* ===== Ficha v3: otros productos bajo la foto; botones de compra visibles sin bajar ===== */
.gallery .sib { margin: 22px 0 0; }
@media (min-width: 901px) {
  .gallery { position: relative; top: 0; }
  .gallery .sib { grid-column: 2; }
  .gallery:not(:has(.thumbs)) .sib { grid-column: 1; }
  .gallery__stage { max-width: calc(100svh - 140px); max-height: calc(100svh - 140px); }
  /* info compacta */
  .pdp__cat { margin-bottom: 10px; }
  .pdp h1 { font-size: clamp(32px, min(3.4vw, 6.2svh), 54px); }
  .pdp__price { margin: 14px 0 2px; }
  .pdp__price b { font-size: 32px; }
  .pdp__sum { font-size: 16.5px; margin: 6px 0 16px; }
  .opt { padding: 13px 0; }
  .opt__label { margin-bottom: 9px; }
  .opt__vals .chip { padding-block: 8px; }
  .buy { padding: 16px 0 12px; }
}
@media (max-width: 900px) { .gallery .sib { margin-top: 18px; } }
@media (min-width: 901px) {
  .pdp { padding-top: 94px; }
  .crumbs { margin-bottom: 12px; }
  .pdp__sum { margin-bottom: 12px; }
  .opt { padding: 11px 0; }
  .buy { padding-top: 14px; gap: 8px; }
  .buy .btn, .buy .qty, .buy .qty button { height: 50px; }
}
.wa-float { transition: transform .4s var(--ease-out), opacity .3s ease; }
.wa-float.off { opacity: 0; transform: scale(.6); pointer-events: none; }

/* ===== Ficha v4 (PC): foto + "Más en…" caben completos en la pantalla ===== */
@media (min-width: 901px) {
  .pdp { --stage: max(320px, calc(100svh - 272px)); }
  .gallery__stage { max-width: var(--stage); max-height: var(--stage); justify-self: start; }
  .gallery > .thumbs { max-height: var(--stage); }
  .gallery .sib { margin-top: 14px; }
  .gallery .sib__label { margin-bottom: 8px; }
  .gallery .sib__row { gap: 8px; }
  .gallery .sib__it { width: 66px; gap: 5px; }
  .gallery .sib__img { width: 66px; height: 66px; border-radius: 14px; }
  .gallery .sib__name { font-size: 11px; }
}
@media (min-width: 901px) {
  .pdp { --stage: max(320px, calc(100svh - 290px)); }
  .gallery .sib__it { width: 70px; }
  .gallery .sib__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .gallery .sib__row { padding-bottom: 2px; }
}

/* ===== Marquee v2: banda "en la impresora" (reglas en mm, G-code real y logo de capas como separador) ===== */
.marquee {
  --mq-gap: clamp(56px, 7vw, 104px);
  margin: calc(var(--mq-gap) - 30px) 0 var(--mq-gap); /* el hero ya trae 30px abajo (+ aire de los botones): mismo espacio visual arriba y abajo */
  padding: 0; border: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee + .sec { padding-top: 0; }
/* reglas milimetradas arriba y abajo (quietas mientras el texto corre) */
.marquee::before, .marquee::after {
  content: ""; display: block; height: 9px; opacity: .55;
  background:
    linear-gradient(var(--line-2), var(--line-2)) 0 0 / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 8px) 0 0 / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, rgba(233,185,73,.7) 0 1px, transparent 1px 80px) 0 0 / 100% 9px no-repeat;
}
.marquee::after { transform: scaleY(-1); }
.marquee span::after { content: none; }
.marquee span { gap: 0; }
.marquee__track { gap: 0; align-items: center; }
.marquee__track--rev { animation: marqRev 70s linear infinite; }
@keyframes marqRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
/* línea de G-code */
.marquee__gcode { padding: 12px 0 4px; }
.marquee__gcode span {
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); opacity: .7; padding-right: 34px;
}
.marquee__gcode span:nth-child(3n+1) { color: var(--gold); opacity: .75; }
/* línea principal */
.marquee__main { padding: 6px 0 18px; }
.mq { font-size: clamp(26px, 3.1vw, 44px); font-weight: 600; letter-spacing: -.035em; color: var(--bone); padding: 0 clamp(22px, 2.6vw, 40px); }
.mq em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--gold); margin-left: .22em; }
.mq--layers {
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: repeating-linear-gradient(180deg, var(--bone) 0 3px, rgba(236,231,222,.42) 3px 4px);
}
.mq--mono { font-family: var(--f-mono); font-weight: 400; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .14em; color: var(--muted); }
.mq__sep { display: inline-flex; flex: none; width: clamp(20px, 1.9vw, 28px); height: clamp(20px, 1.9vw, 28px); transition: transform .5s var(--ease-out); }
.mq__sep svg { width: 100%; height: 100%; }
.mq__sep svg path:first-child { animation: sepStack 3.6s var(--ease-out) infinite; transform-box: fill-box; }
@keyframes sepStack { 0%, 60%, 100% { transform: translateY(0); } 72% { transform: translateY(-3px); } 84% { transform: translateY(1px); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee__track, .mq__sep svg path { animation: none !important; } }
@media (max-width: 760px) {
  .marquee { --mq-gap: 48px; }
  .marquee__gcode span { font-size: 9.5px; padding-right: 24px; }
}
.marquee + .sec { scroll-margin-top: 110px; }

/* ===== Efecto "ensamble" (reemplaza la revelación por pasos, que parecía carga lenta) ===== */
.ens { position: absolute; z-index: 1; pointer-events: none; }
.ens .ens__s { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; transition: none; will-change: transform, opacity; }
.ens__seam {
  position: absolute; left: 4%; right: 4%; height: 1px; margin-top: -.5px;
  background: linear-gradient(90deg, transparent, rgba(248,220,148,.9) 25%, #fff6dc 50%, rgba(248,220,148,.9) 75%, transparent);
  box-shadow: 0 0 10px rgba(233,185,73,.55);
}
/* contenedores: ya no se recortan por pasos */
.rv-layer { clip-path: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.rv-layer:not(:has(> img)) { opacity: 0; transform: translateY(18px); }
.rv-layer.in { clip-path: none; opacity: 1; transform: none; }
/* la imagen espera invisible hasta que entra en pantalla (y entonces se ensambla) */
.rv-layer:not(.in) > img, .manifesto__img:not(.in) > img { opacity: 0; }
.manifesto__img img, .manifesto__img.in img { transform: none; transition: none; }
/* vitrina Línea Raqueta: sin la línea de escaneo (queda solo para el trofeo del hero) */
.linea__img.print { animation: none; }
.linea__stage.scan::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rv-layer:not(.in) > img, .manifesto__img:not(.in) > img { opacity: 1; } }
.estudio__img.in figcaption span:nth-child(1) { transition-delay: .8s; }
.estudio__img.in figcaption span:nth-child(2) { transition-delay: .92s; }
.estudio__img.in figcaption span:nth-child(3) { transition-delay: 1.04s; }
.estudio__img.in figcaption span:nth-child(4) { transition-delay: 1.16s; }
.estudio__img figcaption span, .manifesto__img figcaption { z-index: 2; }

/* =====================================================================
   LÍNEA RAQUETA v2: en PC la vitrina completa cabe en una pantalla
   (titular + copa + selector + botones). El tamaño se calcula con el ALTO de la ventana.
   ===================================================================== */
.linea__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 28px; }
.linea__row .linea__price { margin: 0; }
@media (min-width: 981px) {
  .linea {
    --st: clamp(340px, calc(74svh - 56px), 700px);  /* lado de la imagen */
    --g: clamp(10px, 2.3svh, 26px);                  /* respiro vertical del panel */
    min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(28px, 4svh, 56px); padding-bottom: clamp(28px, 4svh, 56px);
  }
  .linea > .wrap { width: 100%; }
  .linea .sec__head { margin-bottom: clamp(18px, 3svh, 40px); }
  .linea .h-lg { font-size: clamp(36px, min(5.2vw, 7.2svh), 76px); }
  .linea__grid { grid-template-columns: min(var(--st), 100% - 610px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
  .linea__tabs button, .linea__ink { height: clamp(38px, 5.4svh, 44px); }
  .linea__name { margin: calc(var(--g) * 1.1) 0 8px; font-size: clamp(30px, min(3.4vw, 5.6svh), 50px); }
  .linea__rasgo { margin: 0 0 var(--g); }
  .linea__row { gap: 18px 32px; }
  .linea__row .linea__price { flex-direction: column; align-items: flex-end; gap: 6px; }
  .linea__price b { font-size: clamp(34px, min(3.4vw, 6svh), 52px); line-height: 1; }
  .linea__cta { margin-top: calc(var(--g) * 1.2); }
  .linea__alt { margin-top: calc(var(--g) * .75); }
  .linea__feat { margin-top: calc(var(--g) * 1.1); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
  .linea__feat li { padding-top: 10px; gap: 2px; align-content: start; }
  .linea__feat b { font-size: clamp(17px, 2.5svh, 21px); line-height: 1.15; }
  .linea__feat span { font-size: 12.5px; line-height: 1.35; }
}
/* rótulos de la imagen siempre en una línea; si la imagen es chica, letra menor */
.linea__stage { container-type: inline-size; }
.linea__hud span { white-space: nowrap; }
@container (max-width: 480px) {
  .linea__hud { left: 22px; right: 22px; font-size: 9px; letter-spacing: .1em; }
  .linea__hud--t { top: 24px; }
  .linea__hud--b { bottom: 20px; }
}

/* tarjeta destacada: licencia comercial (al centro, más alta, con sello) */
.tier--lic {
  background: linear-gradient(180deg, rgba(233,185,73,.16), var(--panel) 55%);
  box-shadow: inset 0 0 0 1px rgba(233,185,73,.6), 0 40px 90px -50px rgba(233,185,73,.55);
}
.tier--lic .tier__p { color: var(--gold-2); }
.tier__flag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  padding: 7px 16px; border-radius: 100px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: linear-gradient(180deg, #f6d27a, var(--gold) 60%, #c8952e);
  box-shadow: 0 0 0 4px var(--ink), 0 10px 24px -8px rgba(233,185,73,.6);
}
@media (min-width: 901px) {
  .estudio__tiers { padding-top: 18px; }
  .tier--lic { margin: -18px 0; padding-top: 52px; padding-bottom: 52px; }
}
@media (max-width: 900px) {
  .estudio__tiers { gap: 30px; }
  .tier--lic { padding-top: 44px; }
}
.tier--lic .tier__p small { display: block; margin: 10px 0 0; }
.tier--lic .tier__p .tier__alt { display: inline-block; margin: 12px 0 0; padding: 6px 12px; border-radius: 100px; box-shadow: inset 0 0 0 1px rgba(233,185,73,.35); color: var(--bone-2); }
.tier__p .tier__alt b { color: var(--gold-2); font-weight: 500; }
.nw { white-space: nowrap; }

/* ---------- Mascotas en 3D (landing + sección de portada) ---------- */
.pets { position: relative; margin: 0; border-radius: var(--r-lg); aspect-ratio: 10 / 9; overflow: hidden;
  background: radial-gradient(55% 50% at 50% 58%, rgba(233,185,73,.2), transparent 72%), radial-gradient(120% 85% at 50% 100%, #1a160d, #0a0a0b 72%);
  box-shadow: inset 0 0 0 1px var(--line); }
.pets::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(233,185,73,.05) 0 1px, transparent 1px 7px); -webkit-mask-image: radial-gradient(60% 55% at 50% 55%, #000, transparent); mask-image: radial-gradient(60% 55% at 50% 55%, #000, transparent); }
.pets::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 22%; height: 1px; background: linear-gradient(90deg, transparent, rgba(233,185,73,.4), transparent); }
.pets__stage { position: absolute; inset: 0; }
.pets__p { position: absolute; height: auto; filter: drop-shadow(0 26px 22px rgba(0,0,0,.6)); transition: transform 1.6s var(--ease-out); }
.pets__p--l { left: 3%; bottom: 24%; width: 38%; transform: translateY(20px) rotate(-7deg); }
.pets__p--r { right: 3%; bottom: 24%; width: 38%; transform: translateY(20px) rotate(7deg); }
.pets__p--c { left: 50%; bottom: 18%; width: 54%; z-index: 2; transform: translate(-50%, 24px); }
.pets.in .pets__p--l { transform: rotate(-7deg); }
.pets.in .pets__p--r { transform: rotate(7deg); }
.pets.in .pets__p--c { transform: translate(-50%, 0); }
.pets figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 3; }

.pet-memo { position: relative; text-align: center; overflow: hidden; }
.pet-memo::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(233,185,73,.06) 0 1px, transparent 1px 7px); -webkit-mask-image: radial-gradient(50% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(50% 60% at 50% 50%, #000, transparent); }
.pet-memo__in { position: relative; max-width: 900px; }
.pet-memo .h-xl { margin-top: 24px; }
.pet-memo .lead { margin: 28px auto 0; }
.pet-memo__list { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pet-memo__list li { font: 500 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 100px; color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(233,185,73,.3); }
.tier__p .tier__pre { margin: 0 8px 0 0; }

/* sección de portada: texto a la izquierda, trío de bustos a la derecha */
.mascota .manifesto { grid-template-columns: 1fr 1.05fr; }
.mascota__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.mascota__cta .mono { font-size: 13px; letter-spacing: .06em; }
.mascota__cta .mono b { color: var(--gold-2); font-weight: 500; }
@media (max-width: 900px) { .mascota .manifesto { grid-template-columns: 1fr; } .mascota .pets { order: -1; } }

/* menú de PC con 7 enlaces: más compacto en pantallas medianas para que no empuje "Cotizar" y la bolsa */
@media (min-width: 981px) and (max-width: 1280px) { .nav { gap: 0; } .nav a { padding: 8px 10px; font-size: 14px; } }
@media (min-width: 981px) and (max-width: 1140px) { .top__actions .btn { display: none; } }


/* pieza libre → foto real: la pieza impresa se va ANTES de que entre la foto, y no vuelve al salir la foto */
.viewport.is-out canvas, .viewport.is-out.is-render canvas { opacity: 0; transition: opacity .45s ease; }
