html, body, #root { margin: 0; min-height: 100%; }
body { background: #ffffff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1c2434; }

.sx-page { max-width: 1080px; margin: 0 auto; }

/* ---------- header / footer ---------- */
.sx-topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 16px; }
.sx-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.sx-brand-name { font-size: 22px; font-weight: 700; color: #16233f; letter-spacing: -0.02em; }
.sx-logo { display: inline-flex; align-items: center; justify-content: center; background: #16233f; flex-shrink: 0; }
.sx-nav { display: flex; align-items: center; gap: 22px; }
.sx-nav-link { color: #16233f; text-decoration: none; font-size: 15px; font-weight: 600; }
.sx-nav-link:hover { color: #37b268; }

.sx-footer { padding: 44px 24px 52px; text-align: center; color: #6b7686; font-size: 14px; border-top: 1px solid #eef1f5; }
.sx-footer p { margin: 10px 0 0; }
.sx-footer-legal a { color: #6b7686; }
.sx-footer .sx-brand-name { font-size: 18px; }

/* ---------- buttons ---------- */
.sx-btn { display: inline-block; background: #37b268; color: #ffffff; font-weight: 600; font-size: 16px; padding: 14px 28px; border-radius: 10px; text-decoration: none; }
.sx-btn:hover { background: #2e9d5a; }
.sx-btn-small { padding: 10px 20px; font-size: 14px; }
.sx-btn-ghost { background: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,0.7); }
.sx-btn-ghost:hover { border-color: #ffffff; }
.sx-btn-light { background: #ffffff; color: #16233f; }

/* ---------- hero ---------- */
.sx-hero { background: #16233f; color: #ffffff; padding: 72px 24px 80px; }
.sx-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; max-width: 1020px; margin: 0 auto; text-align: left; }
.sx-hero h1 { font-size: 42px; line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.025em; }
.sx-hero-sub { font-size: 18px; line-height: 1.55; color: #c9d4e8; margin: 0 0 30px; }
.sx-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.sx-hero-trust { margin-top: 26px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: #c9d4e8; }
.sx-hero-trust span { position: relative; padding-left: 22px; }
.sx-hero-trust span::before { content: "✓"; position: absolute; left: 0; color: #37b268; font-weight: 700; }
.sx-hero-visual { position: relative; }
.sx-hero-visual::before { content: ""; position: absolute; top: 26px; left: -16px; right: 26px; bottom: -16px; background: #22345c; border-radius: 18px; }
.sx-mock { position: relative; background: #ffffff; border-radius: 18px; padding: 24px 24px 18px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); max-width: 400px; margin: 0 auto; text-align: left; }
.sx-mock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid #eef1f5; }
.sx-mock-logo { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sx-mock-title { font-weight: 700; color: #16233f; font-size: 15px; flex: 1; }
.sx-mock-pill { background: #e7f6ee; color: #1f8a4c; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.sx-mock-steps { list-style: none; margin: 14px 0 0; padding: 0; }
.sx-mock-steps li { display: flex; gap: 12px; padding: 9px 0; align-items: flex-start; }
.sx-mock-ico { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #d9dee6; display: inline-flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; color: #ffffff; }
.sx-mock-steps li.is-done .sx-mock-ico { background: #37b268; border-color: #37b268; }
.sx-mock-steps li.is-active .sx-mock-ico { border-color: #37b268; }
.sx-mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #37b268; }
.sx-mock-step-text strong { display: block; color: #16233f; font-size: 14.5px; line-height: 1.35; }
.sx-mock-step-text small { display: block; color: #6b7686; font-size: 12.5px; margin-top: 2px; line-height: 1.4; }
.sx-mock-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef1f5; color: #6b7686; font-size: 12.5px; text-align: center; }

/* ---------- sections ---------- */
.sx-section { padding: 64px 24px; text-align: center; }
.sx-section-alt { background: #f4f7f5; }
.sx-section h2 { font-size: 30px; margin: 0 0 36px; color: #16233f; letter-spacing: -0.02em; }
.sx-section-intro { font-size: 17px; line-height: 1.6; color: #4a5568; max-width: 640px; margin: -20px auto 36px; }

.sx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: left; max-width: 1020px; margin: 0 auto; }
.sx-step h3 { font-size: 17px; margin: 0 0 8px; color: #16233f; }
.sx-step p { font-size: 15px; line-height: 1.55; color: #4a5568; margin: 0; }
.sx-step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #37b268; color: #ffffff; font-weight: 700; font-size: 16px; margin-bottom: 14px; }

.sx-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: left; max-width: 1020px; margin: 0 auto; }
.sx-trio h3 { font-size: 17px; margin: 0 0 8px; color: #16233f; }
.sx-trio p { font-size: 15px; line-height: 1.55; color: #4a5568; margin: 0; }

.sx-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin: 0 auto; text-align: left; }
.sx-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 26px 26px 18px; }
.sx-card h3 { font-size: 18px; margin: 0 0 16px; color: #16233f; }
.sx-card ul { list-style: none; margin: 0; padding: 0; }
.sx-card li { font-size: 15px; line-height: 1.5; color: #384152; padding: 9px 0 9px 32px; position: relative; border-bottom: 1px solid #eef1f5; }
.sx-card li:last-child { border-bottom: none; }
.sx-card.sx-yes li::before { content: "✓"; position: absolute; left: 4px; color: #37b268; font-weight: 700; }
.sx-card.sx-no { background: #fafbfc; }
.sx-card.sx-no li::before { content: "–"; position: absolute; left: 6px; color: #98a2b3; font-weight: 700; }
.sx-card .sx-card-note { font-size: 13px; color: #6b7686; line-height: 1.5; margin: 14px 0 6px; }

.sx-price-band { text-align: center; }
.sx-price-big { font-size: 46px; font-weight: 800; color: #16233f; letter-spacing: -0.03em; margin: 0; }
.sx-price-what { font-size: 17px; color: #384152; margin: 10px 0 0; }
.sx-price-note { font-size: 15px; line-height: 1.6; color: #4a5568; max-width: 560px; margin: 18px auto 30px; }

.sx-faq { max-width: 680px; margin: 0 auto 12px; text-align: left; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px 20px; background: #ffffff; }
.sx-faq summary { font-size: 16px; font-weight: 600; color: #16233f; cursor: pointer; }
.sx-faq p { font-size: 15px; line-height: 1.55; color: #4a5568; margin: 12px 0 0; }
.sx-faq a { color: #37b268; }

.sx-final-cta { background: #16233f; color: #ffffff; text-align: center; padding: 64px 24px; }
.sx-final-cta h2 { font-size: 27px; margin: 0 0 12px; }
.sx-final-cta > p { font-size: 16px; color: #c9d4e8; margin: 0 0 28px; }

/* ---------- formulario ---------- */
.sx-form { max-width: 480px; margin: 0 auto; text-align: left; }
.sx-field { display: block; margin-bottom: 16px; }
.sx-field span { display: block; font-size: 14px; font-weight: 600; color: #ffffff; margin-bottom: 6px; }
.sx-field input, .sx-field textarea, .sx-field select { width: 100%; box-sizing: border-box; padding: 12px 14px; font-size: 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; }
.sx-field select { appearance: auto; background-color: #ffffff; color: #1a1a2e; }
.sx-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #c9d4e8; margin: 4px 0 20px; }
.sx-consent input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.sx-consent a { color: #ffffff; }
.sx-form .sx-btn { width: 100%; border: none; cursor: pointer; font-family: inherit; }

/* ---------- páginas legales ---------- */
.sx-legal { max-width: 720px; margin: 0 auto; text-align: left; padding: 48px 24px; }
.sx-legal h1 { font-size: 1.9rem; margin-bottom: 0.6rem; }
.sx-legal h2 { font-size: 1.15rem; margin-top: 1.8rem; margin-bottom: 0.4rem; }
.sx-legal p, .sx-legal li { line-height: 1.6; }

/* ---------- páginas de contenido (artículos) ---------- */
.sx-article { max-width: 760px; margin: 0 auto; padding: 56px 24px 64px; text-align: left; }
.sx-article h1 { font-size: 34px; line-height: 1.2; color: #16233f; letter-spacing: -0.02em; margin: 0 0 18px; }
.sx-article h2 { font-size: 24px; color: #16233f; margin: 44px 0 14px; letter-spacing: -0.01em; }
.sx-article h3 { font-size: 18px; color: #16233f; margin: 28px 0 10px; }
.sx-article p, .sx-article li { font-size: 16px; line-height: 1.65; color: #384152; }
.sx-article a { color: #2e9d5a; }
.sx-lead { font-size: 18px; line-height: 1.6; color: #4a5568; }
.sx-back { display: inline-block; font-size: 14px; font-weight: 600; color: #2e9d5a; text-decoration: none; margin-bottom: 28px; }
.sx-key { background: #eef7f1; border: 1px solid #cdeeda; padding: 16px 20px; border-radius: 12px; font-weight: 600; color: #173d27; font-size: 17px; line-height: 1.5; }
.sx-note-box { background: #f4f7f5; border-left: 4px solid #37b268; border-radius: 0 10px 10px 0; padding: 16px 20px; font-size: 15px; line-height: 1.6; color: #384152; margin: 20px 0; }
.sx-cta-box { background: #16233f; color: #ffffff; border-radius: 16px; padding: 34px 30px; text-align: center; margin: 48px 0 8px; }
.sx-cta-box h2 { color: #ffffff; margin: 0 0 10px; }
.sx-cta-box p { color: #c9d4e8; margin: 0 0 22px; }

.sx-cost { border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; margin: 22px 0 10px; }
.sx-cost-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; padding: 15px 18px; border-bottom: 1px solid #eef1f5; align-items: start; }
.sx-cost-row:last-child { border-bottom: none; }
.sx-cost-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #37b268; color: #ffffff; font-weight: 700; font-size: 13px; margin-top: 1px; }
.sx-cost-name { font-size: 15px; font-weight: 600; color: #16233f; line-height: 1.4; }
.sx-cost-detail { display: block; font-size: 13.5px; font-weight: 400; color: #6b7686; line-height: 1.45; margin-top: 3px; }
.sx-cost-value { font-size: 16px; font-weight: 700; color: #16233f; white-space: nowrap; margin-top: 1px; }
.sx-caption { font-size: 13.5px; color: #6b7686; line-height: 1.55; margin: 12px 2px 0; }

.sx-steps-article { counter-reset: paso; list-style: none; margin: 20px 0; padding: 0; }
.sx-steps-article li { counter-increment: paso; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid #eef1f5; font-size: 16px; line-height: 1.6; color: #384152; }
.sx-steps-article li:last-child { border-bottom: none; }
.sx-steps-article li::before { content: counter(paso); position: absolute; left: 0; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: #37b268; color: #ffffff; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.sx-steps-article strong { color: #16233f; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .sx-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .sx-hero { text-align: center; }
    .sx-hero-grid { text-align: center; }
    .sx-hero-cta, .sx-hero-trust { justify-content: center; }
    .sx-mock { max-width: 100%; }
    .sx-steps { grid-template-columns: repeat(2, 1fr); }
    .sx-trio { grid-template-columns: 1fr; }
    .sx-duo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .sx-nav-link { display: none; }
}
@media (max-width: 640px) {
    .sx-hero { padding: 52px 20px 60px; }
    .sx-hero h1 { font-size: 30px; }
    .sx-hero-sub { font-size: 16px; }
    .sx-steps { grid-template-columns: 1fr; gap: 22px; }
    .sx-section { padding: 48px 20px; }
    .sx-section h2 { font-size: 25px; }
    .sx-price-big { font-size: 36px; }
    .sx-article { padding: 40px 20px 52px; }
    .sx-article h1 { font-size: 27px; }
    .sx-cost-row { grid-template-columns: 30px 1fr; }
    .sx-cost-value { grid-column: 2; margin-top: 2px; }
}

/* Fix: el color de los enlaces dentro de artículos/FAQ pisaba el texto de los botones */
a.sx-btn, a.sx-btn:visited, a.sx-btn:hover, a.sx-btn:active { color: #ffffff; }
a.sx-btn-ghost, a.sx-btn-ghost:visited, a.sx-btn-ghost:hover, a.sx-btn-ghost:active { color: #ffffff; }
a.sx-btn-light, a.sx-btn-light:visited, a.sx-btn-light:hover, a.sx-btn-light:active { color: #16233f; }
