/* Web comercial · hoja de estilos única, móvil primero */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-sans-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument"; src: url(fonts/instrument-sans-latin-wght-italic.woff2) format("woff2-variations"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #f4f6fb;
  --surface: #ffffff;
  --ink: #121a3a;
  --ink-2: #4a5372;
  --ink-3: #6b7390;
  --line: #dde2ee;
  --cobalt: #2b45e0;
  --cobalt-deep: #1b2fa8;
  --cobalt-wash: #e7ebfd;
  --tag: #ffd43b;
  --tag-deep: #e9b800;
  --mint: #0f8a66;
  --radius: 14px;
  --display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --text: 720px;
  --gutter: 16px;
}
@media (min-width: 760px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.62 var(--body); text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--cobalt); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--text) + var(--gutter) * 2); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.4rem); font-weight: 750; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
.lead, p.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-3); }

/* Botones */
.btn, .btn-alt { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 1.4em; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn { background: var(--cobalt); color: #fff; }
.btn:hover { background: var(--cobalt-deep); color: #fff; text-decoration: none; }
.btn-alt { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-alt:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn-tag { background: var(--tag); color: var(--ink); }
.btn-tag:hover { background: var(--tag-deep); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }

/* Cabecera */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(244, 246, 251, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 750 1.32rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); text-decoration: none; margin-right: auto; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo img { height: 34px; width: auto; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 2px; white-space: nowrap; }
.head-cta { white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cobalt); }
.head-cta { display: none; }
.menu { position: static; }
.menu > summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary span, .menu > summary span::before, .menu > summary span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.menu > summary span::before { position: absolute; top: -6px; } .menu > summary span::after { position: absolute; top: 6px; }
.menu[open] > summary span { background: transparent; } .menu[open] > summary span::before { top: 0; transform: rotate(45deg); } .menu[open] > summary span::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 68px); height: calc(100dvh - 68px); background: var(--paper); padding: 20px var(--gutter) 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); }
.menu-panel a:not(.btn) { color: var(--ink); text-decoration: none; font: 600 1.35rem/1.2 var(--display); padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-panel .btn { margin-top: 20px; }
@media (min-width: 1040px) {
  .nav { display: flex; gap: 22px; }
  .head-cta { display: inline-flex; min-height: 44px; }
  .menu { display: none; }
}

/* Migas */
.crumbs { font-size: .9rem; color: var(--ink-3); padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); }

/* Hero */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { margin-bottom: .32em; max-width: 13ch; }
.hero-landing h1 { max-width: 20ch; font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.7rem); }
.hero .lead { max-width: 38em; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .98rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-tag { justify-self: center; width: min(320px, 78vw); }
.hero-tag svg { width: 100%; height: auto; overflow: visible; }
.tag-swing { transform-origin: 160px 8px; animation: swing 2.4s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
@keyframes swing { 0% { transform: rotate(-14deg); } 35% { transform: rotate(7deg); } 60% { transform: rotate(-3deg); } 100% { transform: rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .tag-swing { animation: none; transform: rotate(-2deg); } }
@media (min-width: 900px) {
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; }
  .hero-tag { justify-self: end; width: 340px; margin-top: -40px; }
}

/* Contenido editable */
.prose { max-width: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.1em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--cobalt); }
.prose img { border-radius: var(--radius); display: block; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .9rem; color: var(--ink-3); margin-top: 8px; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--tag); font-size: 1.12rem; color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose a[href^="/"] { font-weight: 550; }
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 650; background: #f8f9fd; }
.prose tr:last-child td { border-bottom: 0; }
.prose ul.ticks { list-style: none; padding: 0; }
.prose ul.ticks li { position: relative; padding-left: 32px; }
.prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.prose ol.steps { list-style: none; counter-reset: s; padding: 0; }
.prose ol.steps > li { counter-increment: s; position: relative; padding: 0 0 6px 54px; margin-bottom: 18px; }
.prose ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 1rem/1 var(--display); }
.prose .callout { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--cobalt); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 22px; margin: 1.8em 0; }
.prose .callout > :last-child, .prose .note > :last-child { margin-bottom: 0; }
.prose .note { background: #fff8d9; border-radius: var(--radius); padding: 16px 20px; margin: 1.6em 0; font-size: .97rem; }
.prose .cols { display: grid; gap: 18px 32px; margin: 1.6em 0; }
@media (min-width: 760px) { .prose .cols { grid-template-columns: 1fr 1fr; } }
.prose .align-right { float: right; max-width: 45%; margin: 0 0 1em 1.5em; }
.prose .align-left { float: left; max-width: 45%; margin: 0 1.5em 1em 0; }
.prose .align-center { margin-left: auto; margin-right: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }

/* Secciones de landing */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.page-layout { display: grid; gap: 40px; }
@media (min-width: 1080px) { .page-layout.has-toc { grid-template-columns: minmax(0, var(--text)) 260px; justify-content: space-between; } }
.wide-block { margin: 2.4em 0; }
/* Los planes se salen de la columna de texto cuando no hay índice lateral */
.page-layout:not(.has-toc) .prose .wide-block, .section > .wrap > .prose .wide-block { width: min(var(--wrap), calc(100vw - 2 * var(--gutter))); }

/* Planes: etiquetas de precio */
.plans { display: grid; gap: 22px; margin: 8px 0; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }
.plan { position: relative; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 18px 18px var(--radius) var(--radius); padding: 40px 24px 26px; display: flex; flex-direction: column;
  -webkit-mask: radial-gradient(circle 9px at 50% 20px, transparent 8.5px, #000 9px); mask: radial-gradient(circle 9px at 50% 20px, transparent 8.5px, #000 9px); }
.plan::before { content: ""; position: absolute; left: 50%; top: 9px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; border: 1.5px solid var(--ink); }
.plan.is-featured { background: var(--tag); }
.plan-badge { align-self: flex-start; font-size: .82rem; font-weight: 700; background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.plan h3 { margin: 0 0 4px; font-size: 1.45rem; }
.plan-sub { color: var(--ink-2); margin: 0 0 18px; font-size: .97rem; }
.plan.is-featured .plan-sub { color: var(--ink); }
.plan-price { font: 750 2.5rem/1 var(--display); letter-spacing: -.035em; margin: 0 0 4px; }
.plan-price small { font: 500 1rem/1 var(--body); letter-spacing: 0; color: var(--ink-2); }
.plan.is-featured .plan-price small { color: var(--ink); }
.plan-note { font-size: .88rem; color: var(--ink-3); margin: 0 0 18px; }
.plan.is-featured .plan-note { color: var(--ink); opacity: .8; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: .97rem; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.plan.is-featured li::before { background-color: var(--ink); }
.plan .btn, .plan .btn-alt { margin-top: auto; width: 100%; }
.plan.is-featured .btn { background: var(--ink); }
.plan.is-featured .btn:hover { background: #000; }
.plans-simple { display: grid; gap: 14px; margin: 1.4em 0; }
@media (min-width: 640px) { .plans-simple { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.plan-mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.plan-mini strong { display: block; font: 700 1.1rem/1.2 var(--display); }
.plan-mini .plan-price { font-size: 1.7rem; margin: 8px 0 6px; }
.plan-mini p { margin: 0; font-size: .93rem; color: var(--ink-2); }

/* Comparativa simple (bloque) */
.compare-note { font-size: .92rem; color: var(--ink-3); }

/* Preguntas frecuentes */
.faq { max-width: var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 650 1.12rem/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); }
.faq .answer > :last-child { margin-bottom: 0; }

/* Llamada final */
.cta-band { background: var(--ink); color: #fff; border-radius: 22px; padding: 40px 24px; display: grid; gap: 20px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #c9cee3; margin: 0; }
.cta-band .btn { background: var(--tag); color: var(--ink); }
.cta-band .btn:hover { background: #fff; }
.cta-band .btn-alt { color: #fff; border-color: #fff; }
.cta-band .btn-alt:hover { background: #fff; color: var(--ink); }
.cta-band .actions { margin: 0; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 52px 56px; } }

/* Blog */
.blog-head { padding: 28px 0 8px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.cats a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 550; }
.cats a:hover { border-color: var(--ink); }
.cats a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-grid { display: grid; gap: 30px; padding: 32px 0 20px; }
@media (min-width: 680px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 30px; } }
.card { display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--cobalt-wash); margin-bottom: 14px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-img.empty { display: grid; place-items: center; color: var(--cobalt); font: 750 2.2rem/1 var(--display); letter-spacing: -.04em; }
.card-meta { font-size: .86rem; color: var(--ink-3); margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.card-meta a { color: var(--cobalt); text-decoration: none; font-weight: 600; }
.card h2, .card h3 { font-size: 1.3rem; line-height: 1.18; margin: 0 0 8px; }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--cobalt); }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.pager { display: flex; gap: 8px; justify-content: center; padding: 20px 0 60px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

.post-head { padding: 20px 0 28px; max-width: 860px; }
.post-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); max-width: 22ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-3); font-size: .93rem; }
.post-cover { margin: 0 0 40px; }
.post-cover img { width: 100%; border-radius: 20px; display: block; aspect-ratio: 16 / 8; object-fit: cover; }
.toc { font-size: .94rem; }
.toc-box { position: sticky; top: 92px; border-left: 2px solid var(--line); padding-left: 18px; }
.toc strong { display: block; font: 700 1rem/1.2 var(--display); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc li.l3 { padding-left: 14px; font-size: .9rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--cobalt); }
.toc-mobile { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 18px; margin-bottom: 28px; }
.toc-mobile summary { cursor: pointer; padding: 14px 0; font-weight: 650; }
.toc-mobile ol { padding-bottom: 16px; }
.toc-side { display: none; }
@media (min-width: 1080px) { .toc-side { display: block; } .toc-mobile { display: none; } }
.post-cta { margin: 48px 0 0; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 20px; padding: 28px 24px; }
.post-cta h2 { font-size: 1.6rem; margin-bottom: .3em; }
.post-cta p { color: var(--ink-2); }
.related { padding: 56px 0 72px; }
.related h2 { font-size: 1.8rem; }

/* Contacto */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; display: grid; gap: 16px; }
@media (min-width: 640px) { .form { padding: 34px; } .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.form .two { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px var(--cobalt-wash); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--ink-2); }
.form .check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--cobalt); }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.alert { padding: 14px 18px; border-radius: 12px; font-weight: 550; }
.alert-ok { background: #ddf5ec; color: #0b5c45; }
.alert-err { background: #fde6e4; color: #8f1d14; }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.contact-list a { font-weight: 600; }

/* Pie */
.site-foot { background: var(--ink); color: #c9cee3; margin-top: 40px; padding: 56px 0 28px; font-size: .95rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.foot-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot-grid > :first-child { grid-column: auto; } }
.site-foot h2 { font: 700 1rem/1.2 var(--display); color: #fff; margin: 0 0 14px; letter-spacing: 0; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-foot .logo { color: #fff; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid #2c3560; margin-top: 44px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; }

/* WhatsApp, cookies y barra de edición */
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(18, 26, 58, .25); }
.wa svg { width: 30px; height: 30px; fill: #fff; }
.cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 10px 30px rgba(18, 26, 58, .18); max-width: 560px; font-size: .94rem; }
.cookies p { margin: 0 0 12px; }
.cookies .actions { margin: 0; }
.cookies .btn, .cookies .btn-alt { min-height: 42px; }
.editbar { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 12px; font-size: .88rem; display: flex; gap: 12px; align-items: center; }
.editbar a { color: var(--tag); font-weight: 650; }
.notfound { padding: 60px 0; }
@media print { .site-head, .site-foot, .wa, .cookies, .editbar, .toc { display: none !important; } body { background: #fff; } }
