/* Del Paro al Negocio — estilos (mobile-first, inspirado en Apple: blanco, tipografía grande, cristal, un acento fuerte) */

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #6e6e73;
  --bg: #ffffff;
  --gray: #f5f5f7;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --accent: #0a5cff;
  --accent-press: #0047d1;
  --accent-soft: rgba(10, 92, 255, 0.09);
  --ok: #1f9d55;
  --warn: #d98a00;
  --no: #e03a3e;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.06);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.04), 0 24px 60px rgba(10, 30, 80, .12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 1.0625rem/1.55 var(--font); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid rgba(10,92,255,.45); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 780px; }
.wrap--form { max-width: 720px; }
.muted { color: var(--ink-3); font-weight: 400; }
.todo { background: #fff4d6; color: #7a5200; border-radius: 6px; padding: 0 .3em; font-weight: 500; }
.todo-line { margin-top: 18px; text-align: center; }

/* ---------- Tipografía ---------- */
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--accent); margin-bottom: 12px; }
.display {
  font-size: clamp(2.35rem, 8.4vw, 4.9rem); line-height: 1.04; letter-spacing: -0.038em; font-weight: 700;
  text-wrap: balance;
}
.display__soft {
  display: block; margin-top: .12em;
  background: linear-gradient(92deg, #6e6e73 0%, #0a5cff 55%, #7a5cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display--md { font-size: clamp(2rem, 6.4vw, 3.75rem); }
.lead { font-size: clamp(1.125rem, 2.6vw, 1.375rem); line-height: 1.45; color: var(--ink-2); letter-spacing: -0.01em; max-width: 40ch; }
.h2 { font-size: clamp(1.85rem, 5.6vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.h2--sm { font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
h3 { font-size: 1.1875rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; }
.fineprint { font-size: .8125rem; color: var(--ink-3); line-height: 1.45; }
.fineprint--center { text-align: center; margin-top: 12px; }
.hint { font-size: .8438rem; color: var(--ink-3); margin-top: 8px; line-height: 1.45; }
.hint--top { margin: -4px 0 14px; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px;
  background: var(--b); color: #fff; font: 600 1rem/1 var(--font); letter-spacing: -0.01em;
  cursor: pointer; text-decoration: none !important; user-select: none; -webkit-user-select: none;
  transition: transform .18s var(--ease), background-color .2s, box-shadow .2s;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 18px rgba(10,92,255,.25);
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn--pill { border-radius: 999px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: .875rem; box-shadow: none; }
.btn--block { width: 100%; }
.btn--ghost { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.btn--ghost:hover { background: rgba(10,92,255,.15); }
.btn--wa { background: #1faa59; box-shadow: 0 6px 18px rgba(31,170,89,.25); margin-top: 22px; }
.btn--wa:hover { background: #178a48; }
.btn[disabled] { opacity: .55; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* ---------- Navegación (cristal) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { height: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.brand__mark svg { width: 28px; height: 28px; }
.brand__mark rect { fill: var(--accent); }
.brand__mark path { stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.brand__name { font-weight: 650; letter-spacing: -0.02em; font-size: 1rem; }
.nav__links { display: none; gap: 28px; }
.nav__links a { color: var(--ink-2); font-size: .875rem; }
.nav__links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; text-align: center; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 40% at 50% 62%, rgba(10,92,255,.10), transparent 70%),
    radial-gradient(30% 30% at 72% 40%, rgba(122,92,255,.12), transparent 70%),
    radial-gradient(28% 28% at 28% 48%, rgba(0,190,255,.10), transparent 70%);
  filter: blur(10px);
}
.hero__in { display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { margin-bottom: 18px; }
.hero .lead { margin: 22px auto 0; }
.hero__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__honest { font-size: .9375rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.hero__honest::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,157,85,.15); }
.hero__device { margin-top: 52px; width: 100%; max-width: 460px; }
.hero .fineprint { margin-top: 28px; }

.glass {
  text-align: left; padding: 18px 18px 8px; border-radius: 26px;
  background: rgba(255,255,255,.62); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.9);
}
.glass__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.glass__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(0,0,0,.1); }
.glass__label { font-size: .75rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.states { list-style: none; margin: 0; padding: 0; }
.states li { display: grid; grid-template-columns: 14px auto 1fr; align-items: baseline; column-gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.states li:first-child { border-top: 0; }
.states b { font-weight: 650; font-size: .9375rem; }
.states em { font-style: normal; font-size: .8125rem; color: var(--ink-2); grid-column: 2 / -1; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; align-self: center; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(31,157,85,.14); }
.dot--warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(217,138,0,.14); }
.dot--no { background: var(--no); box-shadow: 0 0 0 4px rgba(224,58,62,.14); }

/* ---------- Secciones ---------- */
.section { padding: 84px 0; }
.section--gray { background: var(--gray); }
.sec-head { margin-bottom: 40px; max-width: 720px; }
.sec-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head__sub { color: var(--ink-2); font-size: 1.0625rem; margin-top: 14px; }

.cards3 { display: grid; gap: 14px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.card__num { display: block; font-size: .8125rem; font-weight: 700; color: var(--accent); margin-bottom: 18px; letter-spacing: .04em; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .9688rem; }

/* ---------- Calculadora ---------- */
.calc { display: grid; gap: 20px; align-items: start; }
.calc__form { display: grid; gap: 14px; }
.step { margin: 0; border: 0; padding: 22px 18px; background: var(--gray); border-radius: var(--radius); min-width: 0; }
.step legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font-weight: 650; font-size: 1.125rem; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.step legend + * { clear: both; }
.step__n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8125rem; display: inline-grid; place-items: center; }
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.label { display: block; font-size: .9063rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.005em; }
.opt { font-weight: 400; color: var(--ink-3); }

.input { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
.input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10,92,255,.14); }
.input input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; height: 52px; font: 500 1.125rem var(--font); color: var(--ink); letter-spacing: -0.01em; outline: none; }
.input__suffix { padding-right: 14px; color: var(--ink-3); font-size: .875rem; white-space: nowrap; }
.input.is-invalid { border-color: var(--no); }

/* Segmented control */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: rgba(118,118,128,.12); border-radius: 12px; padding: 3px; gap: 3px; }
.seg label { position: relative; }
.seg input, .chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 40px; padding: 0 8px; border-radius: 9px; font-size: .9063rem; font-weight: 500; color: var(--ink); text-align: center; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); cursor: pointer; }
.seg input:checked + span { background: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.08); }
.seg input:focus-visible + span { outline: 3px solid rgba(10,92,255,.45); }
.seg--yn { width: 116px; flex-shrink: 0; }
@media (min-width: 720px) { .seg--yn { width: 140px; } }

.q { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.q:first-of-type { border-top: 0; padding-top: 0; }
.q__t { font-size: .9375rem; line-height: 1.4; }
.q.is-missing .q__t { color: var(--warn); }
.q + .field { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: .875rem; font-weight: 500; cursor: pointer; transition: all .18s var(--ease); }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid rgba(10,92,255,.45); }

/* Resultado */
.result { background: #fff; border-radius: 28px; padding: 28px 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); min-height: 300px; position: relative; overflow: hidden; }
.result::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--line); transition: background-color .4s; }
.result[data-estado="apto"]::before { background: var(--ok); }
.result[data-estado="revisar"]::before { background: var(--warn); }
.result[data-estado="no_apto"]::before { background: var(--no); }
.result__empty { display: grid; justify-items: center; text-align: center; padding: 30px 0; }
.result__empty-t { font-weight: 600; font-size: 1.0625rem; margin-top: 20px; }
.ring { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), #7a5cff, #00beff, var(--accent)); padding: 3px; animation: spin 6s linear infinite; }
.ring span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.badge { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge--apto { color: var(--ok); background: rgba(31,157,85,.1); }
.badge--revisar { color: #a86b00; background: rgba(217,138,0,.12); }
.badge--no_apto { color: var(--no); background: rgba(224,58,62,.1); }
.result__label { margin-top: 20px; color: var(--ink-2); font-size: .9375rem; font-weight: 500; }
.result__big { font-size: clamp(2.75rem, 12vw, 4.25rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; margin-top: 4px; font-variant-numeric: tabular-nums; }
.result[data-estado="no_apto"] .result__big { color: var(--ink-3); }
.result__note { font-size: .8438rem; color: var(--ink-3); margin-top: 6px; }

.breakdown { margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.breakdown dt { color: var(--ink-2); }
.breakdown dd { margin: 0; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.breakdown .is-neg dd { color: var(--no); }
.breakdown .is-total dt { color: var(--ink); font-weight: 600; }

.reasons { margin-top: 18px; display: grid; gap: 10px; }
.reason { border-radius: 14px; padding: 12px 14px; font-size: .9063rem; line-height: 1.45; background: var(--gray); }
.reason strong { display: block; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.reason--exclusion { background: rgba(224,58,62,.07); }
.reason--exclusion strong { color: var(--no); }
.reason--contradiccion, .reason--validacion, .reason--por_verificar, .reason--falta { background: rgba(217,138,0,.09); }
.reason--contradiccion strong, .reason--validacion strong, .reason--por_verificar strong, .reason--falta strong { color: #a86b00; }
.reason ul { margin: 4px 0 0; padding-left: 18px; }

.tips { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.tips li { font-size: .8125rem; color: var(--ink-2); padding-left: 18px; position: relative; line-height: 1.45; }
.tips li::before { content: "i"; position: absolute; left: 0; top: 1px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--ink-3); font-size: 9px; font-weight: 700; display: grid; place-items: center; color: var(--ink-3); font-style: italic; }
.disclaimer { margin: 20px 0 16px; font-size: .8438rem; font-weight: 600; color: var(--ink); padding: 10px 12px; border-radius: 12px; background: var(--gray); }
.result__support { text-align: center; font-size: .9375rem; color: var(--ink-2); margin-top: 12px; }

.result__full.is-in { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Pasos ---------- */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps3 li { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.steps3__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 18px; }
.steps3 h3 { margin-bottom: 8px; }
.steps3 p { color: var(--ink-2); font-size: .9688rem; }

/* ---------- Planes ---------- */
.plans { display: grid; gap: 14px; }
.plan { display: flex; flex-direction: column; background: var(--gray); border-radius: var(--radius); padding: 28px 24px; }
.plan--free { background: var(--ink); color: #fff; }
.plan--free p, .plan--free li { color: rgba(255,255,255,.75) !important; }
.plan--free .plan__tag { color: #7fb0ff !important; }
.plan__tag { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.plan h3 { font-size: 1.375rem; margin-bottom: 8px; }
.plan > p { color: var(--ink-2); font-size: .9375rem; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; }
.plan li { font-size: .9063rem; color: var(--ink-2); padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan--free li::before { border-color: #7fb0ff; }
.plan__price { margin-top: auto !important; margin-bottom: 14px; font-size: .8438rem !important; font-weight: 600; color: var(--ink) !important; }
.plan--free .btn { margin-top: auto; }

/* ---------- Tarifa plana ---------- */
.feature { display: grid; gap: 28px; background: #fff; border-radius: 28px; padding: 32px 24px; box-shadow: var(--shadow); }
.feature p:not(.eyebrow) { color: var(--ink-2); margin-top: 14px; }
.feature__num { font-size: clamp(4.5rem, 20vw, 7.5rem); font-weight: 700; letter-spacing: -0.06em; line-height: .9; background: linear-gradient(160deg, var(--accent), #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; display: flex; align-items: flex-end; gap: 6px; }
.feature__num small { font-size: 1.125rem; letter-spacing: -0.01em; color: var(--ink-2); -webkit-text-fill-color: var(--ink-2); padding-bottom: .6em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); padding: 0 0 22px; max-width: 64ch; }
.faq details[open] p { animation: rise .35s var(--ease) both; }

/* ---------- Sobre nosotros / reseñas ---------- */
.about { display: grid; gap: 28px; }
.about p { color: var(--ink-2); margin-top: 14px; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.facts dt { font-size: .8125rem; color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 6px 0 0; font-weight: 650; font-size: 1.125rem; display: inline-block; }
.reviews-empty { border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 48px 20px; text-align: center; }

/* ---------- Formulario de lead ---------- */
.leadform { background: #fff; border-radius: 28px; padding: 26px 20px; box-shadow: var(--shadow-lg); }
.lead__calc { display: flex; gap: 10px; align-items: flex-start; background: var(--gray); border-radius: 14px; padding: 12px 14px; margin-bottom: 22px; font-size: .875rem; color: var(--ink-2); }
.lead__calc .dot { margin-top: 5px; flex-shrink: 0; }
.grid2 { display: grid; gap: 0 16px; }
.txt { width: 100%; height: 52px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: #fff; font: 500 1rem var(--font); color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
select.txt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386868b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.txt:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10,92,255,.14); }
.txt.is-invalid { border-color: var(--no); }
.err { color: var(--no); font-size: .8125rem; margin-top: 6px; min-height: 0; }
.err:empty { display: none; }
.err--form { text-align: center; margin-top: 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 4px; font-size: .875rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 22px; height: 22px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.leadform .btn { margin-top: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks { background: #fff; border-radius: 28px; padding: 48px 24px; box-shadow: var(--shadow-lg); text-align: center; display: grid; justify-items: center; outline: none; }
.thanks p { color: var(--ink-2); margin-top: 10px; font-size: 1.0625rem; }
.thanks__check svg { width: 64px; height: 64px; margin-bottom: 20px; }
.thanks__check circle { fill: none; stroke: var(--ok); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s var(--ease) forwards; }
.thanks__check path { fill: none; stroke: var(--ok); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Cierre y pie ---------- */
.closing { text-align: center; padding: 110px 0; background: radial-gradient(60% 70% at 50% 100%, rgba(10,92,255,.10), transparent 70%); }
.closing__in { display: grid; justify-items: center; gap: 20px; }
.closing .lead { margin: 0 auto; }
.closing .btn { margin-top: 8px; }

.footer { background: var(--gray); border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); font-size: .8125rem; color: var(--ink-2); }
.footer__top { display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer nav a, .footer .linklike { color: var(--ink-2); }
.footer__legal { line-height: 1.6; color: var(--ink-3); max-width: 90ch; }

/* ---------- Cookies ---------- */
.cookies { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; padding: 16px; border-radius: 20px; background: rgba(255,255,255,.82); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .875rem; color: var(--ink-2); animation: rise .4s var(--ease) both; }
.cookies__btns { display: flex; gap: 8px; margin-top: 12px; justify-content: flex-end; }

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Tablet / escritorio ---------- */
@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .hero { padding: 96px 0 96px; }
  .section { padding: 112px 0; }
  .cards3, .steps3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .leadform { padding: 36px 34px; }
  .step { padding: 26px 26px; }
  .feature { grid-template-columns: auto 1fr; align-items: center; gap: 48px; padding: 48px; }
  .about { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
  .footer__top { flex-direction: row; justify-content: space-between; align-items: center; }
  .cookies { left: auto; right: 20px; bottom: 20px; max-width: 380px; }
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .calc { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; }
  .calc__result { position: sticky; top: calc(var(--nav-h) + 20px); }
  .result { padding: 34px 30px; }
}
@media (min-width: 1080px) {
  .plans { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Accesibilidad ---------- */
@media (hover: none) { .btn:hover { background: var(--b); } .btn--ghost:hover { background: var(--accent-soft); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .glass, .cookies { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #3a3a3c; --ink-3: #555558; --line: rgba(0,0,0,.25); --line-2: rgba(0,0,0,.45); }
}

/* ---------- Paquete único ---------- */
.pack { background: var(--ink); color: #fff; border-radius: 28px; padding: 30px 22px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.pack::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(10,92,255,.35), transparent); pointer-events: none; }
.pack > * { position: relative; }
.pack .plan__tag { color: #7fb0ff; }
.pack__title { font-size: clamp(1.6rem, 4.6vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.pack__head { display: grid; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.pack__price { font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.75); }
.pack__groups { display: grid; gap: 22px; padding: 24px 0 28px; }
.pack h4 { margin: 0 0 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pack li { font-size: .9688rem; color: rgba(255,255,255,.9); padding-left: 24px; position: relative; }
.pack li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid #7fb0ff; border-bottom: 2px solid #7fb0ff; transform: rotate(-45deg); }
.pack__cta { width: 100%; }
@media (min-width: 720px) {
  .pack { padding: 48px; }
  .pack__head { grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
  .pack__price { max-width: 260px; text-align: right; }
  .pack__groups { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
  .pack__cta { width: auto; }
}
@media (min-width: 1080px) { .pack__groups { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Calculadora sin cifra visible ---------- */
.dot--step { background: var(--accent); box-shadow: 0 0 0 4px rgba(10,92,255,.14); }
.result[data-estado="listo"]::before { background: var(--accent); }
.result[data-estado="pendiente"]::before { background: var(--warn); }
.result__missing { padding: 8px 0; }
.result__missing .result__empty-t { margin-top: 0; }
.missing { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.missing li { font-size: .9063rem; line-height: 1.45; padding: 10px 12px 10px 34px; border-radius: 12px; background: rgba(217,138,0,.09); position: relative; }
.missing li::before { content: "!"; position: absolute; left: 12px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--warn); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.result__full { text-align: center; }
.result__full .thanks__check svg { width: 56px; height: 56px; margin: 6px auto 16px; }
.result__full .thanks__check circle, .result__full .thanks__check path { stroke: var(--accent); }
.result__ready { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; }
.result__ready-sub { color: var(--ink-2); margin-top: 10px; font-size: .9688rem; }
.result__full .disclaimer { text-align: left; }

/* ---------- Confianza (ESAN) ---------- */
.trust { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 760px; }
.trust li { background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 18px; padding: 14px 12px; display: grid; gap: 2px; justify-items: center; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.trust b { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; }
.trust em { font-style: normal; font-size: .75rem; color: var(--ink-2); }
.trust__stars, .stars { color: #f5b301; letter-spacing: 2px; font-size: .875rem; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(4, 1fr); } }

.team { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.team li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.team__av { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 700; color: #fff; background: linear-gradient(140deg, var(--accent), #7a5cff); }
.team b { display: block; font-size: .875rem; font-weight: 650; line-height: 1.25; }
.team em { font-style: normal; font-size: .8125rem; color: var(--ink-3); }
.about .facts { grid-template-columns: 1fr 1fr; }
.facts dd { font-size: 1.75rem !important; letter-spacing: -0.03em; }

.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 22px 22px; scroll-padding: 0 22px; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.reviews::-webkit-scrollbar { display: none; }
.review { margin: 0; scroll-snap-align: start; background: var(--gray); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.review__top { display: flex; justify-content: space-between; align-items: center; }
.review__g { font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.45; letter-spacing: -0.01em; flex: 1; }
.review figcaption b { display: block; font-size: .9063rem; }
.review figcaption em { font-style: normal; font-size: .8125rem; color: var(--ink-3); }
@media (min-width: 720px) { .reviews { grid-auto-columns: 40%; padding: 4px max(32px, calc((100vw - 1056px) / 2)) 24px; scroll-padding: 0 max(32px, calc((100vw - 1056px) / 2)); } }
@media (min-width: 1080px) { .reviews { grid-auto-columns: 30%; } }

.pack__lead { color: rgba(255,255,255,.72); font-size: 1rem; margin-top: 12px; max-width: 56ch; }

/* ---------- Asistente (chat) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; font-family: var(--font); }
.chat__fab { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 16px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; font: 600 .9375rem var(--font); background: var(--ink); box-shadow: 0 8px 28px rgba(0,0,0,.22); transition: transform .2s var(--ease), opacity .2s; }
.chat__fab svg { width: 22px; height: 22px; fill: #fff; }
.chat__fab:active { transform: scale(.95); }
.chat.is-open .chat__fab { opacity: 0; pointer-events: none; transform: scale(.8); }
.chat__panel { position: fixed; inset: auto 0 0 0; height: min(86dvh, 680px); display: flex; flex-direction: column; background: rgba(255,255,255,.9); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); border-radius: 26px 26px 0 0; box-shadow: 0 -10px 50px rgba(0,0,0,.18); border: 1px solid var(--line); transform-origin: bottom right; animation: chatIn .38s var(--ease) both; padding-bottom: env(safe-area-inset-bottom); }
@keyframes chatIn { from { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.chat__avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.chat__avatar svg { width: 22px; height: 22px; } .chat__avatar path { stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chat__title { font-weight: 650; font-size: 1rem; letter-spacing: -0.01em; }
.chat__sub { font-size: .75rem; color: var(--ink-3); }
.chat__close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(118,118,128,.14); color: var(--ink); font-size: 1.375rem; line-height: 1; cursor: pointer; }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 20px; font-size: .9375rem; line-height: 1.45; animation: rise .3s var(--ease) both; }
.msg p + p, .msg p + .chips-chat, .msg p + .chat__cta { margin-top: 8px; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg__mini { font-size: .75rem; color: var(--ink-3); margin-top: 10px !important; }
.msg__err { color: var(--no); margin-top: 8px; }
.msg--typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite ease-in-out; }
.msg--typing span:nth-child(2) { animation-delay: .15s; } .msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chips-chat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip-chat { border: 1px solid rgba(10,92,255,.25); background: var(--accent-soft); color: var(--accent); border-radius: 14px; padding: 7px 11px; font: 500 .8125rem/1.3 var(--font); text-align: left; cursor: pointer; transition: background-color .15s; }
.chip-chat:hover { background: rgba(10,92,255,.16); }
.chip-chat:active { transform: scale(.97); }
.chat__cta { display: block; width: 100%; margin-top: 10px; min-height: 40px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font: 600 .875rem var(--font); cursor: pointer; }
.chat__cta + .chat__cta { background: var(--ink); }
.chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat__input { flex: 1; min-width: 0; height: 44px; border-radius: 22px; border: 1px solid var(--line-2); padding: 0 16px; font: 400 1rem var(--font); background: #fff; color: var(--ink); }
.chat__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10,92,255,.14); }
.chat__send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.chat__send svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chat__legal { font-size: .6875rem; color: var(--ink-3); padding: 0 14px 10px; line-height: 1.4; }
html.chat-open .cookies { display: none; }
@media (max-width: 719px) { html.chat-open body { overflow: hidden; } }
@media (min-width: 720px) {
  .chat { right: 24px; bottom: 24px; }
  .chat__panel { inset: auto 24px 24px auto; width: 390px; height: min(640px, calc(100dvh - 120px)); border-radius: 26px; }
}
@media (prefers-reduced-transparency: reduce) { .chat__panel { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }
.cookies:not([hidden]) ~ .chat { bottom: calc(190px + env(safe-area-inset-bottom)); }

/* ---------- Calculadora por pasos ---------- */
.wizard { max-width: 640px; margin: 0 auto; }
.wz-progress { margin-bottom: 18px; }
.wz-bar { height: 6px; border-radius: 99px; background: rgba(118,118,128,.16); overflow: hidden; }
.wz-bar span { display: block; height: 100%; width: 25%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #7a5cff); transition: width .5s var(--ease); }
.wz-label { margin-top: 10px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); text-align: center; }
.wz-step legend { margin-bottom: 20px; font-size: 1.375rem; }
.wz-in { animation: wzIn .45s var(--ease) both; }
@keyframes wzIn { from { opacity: 0; transform: translateX(16px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.wz-err { color: var(--no); font-size: .875rem; text-align: center; min-height: 0; }
.wz-err:empty { display: none; }
.wz-nav { display: flex; gap: 10px; }
.wz-nav .btn { flex: 1; }
.wz-nav [data-wz-back] { flex: 0 0 auto; }
.wz-contact { background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 28px 20px; }
.wz-contact__head { text-align: center; margin-bottom: 22px; }
.wz-contact__head .thanks__check svg { width: 52px; height: 52px; margin: 0 auto 14px; }
.wz-contact__head .thanks__check circle, .wz-contact__head .thanks__check path { stroke: var(--accent); }
.wz-title { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.wz-sub { color: var(--ink-2); margin-top: 10px; font-size: .9688rem; }
.wz-contact .leadform { box-shadow: none; padding: 0; border-radius: 0; }
.wz-contact .thanks { box-shadow: none; padding: 20px 0 8px; }
.wz-backlink { display: block; margin: 16px auto 0; font-size: .875rem; color: var(--accent); }
@media (min-width: 720px) { .wz-contact { padding: 40px 40px 32px; } }

/* ---------- Páginas legales ---------- */
.legal { padding-top: 48px; padding-bottom: 80px; }
.legal h1 { margin-bottom: 16px; }
.legal h2 { font-size: 1.25rem; letter-spacing: -0.02em; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal__intro { font-size: 1.125rem !important; }
.legal__table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: .9063rem; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal__table th { color: var(--ink); font-weight: 650; }
.legal__date { margin-top: 36px !important; font-size: .875rem !important; }
.legal .btn { margin-top: 20px; }
@media (max-width: 560px) { .legal__table, .legal__table tbody, .legal__table tr, .legal__table td { display: block; width: 100%; } .legal__table thead { display: none; } .legal__table tr { border-bottom: 1px solid var(--line); padding: 8px 0; } .legal__table td { border: 0; padding: 2px 0; } .legal__table td:first-child { color: var(--ink); font-weight: 600; } }
.legal-page .footer nav { display: flex; gap: 18px; }

/* ---------- Newsletter ---------- */
.nl { display: grid; gap: 24px; background: #fff; border-radius: 28px; padding: 30px 22px; box-shadow: var(--shadow); }
.nl__copy p:not(.eyebrow) { color: var(--ink-2); margin-top: 12px; }
.nl__row { display: grid; gap: 10px; }
.nl__row .btn { width: 100%; }
.nl .consent { margin-top: 12px; }
.nl__ok { display: grid; justify-items: center; text-align: center; gap: 10px; color: var(--ink-2); outline: none; align-self: center; }
.nl__ok .thanks__check svg { width: 52px; height: 52px; }
@media (min-width: 720px) {
  .nl { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 48px; }
  .nl__row { grid-template-columns: 1fr auto; }
  .nl__row .btn { width: auto; }
}

/* ---------- Blog ---------- */
.posts { display: grid; gap: 16px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s; }
.section--gray .post-card, .blog-hero .post-card { background: #fff; }
#blog .post-card { background: var(--gray); box-shadow: none; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card:active { transform: scale(.99); }
.post-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__meta { font-size: .75rem; font-weight: 600; color: var(--accent); letter-spacing: .02em; }
.post-card h3 { font-size: 1.1875rem; line-height: 1.25; }
.post-card p:not(.post-card__meta) { color: var(--ink-2); font-size: .9375rem; }
.post-card__more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .9063rem; color: var(--accent); }
.blog-more { text-align: center; margin-top: 28px; }
.blog-hero { padding-top: 56px; }
@media (min-width: 720px) { .posts { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1080px) { .posts { grid-template-columns: repeat(3, 1fr); } }

.post { padding: 48px 0 24px; }
.post__head .eyebrow a { color: var(--accent); }
.post__title { font-size: clamp(2rem, 6.4vw, 3.4rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.post__lead { font-size: clamp(1.125rem, 2.4vw, 1.3125rem); color: var(--ink-2); margin-top: 18px; line-height: 1.45; }
.post__meta { font-size: .8438rem; color: var(--ink-3); margin-top: 16px; }
.post__cover { max-width: 1000px; margin: 32px auto 8px; }
.post__cover img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }
.post__body { padding-top: 24px; }
.post__body p, .post__body li { font-size: 1.125rem; line-height: 1.7; color: #2c2c2e; }
.post__body p { margin-top: 18px; }
.post__body h2 { font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; margin-top: 52px; }
.post__body h3 { font-size: 1.25rem; letter-spacing: -0.015em; margin-top: 30px; }
.post__body ul, .post__body ol { margin: 16px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.post__body a { text-decoration: underline; text-underline-offset: 3px; }
.post-quote { margin: 30px 0 0; padding: 20px 22px; border-radius: 18px; background: var(--accent-soft); border-left: 4px solid var(--accent); font-size: 1.1875rem; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.post-cta { margin: 40px 0 0; padding: 26px 22px; border-radius: 24px; background: var(--ink); color: #fff; }
.post-cta p { color: rgba(255,255,255,.75) !important; font-size: 1rem !important; margin-top: 8px !important; }
.post-cta .post-cta__t { color: #fff !important; font-size: 1.375rem !important; font-weight: 700; letter-spacing: -0.02em; margin-top: 0 !important; line-height: 1.2; }
.post-cta .btn { margin-top: 18px; text-decoration: none; }
.post-cta--final { background: linear-gradient(140deg, var(--accent), #5b3cff); }
.post__disclaimer { font-size: .8438rem !important; color: var(--ink-3) !important; margin-top: 28px !important; }
@media (min-width: 720px) { .post-cta { padding: 34px 36px; } }

/* ---------- Buscador del blog y relacionados ---------- */
.blog-search { margin: 0 0 28px; }
.blog-search__form { position: relative; display: flex; gap: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 6px 6px 6px 44px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.blog-search__form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10,92,255,.14), var(--shadow); }
.blog-search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 2.2; stroke-linecap: round; }
.blog-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 500 1rem var(--font); color: var(--ink); height: 44px; }
.blog-search input::-webkit-search-cancel-button { cursor: pointer; }
.blog-search .btn { min-height: 44px; padding: 0 18px; box-shadow: none; }
.blog-search__estado { font-size: .875rem; color: var(--ink-2); margin-top: 10px; }
.blog-search__estado:empty { display: none; }
.search-results { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.search-hit { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; transition: transform .2s var(--ease); }
.search-hit:hover { transform: translateY(-2px); }
.search-hit img { width: 96px; height: 54px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.search-hit__meta { font-size: .6875rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.search-hit__t { font-weight: 650; font-size: .9688rem; line-height: 1.3; margin-top: 2px; }
.search-hit__f { font-size: .8125rem; color: var(--ink-2); margin-top: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-search.is-searching + .posts, .blog-search.is-searching ~ .related__posts { opacity: .35; }
@media (min-width: 720px) { .search-hit img { width: 140px; height: 79px; } .blog-search { max-width: 760px; } }
.post-card img { aspect-ratio: 16 / 9; }
.post__cover img { aspect-ratio: 16 / 9; object-fit: cover; }

/* enlaces dentro de texto distinguibles sin depender del color */
label a, .fineprint a { text-decoration: underline; text-underline-offset: 2px; }
