/* AFSA Diamonds — gramática de Bulgari "Emerald Strata" con la identidad negra y oro de AFSA */
:root {
  --onyx: #0b0a09;
  --coal: #13100d;
  --coal-2: #1c1814;
  --line: rgb(231 207 148 / 0.18);
  --gold: #c9a35a;
  --gold-hi: #ecd49b;
  --gold-deep: #6e4f1d;
  --ivory: #f4ede1;
  --ink: #1a1612;
  --ink-soft: #5e5345;
  --muted: #b3a48b;
  --font-caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", system-ui, sans-serif;
  --font-display: var(--font-sans);
  --color-cta: #d6b56d;
  --color-cta-hover: #e4c684;
  --color-ink: var(--ivory);
  --color-focus: var(--gold-hi);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--onyx);
  color: var(--ivory);
  font: 300 1rem/1.6 var(--font-sans);
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 12px 16px; background: var(--ivory); color: var(--ink); transition: top .2s; }
.skip:focus { top: 12px; }

.eyebrow {
  margin: 0 0 14px;
  font: 500 0.75rem/1.3 var(--font-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow--gold { color: var(--gold); }
.fine { margin: 14px 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- Botones 3D con repisa (método web) ---------- */
.btn {
  --btn-ledge: var(--gold-deep);
  --btn-cast: 110 79 29;
  --btn-depth: 5px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  border: 2px solid var(--btn-ledge); border-radius: 999px;
  background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.22), rgb(255 255 255 / 0) 55%);
  font: 600 0.9375rem/1.2 var(--font-display);
  letter-spacing: 0.02em;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 0.35),
    inset 0 -3px 0 rgb(0 0 0 / 0.16),
    0 var(--btn-depth) 0 var(--btn-ledge),
    0 calc(var(--btn-depth) + 6px) 18px -6px rgb(var(--btn-cast) / 0.6);
  transition: background-color 140ms ease, transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
@media (hover: hover) { .btn:hover { --btn-depth: 7px; transform: translateY(-2px); } }
.btn:active { --btn-depth: 1px; transform: translateY(4px); }
.btn-primary { background-color: var(--color-cta); color: #1a1408; }
@media (hover: hover) { .btn-primary:hover { background-color: var(--color-cta-hover); } }
.btn-ghost {
  min-height: 44px; border: 0; background: transparent; box-shadow: none;
  font-weight: 500; text-decoration: underline; text-underline-offset: 5px; padding-inline: 0.25rem;
}
.btn-ghost:hover, .btn-ghost:active { transform: none; }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.875rem; }

/* ---------- Telón ---------- */
.gate {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 45%, #1d1712 0%, var(--onyx) 70%);
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
.gate.is-done { opacity: 0; visibility: hidden; }
.gate__inner { text-align: center; }
.gate__gem { width: 64px; margin: 0 auto 22px; filter: drop-shadow(0 6px 18px rgb(201 163 90 / 0.35)); }
.gate__word {
  margin: 0; font: 500 clamp(2.4rem, 7vw, 4.2rem)/1 var(--font-caps); letter-spacing: 0.32em; padding-left: 0.32em;
  color: var(--ivory);
}
.gate__word span { display: block; margin-top: 12px; font-size: 0.24em; letter-spacing: 0.9em; padding-left: 0.9em; color: var(--gold); }
.gate__tag { margin: 22px 0 18px; font: italic 400 1.15rem var(--font-serif); color: var(--muted); }
.gate__bar { display: block; width: 64px; height: 1px; margin: 0 auto; background: rgb(244 237 225 / 0.15); overflow: hidden; }
.gate__bar i { display: block; height: 100%; width: 100%; background: var(--gold-hi); transform-origin: left; animation: load 1.1s var(--ease-out) forwards; transform: scaleX(0); }
@keyframes load { to { transform: scaleX(1); } }

/* ---------- Barra superior ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px var(--pad);
  background: linear-gradient(to bottom, rgb(11 10 9 / 0.75), rgb(11 10 9 / 0));
  transition: background 0.3s;
}
.top.is-solid { background: rgb(11 10 9 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__nav { display: flex; gap: 28px; }
.top__nav a { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.top__nav a:hover { color: var(--gold-hi); }
.top__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.top__brand svg { width: 30px; }
.top__brand span { font: 500 1.35rem/1 var(--font-caps); letter-spacing: 0.38em; padding-left: 0.38em; }
.top__wa {
  justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1px solid rgb(236 212 155 / 0.5); border-radius: 999px; text-decoration: none;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgb(11 10 9 / 0.35); backdrop-filter: blur(8px);
}
.top__wa svg { width: 18px; height: 18px; color: var(--gold-hi); }
.top__wa:hover { background: rgb(201 163 90 / 0.18); }

/* ---------- Strata (viaje horizontal) ---------- */
.strata { position: relative; height: 100svh; overflow: hidden; background: var(--onyx); }
.strata__track { display: flex; height: 100%; width: max-content; will-change: transform; }
.panel { position: relative; height: 100%; flex: none; overflow: hidden; }
.panel--rotunda { width: 100vw; }
.panel--macro { width: 78vw; display: flex; align-items: center; background: var(--coal); }
.panel--arches { width: 132vw; }
.panel--diamond { width: 100vw; }
.panel__bg { position: absolute; inset: 0 -8% 0 -8%; }
.panel__bg img { width: 100%; height: 100%; object-fit: cover; }
.panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(11 10 9 / 0.0) 70%, rgb(11 10 9 / 0.35)); }

.card {
  position: absolute; z-index: 3;
  max-width: 440px; padding: clamp(24px, 3vw, 40px);
  background: var(--ivory); color: var(--ink);
}
.card h1, .card h2 { font: 400 clamp(2rem, 3.2vw, 2.9rem)/1.05 var(--font-serif); margin-bottom: 16px; }
.card h1 em, .card h2 em { color: #8a6526; }
.card p { margin: 0 0 12px; color: var(--ink-soft); font-weight: 400; }
.card .eyebrow { color: var(--ink); }
.card .btn-ghost { color: var(--ink); }
.card--hero { left: var(--pad); top: 50%; transform: translateY(-46%); }
.card__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.price-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 18px; padding: 14px 0; border-block: 1px solid rgb(26 22 18 / 0.14);
  text-decoration: none; color: var(--ink);
}
.price-line span { font-size: 0.875rem; }
.price-line strong { font: 500 1.5rem/1 var(--font-serif); white-space: nowrap; }
.price-line small { font: 500 0.7rem var(--font-sans); letter-spacing: 0.1em; }
.price-line:hover strong { color: #8a6526; }

.stage { position: absolute; left: 50%; top: 50%; margin: 0; width: min(30vw, 46vh); transform: translate(-6%, -50%); z-index: 2; }
.stage__piece { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.stage__piece img {
  width: 100%; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  animation: hover-float 6s ease-in-out infinite;
}
@keyframes hover-float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.stage__cue { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: -6%; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.cue__dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 8px rgb(244 237 225 / 0.12); animation: pulse 2.4s ease-out infinite; }
.cue__dot svg { width: 22px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(236 212 155 / 0.45); } 100% { box-shadow: 0 0 0 18px rgb(236 212 155 / 0); } }

.macro { margin: 0; height: 100%; width: 46%; flex: none; overflow: hidden; }
.macro img { width: 100%; height: 100%; object-fit: cover; }
.card--list { position: relative; margin-left: -6%; }
.chain-list { list-style: none; margin: 0; padding: 0; }
.chain-list button {
  display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 16px;
  min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid rgb(26 22 18 / 0.14);
  background: none; color: var(--ink); text-align: left; cursor: pointer;
}
.chain-list button span { font-size: 0.95rem; }
.chain-list button strong { font: 500 1.4rem var(--font-serif); }
.chain-list button strong::after { content: " MXN"; font: 500 0.65rem var(--font-sans); letter-spacing: 0.1em; }
.chain-list button:hover strong { color: #8a6526; }

.card--side { left: 6vw; top: 18%; }
.card--right { left: auto; right: 9vw; top: 22%; }
.card--right .btn { margin-top: 10px; }
.arches { position: absolute; z-index: 2; left: 40vw; bottom: 12%; display: flex; gap: clamp(14px, 2vw, 32px); margin: 0; padding: 0; list-style: none; }
.arch {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.arch img {
  width: clamp(140px, 12.5vw, 220px); aspect-ratio: 3 / 5; object-fit: cover;
  border-radius: 999px 999px 0 0; border: 2px solid var(--gold);
  box-shadow: 0 30px 60px -20px #000, inset 0 0 0 6px rgb(11 10 9 / 0.4);
  transition: transform 0.6s var(--ease-out), border-color 0.3s;
}
.arch span { font: 500 0.75rem var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase; }
.arch:hover img { transform: translateY(-10px); border-color: var(--gold-hi); }
.glass {
  position: absolute; z-index: 3; right: 8vw; bottom: 7%;
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 34px;
  border: 1px solid rgb(244 237 225 / 0.55); background: rgb(244 237 225 / 0.12); backdrop-filter: blur(10px);
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
}
.glass:hover { background: rgb(244 237 225 / 0.22); }
.float-piece { position: absolute; z-index: 2; left: 18vw; top: 50%; margin: 0; width: min(28vw, 50vh); transform: translateY(-50%); }
.float-piece img { mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); }

.strata__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 22px; height: 1px; background: rgb(244 237 225 / 0.18); z-index: 5; }
.strata__progress i { display: block; height: 100%; background: var(--gold-hi); transform-origin: left; transform: scaleX(0); }

/* ---------- Tienda ---------- */
.shop { padding: clamp(80px, 12vw, 140px) var(--pad); background: var(--coal); }
.shop__head { max-width: 760px; margin-bottom: 36px; }
.shop__head h2 { font: 400 clamp(2.2rem, 5vw, 3.8rem)/1.02 var(--font-serif); }
.shop__head h2 em { display: block; color: var(--gold-hi); }
.shop__lede { color: var(--muted); max-width: 52ch; margin: 18px 0 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.chip {
  min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent;
  font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.shop__count { margin: 0 0 24px; font-size: 0.8125rem; color: var(--muted); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.item { display: flex; flex-direction: column; min-width: 0; background: var(--coal-2); border: 1px solid transparent; transition: border-color 0.3s; }
.item:hover { border-color: var(--line); }
.item__media { position: relative; padding: 0; border: 0; background: #000; cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 5; }
.item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.item:hover .item__media img { transform: scale(1.05); }
.item__tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; background: rgb(11 10 9 / 0.7); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; }
.item__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.item__cat { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.item__name { font: 500 1.5rem/1.1 var(--font-serif); }
.item__mat { font-size: 0.875rem; color: var(--muted); }
.item__price { margin-top: auto; padding-top: 10px; font: 500 1.35rem var(--font-serif); }
.item__price small { font: 500 0.65rem var(--font-sans); letter-spacing: 0.1em; color: var(--muted); }
.item__price--ask { font: 400 0.9rem var(--font-sans); color: var(--gold-hi); }
.item__ctas { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.item__ctas .btn-ghost { color: var(--ivory); }

/* ---------- Triple pasarela ---------- */
.runway { position: relative; padding: clamp(70px, 10vw, 120px) 0; background: var(--onyx); overflow: hidden; isolation: isolate; }
.runway__rows {
  display: grid; gap: clamp(10px, 1.4vw, 18px);
  transform: rotate(-3deg) scale(1.06);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.lane { display: flex; width: max-content; animation: lane var(--dur, 60s) linear infinite; will-change: transform; }
.lane--rev { animation-direction: reverse; }
@keyframes lane { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.tile {
  position: relative; flex: none; margin-right: clamp(10px, 1.4vw, 18px);
  width: clamp(150px, 19vw, 280px); aspect-ratio: 4 / 5;
  padding: 0; border: 0; background: #000; overflow: hidden; cursor: pointer;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.9s var(--ease-out), filter 0.6s; filter: saturate(0.85) brightness(0.8); }
.tile::before { /* velo */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgb(11 10 9 / 0.85), rgb(11 10 9 / 0.1) 55%), linear-gradient(135deg, rgb(201 163 90 / 0.25), transparent 60%);
  transition: opacity 0.5s;
}
.tile::after { /* destello de oro que recorre la foto */
  content: ""; position: absolute; inset: -40% -60%; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgb(255 240 200 / 0.28) 50%, transparent 58%);
  transform: translateX(-60%);
  animation: sheen 5.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes sheen { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.tile span {
  position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 12px; text-align: left;
  font: italic 500 1.15rem/1.1 var(--font-serif); color: var(--ivory);
  transform: translateY(6px); opacity: 0.85; transition: transform 0.5s var(--ease-out), opacity 0.5s;
}
.tile span small { display: block; margin-top: 4px; font: 500 0.625rem var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-hi); opacity: 0; transition: opacity 0.4s; }
@media (hover: hover) {
  .tile:hover img { transform: scale(1.1); filter: saturate(1.05) brightness(1); }
  .tile:hover::before { opacity: 0.35; }
  .tile:hover span { transform: translateY(0); opacity: 1; }
  .tile:hover span small { opacity: 1; }
}
.runway__title {
  position: absolute; z-index: 4; inset: 0; display: grid; place-content: center; text-align: center;
  pointer-events: none;
}
.runway__title::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(110vw, 1200px); height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgb(11 10 9 / 0.82), rgb(11 10 9 / 0.45) 60%, transparent);
}
.runway__title span, .runway__title em { position: relative; }
.runway__title span { font: 500 clamp(0.8rem, 1.6vw, 1.1rem) var(--font-caps); letter-spacing: 0.5em; padding-left: 0.5em; text-shadow: 0 2px 20px #000; }
.runway__title em {
  font: italic 500 clamp(3rem, 11vw, 9.5rem)/0.95 var(--font-serif);
  background: linear-gradient(100deg, #f6e3ad 10%, #c99b4a 45%, #fff3cf 55%, #a77a32 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 30px rgb(0 0 0 / 0.9));
  animation: gild 8s linear infinite;
}
@keyframes gild { to { background-position: -200% 0; } }
.runway__note { margin: 36px var(--pad) 0; text-align: center; font-size: 0.8125rem; color: var(--muted); }

/* ---------- Servicios ---------- */
.services { padding: clamp(60px, 9vw, 110px) var(--pad); text-align: center; border-top: 1px solid var(--line); }
.services__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(18px, 3vw, 44px); }
.services__list a { display: inline-block; padding: 8px 0; font: italic 400 clamp(1.7rem, 3.6vw, 2.8rem)/1.2 var(--font-serif); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease-out), color 0.3s; }
.services__list a:hover { color: var(--gold-hi); background-size: 100% 1px; }

/* ---------- Trío final ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); height: min(86svh, 900px); }
.trio__panel { position: relative; display: grid; place-content: center; text-align: center; overflow: hidden; padding: 0; border: 0; background: #000; text-decoration: none; cursor: pointer; }
.trio__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62); transition: transform 1.2s var(--ease-out), filter 0.6s; }
.trio__panel:hover img { transform: scale(1.06); filter: brightness(0.8); }
.trio__title, .trio__sub { position: relative; }
.trio__title { font: 500 clamp(1.6rem, 3vw, 2.6rem)/1.1 var(--font-caps); letter-spacing: 0.22em; padding-left: 0.22em; text-shadow: 0 4px 24px rgb(0 0 0 / 0.6); }
.trio__sub { margin-top: 10px; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi); }

/* ---------- Pie ---------- */
.foot { padding: 64px var(--pad) 110px; background: var(--coal); border-top: 1px solid var(--line); }
.foot__brand { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.foot__brand svg { width: 44px; }
.foot__word { margin: 0; font: 500 1.8rem/1 var(--font-caps); letter-spacing: 0.35em; }
.foot__word span { display: block; margin-top: 6px; font-size: 0.32em; letter-spacing: 0.9em; color: var(--gold); }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.foot__cols p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.foot__cols strong { display: block; margin-bottom: 8px; color: var(--ivory); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.foot__cols a { display: inline-block; padding: 4px 0; text-underline-offset: 4px; }
.foot__legal { margin: 40px 0 0; font-size: 0.75rem; color: var(--muted); }

.wa-fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--color-cta); color: #1a1408; border: 2px solid var(--gold-deep);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 0.4), 0 5px 0 var(--gold-deep), 0 14px 30px -8px rgb(0 0 0 / 0.8);
  transition: transform 0.2s var(--ease-out), opacity 0.3s;
}
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab.is-hidden, .wa-fab.is-away { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* ---------- Ficha ---------- */
.sheet {
  width: min(1000px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0;
  background: var(--ivory); color: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.sheet:not([open]) { display: none; }
.sheet::backdrop { background: rgb(5 4 3 / 0.82); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in 0.5s var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.sheet__media { background: #000; min-height: 0; }
.sheet__media img { width: 100%; height: 100%; max-height: calc(100svh - 32px); object-fit: cover; }
.sheet__body { position: relative; padding: clamp(28px, 4vw, 48px); overflow-y: auto; }
.sheet__body h2 { font: 400 clamp(2rem, 3.4vw, 2.8rem)/1.05 var(--font-serif); margin-bottom: 10px; padding-right: 40px; }
.sheet__body p { color: var(--ink-soft); font-weight: 400; }
.sheet__price { margin: 0 0 14px; font: 500 1.7rem var(--font-serif) !important; color: var(--ink) !important; }
.sheet__price small { font: 500 0.7rem var(--font-sans); letter-spacing: 0.1em; }
.sheet__close { position: absolute; right: 14px; top: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.sheet__specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 24px; padding: 16px 0; border-block: 1px solid rgb(26 22 18 / 0.14); font-size: 0.9rem; }
.sheet__specs dt { color: var(--ink-soft); }
.sheet__specs dd { margin: 0; font-weight: 500; }
.sheet__nav { display: flex; justify-content: space-between; margin-top: 18px; }
.sheet__nav .btn-ghost { color: var(--ink); }
.sheet .eyebrow { color: #8a6526; }

/* ---------- Móvil y tableta: sin viaje horizontal, paneles apilados ---------- */
@media (max-width: 899px) {
  .top { grid-template-columns: auto 1fr auto; padding-block: 10px; }
  .top__nav { display: none; }
  .top__brand { grid-column: 1; }
  .top__brand span { font-size: 1.1rem; }
  .top__wa { grid-column: 3; padding: 0 14px; }
  .top__wa span { display: none; }

  .strata { height: auto; overflow: visible; }
  .strata__track { flex-direction: column; width: 100%; }
  .strata__progress { display: none; }
  .panel { width: 100% !important; height: auto; overflow: hidden; }
  .panel::after { display: none; }
  .panel__bg { inset: 0; }
  .panel__bg img { height: 100%; }

  .panel--rotunda { display: flex; flex-direction: column; padding-top: 64px; }
  .panel--rotunda .panel__bg { bottom: auto; height: 74svh; }
  .stage { position: relative; left: auto; top: auto; transform: none; width: min(78vw, 46svh); margin: 4svh auto 0; }
  .stage__cue { display: none; }
  .card { position: relative; left: auto !important; right: auto !important; top: auto !important; transform: none !important; max-width: none; margin: 0 16px; }
  .card--hero { margin-top: -6svh; }
  .card h1, .card h2 { font-size: clamp(2rem, 9vw, 2.6rem); }

  .panel--macro { flex-direction: column; padding: 48px 0 0; }
  .macro { width: 100%; height: 62svh; }
  .card--list { margin: -48px 16px 0; }

  .panel--arches, .panel--diamond { padding: 56px 0; }
  .panel--arches .card, .panel--diamond .card { margin-bottom: 28px; }
  .arches { position: relative; left: auto; bottom: auto; padding: 0 16px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .arches li { scroll-snap-align: start; }
  .arch img { width: 42vw; }
  .glass { position: relative; right: auto; bottom: auto; margin: 28px 16px 0; display: flex; justify-content: center; }
  .float-piece { position: relative; left: auto; top: auto; transform: none; width: 80vw; margin: 0 auto -10px; }

  .trio { grid-template-columns: 1fr; height: auto; }
  .trio__panel { height: 62svh; }
  .sheet { grid-template-columns: 1fr; width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; margin: 0; }
  .sheet__media img { max-height: 46svh; }
  .tile { width: 40vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .lane { animation: none; }
  .runway__rows { transform: none; overflow-x: auto; }
  .gate { display: none; }
}
