/* Tarealista: office paper, navy ink, green for actions, highlighter yellow only for "this step goes away" */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/BricolageGrotesque-600-800.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/PublicSans-400-700.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #F5F7F6;
  --surface: #FFFFFF;
  --ink: #16233F;
  --muted: #5C667A;
  --line: #D8DEE3;
  --accent: #0B7A63;
  --on-accent: #FFFFFF;
  --hl: #FFD943;
  --tint: #E9EEEC;
  --band: #16233F;
  --on-band: #EEF2F7;
  --band-muted: #AEB8CC;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1930; --surface: #17233F; --ink: #E8EDF5; --muted: #A3AEC4; --line: #2A3858;
    --accent: #2FB592; --on-accent: #08131F; --tint: #142039; --band: #0A1224; --on-band: #E8EDF5; --band-muted: #9AA6BE;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 780px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none;
  font: 700 1.02rem var(--font-body); padding: 14px 22px; border-radius: 10px; background: var(--accent); color: var(--on-accent); transition: transform .15s ease; }
.btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.35rem var(--font-display); text-decoration: none; letter-spacing: -0.02em; }
.mark { width: 30px; height: 30px; }
.mark .m-hl { fill: var(--hl); }
.mark .m-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.mark .m-check { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--muted); }
.top nav a:not(.btn):hover { color: var(--ink); }
.top nav .btn { padding: 10px 16px; font-size: .95rem; }
@media (max-width: 860px) { .top nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .top nav .btn { display: none; } }

/* Hero: the copy, then a real task with its manual steps highlighted away */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 76px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.kicker { color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.micro { margin-top: 16px; font-size: .95rem; color: var(--muted); }

.tray { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 20px; box-shadow: 0 18px 40px -24px rgba(22, 35, 63, .45); }
.tray figcaption { font: 500 .85rem var(--font-mono); color: var(--muted); padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.steps .hl { color: var(--ink); background-image: linear-gradient(transparent 52%, var(--hl) 52%, var(--hl) 88%, transparent 88%);
  background-repeat: no-repeat; background-size: 100% 100%; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--muted);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.steps .you { border-bottom: 0; color: var(--accent); display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.steps .you::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--accent)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.tray-note { margin-top: 12px; font-size: .92rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .steps .hl { animation: swipe .5s ease-out both, strike .3s ease-out both; }
  .steps li:nth-child(1) .hl { animation-delay: .4s, .9s; }
  .steps li:nth-child(2) .hl { animation-delay: .75s, 1.25s; }
  .steps li:nth-child(3) .hl { animation-delay: 1.1s, 1.6s; }
  .steps li:nth-child(4) .hl { animation-delay: 1.45s, 1.95s; }
  .steps .you { animation: rise .4s ease-out 2.3s both; }
}
@keyframes swipe { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes strike { from { text-decoration-color: transparent; } to { text-decoration-color: var(--muted); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Sections */
section.block { padding-block: clamp(36px, 5vw, 60px); }
.tint { background: var(--tint); }
.head { max-width: 760px; margin-bottom: 28px; }
.head p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }
.aside { margin-top: 22px; color: var(--muted); }

/* Calculator band */
.calc-band { background: var(--band); color: var(--on-band); }
.calc-band .head p { color: var(--band-muted); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-in { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 24px; display: grid; gap: 22px; }
.calc-in fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-in legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 8px; border: 1.5px solid var(--line); font-weight: 600; font-size: .95rem; cursor: pointer; }
.chips input:checked + span { background: var(--hl); border-color: var(--hl); color: #16233F; }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-in label { display: grid; gap: 8px; font-weight: 700; }
.range > span { display: flex; justify-content: space-between; align-items: baseline; }
.range output { font: 500 1.1rem var(--font-mono); }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .pair { grid-template-columns: 1fr; } }
.unit { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.calc-out { border: 1.5px solid rgba(238, 242, 247, .25); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.big { font: 800 clamp(2.6rem, 6vw, 4.2rem)/1 var(--font-display); letter-spacing: -0.02em; }
.big .num { background-image: linear-gradient(transparent 60%, rgba(255, 217, 67, .55) 60%, rgba(255, 217, 67, .55) 92%, transparent 92%); padding-inline: 4px; }
.sub { color: var(--band-muted); font-size: 1.1rem; margin-top: -6px; }
.money { font-size: 1.15rem; font-weight: 600; }
.verdict { background: rgba(255, 217, 67, .14); border-left: 4px solid var(--hl); padding: 12px 14px; border-radius: 4px; }
.note { font-size: .88rem; color: var(--band-muted); }
.calc-out .btn { background: var(--hl); color: #16233F; }

/* Shared form controls */
input, select, textarea { font: 400 1rem var(--font-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 12px; width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(11, 122, 99, .25); }
[aria-invalid="true"] { border-color: #B3261E; }

/* Tasks: each one shows the manual "before" struck through and the "after" */
.tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--ink); }
@media (max-width: 900px) { .tasks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tasks { grid-template-columns: 1fr; } }
.tasks li { padding: 22px 22px 24px 0; border-bottom: 1px solid var(--line); }
.tasks h3 { margin-bottom: 12px; }
.before { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(92, 102, 122, .6); margin-bottom: 10px; }
.after { padding-left: 14px; border-left: 3px solid var(--accent); }

/* Steps are a real sequence, so they are numbered */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.flow li { counter-increment: step; }
.flow li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); font: 500 1rem var(--font-mono); margin-bottom: 14px; }
.flow p { margin-top: 8px; color: var(--muted); }

/* Guarantee with a rubber stamp */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 700px) { .guarantee { grid-template-columns: 1fr; } }
.stamp { width: 170px; height: 170px; border-radius: 50%; border: 4px double var(--accent); color: var(--accent); display: grid; place-content: center; text-align: center; transform: rotate(-12deg);
  font: 500 1.05rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.stamp span:first-child { font: 800 1.9rem/1 var(--font-display); letter-spacing: 0; }
.guarantee p { margin-top: 14px; max-width: 40em; }
.small { font-size: .95rem; color: var(--muted); }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .prices { grid-template-columns: 1fr; } }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.price.main { border: 2px solid var(--accent); }
.amount { font: 800 2.6rem/1.1 var(--font-display); margin: 10px 0 8px; letter-spacing: -0.02em; }
.amount small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price p:last-child { color: var(--muted); }

/* Data and limits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.ticks, .crosses { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li, .crosses li { padding-left: 32px; position: relative; }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: 1px; font: 700 1.1rem var(--font-mono); }
.ticks li::before { content: "✓"; color: var(--accent); }
.crosses li::before { content: "×"; color: var(--muted); }
#nosotros p { margin-top: 14px; font-size: 1.1rem; }

/* FAQ */
.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.3rem/1 var(--font-mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* Contact */
.contact { background: var(--band); color: var(--on-band); padding-block: clamp(40px, 6vw, 72px); }
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 56px); }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }
.contact-copy p { margin-top: 14px; color: var(--band-muted); }
.contact-copy a { color: var(--on-band); font-weight: 700; }
#leadForm { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 24px; display: grid; gap: 16px; }
#leadForm label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px; }
.captcha { min-height: 65px; }
.form-msg { font-weight: 600; }
.legal { font-size: .85rem; color: var(--muted); }

/* Footer and mobile bar */
footer { border-top: 1px solid var(--line); padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); font-size: .92rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 18px; }
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px max(12px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
  .callbar .btn { flex: 1; padding: 12px 10px; }
  body { padding-bottom: 76px; }
  body.at-form .callbar { display: none; }
}

/* Legal pages */
.doc { padding-block: 40px 60px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.35rem; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 10px; }
