/* Jota Player · sitio público (usa los tokens de /styles.css) */
.site { min-height: 100dvh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.site-head nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.site-head nav a:not(.btn) { color: var(--muted); font-weight: 600; padding: 8px 10px; border-radius: 10px; }
.site-head nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 560px) { .site-head nav a.hide-sm { display: none; } }

.hero { padding: 56px 0 36px; text-align: center; }
.hero h1 { font-size: clamp(30px, 6vw, 52px); line-height: 1.08; letter-spacing: -.03em; margin: 0 auto 16px; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.lead { font-size: clamp(16px, 2.4vw, 19px); color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero .cta .btn { min-width: 210px; }

.note { display: flex; gap: 10px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; color: var(--muted); max-width: 760px; margin: 0 auto; text-align: left; }
.note strong { color: var(--text); }

.section-title { font-size: clamp(22px, 3.6vw, 30px); letter-spacing: -.02em; text-align: center; margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 26px; max-width: 600px; }
.block { padding: 44px 0; }

.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 12px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 16.5px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 20px 20px 66px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.prices { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 820px; margin: 0 auto; }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; text-align: center; }
.price.featured { border: 2px solid var(--primary); }
.price .name { font-weight: 700; color: var(--muted); }
.price .amount { font-size: 42px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.price .per { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.contact { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.contact .btn { min-width: 220px; }
.btn.wa { background: #25d366; border-color: #25d366; color: #06301a; }
.btn.tg { background: #229ed9; border-color: #229ed9; color: #fff; }

.site-foot { margin-top: auto; border-top: 1px solid var(--border); padding: 24px 0 calc(24px + var(--safe-b)); color: var(--muted); font-size: 13.5px; }
.site-foot .wrap { display: flex; gap: 10px 20px; flex-wrap: wrap; justify-content: space-between; }
.site-foot a { color: var(--muted); text-decoration: underline; }

/* Portal /activar */
.portal { max-width: 560px; margin: 0 auto; padding: 24px 16px 48px; width: 100%; }
.portal .card + .card { margin-top: 14px; }
.kv2 { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; margin: 0; }
.kv2 dt { color: var(--muted); }
.kv2 dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.seg { display: flex; gap: 6px; background: var(--surface-2); padding: 4px; border-radius: 12px; margin-bottom: 14px; }
.seg button { flex: 1; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; padding: 10px; border-radius: 9px; cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* Términos */
.legal { max-width: 760px; margin: 0 auto; padding: 32px 16px 56px; }
.legal h1 { font-size: 30px; margin-bottom: 4px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text); line-height: 1.65; }
.legal .muted { color: var(--muted); }
