/* Galenia — sitio comercial (portada de venta, términos, privacidad). Independiente del panel. */
:root {
    --teal: #0E7C7B; --teal-2: #0A6463; --navy: #12263A; --mint: #7FE0C9;
    --ink: #14213A; --ink-2: #3E4C63; --muted: #6F7C91; --line: #E5EAF1;
    --bg: #FFFFFF; --bg-2: #F4F7F9; --card: #FFFFFF;
    --shadow: 0 1px 2px rgba(20,33,58,.05), 0 12px 32px rgba(20,33,58,.08);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.site { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
.s-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.s-narrow { max-width: 820px; }
.center { text-align: center; }

/* Botones */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; background: var(--teal); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; border: 1.5px solid var(--teal); transition: background .15s, transform .15s; white-space: nowrap; }
.s-btn:hover { background: var(--teal-2); border-color: var(--teal-2); transform: translateY(-1px); }
.s-btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.s-btn.ghost:hover { border-color: var(--teal); color: var(--teal); }
.s-btn.big { padding: 14px 24px; font-size: 1.02rem; border-radius: 14px; }
.s-btn.block { display: flex; width: 100%; }
.s-btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.s-btn.light:hover { background: var(--mint); border-color: var(--mint); }

/* Navegación */
.s-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.s-nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.s-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--navy); text-decoration: none; letter-spacing: -.02em; }
.s-logo.light { color: #fff; }
.s-links { display: flex; gap: 22px; margin-right: auto; }
.s-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .93rem; }
.s-links a:hover { color: var(--teal); }
.s-nav-cta { display: flex; gap: 10px; }

/* Portada */
.s-hero { background: radial-gradient(1200px 500px at 85% -10%, #DDF4EF 0%, rgba(221,244,239,0) 60%), linear-gradient(180deg, #F6FBFA 0%, #fff 100%); padding: 64px 0 40px; overflow: hidden; }
.s-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.s-kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.s-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; color: var(--navy); }
.s-hero h1 em { font-style: normal; color: var(--teal); }
.s-lead { font-size: 1.14rem; color: var(--ink-2); margin: 18px 0 26px; max-width: 34em; }
.s-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.s-checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.s-checks li::before { content: '✓'; color: var(--teal); font-weight: 800; margin-right: 6px; }
.s-hero-art .s-shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.s-badges { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.s-badges li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; }
.s-badges b { color: var(--navy); font-size: 1rem; }
.s-badges span { color: var(--muted); font-size: .84rem; }

/* Capturas en marco de navegador */
.s-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 2px 6px rgba(20,33,58,.06), 0 24px 60px rgba(18,38,58,.18); border: 1px solid var(--line); }
.s-shot-bar { height: 28px; background: #EEF2F6; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.s-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3DAE3; }
.s-shot-bar i:first-child { background: #F2A39A; } .s-shot-bar i:nth-child(2) { background: #F3CF7A; } .s-shot-bar i:nth-child(3) { background: #8FD6A5; }
.s-shot img { width: 100%; height: auto; }

/* Secciones */
.s-sec { padding: 88px 0; }
.s-sec.alt { background: var(--bg-2); }
.s-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.s-head h2, .s-sec h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--navy); }
.s-head p { color: var(--ink-2); font-size: 1.06rem; margin: 14px 0 0; }
.s-grid { display: grid; gap: 18px; }
.s-grid-5 { grid-template-columns: repeat(5, 1fr); }
.s-grid-3 { grid-template-columns: repeat(3, 1fr); }
.s-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 1px 2px rgba(20,33,58,.04); display: flex; flex-direction: column; gap: 8px; }
.s-card h3 { font-size: 1.05rem; color: var(--navy); }
.s-card p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.s-card.spec a { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.s-ico { width: 44px; height: 44px; border-radius: 12px; background: #E5F5F2; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.s-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 56px; align-items: center; margin-bottom: 96px; }
.s-row.rev > .s-row-txt { order: 2; }
.s-row h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--navy); font-weight: 800; }
.s-row p { color: var(--ink-2); margin: 14px 0; }
.s-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.s-list li { padding-left: 28px; position: relative; color: var(--ink); font-weight: 500; }
.s-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: #E5F5F2; color: var(--teal); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.s-more { margin-top: 8px; }

/* Seguridad */
.s-sec.dark { background: linear-gradient(135deg, var(--navy) 0%, #0F3F48 100%); color: #fff; }
.s-sec.dark h2 { color: #fff; }
.s-sec.dark .s-kicker { color: var(--mint); }
.s-sec.dark p { color: rgba(255,255,255,.78); font-size: 1.06rem; }
.s-sec-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.s-sec-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-sec-list li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.s-sec-list span { color: rgba(255,255,255,.75); font-size: .92rem; }

/* Precios */
.s-price { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.s-price-opts { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.s-price fieldset { border: 0; padding: 0; margin: 22px 0 0; }
.s-price legend { font-weight: 800; color: var(--navy); margin-bottom: 10px; padding: 0; }
.s-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.s-opt:hover { border-color: #A9D9D2; }
.s-opt:has(input:checked) { border-color: var(--teal); background: #F0FAF8; }
.s-opt input { width: 18px; height: 18px; accent-color: var(--teal); }
.s-opt span { flex: 1; font-weight: 600; }
.s-opt b { color: var(--ink-2); font-size: .92rem; white-space: nowrap; }
.s-note { color: var(--muted); font-size: .85rem; margin: 8px 0 0; }
.s-toggle { display: inline-flex; background: var(--bg-2); border-radius: 12px; padding: 4px; gap: 4px; }
.s-toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 9px; cursor: pointer; color: var(--ink-2); }
.s-toggle button small { color: var(--teal); font-weight: 700; margin-left: 4px; }
.s-toggle button.on { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(20,33,58,.12); }
.s-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.s-stepper button { width: 44px; height: 44px; border: 0; background: var(--bg-2); font-size: 1.3rem; cursor: pointer; color: var(--navy); }
.s-stepper output { min-width: 56px; text-align: center; font-weight: 800; font-size: 1.1rem; }
.s-price-total { position: sticky; top: 90px; background: var(--navy); color: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.s-price-total > span { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.s-price-total ul { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.s-price-total li { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.82); font-size: .92rem; }
.s-price-total li b { color: #fff; white-space: nowrap; }
.s-total { border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.s-total b { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.s-total small { color: rgba(255,255,255,.7); }
.s-price-total .s-note { color: rgba(255,255,255,.7); }
.s-price-total .s-btn { margin-top: 18px; background: var(--mint); border-color: var(--mint); color: var(--navy); }
.s-price-total .s-btn:hover { background: #fff; border-color: #fff; }

/* Preguntas */
.s-faq { display: grid; gap: 10px; }
.s-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.s-faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: '+'; color: var(--teal); font-size: 1.3rem; line-height: 1; }
.s-faq details[open] summary::after { content: '−'; }
.s-faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* Cierre y pie */
.s-final { background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); color: #fff; padding: 80px 0; }
.s-final h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
.s-final p { color: rgba(255,255,255,.85); font-size: 1.08rem; margin: 14px 0 26px; }
.s-foot { background: #0B1A28; color: rgba(255,255,255,.7); padding: 44px 0; font-size: .92rem; }
.s-foot-in { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: start; }
.s-foot p { margin: 10px 0 0; max-width: 28em; }
.s-foot nav { display: grid; gap: 8px; }
.s-foot nav a { color: rgba(255,255,255,.8); text-decoration: none; }
.s-foot nav a:hover { color: #fff; }

/* Páginas legales */
.s-legal { padding: 56px 0 88px; }
.s-legal h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--navy); font-weight: 800; }
.s-legal .s-upd { color: var(--muted); margin: 8px 0 32px; }
.s-legal h2 { font-size: 1.2rem; color: var(--navy); margin: 32px 0 10px; }
.s-legal p, .s-legal li { color: var(--ink-2); }

/* Responsive */
@media (max-width: 1080px) {
    .s-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .s-badges { grid-template-columns: repeat(3, 1fr); }
    .s-links { display: none; }
    .s-nav-in { justify-content: space-between; }
}
@media (max-width: 860px) {
    .s-hero { padding-top: 40px; }
    .s-hero-in, .s-row, .s-sec-split, .s-price, .s-foot-in { grid-template-columns: 1fr; }
    .s-hero-art .s-shot { transform: none; }
    .s-row { gap: 24px; margin-bottom: 64px; }
    .s-row.rev > .s-row-txt { order: 0; }
    .s-grid-3 { grid-template-columns: 1fr 1fr; }
    .s-price-total { position: static; }
    .s-sec { padding: 64px 0; }
}
@media (max-width: 560px) {
    .s-wrap { padding: 0 16px; }
    .s-grid-5, .s-grid-3, .s-sec-list { grid-template-columns: 1fr; }
    .s-badges { grid-template-columns: 1fr 1fr; }
    .s-nav-cta .ghost { display: none; }
    .s-hero-cta .s-btn { width: 100%; }
    .s-opt { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .s-btn { transition: none; } }

/* Pestañas «Para quién es» */
.s-tabs { margin-bottom: 56px; }
.s-tab-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.s-tab-btns button { font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.s-tab-btns button:hover { border-color: var(--teal); color: var(--teal); }
.s-tab-btns button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.s-row.s-row-tab { margin-bottom: 0; }
.s-sub-h { text-align: center; font-weight: 800; color: var(--navy); font-size: 1.15rem; margin: 0 0 18px; }

/* Todo se puede editar */
.s-edit { margin: 8px 0 72px; }
.s-grid-2 { grid-template-columns: 1fr 1fr; gap: 28px; }
.s-edit-card { margin: 0; }
.s-edit-card figcaption { margin-top: 14px; color: var(--ink-2); font-size: .95rem; }
.s-edit-card figcaption b { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 2px; }
.s-edit-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.s-edit-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; color: var(--ink); font-size: .93rem; }
@media (max-width: 860px) { .s-grid-2, .s-edit-list { grid-template-columns: 1fr; } }

/* Descargas y novedades */
.s-grid-4 { grid-template-columns: repeat(4, 1fr); }
.s-dl .s-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--navy); font-weight: 800; }
.s-dl-card { gap: 10px; }
.s-dl-card p { flex: 1; }
.s-dl-card small { color: var(--muted); text-align: center; }
.s-ver { display: inline-block; background: #E5F5F2; color: var(--teal-2); font-weight: 800; font-size: .82rem; padding: 4px 10px; border-radius: 999px; margin: 0 4px 4px 0; }
.s-dl-note { margin: 48px auto 0; max-width: 820px; background: var(--bg-2); border-radius: 20px; padding: 28px; }
.s-dl-note h2 { font-size: 1.3rem; color: var(--navy); margin-bottom: 14px; }
.s-rel { border-top: 1px solid var(--line); padding: 22px 0; }
.s-rel-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.s-rel-h b { color: var(--navy); font-size: 1.1rem; }
.s-rel-h small { color: var(--muted); margin-left: auto; }
.s-rel ul { margin: 10px 0 0; padding-left: 20px; }
.s-rel li { margin-bottom: 6px; }
@media (max-width: 1080px) { .s-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .s-grid-4 { grid-template-columns: 1fr; } }
