:root {
  --ink: #080808;
  --ink-soft: #1b1b1b;
  --paper: #f6f6f2;
  --card: #ffffff;
  --accent: #e8ff00;
  --muted: #76766f;
  --line: rgba(8, 8, 8, .14);
  --line-dark: rgba(255, 255, 255, .16);
  --green: #25d366;
  --radius: 28px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 246, 242, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 148px; flex: 0 0 auto; }
.brand svg text { font: 700 130px system-ui, sans-serif; letter-spacing: .17em; fill: var(--ink); }
.brand svg circle { fill: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.price-link { font-weight: 700; font-size: .9rem; }
.price-link:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #6c7600; outline-offset: 3px; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #292929; }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #d8ee00; }
.button-small { min-height: 44px; padding: 0 20px; font-size: .86rem; }
.text-link { font-weight: 700; font-size: .95rem; }

.hero { position: relative; overflow: hidden; padding: 80px 0 90px; }
.hero-glow { position: absolute; width: 860px; height: 360px; top: -190px; left: 32%; background: rgba(232, 255, 0, .34); filter: blur(130px); border-radius: 50%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .72fr); align-items: center; gap: 76px; }
.eyebrow, .section-number, .form-kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(232,255,0,.2); }
.hero h1 { max-width: 770px; margin: 25px 0 0; font-size: clamp(3.2rem, 6.4vw, 5.5rem); line-height: .95; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 mark { position: relative; z-index: 0; color: inherit; background: transparent; white-space: nowrap; }
.hero h1 mark::after { content: ""; position: absolute; z-index: -1; left: -.02em; right: -.02em; bottom: .05em; height: .34em; background: var(--accent); }
.hero-lede { max-width: 620px; margin: 28px 0 0; color: #575751; font-size: 1.13rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.partner-line { display: flex; align-items: center; gap: 9px; margin: 28px 0 0; color: #5e5e58; font-size: .83rem; font-weight: 700; }
.partner-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 1px solid var(--ink); }

.decision-card { position: relative; border: 1px solid var(--ink); border-radius: 34px; background: var(--ink); color: #fff; padding: 10px; box-shadow: 18px 20px 0 var(--accent); transform: rotate(1.5deg); }
.decision-head { display: flex; justify-content: space-between; align-items: center; padding: 11px 13px 18px; color: #aaa; font-size: .65rem; letter-spacing: .15em; font-weight: 700; }
.live-dot { color: var(--accent); }
.live-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--accent); }
.decision-screen { border-radius: 25px; background: #171717; padding: 25px 20px 20px; }
.screen-label { margin: 0 0 18px; color: #8d8d8d; font-size: .67rem; letter-spacing: .16em; font-weight: 700; }
.decision-row { display: grid; grid-template-columns: 28px 1fr 30px; align-items: center; gap: 11px; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.decision-row strong { display: block; font-size: 1.18rem; letter-spacing: -.02em; }
.decision-row small { display: block; margin-top: 4px; color: #9e9e9e; font-size: .75rem; }
.decision-index { color: #777; font-size: .7rem; font-weight: 700; }
.check { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #505050; border-radius: 50%; color: var(--accent); }
.decision-row.active { margin-inline: -9px; padding-inline: 9px; background: var(--accent); color: var(--ink); border: 0; border-radius: 15px; }
.decision-row.active small, .decision-row.active .decision-index { color: #454800; }
.decision-row.active .check { border-color: var(--ink); }
.decision-note { margin-top: 18px; padding: 13px; border: 1px solid #383838; border-radius: 14px; color: #bdbdbd; text-align: center; font-size: .75rem; }

.dark-section { background: var(--ink); color: #fff; }
.positioning { padding: 84px 0; }
.positioning-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.section-number { color: #76766f; }
.section-number.light { color: #898989; }
.positioning h2, .section-heading h2, .comparison-head h2, .trust-section h2, .final-cta h2, .diagnostic-intro h2 { letter-spacing: -.055em; text-wrap: balance; }
.positioning h2 { margin: 18px 0 0; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: .96; }
.criteria-list { border-top: 1px solid var(--line-dark); }
.criteria-list p { display: flex; gap: 12px; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line-dark); color: #c9c9c9; font-size: 1.18rem; }
.criteria-list p span { min-width: 76px; color: var(--accent); font-weight: 700; }
.criteria-list small { display: block; margin-top: 24px; color: #909090; font-size: .85rem; }

.diagnostic-section { padding: 110px 0; scroll-margin-top: 70px; }
.diagnostic-layout { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.35fr); gap: 80px; align-items: start; }
.diagnostic-intro { position: sticky; top: 116px; }
.diagnostic-intro h2 { margin: 18px 0 0; font-size: clamp(2.6rem, 4.5vw, 4.25rem); line-height: .98; }
.diagnostic-intro > p:not(.section-number) { max-width: 420px; margin: 22px 0 0; color: var(--muted); line-height: 1.65; }
.time-chip { display: inline-flex; margin-top: 26px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: .66rem; letter-spacing: .14em; font-weight: 700; }
.diagnostic-panel { min-height: 520px; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 36px; box-shadow: 0 24px 80px rgba(8,8,8,.08); }
.diagnostic-progress { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.progress-label { flex: 0 0 auto; color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .12em; }
.progress-track { flex: 1; height: 4px; overflow: hidden; border-radius: 10px; background: #ecece8; }
.progress-track span { display: block; width: 33.333%; height: 100%; background: var(--accent); transition: width .35s ease; }
.form-step { display: none; }
.form-step.active { display: block; animation: step-in .3s ease; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.form-kicker { color: #77776f; margin-bottom: 25px; }
.text-field { display: block; margin-top: 20px; }
.text-field span { display: block; margin-bottom: 10px; font-size: .88rem; font-weight: 700; }
.text-field input { width: 100%; min-height: 58px; padding: 0 18px; border: 1px solid var(--line); border-radius: 16px; background: #fafaf7; color: var(--ink); font-size: 1rem; outline: none; }
.text-field input::placeholder { color: #aaa9a2; }
.text-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232,255,0,.58); }
.text-field input.invalid { border-color: #b42318; }
.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.form-nav.end { justify-content: flex-end; }
.back-step, .restart-link { border: 0; background: transparent; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.question { min-width: 0; margin: 0 0 30px; padding: 0 0 29px; border: 0; border-bottom: 1px solid var(--line); }
.question legend { width: 100%; margin-bottom: 16px; font-weight: 700; line-height: 1.45; }
.question legend span { color: #96968f; margin-right: 8px; font-size: .72rem; letter-spacing: .08em; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.option-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.option-grid label { position: relative; cursor: pointer; }
.option-grid input { position: absolute; opacity: 0; pointer-events: none; }
.option-grid label span { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 13px; color: #5f5f59; background: #fafaf7; text-align: center; font-size: .85rem; font-weight: 600; transition: all .16s ease; }
.option-grid label:hover span { border-color: #7f7f76; }
.option-grid input:focus-visible + span { outline: 3px solid #6c7600; outline-offset: 2px; }
.option-grid input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: inset 0 -4px 0 var(--accent); }
.question.invalid legend { color: #b42318; }
.form-error { min-height: 20px; margin-top: 14px; color: #b42318; font-size: .84rem; font-weight: 600; }
.result-panel[hidden] { display: none; }
.result-panel { animation: step-in .35s ease; }
.result-title-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.result-title-line > div span { color: var(--muted); font-size: .85rem; }
.result-title-line h3 { margin: 4px 0 0; font-size: clamp(3.4rem, 8vw, 5.8rem); line-height: .9; letter-spacing: -.07em; }
.result-badge { padding: 10px 14px; border-radius: 999px; background: var(--accent); font-weight: 700; white-space: nowrap; }
.result-copy { max-width: 610px; margin: 24px 0 0; color: #575751; font-size: 1.08rem; line-height: 1.55; }
.result-copy + .button { margin-top: 24px; }
.result-services-link { display: block; width: fit-content; margin-top: 18px; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.restart-link { display: block; margin-top: 18px; color: #666; }

.services-section { padding: 110px 0; background: #ededE7; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-heading h2 { margin: 0; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .88; }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.plan-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 40px; border: 1px solid var(--line); border-radius: 32px; background: #fff; overflow: hidden; }
.plan-card.featured { background: var(--ink); color: #fff; }
.recommended-tag { position: absolute; top: 0; right: 0; padding: 9px 15px; border-bottom-left-radius: 15px; background: var(--accent); color: var(--ink); font-size: .64rem; font-weight: 700; letter-spacing: .12em; }
.plan-top { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.featured .plan-top { border-color: var(--line-dark); }
.plan-code { display: block; color: #8d8d86; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.plan-top h3 { margin: 14px 0 8px; font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: .9; letter-spacing: -.07em; }
.plan-top p { max-width: 420px; margin: 0; color: #6e6e68; line-height: 1.5; }
.featured .plan-top p { color: #aaa; }
.plan-description { min-height: 100px; margin: 27px 0 0; color: #5e5e58; line-height: 1.6; }
.featured .plan-description { color: #b0b0b0; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; margin: 24px 0 35px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 20px; font-size: .85rem; line-height: 1.35; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: #697200; font-weight: 700; }
.featured .feature-list li::before { color: var(--accent); }
.plan-exclusions { display: grid; gap: 6px; margin: 0 0 26px; padding: 16px; border-radius: 14px; background: #f1f1eb; color: #686861; font-size: .78rem; line-height: 1.45; }
.plan-exclusions strong { color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.plan-price { display: flex; min-width: 0; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); }
.featured .plan-price { border-color: var(--line-dark); }
.plan-price strong { flex: 0 1 auto; min-width: 0; font-size: 2.7rem; line-height: 1; letter-spacing: -.055em; }
.plan-price span { flex: 1 1 110px; color: #77776f; font-size: .75rem; line-height: 1.5; text-align: right; }
.featured .plan-price span { color: #999; }
.plan-cta { width: 100%; margin-top: 26px; }

.comparison-section { padding: 110px 0; }
.comparison-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.comparison-head h2 { margin: 14px 0 0; font-size: clamp(3rem, 5vw, 4.8rem); line-height: .95; }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
th, td { padding: 18px 24px; border-bottom: 1px solid var(--line); text-align: center; }
th { color: #77776f; font-size: .7rem; letter-spacing: .13em; }
th:first-child, td:first-child { width: 52%; text-align: left; }
td { font-size: .92rem; font-weight: 600; }
.accent-cell { background: var(--accent); color: var(--ink); }
.price-row td { border-bottom: 0; font-size: 1.16rem; font-weight: 700; }
.comparison-question { margin: 22px 0 0; color: #6e6e68; text-align: center; }
.comparison-question a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.process-section { padding: 110px 0; background: #fff; }
.section-heading.compact { display: block; }
.section-heading.compact h2 { max-width: 760px; margin-top: 14px; line-height: .95; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 34px; counter-reset: step; }
.process-note { max-width: 720px; margin: -24px 0 34px; color: var(--muted); font-weight: 600; }
.process-grid article { min-height: 220px; padding: 25px; border: 1px solid var(--line); border-radius: 25px; }
.process-grid article > span { display: inline-grid; min-width: 34px; height: 29px; place-items: center; padding: 0 7px; border-radius: 999px; background: var(--accent); font-size: .75rem; font-weight: 700; }
.process-grid h3 { margin: 54px 0 10px; font-size: 1.2rem; letter-spacing: -.03em; }
.process-grid p { margin: 0; color: #77776f; font-size: .88rem; line-height: 1.55; }

.trust-section { padding: 100px 0; }
.trust-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.trust-section h2 { margin: 16px 0 0; font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: .9; }
.trust-points { border-top: 1px solid var(--line-dark); }
.trust-points p, .trust-points strong { display: block; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line-dark); line-height: 1.45; }
.trust-points p { color: #b9b9b9; }
.trust-points strong { color: var(--accent); font-size: 1.15rem; }

.final-cta { position: relative; overflow: hidden; padding: 120px 0; background: var(--ink-soft); color: #fff; text-align: center; }
.cta-orb { position: absolute; inset: auto 50% -230px auto; width: 620px; height: 450px; transform: translateX(50%); border-radius: 50%; background: var(--accent); filter: blur(160px); opacity: .3; }
.final-cta-inner { position: relative; }
.final-cta .section-number { color: #989898; }
.final-cta h2 { max-width: 900px; margin: 18px auto 0; font-size: clamp(3rem, 7vw, 6.3rem); line-height: .9; }
.final-cta p:not(.section-number) { margin: 28px 0; color: #b5b5b5; line-height: 1.6; }

footer { padding: 48px 0 34px; background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: end; }
.brand-light svg text { fill: #fff; }
.footer-grid > div > p { margin: 12px 0 0; color: #8d8d8d; font-size: .82rem; }
.footer-grid > div:nth-child(2) { text-align: right; }
.footer-grid nav { display: flex; justify-content: flex-end; gap: 18px; margin-top: 14px; font-size: .82rem; font-weight: 700; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--line-dark); color: #727272; font-size: .72rem; }

.whatsapp-float { position: fixed; z-index: 60; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--green); box-shadow: 0 12px 30px rgba(0,0,0,.24); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float svg { width: 31px; fill: #fff; }

.reveal { opacity: 1; }

/* Página de precios */
.pricing-hero { padding: 88px 0 65px; text-align: center; }
.pricing-hero h1 { max-width: 880px; margin: 16px auto 0; font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: .9; letter-spacing: -.065em; }
.pricing-hero p:not(.section-number) { max-width: 620px; margin: 25px auto 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.pricing-page .services-section { padding-top: 55px; background: var(--paper); }
.pricing-simple-note { margin: 34px 0 0; text-align: center; color: var(--muted); }
.pricing-simple-note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Política de privacidad */
.legal-hero { padding: 88px 0 34px; }
.legal-hero h1 { margin: 16px 0 0; font-size: clamp(3.2rem, 7vw, 5.8rem); line-height: .92; letter-spacing: -.06em; }
.legal-updated { margin: 20px 0 0; color: var(--muted); font-size: .9rem; }
.legal-content { padding: 20px 0 100px; }
.legal-card { max-width: 780px; padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); }
.legal-card section + section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal-card h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.025em; }
.legal-card p { margin: 10px 0 0; color: #5e5e58; line-height: 1.75; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .decision-card { width: min(520px, calc(100% - 20px)); margin-inline: auto; }
  .diagnostic-layout { grid-template-columns: 1fr; gap: 36px; }
  .diagnostic-intro { position: static; }
  .positioning-grid, .trust-grid { gap: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-description { min-height: auto; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 24px, 1180px); --radius: 22px; }
  .header-inner { min-height: 66px; }
  .brand { width: 119px; }
  .header-actions { gap: 13px; }
  .price-link { font-size: .8rem; }
  .button-small { min-height: 39px; padding: 0 14px; font-size: .75rem; }
  .hero { padding: 54px 0 70px; }
  .hero h1 { font-size: clamp(2.85rem, 13vw, 4.2rem); }
  .hero h1 mark { white-space: normal; }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .decision-card { box-shadow: 10px 12px 0 var(--accent); }
  .positioning, .diagnostic-section, .services-section, .comparison-section, .process-section, .trust-section { padding: 74px 0; }
  .positioning-grid, .trust-grid { grid-template-columns: 1fr; gap: 34px; }
  .criteria-list p { display: block; font-size: 1rem; }
  .criteria-list p span { display: block; margin-bottom: 5px; }
  .diagnostic-panel { padding: 22px 16px; border-radius: 25px; }
  .option-grid, .option-grid.three-col { grid-template-columns: 1fr 1fr; }
  .option-grid.one-col { grid-template-columns: 1fr; }
  .form-nav { align-items: stretch; flex-direction: column-reverse; }
  .form-nav.end { align-items: stretch; }
  .form-nav .button { width: 100%; }
  .result-title-line { align-items: flex-start; flex-direction: column; }
  .result-title-line h3 { font-size: 3.5rem; }
  .section-heading, .comparison-head { align-items: flex-start; flex-direction: column; }
  .plan-card { padding: 30px 22px; border-radius: 25px; }
  .legal-card { padding: 30px 22px; border-radius: 25px; }
  .feature-list { grid-template-columns: 1fr; }
  .plan-price { align-items: flex-end; flex-direction: row; }
  .plan-price span { text-align: right; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 180px; }
  .process-grid h3 { margin-top: 40px; }
  .final-cta { padding: 90px 0; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-grid > div:nth-child(2) { text-align: left; }
  .footer-grid nav { justify-content: flex-start; }
  .copyright { grid-column: auto; }
  .whatsapp-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
