/* El Arte de Dar · Subasta Benéfica 2026 — tema oscuro con damasco */
:root {
  --bg: #26251F;
  --bg-2: #2E2C25;
  --bg-3: #1D1C18;
  --tapiz-velo: rgba(38, 37, 31, .35);
  --panel: rgba(255, 248, 230, .045);
  --panel-2: rgba(255, 248, 230, .08);
  --text: #EFE8D8;
  --text-2: #D3CABA;
  --muted: #A69E8D;
  --gold: #C9A85C;
  --gold-2: #A8843E;
  --gold-soft: rgba(201, 168, 92, .35);
  --line: rgba(201, 168, 92, .2);
  --line-2: rgba(239, 232, 216, .12);
  --terra: #D08A62;
  --blue: #1E4A8C;
  --blue-hover: #2A5CA8;
  --error: #F08A80;
  --error-bg: rgba(179, 38, 30, .16);
  --radius: 6px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 400 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  /* Papel tapiz: el velo (--tapiz-velo) controla qué tan visible es el damasco */
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255, 236, 190, .07), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 120%, rgba(0, 0, 0, .5), transparent 60%),
    linear-gradient(var(--tapiz-velo), var(--tapiz-velo)),
    url("../img/marca/papel-tapiz.webp?v=2");
  background-size: auto, auto, auto, 634px 254px;
  background-attachment: fixed, fixed, fixed, fixed;
  overflow-x: hidden;
}
@supports (-webkit-touch-callout: none) { body { background-attachment: scroll; } }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.center { text-align: center; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- Botones (todos en azul) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: var(--radius);
  font: 600 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(30, 74, 140, .25);
}
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-outline { background: transparent; color: #fff; border-color: var(--blue-hover); box-shadow: none; }
.btn-outline:hover { background: var(--blue); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 11.5px; }
.btn-block { width: 100%; }
.btn .btn-price { font: 600 15px/1 var(--serif); letter-spacing: 0; text-transform: none; }
.link-btn { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }
.round-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); cursor: pointer; transition: background .2s, border-color .2s; }
.round-btn:hover { background: var(--blue); border-color: var(--blue); }
.round-btn svg, .icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; color: var(--text); cursor: pointer; }

.eyebrow { font: 600 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.section-title { font: 600 clamp(32px, 4.4vw, 52px)/1.08 var(--serif); margin-bottom: 18px; }

/* ---------- Encabezado ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; box-shadow: 0 1px 0 var(--line-2); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.scrolled { background: rgba(29, 28, 24, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); padding: 0 48px; }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; gap: 34px; margin-left: auto; }
.main-nav a { color: var(--text-2); text-decoration: none; font: 500 11.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.main-nav a:hover { color: var(--gold); border-color: var(--gold); }
.header-search { display: none; }
@media (max-width: 960px) {
  .header-inner { padding: 0 16px; justify-content: space-between; }
  .main-nav, .header-cta { display: none; }
  .header-search { display: grid; }
  .brand { order: 2; margin: 0 auto; }
  .brand img { height: 44px; }
}

/* ---------- Portada (estilo Laocoonte) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 55% at 46% 52%, rgba(255, 238, 200, .12), transparent 70%); }
.hero-top { position: absolute; top: calc(var(--header-h) + 18px); left: 48px; right: calc(300px + 48px); display: flex; align-items: center; gap: 22px; z-index: 3; }
.hero-kicker { margin: 0; font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.hero-rule { width: 36px; height: 1px; background: var(--text-2); }
.hero-chips { display: flex; gap: 6px; }
.chip { border: 0; background: none; color: var(--muted); font: 600 14px var(--sans); letter-spacing: .06em; padding: 6px 10px; cursor: pointer; border-radius: 4px; transition: color .2s, background .2s; }
.chip:hover { color: var(--text); }
.chip[aria-selected="true"] { color: var(--text); background: var(--panel-2); }
.hero-arrows { display: flex; gap: 10px; margin-left: auto; }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(260px, .95fr) minmax(360px, 1.35fr); align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 70px) calc(300px + 32px) 110px 48px; }
.hero-copy { position: relative; z-index: 4; max-width: 440px; }
.hero-title { font: 600 clamp(46px, 6.2vw, 92px)/.98 var(--serif); letter-spacing: -.01em; margin-bottom: 18px; text-wrap: balance; }
.hero-title.largo { font-size: clamp(38px, 4.4vw, 66px); line-height: 1.04; }
.hero-artist { font: 500 17px/1.4 var(--sans); color: var(--text-2); margin-bottom: 28px; }
.hero-desc { font-size: 14px; line-height: 1.75; color: var(--muted); max-width: 300px; margin-bottom: 14px; }
.hero-price { font: 600 22px var(--serif); color: var(--gold); margin-bottom: 26px; }
.hero-price small { display: block; font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.link-more { color: var(--text); font: 500 13px var(--sans); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--gold); transition: color .2s; }
.link-more:hover { color: var(--gold); }

.words .w { display: inline-block; opacity: 0; transform: translateY(.45em); animation: rise .7s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-stage { position: relative; height: min(76vh, 760px); display: grid; place-items: center; perspective: 1200px; cursor: grab; touch-action: pan-y; }
.hero-stage:active { cursor: grabbing; }
.stage-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 196, .16), transparent 65%); filter: blur(10px); }
.stage-floor { position: absolute; bottom: 4%; width: 52%; height: 7%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, .6), transparent 70%); filter: blur(6px); z-index: 1; }
.sculpture-wrap { position: absolute; inset: 0; z-index: 2; transform-style: preserve-3d; }
.sculpture { position: absolute; inset: 0; margin: auto; max-height: 86%; max-width: 92%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 1px rgba(0, 0, 0, .4));
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) scale(var(--s, 1));
  transition: transform .5s var(--ease); will-change: transform; user-select: none; -webkit-user-drag: none; }
.hero-stage:hover .sculpture.is-current { --s: 1.04; }
.sculpture.enter { animation: sc-in .9s var(--ease) both; }
.sculpture.enter.from-left { animation-name: sc-in-l; }
.sculpture.leave { animation: sc-out .6s var(--ease) both; pointer-events: none; }
.sculpture.leave.to-right { animation-name: sc-out-r; }
@keyframes sc-in { from { opacity: 0; translate: 18% 0; scale: .92; filter: blur(6px); } }
@keyframes sc-in-l { from { opacity: 0; translate: -18% 0; scale: .92; filter: blur(6px); } }
@keyframes sc-out { to { opacity: 0; translate: -16% 0; scale: .9; } }
@keyframes sc-out-r { to { opacity: 0; translate: 16% 0; scale: .9; } }

.orbit { position: absolute; left: 13%; width: 74%; height: 16%; top: 50%; border-radius: 50%; border: 1px solid rgba(239, 232, 216, .34); pointer-events: none; }
.orbit-back { z-index: 1; opacity: .45; }
.orbit-front { z-index: 3; clip-path: inset(50% -2px -2px -2px); }
.orbit-dot { position: absolute; left: 0; top: 0; z-index: 3; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(239, 232, 216, .14); border: 1px solid rgba(239, 232, 216, .32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); pointer-events: none; will-change: transform; }
.orbit-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .8); }
.orbit-dot.behind { z-index: 1; opacity: .55; }

.ghost { display: none; }

.hero-side { position: absolute; top: var(--header-h); right: 0; bottom: 0; width: 300px; z-index: 3; display: flex; flex-direction: column; background: rgba(255, 248, 230, .04); border-left: 1px solid var(--line-2); backdrop-filter: blur(2px); }
.side-specs { margin: 0; padding: 40px 28px; display: flex; flex-direction: column; gap: 26px; flex: 1; justify-content: center; }
.side-specs dt { font: 500 12px var(--sans); color: var(--muted); margin-bottom: 4px; }
.side-specs dd { margin: 0; font: 500 14px/1.5 var(--sans); color: var(--text); }
.side-specs dd.price { font: 600 22px var(--serif); color: var(--gold); }

.hero-bottom { position: absolute; left: 48px; right: calc(300px + 48px); bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 28px; }
.hero-dots { display: flex; gap: 6px; }
.dot { width: 26px; height: 26px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); transition: background .2s, transform .2s; }
.dot[aria-current="true"]::before { background: var(--text); transform: scale(1.4); }
.hero-event { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 12.5px; color: var(--text-2); margin-left: auto; }
.hero-event span + span::before { content: "·"; margin-right: 20px; color: var(--gold); }
.scroll-cue { width: 24px; height: 38px; border: 1px solid var(--text-2); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--text); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(9px); opacity: .3; } }
.hero-progress { position: absolute; left: 0; right: 300px; bottom: 0; height: 2px; background: var(--line-2); z-index: 3; }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--gold); }

@media (max-width: 1180px) {
  .hero-side { width: 250px; }
  .hero-grid { padding-right: 270px; }
  .hero-top, .hero-bottom { right: 290px; }
  .hero-progress { right: 250px; }
  .hero-event { display: none; }
}

/* Portada en móvil (estilo app de museo) */
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero::before { background: radial-gradient(ellipse 80% 40% at 50% 32%, rgba(255, 238, 200, .14), transparent 70%); }
  .hero-top { position: static; padding: calc(var(--header-h) + 4px) 16px 0; justify-content: center; }
  .hero-kicker, .hero-rule, .hero-arrows { display: none; }
  .chip { font-size: 12.5px; }
  .hero-grid { display: flex; flex-direction: column; min-height: 0; padding: 0 0 18px; }
  .hero-stage { order: 1; width: 100%; height: 50svh; min-height: 330px; max-height: 480px; overflow: visible; }
  .hero-copy { order: 2; max-width: none; padding: 0 24px; text-align: center; }
  .hero-title, .hero-title.largo { font-weight: 800; font-size: clamp(34px, 10vw, 54px); margin-bottom: 10px; }
  .hero-artist { font: 600 13px var(--serif); letter-spacing: .02em; color: var(--muted); margin-bottom: 16px; }
  .hero-desc { font-style: italic; font-size: 15px; color: var(--text-2); max-width: 340px; margin: 0 auto 12px; }
  .hero-price { font-size: 20px; margin-bottom: 18px; }
  .hero-price small { display: inline; margin-right: 6px; }
  .link-more { display: inline-flex; align-items: center; min-height: 46px; padding: 0 26px; background: var(--blue); border: 0; border-radius: var(--radius); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
  .hero-side { display: none; }
  .hero-bottom { position: static; justify-content: center; padding: 6px 0 22px; }
  .hero-event, .scroll-cue { display: none; }
  .hero-progress { right: 0; }
  .ghost { display: block; position: absolute; top: 58%; z-index: 0; font: 800 clamp(44px, 13vw, 64px)/.95 var(--serif); color: rgba(239, 232, 216, .14); white-space: nowrap; pointer-events: none; transition: opacity .4s; }
  .ghost-l { right: calc(100% - 13vw); text-align: right; }
  .ghost-r { left: calc(100% - 13vw); }
  .orbit { width: 84%; left: 8%; }
  .stage-floor { width: 62%; }
}

/* ---------- Historia: efectos al hacer scroll ---------- */
.story { position: relative; }
.story .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: var(--header-h) 24px 32px; }
.reveal-words { font: 600 clamp(30px, 4.4vw, 58px)/1.12 var(--serif); text-wrap: balance; }
.reveal-words .rw { opacity: .16; transition: opacity .35s ease; }
.reveal-words .rw.on { opacity: 1; }
.big-quote { max-width: 980px; text-align: center; margin-bottom: 6vh; }
.story-note { color: var(--muted); font-size: 14px; margin-top: 5vh; opacity: 0; transition: opacity .6s; }
.story-note.on { opacity: 1; }

.story-fan { height: 230vh; }
.fan { position: relative; width: min(1000px, 94vw); height: clamp(220px, 32vh, 320px); }
.fan-card { position: absolute; left: 50%; top: 50%; width: clamp(130px, 14vw, 200px); aspect-ratio: 4 / 5; margin: 0; border-radius: 10px; overflow: hidden; background: var(--bg-3); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .08); transform: translate(-50%, -50%); will-change: transform; }
.fan-card img { width: 100%; height: 100%; object-fit: cover; }
.bubble { position: absolute; z-index: 30; padding: 6px 12px; border-radius: 999px; font: 600 11px var(--sans); letter-spacing: .06em; color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); opacity: 0; transform: scale(.6); transition: opacity .4s, transform .5s var(--ease); white-space: nowrap; }
.bubble.alt { background: var(--gold-2); }
.bubble.dark { background: #111; }
.bubble.on { opacity: 1; transform: none; }

.story-banner { height: 260vh; }
.story-banner .sticky { justify-content: flex-start; align-items: stretch; padding-top: calc(var(--header-h) + 3vh); gap: 3vh; }
.banner-copy { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 8px; }
.banner-copy h2 { max-width: 760px; font-size: clamp(28px, 3.6vw, 48px); }
.banner { position: relative; flex: 1; margin: 0; width: 100%; max-width: 1400px; align-self: center; border-radius: 14px; overflow: hidden; clip-path: inset(var(--it, 30%) var(--il, 40%) var(--it, 30%) var(--il, 40%) round var(--r, 16px)); will-change: clip-path; }
.banner img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--bs, 1.2)); will-change: transform; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 9, 6, .75), transparent 55%); opacity: var(--co, 0); }
.banner-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 28px; padding: clamp(18px, 3vw, 40px); opacity: var(--co, 0); transform: translateY(calc((1 - var(--co, 0)) * 20px)); }
.banner-cap span { max-width: 560px; font: 500 clamp(15px, 1.6vw, 19px)/1.5 var(--sans); color: #fff; }

.story-cascade { padding: 14vh 0; }
.cascade-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.cascade-copy h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.counters { display: flex; gap: 16px; margin-top: 28px; }
.counter { flex: 1; text-align: left; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--text); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.counter:hover { border-color: var(--gold); background: var(--panel-2); transform: translateY(-2px); }
.counter strong { display: block; font: 600 40px/1 var(--serif); color: var(--gold); }
.counter span { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.cascade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cascade-card { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--bg-3); box-shadow: 0 16px 34px rgba(0, 0, 0, .45); opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(.92); transition: transform 1s var(--ease), opacity .6s ease; transition-delay: calc(var(--i) * 110ms); }
.cascade-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cascade-card:hover img { transform: scale(1.07); }
.cascade.in .cascade-card { opacity: 1; transform: none; }
.cascade-card .bubble { left: 10px; bottom: 10px; }
.cascade.in .cascade-card .bubble { opacity: 1; transform: none; transition-delay: calc(var(--i) * 110ms + .7s); }

.story-float { min-height: 110vh; display: grid; place-items: center; overflow: hidden; padding: 12vh 24px; }
.floaters { position: absolute; inset: 0; }
.floater { position: absolute; width: var(--w, 86px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translate(var(--px, 0), var(--py, 0)) scale(.6); transition: opacity .8s ease, transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.floater img { width: 100%; height: 100%; object-fit: cover; animation: bob var(--d, 6s) ease-in-out infinite alternate; }
.story-float.in .floater { opacity: 1; transform: translate(var(--px, 0), var(--py, 0)) scale(1); }
@keyframes bob { from { transform: translateY(-6px) scale(1.04); } to { transform: translateY(6px) scale(1.04); } }
.float-copy { position: relative; z-index: 2; max-width: 620px; text-align: center; padding: 36px 28px; border-radius: 16px; background: radial-gradient(ellipse at center, rgba(29, 28, 24, .92) 40%, rgba(29, 28, 24, 0) 75%); }
.float-copy h2 { margin-bottom: 14px; }
.float-copy .btn { margin-top: 10px; }

@media (max-width: 900px) {
  .story-fan { height: 200vh; }
  .story-banner { height: 220vh; }
  .cascade-grid { grid-template-columns: 1fr; gap: 36px; }
  .counter strong { font-size: 32px; }
  .story-float { min-height: 90vh; }
  .floater { --w: 62px !important; }
}

/* ---------- Catálogo ---------- */
.catalog { padding: 26px 0 80px; scroll-margin-top: 0; }
.catalog-head { margin-bottom: 16px; }
.catalog-head .section-title { margin-bottom: 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; background: rgba(29, 28, 24, .7); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; }
.tabs { display: inline-flex; background: rgba(0, 0, 0, .25); border-radius: 8px; padding: 3px; }
.tab { border: 0; background: transparent; padding: 9px 16px; border-radius: 6px; font: 500 13px var(--sans); color: var(--text-2); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tab span { color: var(--muted); }
.tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.tab[aria-selected="true"] span { color: rgba(255, 255, 255, .8); }
.toolbar-right { display: flex; gap: 10px; flex: 1 1 420px; justify-content: flex-end; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 220px; max-width: 320px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.7; }
.search input, .sort select { width: 100%; height: 42px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(0, 0, 0, .25); font: 400 14px var(--sans); color: var(--text); }
.search input::placeholder { color: var(--muted); }
.search input { padding: 0 12px 0 38px; }
.sort select { padding: 0 30px 0 12px; }
.sort select option { background: var(--bg-2); }
.view-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.view-toggle button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; background: transparent; color: var(--text-2); font: 500 12.5px var(--sans); cursor: pointer; }
.view-toggle button + button { border-left: 1px solid var(--line-2); }
.view-toggle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.view-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
@media (max-width: 760px) {
  .toolbar { padding: 10px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 9px 6px; font-size: 12.5px; }
  .toolbar-right { flex-basis: 100%; }
  .search { max-width: none; flex-basis: 100%; }
  .sort { flex: 1; }
  .view-toggle span { display: none; }
}
.catalog-state { text-align: center; padding: 60px 16px; color: var(--muted); }
.catalog-state .btn { margin-top: 16px; }

/* Carrusel tipo galería (imagen 3) */
.coverflow { position: relative; }
.cf-stage { position: relative; height: clamp(500px, 74vh, 700px); perspective: 1600px; overflow: hidden; touch-action: pan-y; cursor: grab; outline: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cf-stage.dragging { cursor: grabbing; }
.cf-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }
.cf-card { --cw: clamp(260px, 27vw, 380px); position: absolute; left: 50%; top: 50%; width: var(--cw); height: calc(var(--cw) * 1.42); max-height: 94%; margin: 0; border-radius: 22px; overflow: hidden; background: #111; box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  transform: translate(-50%, -50%) translateX(var(--x, 0)) translateZ(var(--z, 0)) rotateY(var(--ry, 0)) scale(var(--sc, 1));
  transition: transform .6s var(--ease), opacity .5s, filter .5s; z-index: var(--zi, 1); opacity: var(--op, 1); filter: brightness(var(--br, 1)); cursor: pointer; }
.cf-stage.dragging .cf-card { transition: none; }
.cf-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) brightness(.55) saturate(1.2); transform: scale(1.1); }
.cf-img { position: absolute; inset: 18px 18px 132px; display: grid; place-items: center; }
.cf-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); }
.cf-card.is-center:hover .cf-img img { transform: scale(1.06); }
.cf-glass { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px 18px; background: rgba(40, 38, 32, .45); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-top: 1px solid rgba(255, 255, 255, .14); }
.cf-glass h3 { font: 600 20px/1.2 var(--serif); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-glass .cf-meta { font-size: 12px; color: var(--text-2); margin: 0 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-glass .cf-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cf-glass .cf-price { font: 600 19px/1 var(--serif); color: var(--gold); }
.cf-glass .cf-price small { display: block; font: 600 9.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.cf-glass .btn { min-height: 36px; padding: 0 14px; font-size: 10.5px; }
.cf-tag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(40, 38, 32, .5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.cf-tag.sold { background: rgba(0, 0, 0, .7); }
.cf-card:not(.is-center) .cf-glass .btn, .cf-card:not(.is-center) .cf-meta { visibility: hidden; }

/* En escritorio el carrusel se ajusta al alto de la pantalla: al pulsar «Ver catálogo»
   quedan visibles título, filtros, carrusel y la barra del artista. */
@media (min-width: 641px) {
  .coverflow { --cf-h: clamp(320px, calc(100vh - 470px), 660px); --cf-h: clamp(320px, calc(100svh - 470px), 660px); }
  .cf-stage { height: var(--cf-h); }
  .cf-card { --cw: min(clamp(240px, 27vw, 380px), calc(var(--cf-h) * .94 / 1.42)); }
}
.cf-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; padding: 0 16px; }
.cf-artist { display: flex; align-items: center; gap: 14px; min-width: 0; width: min(420px, 100%); padding: 8px 22px 8px 8px; border-radius: 999px; background: rgba(255, 248, 230, .07); backdrop-filter: blur(12px); border: 1px solid var(--line-2); }
.cf-artist img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line); }
.cf-artist div { min-width: 0; }
.cf-artist strong { display: block; font: 600 14px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-artist span { display: block; font-size: 12px; color: var(--muted); }
.cf-progress { display: flex; align-items: center; gap: 14px; width: min(420px, 90%); margin: 12px auto 0; font: 500 12px var(--sans); color: var(--muted); }
.cf-progress span { flex: none; min-width: 64px; }
.cf-progress input { flex: 1; accent-color: var(--gold); }
@media (max-width: 640px) {
  .cf-card { --cw: 74vw; border-radius: 18px; }
  .cf-stage { height: min(132vw, 620px); -webkit-mask-image: none; mask-image: none; }
  .cf-img { inset: 12px 12px 124px; }
  .cf-glass { padding: 14px 16px 16px; }
  .cf-glass h3 { font-size: 18px; }
}

/* Cuadrícula estilo galería */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { display: flex; flex-direction: column; background: rgba(29, 28, 24, .82); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .3s; }
.card:hover { border-color: var(--gold-soft); box-shadow: 0 22px 44px rgba(0, 0, 0, .45); transform: translateY(-3px); }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 18px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, rgba(255, 240, 210, .09), transparent 70%); }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 9px; background: var(--terra); color: #fff; font: 600 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border-radius: 3px; }
.tag-venta { background: var(--gold-2); }
.tag-sold { left: auto; right: 10px; background: #000; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; border-top: 1px solid var(--line-2); }
.card-artist { font: 600 10.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.card-title { font: 600 19px/1.25 var(--serif); margin-bottom: 6px; }
.card-tech { font-size: 12.5px; color: var(--muted); font-style: italic; margin: 0 0 14px; }
.card-price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); margin-bottom: 14px; }
.card-price span { font: 500 10.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card-price strong { font: 600 20px/1 var(--serif); color: var(--gold); }
.cat-section + .cat-section { margin-top: 64px; }
.cat-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.cat-head .section-title { margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.cat-head p { margin: 0; color: var(--muted); max-width: 440px; font-size: 14px; }
@media (max-width: 640px) {
  .card-media { padding: 8px; }
  .card-body { padding: 12px; }
  .card-title { font-size: 16px; }
  .card-tech { display: none; }
  .card-price { flex-direction: column; gap: 4px; }
  .card-price strong { font-size: 18px; }
  .card .btn { min-height: 40px; padding: 0 8px; font-size: 10.5px; letter-spacing: .1em; }
}

/* ---------- Bandas informativas ---------- */
.band { padding: 90px 0; scroll-margin-top: var(--header-h); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step { background: rgba(29, 28, 24, .8); border: 1px solid var(--line); border-radius: 12px; padding: 30px; }
.step-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font: 600 18px var(--serif); margin-bottom: 16px; }
.step h3 { font: 600 13px var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.step p { color: var(--text-2); font-size: 14px; }
.contacts { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--text-2); }
.contacts li { padding: 6px 0; border-top: 1px solid var(--line-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .band { padding: 60px 0; } }
.causa { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.causa p { color: var(--text-2); }
.causa-logo { width: 84px; height: 84px; border-radius: 50%; object-fit: contain; background: #fff; padding: 6px; margin-bottom: 20px; }
.quote { margin: 0; padding: 40px; background: rgba(29, 28, 24, .8); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; }
.quote p { font: italic 400 26px/1.4 var(--serif); color: var(--text); }
.quote cite { font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-style: normal; }
@media (max-width: 900px) { .causa { grid-template-columns: 1fr; gap: 32px; } .quote p { font-size: 21px; } }

/* ---------- Pie ---------- */
.site-footer { padding: 40px 0 28px; }
.plaque { background: #F7F2E8; color: #3A352C; border-radius: 14px; padding: 36px 24px 10px; box-shadow: 0 0 0 1px var(--gold-soft), 0 0 0 6px rgba(201, 168, 92, .08); }
.partners { text-align: center; margin-bottom: 30px; }
.partners-label { font: italic 400 20px var(--serif); color: var(--gold-2); margin-bottom: 16px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; }
.logos img { height: 46px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.logos .logo-tall { height: 74px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 26px; color: var(--muted); font-size: 12.5px; }
.footer-logo { height: 54px; width: auto; }
@media (max-width: 640px) { .logos { gap: 18px 26px; } .logos img { height: 34px; } .logos .logo-tall { height: 56px; } .footer-bottom { justify-content: center; text-align: center; } }

/* ---------- Barra inferior (móvil) ---------- */
.tabbar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); height: 62px; border-radius: 20px; background: rgba(24, 23, 19, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--gold-soft); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); text-decoration: none; font: 600 10px var(--serif); }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
  .tabbar span { opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; }
  .tabbar a.active { color: var(--text); }
  .tabbar a.active svg { transform: translateY(-1px); }
  .tabbar a.active span { opacity: 1; transform: none; }
}

/* ---------- Detalle ---------- */
.detail { padding-top: calc(var(--header-h) + 22px); padding-bottom: 90px; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--text-2); }
.crumbs a:hover { color: var(--gold); }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.crumbs li:last-child { color: var(--text); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Marco dorado */
.frame { position: relative; padding: clamp(12px, 1.8vw, 22px); border-radius: 4px;
  background: linear-gradient(135deg, #6E5220 0%, #E9CF86 18%, #9A7632 36%, #F3DC98 54%, #8A6828 72%, #D9B96C 88%, #6E5220 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 240, 200, .5), inset 0 0 18px rgba(0, 0, 0, .5); }
.frame::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(60, 40, 10, .45); border-radius: 2px; pointer-events: none; }
.mat { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; padding: clamp(14px, 2.2vw, 30px); background: #F4EFE4; box-shadow: inset 0 3px 12px rgba(0, 0, 0, .35); overflow: hidden; cursor: zoom-in; }
.mat img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .25s ease-out; transform-origin: var(--ox, 50%) var(--oy, 50%); }
.mat.zooming img { transform: scale(1.9); transition: transform .12s ease-out; }
.zoom-hint { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.zoom-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
.thumbs { display: flex; gap: 12px; margin-top: 12px; }
.thumb { width: 86px; aspect-ratio: 1; padding: 6px; background: #F4EFE4; border: 2px solid transparent; border-radius: 4px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-current="true"] { border-color: var(--gold); }
@media (max-width: 640px) { .mat { aspect-ratio: auto; min-height: 260px; } .mat img { max-height: 64vh; } }

.lot { display: inline-block; padding: 5px 11px; border: 1px solid var(--terra); color: var(--terra); font: 600 10.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; border-radius: 3px; margin-bottom: 16px; }
.d-artist { font: 600 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.d-title { font: 600 clamp(34px, 4.2vw, 54px)/1.06 var(--serif); padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.panel { background: rgba(29, 28, 24, .82); border: 1px solid var(--line); border-radius: 12px; padding: 26px; margin-bottom: 20px; }
.buy-option + .buy-option { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); }
.buy-label { font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.buy-price { font: 600 40px/1.05 var(--serif); color: var(--gold); margin: 0 0 14px; }
.buy-price small { font: 500 12px var(--sans); color: var(--muted); margin-left: 6px; }
.buy-option .btn { width: 100%; justify-content: space-between; }
.buy-help { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.sold-msg { text-align: center; font-weight: 600; color: var(--text-2); padding: 14px; background: var(--panel-2); border-radius: var(--radius); margin: 0; }
.panel h2 { font: 600 24px var(--serif); margin-bottom: 12px; }
.specs { margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; font-weight: 500; }
.desc { color: var(--text-2); white-space: pre-line; margin: 0; }
.related { margin-top: 80px; }
.related .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .related .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Modales ---------- */
.modal { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 32px; border: 1px solid var(--gold-soft); border-radius: 16px; background: linear-gradient(rgba(43, 41, 36, .9), rgba(43, 41, 36, .9)), #2B2924 url("../img/marca/papel-tapiz.webp?v=2") 0 0 / 634px 254px; color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); overflow: auto; }
.modal::backdrop { background: rgba(8, 7, 5, .72); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-close { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border: 0; background: none; font: 300 28px/1 var(--sans); color: var(--muted); cursor: pointer; }
.modal-close:hover { color: var(--text); }
.modal-title { font: 600 30px/1.15 var(--serif); margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
@media (max-width: 480px) { .modal { padding: 26px 18px; } }

.mini-obra { display: flex; gap: 14px; align-items: center; padding: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 18px; }
.mini-obra img { width: 64px; height: 64px; object-fit: contain; background: #F4EFE4; border-radius: 4px; flex: none; }
.mini-obra p { margin: 2px 0 0; }
.mini-obra .lot { margin: 0 6px 4px 0; padding: 2px 6px; font-size: 9.5px; }
.mini-obra .mini-artist { font-size: 12px; color: var(--muted); }
.mini-obra .mini-title { font: 600 17px/1.25 var(--serif); }
.mini-obra .mini-price { font: 600 15px var(--serif); color: var(--gold); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 16px; background: var(--error-bg); border: 1px solid rgba(240, 138, 128, .4); border-radius: 8px; color: var(--error); font-size: 13.5px; }
.alert svg, .privacy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; flex: none; margin-top: 1px; }

.field { margin-bottom: 14px; }
.field label { display: block; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; color: var(--text-2); }
.field label span { color: var(--error); }
.field input, .phone select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(239, 232, 216, .22); border-radius: 8px; background: rgba(0, 0, 0, .3); font: 400 15px var(--sans); color: var(--text); }
.field input::placeholder { color: rgba(166, 158, 141, .75); }
.field input:focus, .phone select:focus { outline: none; border-color: var(--blue-hover); box-shadow: 0 0 0 3px rgba(42, 92, 168, .35); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(240, 138, 128, .15); }
.field-error { margin: 5px 0 0; color: var(--error); font-size: 12.5px; }
.field-error:empty { display: none; }
.phone { display: flex; gap: 8px; }
.phone select { width: auto; flex: none; padding: 0 8px; }
.phone select option { background: var(--bg-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted); text-align: center; }
#btn-enviar { margin-top: 8px; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.modal-success { width: min(460px, calc(100% - 24px)); padding: 44px 32px 24px; text-align: center; }
.check { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border: 1px solid var(--gold); border-radius: 50%; background: rgba(201, 168, 92, .1); animation: pop .5s var(--ease) .1s both; }
.check svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modal-success p { color: var(--text-2); }
.success-obra { padding: 10px 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.success-obra:empty { display: none; }
.success-mark { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font: 500 11px var(--serif); letter-spacing: .3em; text-transform: uppercase; color: var(--gold) !important; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: rgba(12, 11, 8, .95); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 48px); object-fit: contain; }
.lightbox .modal-close { color: #fff; font-size: 36px; }

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