/* The Lore Forge — tienda. Estetica: arena gotica de noche, piedra, oro viejo, brasas, pergamino. */

:root {
  --ink: #0b0a12;
  --night: #13111c;
  --night-2: #1b1826;
  --stone: #2b2633;
  --stone-2: #3d3646;
  --gold: #e9c87e;
  --gold-hi: #fff0c2;
  --gold-lo: #a9792f;
  --ember: #ff8a3d;
  --ember-hi: #ffc46b;
  --blood: #7d1f1a;
  --blood-hi: #a8342a;
  --parch: #eadcbc;
  --parch-ink: #3a2a18;
  --text: #efe7d6;
  --muted: #a99f8f;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel", "Times New Roman", serif;
  --deco: "Cinzel Decorative", "Cinzel", serif;
  --gutter: clamp(16px, 4vw, 40px);
  --noise: url("assets/noise.png");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(18px, 1.15vw, 20px);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* grano de pergamino sobre todo el sitio */
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background-image: var(--noise); opacity: .07; mix-blend-mode: overlay;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { width: min(820px, 100%); }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Tipografia y piezas comunes ---------- */
.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 0 10px; font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow.left { justify-content: flex-start; }
.eyebrow.dark { color: var(--blood); }
.eyebrow .rule {
  width: 42px; height: 1px; background: linear-gradient(90deg, transparent, currentColor);
  position: relative;
}
.eyebrow .rule:last-child { transform: scaleX(-1); }
.eyebrow .rule::after {
  content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px;
  background: currentColor; transform: rotate(45deg);
}
.section-title {
  margin: 0; font-family: var(--deco); font-weight: 700; line-height: 1.08;
  font-size: clamp(34px, 5.4vw, 68px); text-align: center;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.6)) drop-shadow(0 0 24px rgba(233,200,126,.18));
}
.section-head { text-align: center; margin-bottom: clamp(36px, 6vw, 64px); }
.section-sub { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 1.05em; font-style: italic; }

/* ---------- Botones ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 28px; border: 0; border-radius: 4px; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-sm { --h: 42px; padding: 0 18px; font-size: 12px; }
.btn-gold {
  color: #2a1a06;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 40%, var(--gold-lo));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.25), 0 6px 24px rgba(233,200,126,.25);
}
.btn-gold::after, .btn-seal::after { /* brillo que cruza */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 34px rgba(233,200,126,.4); }
.btn-ghost {
  color: var(--gold); background: rgba(11,10,18,.35);
  box-shadow: inset 0 0 0 1px rgba(233,200,126,.55);
}
.btn-ghost:hover { background: rgba(233,200,126,.1); transform: translateY(-2px); }
.btn-seal {
  color: var(--gold-hi);
  background: radial-gradient(circle at 35% 30%, var(--blood-hi), var(--blood) 60%, #4a100d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 -3px 6px rgba(0,0,0,.4), 0 8px 26px rgba(125,31,26,.45);
}
.btn-seal:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn[aria-disabled="true"] { filter: grayscale(.7) brightness(.8); cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { transform: none; }

/* ---------- Capas globales ---------- */
#embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%; pointer-events: none; z-index: 39; opacity: 0;
  background: radial-gradient(circle, rgba(255,160,80,.16), transparent 65%);
  mix-blend-mode: screen; transition: opacity .4s;
}
.m-full .cursor-glow { opacity: 1; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); padding-top: max(14px, env(safe-area-inset-top));
  transition: background .4s, box-shadow .4s, transform .4s;
}
.topbar.solid {
  background: rgba(11,10,18,.78); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(233,200,126,.18);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--gold-hi); }
.brand img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(233,200,126,.6); }
.topnav { display: flex; gap: 30px; }
.topnav a { font-family: var(--display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--text); opacity: .8; position: relative; }
.topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.topnav a:hover { opacity: 1; }
.topnav a:hover::after { transform: scaleX(1); }
@media (max-width: 820px) { .topnav { display: none; } .brand span { font-size: 12px; } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 96px 0 56px; }
.hero-bg { position: absolute; inset: -6%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero::after { /* vineta */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at 60% 45%, transparent 25%, rgba(11,10,18,.88) 85%), linear-gradient(180deg, transparent 75%, var(--ink));
}
.fog { position: absolute; left: -50%; width: 200%; height: 40%; bottom: 0; z-index: 2; pointer-events: none; opacity: .5; }
.fog-1 { background: radial-gradient(ellipse at 30% 60%, rgba(180,170,220,.18), transparent 60%), radial-gradient(ellipse at 75% 70%, rgba(180,170,220,.12), transparent 55%); animation: drift 28s linear infinite; }
.fog-2 { bottom: -8%; background: radial-gradient(ellipse at 60% 60%, rgba(120,110,170,.2), transparent 60%); animation: drift 40s linear infinite reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(25%); } }

.hero-inner { position: relative; z-index: 5; display: grid; grid-template-columns: minmax(0, 1.05fr) auto; gap: clamp(30px, 6vw, 90px); align-items: center; }
.hero-copy { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); }
.hero-title {
  margin: 6px 0 0; font-family: var(--deco); font-weight: 900; line-height: 1.02; letter-spacing: .01em;
  font-size: clamp(40px, 5.6vw, 84px);
  background: linear-gradient(180deg, var(--gold-hi) 10%, var(--gold) 55%, var(--gold-lo) 100%);
  background-size: 100% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0,0,0,.65)) drop-shadow(0 0 36px rgba(255,170,80,.22));
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 50% { background-position: 0 100%; } }
.hero-sub { margin: 18px 0 28px; max-width: 540px; font-size: clamp(19px, 1.5vw, 23px); color: #e7dcc6; text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-cta .btn { --h: 60px; font-size: 15px; padding: 0 34px; }
.micro { margin: 0; font-size: 15px; color: var(--muted); }
.micro b { color: var(--gold); font-weight: 600; }
.text-link { color: var(--gold); font-family: var(--display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(233,200,126,.35); padding-bottom: 2px; }
.text-link:hover { border-color: var(--gold); }

.hero-arch {
  position: relative; height: min(76svh, 760px); aspect-ratio: 9 / 16;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); will-change: transform;
}
.arch-frame {
  position: absolute; inset: 0; border-radius: 999px 999px 8px 8px; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(233,200,126,.75), 0 0 0 9px #1d1a24, 0 0 0 10px rgba(233,200,126,.3), 0 30px 120px rgba(0,0,0,.8), 0 0 140px rgba(140,120,255,.18);
}
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease-out; }
.hero-slides img.on { opacity: 1; transform: scale(1); }
.hero-lock { top: 14%; z-index: 2; }
.hero-lock .lock-time { font-size: clamp(54px, 6vw, 82px); }
.arch-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), transparent 30%, transparent 75%, rgba(11,10,18,.55)); }
.arch-stone { position: absolute; inset: -22px; border-radius: 999px 999px 12px 12px; z-index: -1;
  background: linear-gradient(160deg, #4a4252, #241f2b 50%, #3a3342); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 0 30px rgba(0,0,0,.6);
}
.arch-stone::before { content: ""; position: absolute; left: 50%; top: -14px; width: 46px; height: 54px; transform: translateX(-50%);
  background: linear-gradient(180deg, #5a5162, #2c2733); clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%); box-shadow: inset 0 0 0 1px rgba(233,200,126,.4); }
.arch-stone::after { content: ""; position: absolute; left: 50%; top: 2px; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.arch-caption { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; margin: 0; text-align: center; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 2px 8px #000; }

@media (max-width: 860px) {
  .hero { padding: 76px 0 28px; align-items: flex-start; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; justify-items: center; text-align: center; }
  .hero-arch { order: -1; height: min(46svh, 118vw); }
  .arch-stone { inset: -12px; }
  .arch-stone::before { top: -10px; width: 34px; height: 40px; }
  .hero-lock .lock-time { font-size: clamp(40px, 12vw, 56px); }
  .hero-lock .lock-date { font-size: 12px; }
  .arch-caption { font-size: 10px; bottom: 12px; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-title { font-size: clamp(32px, 9vw, 46px); }
  .hero-sub { margin: 12px auto 18px; font-size: 17px; }
  .hero-cta { align-items: center; gap: 10px; width: 100%; }
  .hero-cta .btn { width: 100%; max-width: 380px; --h: 56px; }
  .micro { font-size: 14px; }
  .hide-sm { display: none; }
}

/* ---------- PRUEBA ---------- */
.proof { position: relative; z-index: 5; border-block: 1px solid rgba(233,200,126,.16); background: linear-gradient(180deg, rgba(27,24,38,.85), rgba(19,17,28,.85)); }
.proof-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 22px; }
.proof-list li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 14px; border-left: 1px solid rgba(233,200,126,.14); }
.proof-list li:first-child { border-left: 0; }
.proof-list b { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); color: var(--gold-hi); }
.proof-list span { font-size: 15px; color: var(--muted); line-height: 1.3; }
@media (max-width: 760px) {
  .proof-list { grid-template-columns: 1fr 1fr; row-gap: 14px; padding-block: 18px; }
  .proof-list li:nth-child(3) { border-left: 0; }
  .proof-list span { font-size: 14px; }
}

/* ---------- POR QUE ---------- */
.why { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.why .section-title { font-size: clamp(30px, 4.2vw, 54px); max-width: 900px; margin-inline: auto; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.why-card { padding: 18px 18px 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--night-2), var(--night)); box-shadow: inset 0 0 0 1px rgba(233,200,126,.2), 0 20px 50px rgba(0,0,0,.45); }
.why-img { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.why-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s ease; }
.why-card:hover .why-img img { transform: scale(1.06); }
.lockdemo img { object-position: 50% 0%; }
.lock-ui.mini { top: 12%; }
.lock-ui.mini .lock-time { font-size: 46px; }
.why-card h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--gold-hi); letter-spacing: .03em; }
.why-card p { margin: 0; color: #d6ccba; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ---------- RONDAS ---------- */
.rounds { --rp: 0; position: relative; height: 560svh; background: linear-gradient(180deg, var(--ink), var(--night) 20%, var(--night) 80%, var(--ink)); }
.rounds-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 80px var(--gutter) 30px; overflow: hidden; }
.rounds-head { text-align: center; margin-bottom: 26px; }
.rounds-head .section-title { font-size: clamp(30px, 4.4vw, 56px); }
.rounds-stage { display: grid; grid-template-columns: auto minmax(0, 420px); gap: clamp(28px, 5vw, 80px); align-items: center; justify-content: center; }
.rounds-frame { position: relative; height: min(66svh, 720px); aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(233,200,126,.6), 0 0 0 7px #1d1a24, 0 0 0 8px rgba(233,200,126,.25), 0 30px 100px rgba(0,0,0,.7); }
.rounds-images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.14); transition: opacity .7s ease, transform 1.4s cubic-bezier(.2,.7,.2,1); }
.rounds-images img.on { opacity: 1; transform: scale(1); }
.rounds-images::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 25%, transparent 70%, rgba(0,0,0,.5)); }
.frame-corners i { position: absolute; width: 26px; height: 26px; border: 2px solid var(--gold); z-index: 2; }
.frame-corners i:nth-child(1) { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.frame-corners i:nth-child(2) { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.frame-corners i:nth-child(3) { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.frame-corners i:nth-child(4) { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.round-label { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--ember); font-size: 14px; }
.round-name { margin: 6px 0 8px; font-family: var(--deco); font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; color: var(--gold-hi); text-shadow: 0 0 30px rgba(233,200,126,.25); }
.round-line { margin: 0 0 22px; font-size: 1.15em; font-style: italic; color: #d9cfbd; min-height: 2.6em; }
.round-swap { animation: swapIn .6s ease both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
.danger { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-family: var(--display); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.danger-bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(233,200,126,.25); overflow: hidden; }
.danger-bar i { display: block; height: 100%; width: calc(var(--rp) * 100%); background: linear-gradient(90deg, #e8c47a, var(--ember), #ff3d2e); box-shadow: 0 0 18px var(--ember); transition: width .2s linear; }
.round-dots { display: flex; gap: 10px; padding: 0; margin: 0 0 26px; list-style: none; }
.round-dots li { width: 10px; height: 10px; transform: rotate(45deg); background: rgba(233,200,126,.2); box-shadow: inset 0 0 0 1px rgba(233,200,126,.5); transition: background .3s, box-shadow .3s; }
.round-dots li.on { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.round-dots li.final.on { background: var(--ember); box-shadow: 0 0 14px var(--ember); }
.rounds-static { display: none; }
@media (max-width: 760px) {
  .rounds-sticky { padding-top: 70px; justify-content: flex-start; }
  .rounds-head { margin-bottom: 12px; }
  .rounds-stage { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
  .rounds-frame { height: 52svh; }
  .rounds-info { text-align: center; width: 100%; max-width: 420px; }
  .round-line { margin-bottom: 12px; min-height: 0; }
  .round-dots { justify-content: center; margin-bottom: 14px; }
  .danger { margin-bottom: 12px; }
  .rounds-info .btn { display: none; }
}

/* ---------- OFERTA ---------- */
.offer { position: relative; padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 8vw, 110px); background: radial-gradient(ellipse at 50% 0%, rgba(255,138,61,.1), transparent 60%), var(--ink); }
.offers { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(16px, 2.2vw, 28px); align-items: center; }
.relic {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--night-2), var(--night));
  box-shadow: inset 0 0 0 1px rgba(233,200,126,.22), 0 20px 60px rgba(0,0,0,.5);
  padding: 24px 22px 24px; transform-style: preserve-3d; transition: transform .35s ease, box-shadow .35s ease;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.relic::before { content: ""; position: absolute; inset: 7px; border-radius: calc(var(--radius) - 5px); pointer-events: none; box-shadow: inset 0 0 0 1px rgba(233,200,126,.12); }
.relic:hover { box-shadow: inset 0 0 0 1px rgba(233,200,126,.5), 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(255,138,61,.12); }
.relic.featured {
  padding: 34px 28px 30px;
  background: radial-gradient(ellipse at 50% 0%, rgba(233,200,126,.14), transparent 55%), linear-gradient(180deg, #221d2e, var(--night));
  box-shadow: inset 0 0 0 1px rgba(233,200,126,.75), 0 0 0 1px rgba(0,0,0,.6), 0 30px 90px rgba(0,0,0,.6), 0 0 90px rgba(233,200,126,.16);
}
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) translateZ(40px); z-index: 4; white-space: nowrap; padding: 8px 20px; border-radius: 3px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); background: linear-gradient(180deg, var(--blood-hi), var(--blood)); box-shadow: 0 6px 18px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.2); }
.relic-phones { position: relative; display: flex; justify-content: center; height: 230px; margin-bottom: 20px; transform: translateZ(30px); }
.relic-phones .phone { width: 122px; position: absolute; top: 0; }
.featured .relic-phones { height: 280px; }
.featured .relic-phones .phone { width: 148px; }
.relic-phones .phone:nth-child(1) { z-index: 3; }
.relic-phones .phone:nth-child(2) { transform: translateX(-62%) rotate(-9deg) scale(.88); z-index: 2; filter: brightness(.7); }
.relic-phones .phone:nth-child(3) { transform: translateX(62%) rotate(9deg) scale(.88); z-index: 2; filter: brightness(.7); }
.relic h3 { margin: 0; text-align: center; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .04em; color: var(--gold-hi); }
.featured h3 { font-family: var(--deco); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; }
.relic .tag { margin: 4px 0 14px; text-align: center; color: var(--muted); font-style: italic; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 4px; font-family: var(--display); }
.price-row .now { font-weight: 700; font-size: 40px; color: var(--gold-hi); line-height: 1; }
.featured .price-row .now { font-size: 56px; }
.price-row s { font-size: 20px; color: var(--muted); }
.per { margin: 0 0 16px; text-align: center; font-size: 15px; color: var(--gold); }
.relic ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 16px; color: #d6ccba; }
.relic li { position: relative; padding-left: 22px; }
.relic li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 8px rgba(233,200,126,.6); }
.relic li.x { color: #7d7466; }
.relic li.x::before { background: transparent; box-shadow: inset 0 0 0 1px #7d7466; }
.relic-actions { margin-top: auto; display: grid; gap: 10px; }
.relic-actions .btn { width: 100%; }
.featured .relic-actions .btn-gold { --h: 60px; font-size: 15px; }
.offer-foot { margin: 34px auto 0; text-align: center; font-size: 15px; color: var(--muted); max-width: 720px; }
@media (max-width: 960px) {
  .offers { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 26px; }
  .relic.featured { order: -1; }
}

/* Telefono (tarjetas, modal y lightbox) */
.phone { position: relative; width: 150px; aspect-ratio: 9 / 16; border-radius: 22px; padding: 6px; background: linear-gradient(160deg, #3b3542, #15121b); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 18px 40px rgba(0,0,0,.6); }
.phone::after { content: ""; position: absolute; top: 12px; left: 50%; width: 34%; height: 9px; transform: translateX(-50%); border-radius: 10px; background: #08070b; z-index: 3; }
.phone.big { width: min(300px, 70vw); border-radius: 36px; padding: 9px; }
.phone.big::after { top: 20px; height: 18px; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 17px; overflow: hidden; background: #000; }
.phone.big .phone-screen { border-radius: 28px; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.phone-screen img.on { opacity: 1; }
#cmImg { opacity: 1; }
.lock-ui { position: absolute; top: 11%; left: 0; right: 0; text-align: center; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); font-family: -apple-system, "SF Pro Display", "Segoe UI", Roboto, sans-serif; }
.lock-date { display: block; font-size: 15px; font-weight: 500; opacity: .9; }
.lock-time { display: block; font-size: clamp(56px, 16vw, 78px); font-weight: 600; line-height: 1; letter-spacing: -.02em; }

/* ---------- BESTIARIO ---------- */
.bestiary { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--ink), var(--night) 50%, var(--ink)); overflow: hidden; }
.marquee { position: relative; overflow: hidden; padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 80s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 95s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.beast {
  position: relative; flex: none; width: clamp(130px, 13vw, 180px); aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 0; padding: 0; background: #000; box-shadow: 0 0 0 1px rgba(233,200,126,.3), 0 12px 30px rgba(0,0,0,.5);
  transition: transform .35s ease, box-shadow .35s ease;
}
.beast img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.beast span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 8px 10px; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .06em; color: var(--gold-hi); background: linear-gradient(transparent, rgba(0,0,0,.85)); text-align: center; }
.beast:hover, .beast:focus-visible { transform: translateY(-8px); box-shadow: 0 0 0 1px var(--gold), 0 20px 40px rgba(0,0,0,.6), 0 0 30px rgba(233,200,126,.2); outline: none; }
.beast:hover img { transform: scale(1.08); }

/* ---------- REGALO (pergamino) ---------- */
.gift { padding: clamp(60px, 8vw, 120px) 0; }
.scroll-parchment { position: relative; max-width: 860px; margin: 0 auto; }
.rod { height: 26px; border-radius: 13px; margin: 0 -18px; position: relative; z-index: 2;
  background: linear-gradient(180deg, #8a5a2b, #5b3816 45%, #3a220c); box-shadow: 0 6px 16px rgba(0,0,0,.55), inset 0 2px 0 rgba(255,220,170,.35); }
.rod::before, .rod::after { content: ""; position: absolute; top: -5px; width: 22px; height: 36px; border-radius: 6px; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.rod::before { left: -14px; } .rod::after { right: -14px; }
.parchment-body {
  position: relative; margin: -6px 0; padding: clamp(40px, 6vw, 70px) clamp(22px, 6vw, 70px); text-align: center; color: var(--parch-ink);
  background: radial-gradient(ellipse at 50% 40%, #f6ecd4, var(--parch) 55%, #cdb68a 100%);
  box-shadow: inset 0 0 70px rgba(120,80,30,.45), inset 0 0 0 1px rgba(90,60,20,.25);
  isolation: isolate;
  clip-path: inset(50% 0 50% 0); transition: clip-path 1.4s cubic-bezier(.6,0,.2,1);
}
.parchment-body::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .18; mix-blend-mode: multiply; }
.scroll-parchment.in .parchment-body { clip-path: inset(0 0 0 0); }
.parchment-body h2 { margin: 6px 0 10px; font-family: var(--deco); font-weight: 900; font-size: clamp(32px, 4.6vw, 56px); color: #4a2a10; line-height: 1.05; }
.parchment-body p { margin: 0 auto 26px; max-width: 520px; font-size: 1.1em; }
.gift-imgs { display: flex; justify-content: center; gap: clamp(10px, 2vw, 22px); margin-bottom: 30px; }
.gift-imgs img { width: clamp(84px, 16vw, 150px); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 3px #f6ecd2, 0 0 0 4px rgba(74,42,16,.5), 0 12px 24px rgba(60,30,0,.35); }
.gift-imgs img:nth-child(1) { transform: rotate(-6deg) translateY(8px); }
.gift-imgs img:nth-child(3) { transform: rotate(6deg) translateY(8px); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(70px, 9vw, 130px) 0; }
.faq details { border-bottom: 1px solid rgba(233,200,126,.18); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(16px, 1.4vw, 19px); letter-spacing: .04em; color: var(--gold-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: #d6ccba; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(233,200,126,.15); background: #08070c; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer nav a { text-decoration: none; color: var(--muted); font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.footer nav a:hover { color: var(--gold); }
.fine { margin-top: 40px; font-size: 14px; color: #776e62; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div { grid-column: 1 / -1; } }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,4,9,.82); backdrop-filter: blur(10px); animation: fade .3s ease; }
.modal-panel {
  position: relative; width: min(960px, 100%); max-height: calc(100svh - 32px); overflow: auto; border-radius: 18px;
  padding: clamp(22px, 4vw, 44px);
  background: linear-gradient(180deg, var(--night-2), var(--night));
  box-shadow: inset 0 0 0 1px rgba(233,200,126,.4), 0 40px 120px rgba(0,0,0,.8);
  animation: rise .45s cubic-bezier(.2,.8,.2,1);
}
.modal-panel.slim { width: min(720px, 100%); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.modal-close { position: absolute; top: 10px; right: 14px; z-index: 5; width: 44px; height: 44px; border: 0; background: none; color: var(--gold); font-size: 34px; line-height: 1; cursor: pointer; }
.pm-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 50px); align-items: start; }
.pm-phone .phone { width: min(260px, 60vw); border-radius: 32px; padding: 8px; }
.pm-phone .phone-screen { border-radius: 25px; }
.pm-info h2 { margin: 0; font-family: var(--deco); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; color: var(--gold-hi); }
.pm-tagline { margin: 8px 0 22px; color: var(--muted); font-style: italic; font-size: 1.1em; }
.pm-buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.pm-price { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--gold-hi); }
.pm-price small { display: block; font-size: 12px; letter-spacing: .14em; color: var(--muted); font-weight: 400; text-transform: uppercase; }
.pm-specs { padding: 0; margin: 0 0 24px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; color: #d6ccba; font-size: .95em; }
.pm-specs li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; transform: rotate(45deg) translateY(-2px); background: var(--gold); }
.pm-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; }
.pm-thumbs button { padding: 0; border: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 9 / 16; cursor: pointer; background: #000; box-shadow: 0 0 0 1px rgba(233,200,126,.25); opacity: .65; transition: opacity .2s, box-shadow .2s; }
.pm-thumbs button.on, .pm-thumbs button:hover { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lock-wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; }
.cm-info h2 { margin: 0 0 8px; font-family: var(--deco); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; color: var(--gold-hi); }
.cm-info p { margin: 0 0 24px; font-style: italic; color: #d9cfbd; font-size: 1.15em; }
.cm-in { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cm-in .label { font-family: var(--display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) {
  .pm-grid, .lock-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pm-buy, .cm-in { justify-content: center; align-items: center; }
  .pm-specs { text-align: left; }
  .eyebrow.left { justify-content: center; }
  .pm-phone .phone { width: min(200px, 52vw); }
  .phone.big { width: min(240px, 64vw); }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Modo reducido: todo estatico y legible ---------- */
.m-reduced .hero { height: 100svh; }
.m-reduced .hero-arch, .m-reduced .hero-copy { transform: none; opacity: 1; }
.m-reduced .rounds { height: auto; padding: 100px 0; }
.m-reduced .rounds-sticky { display: none; }
.m-reduced .rounds-static { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; list-style: none; padding: 0 var(--gutter); margin: 0 auto; max-width: 1200px; }
.rounds-static li { text-align: center; font-family: var(--display); color: var(--gold-hi); font-size: 14px; }
.rounds-static img { border-radius: 8px; margin-bottom: 8px; aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.m-reduced .reveal { opacity: 1; transform: none; transition: none; }
.m-reduced .parchment-body { clip-path: none; transition: none; }
.m-reduced .marquee-track { animation: none; }
.m-reduced .marquee { overflow-x: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* Ajustes finos */
.cm-in .btn { white-space: nowrap; }
@media (max-width: 700px) {
  .rod { margin: 0 4px; }
  .rod::before { left: -6px; } .rod::after { right: -6px; }
}

/* ---------- Rondas: nota de venta ---------- */
.rounds-note { margin: 0; font-family: var(--display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ---------- CTA bajo el bestiario ---------- */
.center { text-align: center; }
#bestiaryCta { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* ---------- Garantia ---------- */
.guarantee { padding: clamp(40px, 6vw, 80px) 0; }
.oath { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: linear-gradient(180deg, var(--night-2), var(--night)); box-shadow: inset 0 0 0 1px rgba(233,200,126,.3); }
.oath h2 { margin: 0 0 6px; font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); color: var(--gold-hi); letter-spacing: .04em; }
.oath p { margin: 0; color: #d6ccba; }
.oath-seal { flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; transform: rotate(-10deg);
  font-family: var(--deco); font-weight: 900; font-size: 26px; color: var(--gold-hi);
  background: radial-gradient(circle at 35% 30%, var(--blood-hi), var(--blood) 60%, #4a100d);
  box-shadow: inset 0 2px 2px rgba(255,255,255,.25), inset 0 -5px 10px rgba(0,0,0,.45), 0 8px 22px rgba(0,0,0,.55); position: relative; }
.oath-seal::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px dashed rgba(255,230,180,.5); }
@media (max-width: 600px) { .oath { flex-direction: column; text-align: center; } }

/* ---------- Cierre ---------- */
.closing { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; text-align: center; }
.closing-bg { position: absolute; inset: 0; }
.closing-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: brightness(.38) saturate(1.1); }
.closing-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), transparent 30%, transparent 70%, #08070c); }
.closing-inner { position: relative; z-index: 2; }
.closing .section-sub { color: #e2d8c4; margin-bottom: 30px; }
#finalBuy { display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* ---------- Upsell del modal ---------- */
.pm-upsell { margin: 18px 0 0; font-size: 16px; color: var(--muted); }
.pm-upsell a { color: var(--gold); }

/* ---------- Barra de compra fija (celular) ---------- */
.buybar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55;
  display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px;
  background: rgba(19,17,28,.92); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(233,200,126,.45), 0 12px 40px rgba(0,0,0,.6);
  transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.buybar.show { transform: none; }
.buybar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.buybar-info b { font-family: var(--display); font-size: 14px; color: var(--gold-hi); letter-spacing: .04em; }
.buybar-info span { font-size: 14px; color: var(--muted); }
.buybar-info s { color: #7d7466; }
.buybar .btn { --h: 46px; padding: 0 18px; font-size: 12px; white-space: nowrap; }
@media (max-width: 860px) { .buybar { display: flex; } .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }
.pm-price s { font-size: 20px; color: var(--muted); font-weight: 400; margin-right: 6px; }
.relic-actions .text-link { justify-self: center; }

/* Ronda 2 de ajustes (2026-10-20) */
.hero-title, .section-title, .round-name, .relic h3, .pm-info h2, .cm-info h2, .parchment-body h2, .oath-seal { font-variant-ligatures: none; font-feature-settings: "liga" 0, "dlig" 0, "calt" 0, "clig" 0, "kern" 0; font-kerning: none; letter-spacing: .02em; }
@media (min-width: 861px) { .hero-title { font-size: clamp(40px, 4.4vw, 66px); } .hero-copy { max-width: 640px; } }
.offer { padding-bottom: clamp(40px, 5vw, 70px); }
.offer .section-title { font-size: clamp(30px, 4.4vw, 58px); }
.bestiary { padding-top: clamp(50px, 6vw, 90px); }
@media (max-width: 960px) {
  .relic-phones .phone:nth-child(2) { transform: translateX(-46%) rotate(-8deg) scale(.86); }
  .relic-phones .phone:nth-child(3) { transform: translateX(46%) rotate(8deg) scale(.86); }
  .featured .relic-phones { height: 250px; }
  .featured .relic-phones .phone { width: 132px; }
}

/* Proteccion basica de las previews: sin arrastrar, sin seleccionar, sin menu de mantener apretado (iOS) */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* ---------- Rendimiento (2026-10-20) ----------
   Las animaciones continuas se pausan cuando su seccion no se ve (clases puestas por IntersectionObserver en app.js).
   Mismo aspecto en pantalla; la CPU no trabaja en lo que no se ve. */
.hero.is-off .hero-title, .hero.is-off .fog { animation-play-state: paused; }
.marquee.is-off .marquee-track { animation-play-state: paused; }
.proof, .why, .rounds, .offer, .bestiary, .guarantee, .gift, .faq, .closing, .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.rounds { content-visibility: visible; }
.hero-title { will-change: background-position; }

/* =====================================================================
   MOVIL v3 (2026-10-20): auditoria en 360x740, 375x667, 390x844 y 430x932.
   Objetivo: CTA arriba del pliegue en todos los tamanos, sin superposiciones,
   botones de 44px, oferta compacta con el bundle dominante, modales con el boton arriba.
   ===================================================================== */

/* Links de texto: area tactil de 44px sin cambiar el aspecto (subrayado en vez de borde) */
.text-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; padding: 0 2px;
  text-decoration: underline; text-decoration-color: rgba(233,200,126,.4); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-color: var(--gold); }

@media (max-width: 860px) {
  /* --- Portada: todo el argumento + boton visibles sin scrollear --- */
  .hero { padding: 66px 0 22px; min-height: auto; }
  .hero-inner { gap: 20px; }
  .hero-arch { height: clamp(250px, 40svh, 360px); }
  .arch-caption { font-size: 12px; letter-spacing: .22em; bottom: 13%; }
  .hero-copy .eyebrow { font-size: 12px; letter-spacing: .24em; gap: 10px; margin-bottom: 6px; }
  .hero-copy .eyebrow .rule { width: 26px; }
  .hero-title { font-size: clamp(28px, 8.2vw, 40px); line-height: 1.04; }
  .hero-sub { margin: 10px auto 16px; font-size: 16.5px; line-height: 1.45; }
  .hero-cta { gap: 6px; }
  .micro { font-size: 13.5px; }

  /* --- Barra fija: con la barra visible, el "Get it" de arriba sobra --- */
  .topbar .btn { transition: opacity .3s; }
  .bar-on .topbar .btn { opacity: 0; pointer-events: none; }

  /* --- Por que: tarjetas mas cortas --- */
  .why { padding-top: 72px; }
  .why-img { aspect-ratio: 16 / 10; margin-bottom: 14px; }
  .why-card { padding: 14px 14px 20px; }
  .why-card h3 { font-size: 19px; }
  .why-card p { font-size: 17px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .hero-sub { display: none; }
  .hero-arch { height: clamp(230px, 38svh, 300px); }
}

/* --- Rondas en celular: todo dentro de la pantalla, sin barra encima, recorrido mas corto --- */
@media (max-width: 760px) {
  .rounds { height: 420svh; }
  .rounds-sticky { padding: 62px var(--gutter) 14px; justify-content: flex-start; }
  .rounds-head { margin-bottom: 8px; }
  .rounds-head .eyebrow { font-size: 11px; margin-bottom: 2px; }
  .rounds-head .section-title { font-size: clamp(24px, 7vw, 32px); }
  .rounds-frame { height: min(50svh, calc(100svh - 330px)); min-height: 220px; }
  .round-label { font-size: 12px; }
  .round-name { font-size: clamp(24px, 7vw, 32px); margin: 2px 0 4px; }
  .round-line { font-size: 16px; margin-bottom: 8px; }
  .danger { margin-bottom: 8px; font-size: 11px; }
  .round-dots { margin-bottom: 8px; }
  .rounds-note { font-size: 11px; }
}

/* --- Oferta en celular: el bundle domina, los packs sueltos como tarjetas compactas --- */
@media (max-width: 960px) {
  .relic:not(.featured) { display: grid; grid-template-columns: 96px 1fr; gap: 6px 16px; align-items: center; padding: 16px; text-align: left; }
  .relic:not(.featured) .relic-phones { grid-row: 1 / span 4; height: auto; margin: 0; display: block; }
  .relic:not(.featured) .relic-phones .phone { position: relative; width: 96px; transform: none; }
  .relic:not(.featured) .relic-phones .phone:nth-child(n+2) { display: none; }
  .relic:not(.featured) h3 { text-align: left; font-size: 19px; }
  .relic:not(.featured) .tag { text-align: left; margin: 0; font-size: 15px; }
  .relic:not(.featured) .price-row { justify-content: flex-start; margin: 2px 0 0; }
  .relic:not(.featured) .price-row .now { font-size: 30px; }
  .relic:not(.featured) .per { text-align: left; margin: 0; font-size: 14px; }
  .relic:not(.featured) ul { display: none; }
  .relic:not(.featured) .relic-actions { grid-column: 1 / -1; margin-top: 12px; grid-template-columns: 1fr auto; align-items: center; }
  .relic:not(.featured) .relic-actions .btn { --h: 48px; }
  .relic.featured { padding: 30px 18px 22px; }
  .offers { gap: 16px; }
}

/* --- Modales en celular: hoja a pantalla completa con el boton de compra arriba --- */
@media (max-width: 700px) {
  .modal { padding: 0; align-items: end; }
  .modal-panel { width: 100%; max-height: 100svh; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .modal-close { top: 6px; right: 6px; }
  /* Producto: telefono chico a la izquierda, titulo y precio a la derecha, boton a todo el ancho */
  .pm-grid { grid-template-columns: 104px 1fr; gap: 12px 14px; align-items: center; justify-items: stretch; text-align: left; }
  .pm-phone .phone { width: 104px; border-radius: 18px; padding: 5px; }
  .pm-phone .phone::after { top: 9px; height: 7px; }
  .pm-phone .phone-screen { border-radius: 14px; }
  .pm-info { display: contents; }
  .pm-info .eyebrow, .pm-info h2, .pm-tagline { grid-column: 2; }
  .pm-info .eyebrow { justify-content: flex-start; font-size: 11px; margin: 0 40px 0 0; align-self: end; }
  .pm-info h2 { font-size: 24px; margin-right: 34px; }
  .pm-tagline { font-size: 15px; margin: 0; align-self: start; }
  .pm-phone { grid-row: 1 / span 3; }
  .pm-buy, .pm-specs, .pm-thumbs, .pm-upsell { grid-column: 1 / -1; }
  .pm-buy { justify-content: space-between; margin: 6px 0 4px; gap: 12px; }
  .pm-buy .btn { flex: 1; }
  .pm-price { font-size: 30px; }
  .pm-specs { grid-template-columns: 1fr 1fr; font-size: 14.5px; gap: 6px 10px; margin-bottom: 12px; }
  .pm-thumbs { grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; }
  .pm-upsell { margin-top: 12px; font-size: 15px; }
  /* Pantalla de bloqueo: el telefono se achica para que nombre y botones entren */
  .lock-wrap { gap: 14px; }
  .phone.big { width: min(240px, 60vw, calc((100svh - 330px) * .5625)); min-width: 150px; }
  .phone.big .lock-time { font-size: clamp(38px, 11vw, 60px); }
  .phone.big .lock-date { font-size: 13px; }
  .cm-info h2 { font-size: 26px; margin-bottom: 4px; }
  .cm-info p { font-size: 16px; margin-bottom: 12px; }
  .cm-in { width: 100%; }
  .cm-in .btn { width: 100%; }
}
@media (max-width: 760px) {
  .rounds-head .eyebrow, .rounds-note, .danger { font-size: 12px; }
  .topbar .btn-sm { --h: 44px; }
}
@media (max-width: 960px) {
  .relic:not(.featured) .relic-actions { grid-template-columns: 1fr; gap: 2px; }
  .relic:not(.featured) .relic-actions .btn { white-space: nowrap; }
}
@media (max-width: 760px) {
  .rounds-sticky { padding-top: 80px; }
  .rounds-frame { height: min(48svh, calc(100svh - 350px)); }
}
@media (max-width: 700px) {
  .pm-buy .btn { white-space: nowrap; padding: 0 16px; letter-spacing: .12em; }
}
