/* Prosofpay — page sections beyond the reference modules. Depends on tokens.css + components.css. */

.center-cta { text-align: center; margin-top: var(--s-6); }

/* Heading left, supporting copy right */
.section-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-4) var(--s-8); align-items: end; margin-bottom: var(--s-6); }
.section-split .sub { color: var(--ink-muted); font-size: var(--t-lead); line-height: 1.5; }
.band-ink .section-split .sub { color: var(--ink-inverse-muted); }
@media (max-width: 860px) { .section-split { grid-template-columns: 1fr; } }

/* Full-width photo with caption (reference: full-bleed photo) */
.photo-caption { margin: 0; }
.photo-caption figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: var(--s-5); max-width: 560px; color: var(--ink-inverse);
}
.photo-caption figcaption h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; }
.photo-caption figcaption p { margin-top: var(--s-1); color: rgba(255, 255, 255, .82); }
.photo-caption::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .72)); }
@media (max-width: 720px) {
  .photo-caption.photo-wide { aspect-ratio: 4 / 5; }
  .photo-caption figcaption { padding: var(--s-3); }
}

/* Icon tile description */
.icon-cell { text-align: center; }
.icon-desc { color: var(--ink-muted); font-size: .925rem; line-height: 1.5; max-width: 30ch; margin-top: calc(var(--s-1) * -1); }

/* 13 products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.product-card.featured { grid-column: span 2; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } .product-card.featured { grid-column: auto; } }
.product-card {
  display: flex; flex-direction: column; gap: .6rem;
  padding: var(--s-4) var(--s-3) var(--s-3);
  background: var(--inverse-raised); color: var(--ink-inverse);
  border: 1px solid var(--border-inverse); border-radius: var(--r-tile);
  text-decoration: none;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.product-card .icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--inverse-sunken); color: var(--accent); margin-bottom: .4rem; }
.product-card .icon .i { width: 22px; height: 22px; }
.product-card h3 { font-size: 1.15rem; }
.product-card p { color: var(--ink-inverse-muted); font-size: .95rem; line-height: 1.5; flex: 1; }
.product-card .more { font-weight: 600; font-size: .9rem; margin-top: .4rem; color: var(--accent); }
.product-card:hover { background: var(--inverse-sunken); border-color: var(--accent); transform: translateY(-2px); }
.product-card.featured { border-color: rgba(253, 112, 20, .55); }
.product-cta { border-color: var(--accent); justify-content: space-between; }
.product-cta .btn { align-self: flex-start; }
.product-cta:hover { border-color: var(--accent-press); }

/* Split + UI mock (KYC) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.split-lead { margin-top: var(--s-2); color: var(--ink-muted); font-size: var(--t-lead); line-height: 1.5; }
.check-list { list-style: none; margin: var(--s-4) 0 var(--s-5); padding: 0; display: grid; gap: var(--s-2); }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--brand-contrast); margin-top: 1px; }
.check .i { width: 14px; height: 14px; stroke-width: 2.6; }
.ui-mock { background: var(--surface-inverse); color: var(--ink-inverse); border-radius: var(--r-photo); padding: var(--s-4); box-shadow: var(--shadow-lg); }
.ui-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: var(--s-3); border-bottom: 1px solid var(--border-inverse); }
.ui-title { font: 700 1.1rem/1.2 var(--f-display); }
.ui-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--t-caption); font-weight: 600; color: var(--accent); }
.ui-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(253, 112, 20, .2); }
.ui-rows { display: grid; }
.ui-row { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: var(--s-2) 0; border-bottom: 1px solid var(--border-inverse); font-size: .95rem; }
.ui-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ui-row .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--inverse-raised); color: var(--ink-inverse-muted); }
.ui-row .ic .i { width: 17px; height: 17px; }
.st { font-size: var(--t-caption); font-weight: 600; padding: .3rem .65rem; border-radius: var(--r-pill); white-space: nowrap; }
.st-ok { background: rgba(75, 197, 132, .14); color: #4bc584; }
.st-run { background: rgba(253, 112, 20, .14); color: var(--accent); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }
@media (max-width: 420px) { .ui-row { grid-template-columns: auto 1fr; } .ui-row .st { grid-column: 2; justify-self: start; } }

/* Archetypes */
.archetypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.archetype { background: var(--surface-base); border: 1px solid var(--border); border-radius: var(--r-tile); padding: var(--s-4) var(--s-3); }
.a-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: var(--brand-contrast); margin-bottom: var(--s-3); }
.a-ico .i { width: 24px; height: 24px; }
.archetype h3 { font-size: 1.3rem; }
.archetype p { color: var(--ink-muted); font-size: .95rem; margin-top: .5rem; }
@media (max-width: 960px) { .archetypes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .archetypes { grid-template-columns: 1fr; } }

/* Tesorería pillars */
.knot-band { position: relative; overflow: hidden; isolation: isolate; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.pillar { border-top: 2px solid var(--accent); padding-top: var(--s-3); }
.pillar-num { display: block; font: 800 3rem/1 var(--f-display); letter-spacing: -.03em; color: var(--ink-inverse); font-variant-numeric: tabular-nums; margin-bottom: var(--s-2); }
.pillar h3 { font-size: 1.25rem; }
.pillar p { color: var(--ink-inverse-muted); margin-top: .5rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; gap: var(--s-5); } }

/* Blog card */
.blog-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-5); align-items: center; text-decoration: none; color: var(--ink); background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--r-photo); padding: var(--s-2); transition: border-color var(--dur) var(--ease); }
.blog-card:hover { border-color: var(--border-strong); }
.blog-media { aspect-ratio: 3 / 2; border-radius: calc(var(--r-photo) - 8px); }
.blog-body { padding: var(--s-3) var(--s-3) var(--s-3) 0; display: grid; gap: var(--s-2); justify-items: start; }
.blog-body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -.02em; }
.blog-body p { color: var(--ink-muted); }
@media (max-width: 860px) { .blog-card { grid-template-columns: 1fr; } .blog-body { padding: var(--s-1) var(--s-2) var(--s-3); } }

/* =========================================================
   Inner pages (ported markup from prosofpay-website)
   ========================================================= */

/* Sections */
.section { padding: var(--s-12) 0; }
.bg-gray { background: var(--surface-raised); }
.bg-navy { background: var(--surface-inverse); color: var(--ink-inverse); position: relative; overflow: hidden; isolation: isolate; }
.section-head { max-width: 760px; margin-bottom: var(--s-6); }
.section-head.center, .center { text-align: center; margin-inline: auto; }
.section-head h2 { margin-top: var(--s-2); }
.section-head .lead { margin-top: var(--s-2); }

/* Eyebrow = overline (same as .label) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 var(--t-overline)/1.3 var(--f-ui); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--accent); flex: none; }
.eyebrow .i { display: none; }
.product-hero .eyebrow, .bg-navy .eyebrow { color: var(--accent); }

.lead { color: var(--ink-muted); font-size: var(--t-lead); line-height: 1.5; max-width: 62ch; }
.center .lead, .section-head.center .lead { margin-inline: auto; }
.bg-navy .lead { color: var(--ink-inverse-muted); }

/* Product hero (reference: black hero + big photo) */
.product-hero { padding: var(--s-8) 0 var(--s-10); }
.product-hero h1 { margin-top: var(--s-3); max-width: 18ch; }
.product-hero .lead { margin-top: var(--s-3); color: var(--ink-inverse-muted); max-width: 58ch; }
.product-hero .hero-ctas { margin-top: var(--s-5); }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--s-4); }
.tag-pill { display: inline-flex; align-items: center; padding: .45rem .9rem; border-radius: var(--r-pill); border: 1px solid var(--border); font-size: var(--t-caption); font-weight: 500; color: var(--ink); background: var(--surface-base); }
.product-hero .tag-pill, .bg-navy .tag-pill { border-color: var(--border-inverse); color: var(--ink-inverse); background: var(--inverse-raised); }
.product-hero-media { margin: var(--s-8) 0 0; aspect-ratio: 16 / 7; border-radius: var(--r-photo); overflow: hidden; position: relative; background: var(--inverse-raised); }
.product-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08); }
.product-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.35)); pointer-events: none; }
@media (max-width: 720px) { .product-hero-media { aspect-ratio: 4 / 3; } }

/* Detail cards (reference: 2×2 tiles → numbered tiles) */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.detail-card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--r-tile); padding: var(--s-4) var(--s-3); }
.bg-gray .detail-card { background: var(--surface-base); }
.detail-card .n { display: block; font: 800 2.5rem/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; padding-bottom: var(--s-2); margin-bottom: var(--s-2); border-bottom: 2px solid var(--accent); width: fit-content; }
.detail-card h3 { font-size: 1.2rem; }
.detail-card p { color: var(--ink-muted); margin-top: .5rem; font-size: .975rem; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .detail-grid { grid-template-columns: 1fr; } }

/* Pillars on light or dark */
.pillar .num { display: block; font: 800 3rem/1 var(--f-display); letter-spacing: -.03em; margin-bottom: var(--s-2); }
.pillar h3 { color: inherit; }
.section:not(.bg-navy) .pillar p { color: var(--ink-muted); }

/* CTA band (reference: download banner, without photo) */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface-inverse); color: var(--ink-inverse);
  border-radius: var(--r-photo); padding: var(--s-10) var(--s-6);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; right: -120px; top: -160px;
  background: var(--ink-inverse); opacity: .06;
  -webkit-mask: url("../img/brand/knot-lines.png") center / contain no-repeat;
          mask: url("../img/brand/knot-lines.png") center / contain no-repeat;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.025em; max-width: 22ch; margin: 0 auto; }
.cta-band p { color: var(--ink-inverse-muted); max-width: 56ch; margin: var(--s-2) auto var(--s-4); font-size: 1.125rem; }
@media (max-width: 720px) { .cta-band { padding: var(--s-8) var(--s-3); } }

/* Split visual + dashboard mock (tesorería) */
.split-visual { min-width: 0; }
.metric-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: var(--s-3); }
.metric-card { background: var(--inverse-raised); border: 1px solid var(--border-inverse); border-radius: 12px; padding: var(--s-2); display: grid; gap: .25rem; }
.metric-card small { color: var(--ink-inverse-muted); font-size: var(--t-caption); }
.metric-card b { font: 800 1.5rem/1.1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.trend { font-size: var(--t-caption); font-weight: 600; color: #4bc584; }
.spark { width: 100%; height: auto; margin-top: var(--s-3); }

/* FAQ (legacy .faq-body) */
.faq-item .faq-body { padding: 0 0 var(--s-3); color: var(--ink-muted); max-width: 70ch; }
.faq-body a, .article a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-8); align-items: start; }
.contact-aside h1 { margin-top: var(--s-3); line-height: 1; }
.contact-form { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--r-photo); padding: var(--s-5); display: grid; gap: var(--s-3); }
.contact-form .btn { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.form-note { font-size: var(--t-caption); color: var(--ink-muted); text-align: center; }
.form-success { display: none; align-items: center; gap: .6rem; padding: var(--s-2); border-radius: var(--r-sm); background: rgba(22, 121, 74, .1); color: var(--success); font-weight: 600; }
.form-success .i { width: 20px; height: 20px; flex: none; }
.field input, .field select, .field textarea { background: var(--surface-base); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .contact-form { padding: var(--s-3); } }

/* Blog article */
.article { max-width: 760px; }
.article .breadcrumb { color: var(--ink-muted); }
.article .breadcrumb a { color: var(--ink-muted); }
.article .breadcrumb a:hover { color: var(--ink); }
.article h1 { margin-top: var(--s-3); font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: .98; }
.article .meta { margin-top: var(--s-3); color: var(--ink-muted); font-size: var(--t-small); }
.article-cover { margin: var(--s-6) 0; border-radius: var(--r-photo); overflow: hidden; }
.article-cover img { width: 100%; filter: saturate(.72) contrast(1.08); }
.article > p, .article > ul { font-size: 1.125rem; line-height: 1.7; margin-top: var(--s-3); }
.article > ul { padding-left: 1.2rem; }
.article > ul li { margin-top: .5rem; }
.article > ul li::marker { color: var(--accent); }
.article > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: var(--s-8); }
.article blockquote { margin: var(--s-6) 0; padding: var(--s-1) 0 var(--s-1) var(--s-4); border-left: 4px solid var(--accent); font: 700 clamp(1.3rem, 2.4vw, 1.75rem)/1.3 var(--f-display); letter-spacing: -.01em; color: var(--ink); }
.bg-navy .check { background: var(--accent); color: var(--accent-contrast); }
.bg-gray + .footer-v3, .bg-navy + .footer-v3, .band-deep + .footer-v3 { margin-top: 0; }
.article .breadcrumb { font-size: var(--t-small); margin-top: 0; }
.article .breadcrumb a { text-decoration: none; }
.split h2 { margin-top: var(--s-2); }
.split .lead { margin-top: var(--s-2); }
/* Lone last card spans the row */
@media (min-width: 961px) { .detail-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
@media (min-width: 601px) and (max-width: 960px) { .detail-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; } }

/* =========================================================
   v3.1 · Components derived from the content suite
   (Carretera Digital, comparativa, pasos, lead magnet,
   agradecimiento, guía pilar, checklist)
   ========================================================= */

.footer-motto { margin-top: var(--s-2); font: 600 var(--t-overline)/1.3 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.text-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.band-ink .text-link, .bg-navy .text-link { color: var(--ink-inverse); }
.hero-ctas { align-items: center; }
.hero-ink .link-arrow, .product-hero .link-arrow { color: var(--ink-inverse); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cta-micro { margin-top: var(--s-2); font-size: var(--t-small); color: var(--ink-muted); }
.cta-banner .cta-micro, .cta-band .cta-micro, .band-ink .cta-micro, .bg-navy .cta-micro { color: var(--ink-inverse-muted); }

/* Stat tile: 12 vs 3–5 months */
.bars-compare { gap: 28px; }
.bars-compare span { width: 44px; border-radius: 6px 6px 0 0; }
.bars-compare span:first-child { background: var(--ink-subtle); }
.bars-read span { display: inline-block; width: 72px; text-align: center; font-size: .8rem; }
.bars-read { display: flex; justify-content: center; gap: 0; }

/* La Carretera Digital: 6 piezas */
.pieces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-inverse); border: 1px solid var(--border-inverse); border-radius: var(--r-tile); overflow: hidden; }
.pieces li { background: var(--surface-inverse); padding: var(--s-4) var(--s-3); display: grid; gap: .35rem; align-content: start; }
.piece-n { font: 800 .85rem/1 var(--f-display); color: var(--accent); letter-spacing: .04em; margin-bottom: .5rem; }
.pieces b { font: 700 1.2rem/1.2 var(--f-display); }
.pieces li > span:last-child { color: var(--ink-inverse-muted); font-size: .95rem; }
.pieces-foot { margin-top: var(--s-5); max-width: 70ch; color: var(--ink-inverse-muted); font-size: 1.125rem; }
.pieces-foot b { color: var(--ink-inverse); }
@media (max-width: 860px) { .pieces { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pieces { grid-template-columns: 1fr; } }

/* Comparativa */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-tile); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .975rem; }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 700 .95rem/1.25 var(--f-display); background: var(--surface-raised); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.compare td { color: var(--ink-muted); }
.compare .is-us { background: var(--surface-inverse); color: var(--ink-inverse); font-weight: 600; }
.compare thead .is-us { border-top: 3px solid var(--accent); }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); counter-reset: step; }
.step { background: var(--surface-base); border: 1px solid var(--border); border-radius: var(--r-tile); padding: var(--s-4) var(--s-3); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); font: 800 1.1rem/1 var(--f-display); margin-bottom: var(--s-3); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--ink-muted); margin-top: .5rem; font-size: .975rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Flujo de tesorería (4 pasos sobre negro) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.flow li { border-top: 2px solid var(--accent); padding-top: var(--s-3); }
.flow h3 { font-size: 1.2rem; }
.flow p { color: var(--ink-inverse-muted); margin-top: .5rem; font-size: .975rem; }
.section:not(.bg-navy) .flow p { color: var(--ink-muted); }
.section:not(.bg-navy) .flow .pillar-num { color: var(--ink); }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Lead magnet band */
.magnet { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-6); align-items: center; padding: var(--s-6); border-radius: var(--r-photo); background: var(--surface-raised); border: 1px solid var(--border); }
.magnet h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-top: var(--s-2); }
.magnet-body p { margin: var(--s-2) 0 var(--s-4); color: var(--ink-muted); font-size: 1.075rem; max-width: 52ch; }
.magnet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.magnet-list li { display: flex; gap: .9rem; align-items: baseline; background: var(--surface-base); border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1rem; font-weight: 500; }
.magnet-list span { flex: none; font: 800 .95rem/1 var(--f-display); color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
@media (max-width: 860px) { .magnet { grid-template-columns: 1fr; padding: var(--s-4) var(--s-3); } }

/* Simple centered page (gracias, landing) */
.page-narrow { max-width: 760px; margin: 0 auto; }
.done-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); margin-bottom: var(--s-4); }
.done-mark .i { width: 30px; height: 30px; stroke-width: 2.4; }
.product-hero .done-mark + h1 { margin-top: 0; }
.next-card { margin-top: var(--s-6); padding: var(--s-5); border-radius: var(--r-photo); background: var(--surface-raised); border: 1px solid var(--border); }
.next-card h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.next-card > p { margin-top: var(--s-2); color: var(--ink-muted); font-size: 1.075rem; }
.next-card .check-list { margin-bottom: var(--s-4); }
.next-card .value { display: inline-block; margin-bottom: var(--s-3); font-weight: 600; }
.next-card .value b { border-bottom: 2px solid var(--accent); }
.inbox-tip { display: flex; gap: .8rem; align-items: flex-start; margin-top: var(--s-4); padding: var(--s-2) var(--s-3); border-left: 3px solid var(--accent); background: var(--surface-raised); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-muted); }
.inbox-tip b { color: var(--ink); }
[data-variant][hidden] { display: none !important; }
@media (max-width: 560px) { .next-card { padding: var(--s-4) var(--s-3); } }

/* Landing: form beside benefits */
.lp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-8); align-items: start; }
.lp-grid .contact-form h2 { font-size: 1.5rem; }
@media (max-width: 960px) { .lp-grid { grid-template-columns: 1fr; gap: var(--s-6); } }
.reveal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); counter-reset: rv; }
.reveal-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: var(--s-3); border: 1px solid var(--border); border-radius: var(--r-tile); background: var(--surface-base); }
.reveal-list li::before { counter-increment: rv; content: counter(rv, decimal-leading-zero); font: 800 1.1rem/1.4 var(--f-display); color: var(--ink); border-bottom: 2px solid var(--accent); height: fit-content; }

/* Article: guía pilar */
.article .answer { margin-top: var(--s-5); padding: var(--s-4); border-radius: var(--r-tile); background: var(--surface-raised); border: 1px solid var(--border); }
.article .answer h2 { margin-top: 0; font-size: 1.35rem; }
.article .answer ol { margin: var(--s-2) 0 0; padding-left: 1.3rem; font-size: 1.075rem; line-height: 1.6; }
.article .answer ol li { margin-top: .35rem; }
.article .answer ol li::marker { font-weight: 700; }
.article .answer p { margin-top: var(--s-2); font-weight: 600; }
.article > ol { font-size: 1.125rem; line-height: 1.7; margin-top: var(--s-3); padding-left: 1.4rem; }
.article > ol li { margin-top: .5rem; }
.article > ol li::marker { font-weight: 700; color: var(--ink); }
.article > h3 { font-size: 1.3rem; margin-top: var(--s-5); }
.article .toc { margin-top: var(--s-5); padding: var(--s-3) var(--s-4); border: 1px solid var(--border); border-radius: var(--r-tile); }
.article .toc p { font: 600 var(--t-overline)/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.article .toc ol { margin: var(--s-2) 0 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.article .toc a { text-decoration: none; }
.article .toc a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.article .table-wrap { margin-top: var(--s-4); overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-tile); }
.article table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.article th, .article td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.article thead th { background: var(--surface-raised); font-family: var(--f-display); }
.article tbody tr:last-child > * { border-bottom: 0; }
.article td { color: var(--ink-muted); }
.article .note { margin-top: var(--s-4); padding: var(--s-2) var(--s-3); border-left: 3px solid var(--ink); background: var(--surface-raised); font-size: .975rem; color: var(--ink-muted); }
.article .callout { margin-top: var(--s-6); padding: var(--s-4); border-radius: var(--r-tile); background: var(--surface-inverse); color: var(--ink-inverse); }
.article .callout p { color: var(--ink-inverse-muted); margin: var(--s-1) 0 var(--s-3); }
.article .callout h2, .article .callout h3 { margin: 0; font-size: 1.4rem; }
.article .byline { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: var(--s-3); color: var(--ink-muted); font-size: var(--t-small); }
.article h2[id], .article h3[id] { scroll-margin-top: 24px; }

/* Blog index */
.post-grid { display: grid; gap: var(--s-2); }

/* Checklist (print-friendly) */
.checklist { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-2); counter-reset: q; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; padding: var(--s-3); border: 1px solid var(--border); border-radius: var(--r-tile); break-inside: avoid; }
.checklist li::before { content: ""; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 4px; margin-top: 3px; }
.checklist h2 { font-size: 1.1rem; line-height: 1.35; }
.checklist h2 span { color: var(--ink-muted); margin-right: .35rem; }
.checklist p { margin-top: .4rem; color: var(--ink-muted); font-size: .95rem; }
.checklist .expect { color: var(--ink); }
.checklist .answer-line { margin-top: .8rem; border-bottom: 1px solid var(--border-strong); height: 1.6rem; font-size: var(--t-caption); color: var(--ink-subtle); }
@media print {
  .nav, .footer-v3, .no-print, .product-hero .hero-ctas { display: none !important; }
  .product-hero { background: #fff; color: #000; padding: 0 0 16px; }
  .product-hero .lead, .product-hero .eyebrow { color: #333; }
  .knot-bg::before { display: none; }
  body { font-size: 11pt; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Forms v3.1 */
.form-title { font-size: 1.5rem; }
.form-error { padding: var(--s-2); border-radius: var(--r-sm); background: rgba(207, 52, 52, .08); color: var(--danger); font-weight: 600; font-size: var(--t-small); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field .field-msg { font-size: var(--t-caption); color: var(--danger); }
.contact-value { margin-top: var(--s-1); font-weight: 600; }
.contact-value b { border-bottom: 2px solid var(--accent); }
.fit { margin-top: var(--s-4); display: grid; gap: var(--s-2); padding: var(--s-3); border: 1px solid var(--border); border-radius: var(--r-tile); font-size: .95rem; color: var(--ink-muted); }
.fit b { color: var(--ink); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.h3-like { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -.02em; }
.detail-grid-2 { grid-template-columns: 1fr 1fr; }
.detail-grid-2 .detail-card:last-child { grid-column: auto !important; }
@media (max-width: 600px) { .detail-grid-2 { grid-template-columns: 1fr; } }
.define-band { padding-bottom: 0; }
.define { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s-2) var(--s-8); align-items: start; }
.define .eyebrow { grid-column: 1 / -1; }
.define h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.define p { font-size: 1.125rem; line-height: 1.65; color: var(--ink); }
.define .define-more { grid-column: 2; font-size: 1rem; color: var(--ink-muted); }
@media (max-width: 860px) { .define { grid-template-columns: 1fr; } .define .define-more { grid-column: auto; } }

/* Long CTA labels wrap on small screens instead of overflowing */
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; max-width: 100%; }
}
.contact-grid > *, .lp-grid > *, .split > *, .magnet > * { min-width: 0; }
.field select { max-width: 100%; text-overflow: ellipsis; }
.next-card .btn { white-space: normal; text-align: left; }
/* Spam trap: invisible to people, filled by bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Aviso de privacidad */
.legal-updated { margin-top: var(--s-3); font-size: var(--t-small); color: var(--ink-inverse-muted); }
.legal > h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: var(--s-6); }
.legal > h2:first-child { margin-top: 0; }
.legal > p, .legal > ul { font-size: 1.0625rem; }
.legal a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal th[scope="row"] { font-weight: 600; }

/* Aviso simplificado y casilla de consentimiento en formularios */
.form-privacy { font-size: var(--t-caption); line-height: 1.5; color: var(--ink-muted); }
.form-privacy a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.check-field { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--t-small); color: var(--ink); cursor: pointer; }
.check-field input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }

/* Certificaciones */
