/* Lurimis · sistema «Hora azul» (brand/DESIGN.md), desde 2026-11-14 en todo el sitio. El sistema anterior «Señal» está en brand/site-senal-2026-11-14.css */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-normal-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-normal-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geistmono-latin.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --ink: #1C2140;
  --ink-2: #2A3058;
  --ink-3: #4E5170;
  --paper: #F4E9DA;
  --paper-2: #EADBC6;
  --white: #FBF6EE;
  --cream: #F4E9DA;
  --tung: #FFB765;
  --muted: #4E5170;
  --muted-dark: #B9B3C6;
  --line: rgba(28, 33, 64, .14);
  --line-dark: rgba(244, 233, 218, .16);
  --signal: #B4532A;
  --signal-ink: #B4532A;
  --signal-dk: #9A4421;
  --on-signal: #F4E9DA;
  --top: #FFB765;
  --mid: #EADBC6;
  --low: #8C8FA8;

  --f-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --f-body: "Geist", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

--step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1.02rem, .98rem + .2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.2rem);
  --step-5: clamp(3.2rem, 1.6rem + 8vw, 9.5rem);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 144px);
  --r-sm: 4px;
  --r: 10px;
  --r-lg: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::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-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 380; line-height: 1.04; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; font-variation-settings: "SOFT" 50, "opsz" 144; }
h1 em, h2 em { font-style: italic; color: var(--signal-ink); }
.dark h1 em, .dark h2 em { color: var(--tung); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); letter-spacing: -.02em; }
h3, h4 { font-family: var(--f-body); font-weight: 600; font-variation-settings: normal; }
h3 { font-size: var(--step-1); letter-spacing: -.01em; line-height: 1.2; }
strong { font-weight: 600; }
::selection { background: var(--tung); color: var(--ink); }
:focus-visible { outline: 3px solid var(--tung); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--signal); color: var(--on-signal); padding: 10px 16px; z-index: 300; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.mono, .eyebrow { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--signal); border-radius: 50%; box-shadow: 0 0 0 4px rgba(180, 83, 42, .18); }
.dark .eyebrow { color: var(--muted-dark); }
.lead { font-size: var(--step-1); line-height: 1.45; max-width: 46ch; color: var(--ink-3); }
.dark .lead { color: #d8d2c6; }
.dark { background: var(--ink); color: var(--paper); --signal: var(--tung); --signal-ink: var(--tung); --signal-dk: #F2A04A; --on-signal: var(--ink); }
.dark .form--card, .dark .form { --signal: #B4532A; --signal-ink: #B4532A; --signal-dk: #9A4421; --on-signal: #F4E9DA; }
.signal { color: var(--signal); }
.u { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: .12em; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 1rem/1 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--signal { background: var(--signal); color: var(--on-signal); }
.btn--signal:hover { background: var(--signal-dk); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dark .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn:active { transform: translateY(1px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--signal); padding-bottom: 2px; }
.textlink:hover { color: var(--signal-ink); }
.dark .textlink:hover { color: var(--signal); }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(15, 18, 38, .92); color: var(--paper); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand svg { height: 26px; width: auto; }
.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main a { text-decoration: none; padding: 10px 12px; border-radius: 6px; font-size: .96rem; color: #d9d3c7; transition: color .2s, background .2s; }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--paper); background: rgba(244, 233, 218, .08); }
.nav-main a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--signal); border-radius: 6px 6px 0 0; }
.nav-main .btn { margin-left: 10px; min-height: 42px; padding: 10px 18px; color: var(--on-signal); }
.nav-main .btn:hover { color: var(--on-signal); background: var(--signal-dk); }

/* Menú móvil (nav-mobile-v2) */
.nav__hamburger { display: none !important; background: none; border: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 12px 8px; position: relative; z-index: 201; min-width: 44px; min-height: 44px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .2s, width .2s; transform-origin: center; }
.nav__hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-active span:nth-child(2) { opacity: 0; width: 0; }
.nav__hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 198; opacity: 0; pointer-events: none; transition: opacity .32s; }
.nav__backdrop.is-open { opacity: 1; pointer-events: auto; }
.nav__mobile { position: fixed; top: 0; right: 0; bottom: 0; width: 310px; max-width: 88vw; background: var(--ink); color: var(--paper); z-index: 199; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1); box-shadow: -12px 0 40px rgba(0,0,0,.5); visibility: hidden; }
.nav__mobile.is-open { transform: translateX(0); visibility: visible; }
.nav-mobile__header { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 22px; height: 72px; border-bottom: 1px solid var(--line-dark); flex: none; }
.nav-mobile__close { background: none; border: 0; color: var(--paper); font-size: 1.4rem; min-width: 44px; min-height: 44px; cursor: pointer; }
.nav-mobile__body { flex: 1; overflow-y: auto; padding: 10px 0 28px; }
.nav-mobile__body a { display: block; padding: 14px 22px; text-decoration: none; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid rgba(244, 233, 218,.06); }
.nav-mobile__body a small { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); font-weight: 400; margin-top: 2px; }
.nav-mobile__body .btn { margin: 22px 22px 0; display: flex; color: var(--on-signal); border-bottom: 0; font-size: 1rem; }
.nav-main .btn { white-space: nowrap; }
@media (max-width: 1240px) { .nav-main a.hide-md { display: none; } }
@media (max-width: 1100px) { .nav-main { display: none; } .nav__hamburger { display: flex !important; } }

/* Cabecera de página interior */
.page-hero { position: relative; padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: var(--step-4); max-width: 13ch; }
.page-hero.wide h1 { max-width: 18ch; }
.page-hero .lead { margin-bottom: 32px; }
.page-hero__art { position: relative; }
.page-hero--plain .wrap { grid-template-columns: 1fr; }
.crumbs { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--muted-dark); }
.crumbs a:hover { color: var(--paper); }
.crumbs span[aria-hidden] { color: var(--signal); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-family: var(--f-mono); font-size: .8rem; color: var(--muted-dark); }
.facts span::before { content: "→ "; color: var(--signal); }
@media (max-width: 880px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero__art { max-width: 520px; } }

/* Secciones */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.dark .section-head p { color: var(--muted-dark); }
.section-head--stack { grid-template-columns: 1fr; }
@media (max-width: 780px) { .section-head { grid-template-columns: 1fr; } }

/* Prosa */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; letter-spacing: -.03em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--signal-ink); }
.prose a { text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--signal); font-size: var(--step-1); line-height: 1.4; }
.note { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--signal); padding: 18px 20px; border-radius: var(--r-sm); font-size: .95rem; margin: 1.6em 0; }
.note strong { display: block; margin-bottom: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--60 { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.sticky { position: sticky; top: 104px; }
@media (max-width: 880px) { .split, .split--60 { grid-template-columns: 1fr; } .sticky { position: static; } }
@media (max-width: 780px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }

/* Listas de entregables */
.ledger { border-top: 1px solid var(--line); }
.dark .ledger { border-color: var(--line-dark); }
.ledger__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 28px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dark .ledger__row { border-color: var(--line-dark); }
.ledger__row .n { font-family: var(--f-mono); font-size: .8rem; color: var(--signal-ink); }
.dark .ledger__row .n { color: var(--signal); }
.ledger__row h3 { margin: 0; }
.ledger__row p { margin: 0; color: var(--muted); }
.dark .ledger__row p { color: var(--muted-dark); }
@media (max-width: 780px) { .ledger__row { grid-template-columns: 40px 1fr; } .ledger__row p { grid-column: 2; } }

/* Tarjetas */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--signal-ink); }
.card--link { text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.card--link:hover { border-color: var(--ink); transform: translateY(-3px); }
.card--link .go { margin-top: auto; padding-top: 10px; font-weight: 600; }
.card--link .go::after { content: " →"; color: var(--signal-ink); }
.dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.dark .card p { color: var(--muted-dark); }

/* Precios */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan__name { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.plan--featured .plan__name { color: var(--muted-dark); }
.plan__badge { position: absolute; top: 22px; right: 22px; background: var(--signal); color: var(--on-signal); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.plan__price { font-family: var(--f-mono); font-weight: 500; font-size: clamp(2.8rem, 2.2rem + 2.4vw, 4.4rem); letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 1.1rem; letter-spacing: 0; font-weight: 500; margin-left: 6px; color: var(--muted); }
.plan--featured .plan__price small { color: var(--muted-dark); }
.plan__terms { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); margin: 12px 0 26px; }
.plan--featured .plan__terms { color: var(--muted-dark); }
.plan__for { font-size: 1.05rem; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .97rem; line-height: 1.45; }
.plan li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; border: 2px solid var(--signal); }
.plan li.inc { font-weight: 600; }
.plan li.inc::before { background: var(--signal); }
.plan .btn { margin-top: auto; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.dark .faq { border-color: var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line); }
.dark .faq details { border-color: var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--f-body); font-weight: 600; font-size: var(--step-1); letter-spacing: -.01em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; width: 32px; height: 32px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.faq .faq__a { padding: 0 52px 26px 0; max-width: 72ch; color: var(--muted); }
.dark .faq .faq__a { color: var(--muted-dark); }
.faq .faq__a p:last-child { margin: 0; }

/* Bloque "lo que no hacemos" */
.nos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.nos > div { padding: 28px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.nos h3 { display: flex; gap: 12px; align-items: baseline; }
.nos h3::before { content: "×"; color: var(--signal); font-family: var(--f-mono); font-weight: 400; }
.nos p { margin: 0; color: var(--muted-dark); font-size: .97rem; }

/* CTA final */
.cta-band { padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta-band h2 { font-size: var(--step-4); max-width: 14ch; }
.cta-band .lead { margin-bottom: 36px; }
.cta-band__grid { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(46vw, 560px); opacity: .9; pointer-events: none; }
@media (max-width: 880px) { .cta-band__grid { position: static; transform: none; width: 100%; max-width: 420px; margin-top: 48px; } }

/* Pie */
.site-footer { background: #0F1226; color: var(--muted-dark); padding: 80px 0 32px; font-size: .95rem; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-top h2 { font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); margin: 0 0 16px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-top a { text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-top a:hover { color: var(--paper); }
.footer-claim { font-family: var(--f-display); font-weight: 380; font-style: italic; font-size: 1.9rem; letter-spacing: -.02em; line-height: 1.05; color: var(--paper); margin: 18px 0 18px; max-width: 14ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; font-size: .82rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* Formulario */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .95rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid #c9c1b2; background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(180, 83, 42, .3); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .9rem; color: var(--muted); align-items: start; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--signal-ink); }
.form small { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }

/* Canales de contacto */
.channels { display: grid; gap: 12px; }
.channel { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--ink); color: var(--paper); text-decoration: none; transition: transform .3s var(--ease); }
.channel:hover { transform: translateX(4px); }
.channel svg { width: 26px; height: 26px; color: var(--signal); }
.channel strong { display: block; font-size: 1.08rem; }
.channel span { font-family: var(--f-mono); font-size: .78rem; color: var(--muted-dark); }

/* Ilustraciones de datos (SVG/HTML propios) */
.geogrid { display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); gap: clamp(4px, .8vw, 8px); aspect-ratio: 1; }
.geogrid i { display: grid; place-items: center; border-radius: 50%; font: 500 clamp(.6rem, .5rem + .4vw, .86rem)/1 var(--f-mono); font-style: normal; color: var(--ink); background: var(--low); transition: background .5s, color .5s, transform .5s var(--ease); font-variant-numeric: tabular-nums; }
.geogrid i[data-r="top"] { background: var(--top); }
.geogrid i[data-r="mid"] { background: var(--mid); }
.geogrid i[data-r="low"] { background: var(--low); color: var(--ink); }
.geogrid i.pin { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--signal); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--f-mono); font-size: .74rem; color: var(--muted-dark); margin-top: 18px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.disclaimer { font-family: var(--f-mono); font-size: .72rem; color: var(--muted-dark); margin-top: 12px; letter-spacing: .02em; }
.section .disclaimer { color: var(--muted); }
.dark .disclaimer { color: var(--muted-dark); }

/* Mock: tarjeta de resultado local */
.mock { background: var(--white); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; font-size: .9rem; }
.mock__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.mock__bar b { width: 9px; height: 9px; border-radius: 50%; background: var(--paper-2); }
.mock__q { margin-left: 8px; color: var(--ink); }
.mock__body { padding: 18px; display: grid; gap: 10px; }
.mock__item { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); }
.mock__item.is-you { border-color: var(--signal); background: rgba(180, 83, 42, .06); }
.mock__item .pos { font-family: var(--f-mono); font-weight: 500; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: .8rem; }
.mock__item.is-you .pos { background: var(--signal); }
.mock__item .nm { font-weight: 600; }
.mock__item .meta { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; }
.mock__item .bar { width: 64px; height: 6px; border-radius: 3px; background: var(--paper-2); }
.mock__chat { padding: 18px; display: grid; gap: 12px; }
.bubble { padding: 12px 14px; border-radius: 14px; max-width: 88%; line-height: 1.45; }
.bubble--q { background: var(--paper-2); justify-self: end; border-bottom-right-radius: 4px; }
.bubble--a { background: var(--ink); color: var(--paper); border-bottom-left-radius: 4px; }
.bubble--a mark { background: none; color: var(--signal); font-weight: 600; }
.bubble cite { display: block; font-style: normal; font-family: var(--f-mono); font-size: .7rem; color: var(--muted-dark); margin-top: 8px; }

/* Línea de tiempo */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.dark .timeline { border-color: var(--paper); }
.timeline > div { padding: 24px 24px 0 0; position: relative; }
.timeline > div::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--signal); }
.timeline .when { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; margin: 8px 0 10px; }
.dark .timeline .when { color: var(--muted-dark); }
.timeline p { color: var(--muted); font-size: .97rem; }
.dark .timeline p { color: var(--muted-dark); }
@media (max-width: 880px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); padding-left: 24px; } .timeline > div { padding: 0 0 8px; } .timeline > div::before { left: -32px; top: 6px; } }

/* Artículos del blog */
.post-meta { font-family: var(--f-mono); font-size: .78rem; color: var(--muted-dark); display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; font-size: .95rem; }
.toc strong { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--muted); display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--signal-ink); }
.author { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 2.4em 0; }
.author__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: var(--signal); font: 400 1.3rem/1 var(--f-display); }
.author p { margin: 0; font-size: .92rem; color: var(--muted); }

/* WhatsApp flotante (whatsapp-btn-v1) */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 9998; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: transform .3s var(--ease), bottom .25s, opacity .3s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Banner de cookies (ga4-cookie-banner-v1) */
#cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10000; max-width: 720px; margin: 0 auto; background: var(--ink-2); color: var(--paper); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.4); transform: translateY(140%); transition: transform .4s var(--ease); font-size: .92rem; }
#cookie-banner.is-visible { transform: translateY(0); }
#cookie-banner p { margin: 0; flex: 1 1 320px; color: #d8d2c6; line-height: 1.5; }
#cookie-banner a { color: var(--paper); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button { min-height: 44px; padding: 10px 18px; border-radius: 999px; font: 600 .92rem/1 var(--f-body); cursor: pointer; }
#cookie-accept { background: var(--signal); border: 1.5px solid var(--signal); color: var(--on-signal); }
#cookie-reject { background: transparent; color: var(--paper); border: 1.5px solid rgba(244, 233, 218,.5); }
@media (max-width: 600px) { .cookie-actions { width: 100%; } .cookie-actions button { flex: 1; } }
/* Móvil: banner compacto para no tapar el film ni el hero */
@media (max-width: 780px) {
  #cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 11px 13px; gap: 8px; font-size: .78rem; border-radius: 14px; }
  #cookie-banner p { flex-basis: 100%; line-height: 1.4; }
  .cookie-actions { gap: 8px; }
  .cookie-actions button { min-height: 40px; padding: 8px 12px; font-size: .82rem; }
}

/* Revelados (solo con JS y sin reduced-motion; si JS falla, todo visible) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 404 */
.notfound { min-height: 70vh; display: grid; align-items: center; }
.notfound .big { font-family: var(--f-display); font-weight: 340; font-size: clamp(6rem, 20vw, 16rem); letter-spacing: -.06em; line-height: .8; color: var(--signal); }

/* Ilustraciones de cabecera por página */
.wa-art { padding: 22px; display: grid; gap: 12px; }
.wa-art__row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.wa-art__row span { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.wa-art__row i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) 0 70%, var(--paper-2) 70%); }
.wa-art__row:nth-child(2) i { background: linear-gradient(90deg, var(--ink-3) 0 60%, var(--paper-2) 60%); }
.wa-art__score { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.wa-art__score b { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; background: var(--top); color: var(--ink); padding: 6px 10px; border-radius: 999px; }
.bcn__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; counter-reset: d; }
.bcn__list li { counter-increment: d; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: var(--r); color: #cfc8ba; font-size: .76rem; display: flex; gap: 10px; align-items: center; }
.bcn__list li::before { content: counter(d, decimal-leading-zero); color: var(--muted-dark); }
.bcn__list li.is-on { border-color: var(--signal); color: var(--paper); background: rgba(180, 83, 42,.1); }
.bcn__list li.is-on::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(180, 83, 42,.25); }
.monogram { aspect-ratio: 1; max-width: 360px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; align-content: center; gap: 12px; background: radial-gradient(circle at 50% 40%, var(--ink-3), var(--ink) 70%); }
.monogram span { font: 340 clamp(5rem, 12vw, 8rem)/1 var(--f-display); letter-spacing: -.06em; color: var(--paper); }
.monogram span::after { content: "."; color: var(--signal); }
.monogram small { color: var(--muted-dark); font-size: .72rem; }
.h-sm { font-size: var(--step-2); }
.compare td:first-child { font-weight: 600; }
.compare td:not(:first-child) { font-family: var(--f-mono); font-size: .86rem; }
@media (max-width: 880px) { .page-hero__art .mock, .page-hero__art .geogrid { max-width: 420px; } }
