/* Blog de check-in.lat (2026-11-13). Hoja propia, independiente del bundle
   de la landing; mismas fuentes locales y paleta de marca. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --brand: #0f7f68;
  --ink: #202c36;
  --tint: #e6f5f1;
  --jade: #16a889;
  --text: #1c2420;
  --muted: #5b6862;
  --bg: #ffffff;
  --bg-alt: #f5f8f6;
  --cream: #fbf8f2;
  --border: #dbe4df;
  --warn: #b7791f;
  --warn-bg: #fdf6e7;
  --radius: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--jade); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.025em; line-height: 1.1; font-weight: 800; text-wrap: balance; }
p, li { text-wrap: pretty; }
.b-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

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

/* Barra de progreso de lectura */
.read-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 40; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--jade)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Header */
.b-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(219, 228, 223, 0.8); }
.b-header-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.b-brand img { height: 30px; width: auto; }
.b-nav { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.b-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 6px 2px; position: relative; }
.b-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease-out); }
.b-nav a:hover::after, .b-nav a[aria-current]::after { transform: scaleX(1); }
.b-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: background-color 0.2s, transform 0.15s var(--ease-out); white-space: nowrap; }
.b-btn:hover { background: var(--ink); color: #fff; }
.b-btn:active { transform: scale(0.97); }
.b-btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.b-btn-ghost { display: inline-flex; padding: 13px 22px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.35); color: #fff; font-weight: 700; text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.b-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
@media (max-width: 720px) { .b-nav { display: none; } .b-header-in { justify-content: space-between; } .b-btn { padding: 9px 15px; font-size: 0.9rem; } }

.chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: var(--tint); color: var(--brand); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.02em; text-transform: uppercase; }
.hl { color: var(--brand); }

/* Hero artículo */
.a-hero, .i-hero { position: relative; overflow: hidden; padding: 34px 0 0; background: linear-gradient(180deg, var(--bg-alt), var(--bg) 70%); }
.i-hero { padding: 64px 0 40px; }
.a-hero-glow { position: absolute; inset: -40% -10% auto; height: 520px; pointer-events: none; background: radial-gradient(40% 50% at 18% 40%, rgba(22, 168, 137, 0.16), transparent 70%), radial-gradient(35% 45% at 85% 20%, rgba(32, 44, 54, 0.08), transparent 70%); animation: glow 14s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate3d(3%, 4%, 0) scale(1.06); } }
.a-hero-in { position: relative; max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.a-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.a-hero h1, .i-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0 0 16px; max-width: 20ch; }
.i-hero h1 { max-width: 22ch; }
.i-sub { font-size: 1.15rem; color: var(--muted); max-width: 58ch; margin: 0; }
.a-meta { color: var(--muted); font-size: 0.95rem; margin: 0 0 30px; }
.a-cover { position: relative; margin-bottom: 8px; }
.a-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(32, 44, 54, 0.45); }

/* Layout con índice lateral */
.a-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 64px; justify-content: center; padding: 48px 0 24px; }
.a-toc { position: sticky; top: 92px; align-self: start; font-size: 0.9rem; }
.a-toc-title { font-weight: 800; font-family: var(--display); color: var(--ink); margin: 0 0 10px; font-size: 1rem; }
.a-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.a-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
.a-toc a:hover { color: var(--ink); }
.a-toc a.is-active { color: var(--brand); border-left-color: var(--brand); font-weight: 700; }
@media (max-width: 980px) { .a-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; } .a-toc { display: none; } }

/* Respuesta corta (AEO) */
.tldr { position: relative; background: var(--ink); color: #e9f1ee; border-radius: var(--radius); padding: 24px 26px; margin-bottom: 40px; overflow: hidden; }
.tldr::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 100% 0%, rgba(22, 168, 137, 0.35), transparent 60%); pointer-events: none; }
.tldr > * { position: relative; }
.tldr-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #7fe0c7; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.tldr-text { margin: 0; font-size: 1.12rem; line-height: 1.55; color: #fff; }
.takeaways { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); list-style: none; display: grid; gap: 9px; }
.takeaways li { position: relative; padding-left: 28px; font-size: 0.97rem; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 17px; height: 17px; border-radius: 50%; background: var(--jade) 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='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Prosa */
.prose { font-size: 1.075rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 2.2em 0 0.55em; }
.prose h3 { font-size: 1.22rem; margin: 1.8em 0 0.4em; }
.prose p, .prose ul, .prose ol { margin-block: 0 1.05em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; }

.prose ol.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.prose ol.steps > li { counter-increment: s; position: relative; margin: 0; padding: 16px 18px 16px 66px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; }
.prose ol.steps > li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.prose ol.steps > li > strong:first-child { display: block; font-size: 1.05rem; margin-bottom: 2px; }

.callout { padding: 18px 20px 18px 54px; border-radius: 16px; background: var(--tint); position: relative; border: 1px solid rgba(15, 127, 104, 0.18); }
.callout::before { content: "i"; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 0.85rem/1 var(--display); }
.callout.is-tip { background: var(--cream); border-color: #eadfc8; }
.callout.is-tip::before { content: "★"; background: var(--ink); font-size: 0.75rem; }
.callout.is-warn { background: var(--warn-bg); border-color: #f0ddb4; }
.callout.is-warn::before { content: "!"; background: var(--warn); }
.callout > :last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; }
.compare tbody tr:nth-child(even) { background: var(--bg-alt); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { padding: 18px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--border); }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: 2.3rem; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }

.cta-inline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff !important; text-decoration: none; font-weight: 700; transition: background-color 0.2s, transform 0.15s var(--ease-out); }
.cta-inline::after { content: "→"; transition: transform 0.2s var(--ease-out); }
.cta-inline:hover { background: var(--brand); }
.cta-inline:hover::after { transform: translateX(3px); }

/* Esquemas SVG animados */
figure.diagram { margin: 2em 0; padding: 22px 18px 16px; border-radius: 22px; background: linear-gradient(180deg, var(--bg-alt), #fff); border: 1px solid var(--border); }
figure.diagram svg { width: 100%; height: auto; overflow: visible; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
figure.diagram figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--muted); text-align: center; }
.d-box { fill: #fff; stroke: var(--border); stroke-width: 1.5; }
.d-box.is-brand { fill: var(--brand); stroke: none; }
.d-box.is-soft { fill: var(--tint); stroke: rgba(15, 127, 104, 0.25); }
.d-box.is-dark { fill: var(--ink); stroke: none; }
.d-box.is-warn { fill: var(--warn-bg); stroke: #f0ddb4; }
.d-text { fill: var(--ink); font-weight: 700; }
.d-text.is-inv { fill: #fff; }
.d-small { fill: var(--muted); font-weight: 600; }
.d-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.d-line.is-dashed { stroke-dasharray: 6 7; }
.d-arrow { fill: var(--brand); }
.d-dot { fill: var(--jade); }

/* Estado inicial solo con JS activo y sin reduce-motion */
.js-motion figure.diagram .d-step { opacity: 0; transform: translateY(14px); transform-box: fill-box; transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 180ms); }
.js-motion figure.diagram .d-line:not(.is-dashed) { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 180ms + 120ms); }
.js-motion figure.diagram .d-line.is-dashed { opacity: 0; transition: opacity 0.6s; transition-delay: calc(var(--i, 0) * 180ms); }
.js-motion figure.diagram.is-in .d-step { opacity: 1; transform: none; }
.js-motion figure.diagram.is-in .d-line:not(.is-dashed) { stroke-dashoffset: 0; }
.js-motion figure.diagram.is-in .d-line.is-dashed { opacity: 1; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.js-motion figure.diagram.is-in .d-dot { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.35); opacity: 0.55; } }

/* Reveal genérico */
.js-motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* FAQ */
.faq { margin-top: 56px; }
.faq h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0 0 18px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); position: relative; transition: transform 0.3s var(--ease-out), background-color 0.2s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--brand); border-radius: 2px; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary i { background: var(--brand); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--brand); }
.faq-a { padding: 0 2px 18px; color: var(--text); }
.faq-a p { margin: 0; line-height: 1.7; }
.faq details[open] .faq-a { animation: faqIn 0.35s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* CTA */
.a-cta { position: relative; overflow: hidden; margin: 56px 0 8px; padding: 40px 32px; border-radius: 26px; background: var(--ink); color: #dfe9e5; text-align: center; }
.a-cta h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 10px; position: relative; }
.a-cta p { max-width: 52ch; margin: 0 auto 22px; position: relative; }
.a-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }
.a-cta .b-btn { background: var(--jade); color: #0d231c; }
.a-cta .b-btn:hover { background: #fff; color: var(--ink); }
.a-cta-orbit { position: absolute; inset: 0; pointer-events: none; }
.a-cta-orbit i { position: absolute; border: 1px solid rgba(127, 224, 199, 0.18); border-radius: 50%; left: 50%; top: 50%; translate: -50% -50%; }
.a-cta-orbit i:nth-child(1) { width: 420px; height: 420px; }
.a-cta-orbit i:nth-child(2) { width: 640px; height: 640px; }
.a-cta-orbit i:nth-child(3) { width: 880px; height: 880px; }
.a-cta-orbit i::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 12px var(--jade); }
.js-motion .a-cta-orbit i { animation: orbit 24s linear infinite; }
.js-motion .a-cta-orbit i:nth-child(2) { animation-duration: 36s; animation-direction: reverse; }
.js-motion .a-cta-orbit i:nth-child(3) { animation-duration: 52s; }
@keyframes orbit { to { rotate: 360deg; } }

/* Tarjetas */
.related { padding: 40px 0 72px; }
.related h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0 0 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; padding-bottom: 24px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.2s; }
.card:hover { color: var(--text); transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(32, 44, 54, 0.45); border-color: rgba(15, 127, 104, 0.35); }
.card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.045); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.card-body .chip { align-self: flex-start; }
.card-body strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.2; color: var(--ink); letter-spacing: -0.02em; }
.card-desc { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.card-more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--brand); font-size: 0.92rem; }
.feature { margin: 8px 0 22px; }
.card.is-feature { display: grid; grid-template-columns: 1.25fr 1fr; }
.card.is-feature .card-img { aspect-ratio: auto; min-height: 100%; }
.card.is-feature .card-body { padding: 34px; justify-content: center; }
.card.is-feature strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
@media (max-width: 760px) { .card.is-feature { grid-template-columns: 1fr; } .card.is-feature .card-img { aspect-ratio: 16 / 9; } .card.is-feature .card-body { padding: 20px 22px 22px; } }
.b-index .a-cta { margin: 24px 0 72px; }

/* Footer */
.b-footer { background: var(--ink); color: #b9cbc4; padding: 48px 0 20px; font-size: 0.93rem; }
.b-footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.b-footer-in > div { max-width: 380px; }
.b-footer-logo { filter: brightness(0) invert(1); height: 26px; width: auto; margin-bottom: 12px; }
.b-footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; }
.b-footer a { color: #fff; text-decoration: none; }
.b-footer a:hover { color: #7fe0c7; }
.b-copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }

@media (max-width: 560px) {
  .prose { font-size: 1.03rem; }
  .tldr { padding: 20px; }
  .a-cta { padding: 34px 20px; }
  .a-cover img { border-radius: 18px; }
  figure.diagram { padding: 16px 0 12px; margin-inline: -4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  figure.diagram svg { min-width: 640px; padding-inline: 12px; }
  figure.diagram::before { content: "Desliza para ver el esquema completo →"; position: sticky; left: 0; display: block; padding: 0 14px 10px; font-size: 0.78rem; font-weight: 700; color: var(--brand); }
  figure.diagram figcaption { padding-inline: 14px; position: sticky; left: 0; max-width: 100vw; }
  .prose ol.steps > li { padding: 14px 14px 14px 58px; }
  .prose ol.steps > li::before { left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .b-header, .read-progress, .a-toc, .a-cta, .related, .b-footer { display: none; } }

/* Esquemas verticales de las guías de canales: se leen completos en celular.
   Los conectores aparecen por opacidad; no animan el trazo ni el layout. */
figure.diagram[data-anim="steps"] svg { min-width: 0; padding: 0; }
figure.diagram[data-anim="steps"] .d-text { font-size: 38px; }
figure.diagram[data-anim="steps"]::before { content: none; }
.js-motion figure.diagram[data-anim="steps"] .d-line:not(.is-dashed) {
  stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0;
  transition: opacity 300ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 180ms);
}
.js-motion figure.diagram[data-anim="steps"].is-in .d-line { opacity: 1; }
@media (max-width: 560px) {
  figure.diagram[data-anim="steps"] { overflow: visible; }
}

/* Video resumen (bajo la Respuesta corta) */
.a-video { margin: -16px 0 40px; }
.a-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 0 18px 40px -24px rgba(32, 44, 54, 0.55); }
.a-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.a-video figcaption { margin-top: 12px; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.a-video-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; color: var(--brand); font-weight: 800; }
.a-video-tr { margin-top: 8px; }
.a-video-tr summary { cursor: pointer; color: var(--brand); font-weight: 700; width: fit-content; }
.a-video-tr p { margin: 8px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--tint); color: var(--ink); white-space: pre-line; }

/* Hero del artículo: 2 columnas en computador (texto | imagen), apilado en celular */
.a-hero-grid { position: relative; display: grid; gap: 24px; }
.a-hero-grid .a-hero-in { max-width: 860px; }
.a-cover img { box-shadow: 0 24px 48px -32px rgba(32, 44, 54, 0.35); background: #fff; }
@media (min-width: 960px) {
  .a-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 56px; padding-bottom: 32px; }
  .a-hero-grid h1 { font-size: clamp(2rem, 3.2vw, 2.9rem); max-width: 18ch; }
  .a-hero-grid .a-cover { margin: 0; }
}
