/* ═══════════════════════════════════════════════════════════════
   PRI STORE v3 — sistema de diseño
   Dark gaming pro · Sora (títulos) + Inter (texto) · sin frameworks
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #0a0c11; --bg2: #0e1118; --card: #131722; --card2: #171c2a;
  --line: rgba(255,255,255,.07); --line2: rgba(255,255,255,.12);
  --txt: #f2f4fa; --dim: #9aa3b8; --faint: #667089;
  --brand: #2fa8ff; --brand2: #ffc94d; --ok: #34d399; --wa: #25d366;
  --grad: linear-gradient(120deg, #1257d8, #2fa8ff 55%, #5ee6ff);
  --grad-soft: linear-gradient(120deg, rgba(47,168,255,.16), rgba(255,201,77,.1));
  --r: 18px; --r-sm: 12px;
  --shadow: 0 12px 40px rgba(0,0,0,.4);
  --font-d: "Sora", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--txt); font: 16px/1.7 var(--font-b); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 420px at 85% -80px, rgba(47,168,255,.13), transparent 65%),
    radial-gradient(700px 380px at -60px 40px, rgba(255,201,77,.07), transparent 65%),
    radial-gradient(600px 500px at 50% 110%, rgba(255,201,77,.05), transparent 70%); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(650px 340px at 50% 0, #000 20%, transparent 75%);
  mask-image: radial-gradient(650px 340px at 50% 0, #000 20%, transparent 75%); }
a { color: var(--brand2); text-decoration: none; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, .logo, .btn, .price { font-family: var(--font-d); }

/* ── Header ── */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(10,12,17,.85); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.14rem; letter-spacing: .01em; color: var(--txt); }
.logo .mark { width: 34px; height: 34px; border-radius: 10px; background: none; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; box-shadow: 0 4px 14px rgba(47,168,255,.35); }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.main { display: flex; gap: 2px; font-size: .84rem; font-weight: 500; overflow-x: auto; padding: 4px 14px 10px; white-space: nowrap; scrollbar-width: none; }
nav.main::-webkit-scrollbar { display: none; }
nav.main a { color: var(--dim); padding: 7px 13px; border-radius: 999px; transition: color .15s, background .15s; }
nav.main a.on { color: var(--txt); background: var(--card2); border: 1px solid var(--line2); }
nav.main a:hover { color: var(--txt); }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 14px; font-weight: 700; font-size: .95rem; text-align: center; transition: transform .13s ease, box-shadow .13s ease, filter .13s; position: relative; overflow: hidden; }
.btn:active { transform: scale(.97); }
.btn-wa { background: linear-gradient(120deg, #2ee06f, #1db954); color: #04310f; box-shadow: 0 8px 24px rgba(37,211,102,.28), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-wa:hover { filter: brightness(1.06); box-shadow: 0 10px 30px rgba(37,211,102,.4); }
.btn-brand { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(47,168,255,.3), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { border: 1px solid var(--line2); color: var(--txt); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }

/* ── Hero ── */
.hero { padding: 52px 0 30px; text-align: center; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand2); background: rgba(255,201,77,.09); border: 1px solid rgba(255,201,77,.25); padding: 6px 15px; border-radius: 999px; margin-bottom: 16px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 2s infinite; }
.kicker.off { color: var(--brand2); }
.kicker.off::before { background: var(--brand2); box-shadow: 0 0 8px var(--brand2); }
@keyframes pulse { 50% { opacity: .4; } }
.hero h1 { font-size: 2rem; line-height: 1.16; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: var(--dim); max-width: 37rem; margin: 0 auto 22px; font-size: 1.02rem; }
.hero-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--dim); }

/* ── Mockup de chat WhatsApp ── */
.chat-demo { max-width: 380px; margin: 30px auto 0; background: var(--card); border: 1px solid var(--line2); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); text-align: left; }
.chat-demo .bar { display: flex; align-items: center; gap: 10px; background: var(--card2); padding: 11px 15px; border-bottom: 1px solid var(--line); }
.chat-demo .bar .pfp { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.chat-demo .bar b { font-size: .88rem; display: block; line-height: 1.2; }
.chat-demo .bar small { color: var(--ok); font-size: .7rem; }
.chat-demo .msgs { padding: 15px 13px; display: flex; flex-direction: column; gap: 8px; font-size: .83rem; line-height: 1.45;
  background: radial-gradient(300px 200px at 80% 10%, rgba(47,168,255,.05), transparent 70%); }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 14px; }
.msg.in { background: var(--card2); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.out { background: rgba(37,211,102,.14); border: 1px solid rgba(37,211,102,.22); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg .tick { color: var(--ok); font-size: .7rem; float: right; margin: 6px 0 0 8px; }

/* ── Secciones ── */
section { padding: 34px 0; }
.sec-title { margin-bottom: 18px; }
.sec-title .k { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 4px; }
h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.sec-title .hint { color: var(--faint); font-size: .82rem; margin-top: 4px; display: block; }
h3 { font-size: 1.02rem; margin: 18px 0 6px; font-weight: 700; }
p + p { margin-top: 10px; }

.card { background: var(--card); border: 1px solid var(--line2); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); position: relative; }
.card + .card { margin-top: 12px; }
.card-grad { background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(140deg, rgba(47,168,255,.5), rgba(255,201,77,.35), transparent 60%) border-box; border: 1px solid transparent; }

ul.clean { list-style: none; }
ul.clean li { padding: 8px 0 8px 30px; position: relative; }
ul.clean li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 7px; background: rgba(52,211,153,.14); color: var(--ok); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
ol.steps { counter-reset: p; list-style: none; position: relative; }
ol.steps::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--brand), var(--brand2)); opacity: .25; }
ol.steps li { counter-increment: p; padding: 12px 0 12px 48px; position: relative; }
ol.steps li::before { content: counter(p); position: absolute; left: 0; top: 10px; width: 32px; height: 32px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 800; font-family: var(--font-d); display: flex; align-items: center; justify-content: center; font-size: .85rem; box-shadow: 0 4px 12px rgba(47,168,255,.3); }

/* ── Tabla de precios ── */
.pricing-card { padding: 0; overflow: hidden; }
.pricing-head { background: var(--grad-soft); border-bottom: 1px solid var(--line2); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pricing-head b { font-family: var(--font-d); font-size: 1.02rem; }
.pricing-head .live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--ok); font-weight: 600; }
.pricing-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 7px var(--ok); animation: pulse 2s infinite; }
table.precios { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.precios th, table.precios td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.precios tr:last-child td { border-bottom: none; }
table.precios th { color: var(--faint); font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; background: rgba(255,255,255,.015); }
table.precios tbody tr { transition: background .15s; }
table.precios tbody tr:hover { background: rgba(255,255,255,.025); }
table.precios tbody tr.destacado { background: rgba(255,201,77,.05); box-shadow: inset 3px 0 0 var(--brand2); }
.price { font-weight: 800; color: var(--brand2); white-space: nowrap; font-size: 1.05rem; }
.tag-promo { font-size: .68rem; font-weight: 700; background: rgba(47,168,255,.16); color: var(--brand); border-radius: 6px; padding: 2px 8px; margin-left: 6px; letter-spacing: .03em; }
.tag-top { font-size: .64rem; font-weight: 800; letter-spacing: .08em; background: var(--grad); color: #fff; border-radius: 6px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }
.mini { font-size: .8rem; color: var(--dim); }
tr .btn-wa { padding: 9px 15px; font-size: .8rem; border-radius: 10px; box-shadow: none; }
.tabla-foot { padding: 12px 20px; border-top: 1px solid var(--line); }

/* ── Extras (tarjetas y pases) ── */
.extras-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .extras-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }
.extra-card { background: var(--card2); border: 1px solid var(--line2); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 9px; transition: transform .15s, border-color .15s, box-shadow .15s; }
.extra-card:hover { transform: translateY(-3px); border-color: rgba(255,201,77,.35); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.extra-card .name { font-weight: 700; font-family: var(--font-d); font-size: 1rem; }
.extra-card .price { font-size: 1.35rem; }
.chip-region { align-self: flex-start; font-size: .66rem; font-weight: 700; letter-spacing: .06em; border-radius: 999px; padding: 4px 11px; background: rgba(52,211,153,.1); color: var(--ok); border: 1px solid rgba(52,211,153,.28); }
.chip-region.solo-sur { background: rgba(47,168,255,.1); color: var(--brand); border-color: rgba(47,168,255,.3); }
.extra-card .btn-wa { margin-top: auto; box-shadow: none; padding: 11px 16px; font-size: .85rem; }

/* ── FAQ ── */
details { border: 1px solid var(--line2); border-radius: 14px; margin-bottom: 10px; background: var(--card); overflow: hidden; transition: border-color .15s; }
details[open] { border-color: rgba(255,201,77,.3); }
details summary { padding: 15px 18px; cursor: pointer; font-weight: 600; list-style: none; font-size: .95rem; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--brand2); font-weight: 800; font-size: 1.1rem; line-height: 1.3; }
details[open] summary::after { content: "–"; }
details div { padding: 0 18px 16px; color: var(--dim); font-size: .92rem; }

/* ── Notas / banners ── */
.region-note { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,201,77,.06); border: 1px solid rgba(255,201,77,.2); border-radius: var(--r-sm); padding: 13px 16px; font-size: .86rem; color: var(--dim); margin-top: 14px; }
.cta-banner { background: linear-gradient(var(--card2), var(--card2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; border-radius: var(--r); padding: 30px 24px; text-align: center; box-shadow: var(--shadow); }
.cta-banner h2 { margin-bottom: 8px; }
.cta-banner p { color: var(--dim); margin-bottom: 18px; }

.cta-fixed { position: fixed; right: 15px; bottom: 15px; z-index: 60; box-shadow: 0 10px 30px rgba(0,0,0,.55); border-radius: 15px; padding: 13px 20px; }

/* ── Footer ── */
footer.site { border-top: 1px solid var(--line); padding: 34px 0 100px; color: var(--faint); font-size: .85rem; background: var(--bg2); margin-top: 36px; }
.foot-grid { display: grid; gap: 22px; margin-bottom: 20px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-grid h4 { font-family: var(--font-d); color: var(--txt); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.foot-grid a { display: block; color: var(--dim); padding: 3px 0; }
.foot-grid a:hover { color: var(--txt); }
footer.site .legal { border-top: 1px solid var(--line); padding-top: 16px; font-size: .78rem; }

.grid2 { display: grid; gap: 14px; }
@media (min-width: 640px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
  .hero { padding: 64px 0 36px; }
  .hero h1 { font-size: 2.7rem; }
}
