/* Kreia · capa visual "Hobro": página clara con secciones negras, titulares enormes en mayúsculas,
   etiquetas mono en píldora, marco negro con el remolino en el héroe. Va la última en todas las páginas
   y reinterpreta los componentes kb-* cambiando los tokens a tema claro. */
:root {
  --bg: #F4F4F1;
  --panel: #EAE8E2;
  --panel-2: #E1DFD8;
  --line: rgba(10, 10, 11, .14);
  --line-soft: rgba(10, 10, 11, .07);
  --text: #0A0A0B;
  --muted: #5E5E59;
  --light: #0A0A0B;
  --cross: rgba(10, 10, 11, .45);
  --ink-on-light: #0A0A0B;
  --hb-display: 700 clamp(56px, 11vw, 168px)/.84 var(--f-head);
}
/* Secciones oscuras: se vuelven a declarar los tokens */
.on-dark {
  --bg: #0A0A0B; --panel: #141416; --panel-2: #1A1A1D; --line: rgba(244, 244, 241, .14); --line-soft: rgba(244, 244, 241, .07);
  --text: #F4F4F1; --muted: #9C9C97; --light: #F4F4F1; --cross: rgba(244, 244, 241, .5);
  background: var(--bg); color: var(--text);
}
html, body { background: var(--bg); color: var(--text); }
html.no-webgl body { background: var(--bg); }
.tone, .dashes { display: none !important; }

/* ---------- Tipografía Hobro ---------- */
.kb h1, .kb h2, .kb h3 { color: var(--text); }
.hb-display { margin: 0; font: var(--hb-display); letter-spacing: -.045em; text-transform: uppercase; }
.hb-display .lt, .hb-lt { font-weight: 300; color: var(--accent); letter-spacing: -.03em; }
.hb-caps { margin: 0; font: 500 clamp(18px, 2vw, 28px)/1.18 var(--f-head); letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.mono, .eyebrow { font-family: var(--f-mono); }
.hb-tag { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.hb-num { font: 500 13px/1 var(--f-mono); color: var(--muted); }

/* ---------- Botones: píldoras mono ---------- */
.btn { font: 500 13px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; min-height: 44px; padding: 0 20px; border-radius: 999px; }
.btn--sm { min-height: 34px; padding: 0 14px; font-size: 12px; }
.btn--light { background: var(--light); color: var(--bg); }
.btn--light:hover { background: var(--light); opacity: .88; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--text); -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--ink { background: #0A0A0B; color: #F4F4F1; }
.btn-arrow::after { content: "↗"; font-family: var(--f-text); }

/* ---------- Navegación ---------- */
.kb-bar { display: none; }
.kb-nav {
  position: fixed; top: 0; left: 0; right: 0; width: auto; height: 68px; margin: 0; padding: 0 var(--gutter);
  border: 0; border-radius: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  color: #0A0A0B; transition: color .3s, background-color .3s;
}
.kb-nav.is-dark { color: #F4F4F1; }
.kb-nav.is-scrolled { background: color-mix(in srgb, var(--nav-bg, #F4F4F1) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.kb-nav.is-dark.is-scrolled { --nav-bg: #0A0A0B; }
.kb-nav__brand { color: inherit; margin-right: 18px; }
.kb-nav__brand span { font-size: 22px; }
.kb-nav__deck { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border-radius: 999px; background: #0A0A0B; color: #F4F4F1; font: 500 11px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.kb-nav.is-dark .kb-nav__deck { background: #F4F4F1; color: #0A0A0B; }
.kb-nav__deck::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.kb-nav__links { gap: 2px; font: 500 15px/1 var(--f-text); }
.kb-nav__links > a, .kb-nav__drop-btn { color: inherit; opacity: 1; border-radius: 0; padding: 0 10px; }
.kb-nav__links > a:hover, .kb-nav__drop-btn:hover, .kb-nav__drop:focus-within .kb-nav__drop-btn { background: none; text-decoration: underline; text-underline-offset: 5px; }
.kb-nav__links a[aria-current="page"] { color: var(--accent); }
.kb-mega { background: #F4F4F1; color: #0A0A0B; border-color: rgba(10, 10, 11, .14); border-radius: 14px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.kb-mega__col { border-color: rgba(10, 10, 11, .1); }
.kb-mega__col a { color: #0A0A0B; }
.kb-mega__col a:hover { background: rgba(10, 10, 11, .05); }
.kb-mega__col a span { color: #5E5E59; }
.kb-mega__title { color: #5E5E59; }
.kb-nav__menu { background: #0A0A0B; }
.kb-nav__menu i { background: #F4F4F1; }
.kb-nav.is-dark .kb-nav__menu { background: #F4F4F1; }
.kb-nav.is-dark .kb-nav__menu i { background: #0A0A0B; }
.kb-panel { background: #F4F4F1; color: #0A0A0B; border-color: rgba(10, 10, 11, .14); }
.kb-panel a:not(.btn) { color: #0A0A0B !important; }
.kb-panel a.kb-panel__sub { color: #5E5E59 !important; }
@media (max-width: 860px) { .kb-nav__deck { display: none; } .kb-nav__brand { margin-right: auto; } }

/* ---------- Estructura general ---------- */
main { gap: clamp(56px, 8vw, 110px); padding-top: 96px; }
.kb-home main { padding: 0; gap: 0; max-width: none; }
.frame::before { display: none; }
.frame { border-color: var(--line); }
.sec { background: var(--bg); }
.answer { color: var(--text); border-left-color: var(--accent); }
.facts, .crm, .audit__list, .diag__main { background: var(--bg); }
.facts { border-color: var(--line); }
.fit__col li { color: var(--text); }
.cell, .steps__item, .ticks li, .fit__col { background: var(--bg); }
.svc:hover { background: var(--panel); }
.svc--featured { color: #0A0A0B; }
.svc--featured .svc__name, .svc--featured .svc__tag { color: #0A0A0B !important; }
.slab__art { background: #0A0A0B; }
.stack__art { background: var(--bg); }
.needs__row:hover { background: var(--panel); }
.cookie-consent .cookie-card { background: #F4F4F1; color: #0A0A0B; border-color: rgba(10, 10, 11, .14); }
.cookie-consent .cookie-summary h2, .cookie-consent .cookie-summary a { color: #0A0A0B; }
.cookie-consent .cookie-summary p, .cookie-consent .cookie-toggle small { color: #5E5E59; }
body .cookie-consent .cookie-actions .button { background: #0A0A0B; color: #F4F4F1; }
body .cookie-consent .cookie-actions .cookie-config { background: transparent; color: #0A0A0B; border-color: rgba(10, 10, 11, .3); }
.s-hero { padding-top: clamp(24px, 3.4vw, 44px); }
.s-hero .display, .display { text-transform: uppercase; font-weight: 700; letter-spacing: -.045em; line-height: .9; }
.s-hero .display .dim { font-weight: 300; color: var(--accent); }
.h2 { text-transform: uppercase; font-weight: 700; letter-spacing: -.04em; line-height: .95; }
.cta-bars { background: #0A0A0B; color: #F4F4F1; border: 0; }
.cta-bars .display, .cta-bars .lead { color: #F4F4F1; }
.cta-bars .btn--light { background: #F4F4F1; color: #0A0A0B; }

/* Herramientas en tema claro */
.diag__main { border-color: var(--line); }
.opt { background: transparent; }
.crm { border-color: var(--line); }
.crm dd:empty::before { color: #b5b5b0; }
.events li { color: var(--text); }
.audit__side { background: #0A0A0B; color: #F4F4F1; }
.audit__side .eyebrow, .audit__score small { color: #9C9C97; }
.todo li { color: #F4F4F1; }
.todo li::before { background: var(--accent); color: #0A0A0B; }
.todo:empty::before { color: #F4F4F1; }
.grid-map i { background: #26262A; color: #9C9C97; }
.grid-map i.p3 { background: #3a3a40; color: #c7c7c1; }
.audit__side .btn--ink { background: #F4F4F1; color: #0A0A0B; }
.reco { background: var(--bg); }
.tool-card { background: var(--bg); }

/* Páginas con styles.css (blog, sectores, legales…) */
.kb-legacy-skin p, .article-body p, .article-body li, .legal-page p, .legal-page li, .page-hero p { color: var(--muted); }
.page-hero { margin-top: 96px; background: var(--bg); }
.page-hero::after { display: none; }
.page-hero h1 { text-transform: uppercase; font-weight: 700; letter-spacing: -.045em; line-height: .92; }
.card, .process-item, .article-card, .service-card, .client-tile, .side-note, .answer-block, .article-faq,
.article-related, .article-sources, .resource-aside, .service-tab, .service-reveal, .blog-answer-feature, .blog-topic-group, .section-end-cta, .section.dark-band {
  background: var(--panel); border-color: var(--line);
}
.card h3, .process-item h3, .article-card h3, .service-card h3, .side-note h3 { color: var(--text); }
.faq-item summary { color: var(--text); }
.button.secondary, .button:not(.primary):not(.text-link) { background: #0A0A0B; color: #F4F4F1; }
.button { font: 500 13px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea { background: #fff; color: #0A0A0B; }
.article-body a:not(.button) { color: var(--text); }

/* ---------- Pie ---------- */
.kb-foot { background: #F4F4F1; color: #0A0A0B; border-top: 1px solid rgba(10, 10, 11, .14); }
.kb-foot h3 { color: #5E5E59; }
.kb-foot__brand svg rect { fill: #FF6F00; }
.kb-foot__brand svg g { stroke: #0A0A0B; }
.kb-foot__bar { border-top-color: rgba(10, 10, 11, .14); font-family: var(--f-mono); text-transform: uppercase; font-size: 12px; }
.kb-foot__giant { color: #0A0A0B; }
.kb-foot__giant::after { content: ""; }

/* =====================================================================
   Home estilo Hobro
   ===================================================================== */
.hb-sec { position: relative; padding: clamp(80px, 11vw, 160px) var(--gutter); }
.hb-wrap { max-width: 1480px; margin: 0 auto; }

/* Héroe: marco negro con el remolino detrás (ventana al lienzo fijo) */
/* El hero ocupa la pantalla y crece si el contenido no cabe (pantallas anchas pero bajas o con zoom): nunca se solapa. */
.hb-hero { position: relative; display: flex; flex-direction: column; min-height: max(620px, 100svh); padding: 74px 14px 14px; background: transparent; }
.hb-hero::before { content: ""; position: absolute; inset: 0; border: 14px solid #0A0A0B; border-top-width: 74px; pointer-events: none; z-index: 1; }
.hb-hero__inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(18px, 3.5svh, 40px); padding: clamp(18px, 3vw, 40px); color: #F4F4F1; }
.hb-hero__top { display: flex; justify-content: space-between; gap: 16px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.hb-hero .hb-hero__h1 { margin: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; max-width: none; }
.hb-hero .hb-hero__title { margin: 0; font: 700 clamp(44px, min(9.4vw, 15svh), 150px)/.84 var(--f-head); padding-top: .06em; letter-spacing: -.05em; text-transform: uppercase; color: #F4F4F1 !important; max-width: 11ch; }
.hb-hero .hb-hero__title .lt { font-weight: 300; color: #0A0A0B; }
.hb-hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hb-hero__foot p { max-width: 42ch; font: 500 15px/1.45 var(--f-text); }
.hb-hero .btn--light { background: #F4F4F1; color: #0A0A0B; }
.hb-hero .btn--ghost { color: #F4F4F1; border-color: #F4F4F1; }
.hb-hero .btn--ghost:hover { background: #F4F4F1; color: #0A0A0B; }

/* Declaración + pegatinas + «Hablemos» */
.hb-statement { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hb-statement .hb-caps { max-width: 34ch; }
.hb-statement p:not(.hb-caps) { max-width: 52ch; color: var(--muted); }
.hb-stickers { position: relative; width: 168px; height: 112px; margin: 20px 0 10px; }
.hb-sticker { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 14px; background: #F4F4F1; color: #0A0A0B; font: 700 30px/1 var(--f-head); letter-spacing: -.04em; text-transform: uppercase; opacity: 0; transform: rotate(-6deg) scale(.9); transition: opacity .4s, transform .5s var(--ease); }
.hb-sticker.is-on { opacity: 1; transform: rotate(-3deg) scale(1); }
.hb-sticker--orange { background: var(--accent); }
.hb-sticker svg { width: 64px; height: 64px; }
.hb-sticker small { display: block; margin-top: 6px; font: 500 10px/1 var(--f-mono); letter-spacing: .05em; }
.hb-talk { display: block; width: min(1400px, 100%); margin-top: 60px; text-decoration: none; color: inherit; }
.hb-talk__q { display: block; margin-bottom: 14px; font: 500 clamp(22px, 2.6vw, 36px)/1 var(--f-head); letter-spacing: -.02em; }
.hb-talk__pill { position: relative; display: block; overflow: hidden; border: 1px solid currentColor; border-radius: 999px; padding: clamp(6px, 1vw, 14px) 0; }
.hb-talk__track { display: flex; width: max-content; animation: hbMarquee 18s linear infinite; }
.hb-talk__track span { padding: 0 .35em; font: 700 clamp(72px, 14vw, 220px)/.86 var(--f-head); letter-spacing: -.05em; text-transform: uppercase; white-space: nowrap; }
.hb-talk__track span:nth-child(even) { font-weight: 300; color: var(--accent); }
.hb-talk:hover .hb-talk__track { animation-duration: 8s; }
@keyframes hbMarquee { to { transform: translateX(-50%); } }

/* Qué hacemos: lista en columnas con filetes */
.hb-wwd__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 56px; }
.hb-wwd__head p { max-width: 40ch; justify-self: end; color: var(--muted); font-size: 17px; }
.hb-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.hb-cols a, .hb-cols span { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font: 500 14px/1.2 var(--f-text); letter-spacing: .01em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.hb-cols a::after { content: "↗"; color: var(--muted); transition: color .2s, transform .2s var(--ease); }
.hb-cols a:hover::after { color: var(--accent); transform: translate(2px, -2px); }
.hb-cols span { color: var(--muted); }
.hb-dots { display: block; width: 100%; height: clamp(320px, 46vw, 560px); margin-top: 40px; cursor: crosshair; }

/* Método: títulos centrados con filetes y palabras al pasar */
.hb-approach { border-top: 1px solid var(--line); }
.hb-approach a { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: clamp(14px, 1.6vw, 22px) 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.hb-approach__t { display: flex; align-items: baseline; gap: 14px; font: 500 clamp(30px, 4.4vw, 66px)/1 var(--f-head); letter-spacing: -.04em; transition: color .3s; }
.hb-approach__w { font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.hb-approach__w:last-child { justify-self: end; }
.hb-approach a:hover .hb-approach__w { opacity: 1; transform: none; }
.hb-approach a:hover .hb-approach__t { color: var(--accent); }
.hb-deck { display: flex; align-items: center; gap: 18px; width: fit-content; margin: 56px auto 0; padding: 12px 14px 12px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.hb-deck__icon { width: 64px; height: 64px; flex: none; }
.hb-deck p { font: 500 12px/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px !important; }

/* Mezcla de titular: «PRUEBA en vivo» */
.hb-mix { display: flex; align-items: baseline; gap: .3em; flex-wrap: wrap; margin: 0 0 40px; }
.hb-mix .a { font: 700 clamp(48px, 8vw, 128px)/.86 var(--f-head); letter-spacing: -.05em; text-transform: uppercase; }
.hb-mix .b { font: 300 clamp(48px, 8vw, 128px)/.86 var(--f-head); letter-spacing: -.04em; color: var(--accent); }
.hb-filters { display: grid; gap: 4px; font: 500 12px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* Trabajos: cuadrícula escalonada con pie mono */
.hb-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.hb-work { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; }
.hb-work:nth-child(2) { margin-top: 90px; }
.hb-work:nth-child(3) { margin-top: 30px; }
.hb-work__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; background: var(--panel); transition: transform .6s var(--ease); }
.hb-work:hover .hb-work__media { transform: scale(.98); }
.hb-work__media [data-iso] { width: 70%; }
.hb-work__media--dark { background: #0A0A0B; }
.hb-work__media--orange { background: var(--accent); }
.hb-work__cap { display: flex; justify-content: space-between; font: 500 12px/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hb-work h3 { font: 500 22px/1.15 var(--f-head) !important; letter-spacing: -.02em !important; text-transform: none; }

/* Clientes en tema claro */
.clients { padding: 0 var(--gutter) clamp(60px, 8vw, 110px); }
.clients .client-logo.is-image { filter: grayscale(1) contrast(1.05); opacity: .8; }
.clients .client-logo.is-image[src*="arge"] { filter: grayscale(1); }

/* Visión: sección negra con frase enorme */
.hb-vision { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 56px; }
.hb-vision .say__text { max-width: 26ch; margin: 0 auto; font: 500 clamp(30px, 4.4vw, 64px)/1.08 var(--f-head); letter-spacing: -.035em; text-align: left; }
.hb-vision__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 980px; margin: 0 auto; color: var(--muted); }
.hb-vision__mono { text-align: center; font: 500 13px/1.6 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }

/* Persona detrás */
.hb-team { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.hb-team__lead { font: 500 clamp(14px, 1.2vw, 16px)/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; }
.hb-team__lead span { display: block; padding-left: 4ch; }
.hb-person { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: end; }
.hb-person__photo { position: relative; aspect-ratio: 3 / 4; background: var(--accent); display: grid; place-items: center; }
.hb-person__photo svg { width: 46%; }
.hb-person__photo b { position: absolute; top: -22px; left: 0; font: 500 12px/1 var(--f-mono); }
.hb-person h3 { font: 700 28px/1 var(--f-head) !important; text-transform: uppercase; letter-spacing: -.03em !important; margin-bottom: 8px !important; }
.hb-person p { color: var(--muted); max-width: 44ch; margin-bottom: 14px !important; }

@media (max-width: 960px) {
  .hb-wwd__head, .hb-team, .hb-vision__cols { grid-template-columns: 1fr; }
  .hb-wwd__head p { justify-self: start; }
  .hb-cols { grid-template-columns: 1fr 1fr; }
  .hb-works { grid-template-columns: 1fr 1fr; }
  .hb-work:nth-child(n) { margin-top: 0; }
  .hb-approach a { grid-template-columns: 1fr; text-align: center; }
  .hb-approach__w { display: none; }
  .hb-approach__t { justify-content: center; }
}
@media (max-width: 640px) {
  .hb-hero { padding: 64px 8px 8px; }
  .hb-hero::before { border-width: 8px; border-top-width: 64px; }
  .hb-cols, .hb-works { grid-template-columns: 1fr; }
  .hb-person { grid-template-columns: 140px 1fr; }
  .hb-deck { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .hb-talk__track { animation: none; } }

/* Ajustes de la home */
.kb-home main > *:not(.hb-hero):not(.on-dark):not(.cta-bars) { background: var(--bg); }
.hb-hero .hb-hero__title .lt { color: #F4F4F1; }
.hb-talk__q { color: var(--text); }

/* Los titulares Hobro ganan a la regla base `.kb h2` */
.kb .hb-display { font: var(--hb-display); letter-spacing: -.045em; text-transform: uppercase; color: var(--text); }
.kb .hb-display .lt { font-weight: 300; color: var(--accent); }
.kb .hb-caps { font: 500 clamp(20px, 2.2vw, 30px)/1.18 var(--f-head); letter-spacing: -.02em; text-transform: uppercase; color: var(--text); }
.kb .hb-mix { font-family: var(--f-head); }
/* El teléfono de la demo sigue siendo oscuro */
.phone { --text: #F4F4F1; --muted: #9C9C97; --line: rgba(244, 244, 241, .14); color: var(--text); }
.phone .opt { color: var(--text); border-color: var(--line); }
/* Rejillas con filetes: sin relleno gris en las celdas vacías */
.ticks, .cells, .steps, .fit { gap: 0; background: transparent; border: 0; }
.ticks li, .cell, .steps__item, .fit__col { border: 1px solid var(--line); margin: 0 -1px -1px 0; }

/* =====================================================================
   Paquetes, pruebas y llamadas a la acción (nov-2026)
   ===================================================================== */
/* Seis paquetes en la home */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pack { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 300px; padding: clamp(20px, 2.4vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; transition: background-color .25s; }
.pack:hover { background: var(--panel); }
.pack__top { display: flex; justify-content: space-between; gap: 12px; }
.pack__group { font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kb .pack__name { font: 700 clamp(28px, 2.8vw, 42px)/.95 var(--f-head); letter-spacing: -.04em; text-transform: uppercase; }
.pack__tag { color: var(--muted); font-size: 15px; max-width: 34ch; }
.pack__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.pack__list li { position: relative; padding-left: 18px; }
.pack__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pack__go { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; font: 500 12px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.pack:hover .pack__go b { color: var(--accent); }
.pack--start { background: var(--accent); color: #0A0A0B; }
.pack--start:hover { background: #ff8a2e; }
.pack--start .pack__tag, .pack--start .pack__group, .pack--start .hb-num { color: rgba(10, 10, 11, .7); }
.pack--start .pack__list li::before { background: #0A0A0B; }
.pack--start .kb .pack__name, .kb .pack--start .pack__name { color: #0A0A0B; }
.packs__more { margin-top: 18px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.packs__more a { color: var(--text); text-underline-offset: 4px; }

/* Piezas de cada paquete, con índice para saltar */
.parts-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.parts-nav a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font: 500 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.parts-nav a:hover { border-color: var(--text); }
.parts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.part { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); margin: 0 -1px -1px 0; scroll-margin-top: 90px; }
.part:target { background: var(--panel); outline: 2px solid var(--accent); outline-offset: -2px; }
.part__num { font: 500 12px/1 var(--f-mono); color: var(--accent); }
.part__num b { margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #0A0A0B; font-weight: 600; }
.kb .part h3 { font: 700 clamp(22px, 2vw, 30px)/1 var(--f-head); letter-spacing: -.03em; text-transform: uppercase; }
.part p { color: var(--muted); }
.part ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; font-size: 15px; }
.part li { position: relative; padding-left: 18px; }
.part li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Llamada a la acción al terminar la demo */
.chat-cta { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: #0A0A0B; color: #F4F4F1; border-radius: 6px; animation: toolIn .5s var(--ease) both; }
.chat-cta[hidden] { display: none; }
.kb .chat-cta h3 { font: 700 clamp(22px, 2.2vw, 30px)/1 var(--f-head); letter-spacing: -.03em; text-transform: uppercase; color: #F4F4F1; }
.chat-cta p:not(.hb-tag) { color: #c7c7c1; }
.chat-cta .hb-tag { color: var(--accent); }
.chat-cta .btn--ghost { color: #F4F4F1; border-color: #F4F4F1; }
.chat-cta .btn--ghost:hover { background: #F4F4F1; color: #0A0A0B; }
a.opt { text-decoration: none; }
.hb-filters a { color: var(--text); }

/* Página «Pruébalo»: cuatro pruebas */
.tries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.try { display: flex; flex-direction: column; gap: 12px; min-height: 260px; padding: 22px; border: 1px solid var(--line); background: var(--bg); color: var(--text); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.try:hover { border-color: var(--text); transform: translateY(-3px); }
.kb .try h2 { font: 700 clamp(22px, 2vw, 28px)/1 var(--f-head); letter-spacing: -.03em; text-transform: uppercase; }
.try p { color: var(--muted); font-size: 15px; }
.try__go { margin-top: auto; font: 500 12px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.try--accent { background: var(--accent); border-color: var(--accent); color: #0A0A0B; }
.try--accent p, .try--accent .hb-num { color: rgba(10, 10, 11, .72); }
.kb .try--accent h2 { color: #0A0A0B; }

@media (max-width: 1080px) { .packs { grid-template-columns: repeat(2, 1fr); } .tries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .packs, .parts, .tries { grid-template-columns: 1fr; } .pack { min-height: 0; } }
/* Palabras largas en mayúsculas: se parten con guion en móvil en lugar de desbordar */
.kb h1, .kb h2, .kb h3 { overflow-wrap: break-word; }
/* Sin guiones de corte en ninguna página (decisión de Álvaro) */
html, body, body * { -webkit-hyphens: manual !important; hyphens: manual !important; }
.slab, .slab > * { min-width: 0; }
@media (max-width: 640px) { .slab__text .h2 { font-size: 30px; } }

/* =====================================================================
   Consultoría: ventana emergente visual y formulario corto
   ===================================================================== */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
html.consult-lock { overflow: hidden; }
.consult { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.consult[hidden] { display: none; }
.consult__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 11, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; }
.consult__card { position: relative; width: min(900px, 100%); max-height: calc(100svh - 32px); overflow: auto; display: grid; grid-template-columns: 300px 1fr; background: #F4F4F1; color: #0A0A0B; border-radius: 22px; box-shadow: 0 40px 120px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .25s, transform .35s var(--ease); }
.consult.is-open .consult__backdrop { opacity: 1; }
.consult.is-open .consult__card { opacity: 1; transform: none; }
.consult__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(10, 10, 11, .18); background: #F4F4F1; color: #0A0A0B; font-size: 22px; line-height: 1; cursor: pointer; }
.consult__close:hover { background: #0A0A0B; color: #F4F4F1; }
.consult__side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; background: var(--accent); color: #0A0A0B; }
.consult__side svg { width: 56px; height: 56px; }
.consult__big { margin: 0; font: 700 44px/.9 var(--f-head); letter-spacing: -.05em; text-transform: uppercase; }
.consult__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.consult__steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(10, 10, 11, .1); font: 600 15px/1.2 var(--f-text); }
.consult__steps b { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #0A0A0B; color: var(--accent); font: 600 12px/1 var(--f-mono); }
.consult__main { padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.consult__form { display: flex; flex-direction: column; gap: 12px; }
.consult__form[hidden] { display: none; }
.kb .consult__title, .consult__title { margin: 0; font: 700 clamp(32px, 3.6vw, 48px)/.92 var(--f-head); letter-spacing: -.045em; text-transform: uppercase; color: #0A0A0B; }
.consult__title span { font-weight: 300; color: var(--accent); }
.consult__sub { margin: 0 0 6px; color: #5E5E59; font-size: 15px; }
.consult__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.consult__chips button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(10, 10, 11, .2); background: transparent; color: #0A0A0B; font: 500 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.consult__chips button:hover { border-color: #0A0A0B; }
.consult__chips button[aria-pressed="true"] { background: #0A0A0B; border-color: #0A0A0B; color: #F4F4F1; }
.consult__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consult__form input[type="text"], .consult__form input[type="tel"], .consult__form input[type="email"] {
  width: 100%; min-height: 52px; padding: 0 18px; border: 1px solid rgba(10, 10, 11, .16); border-radius: 999px; background: #fff; color: #0A0A0B; font: 400 15px/1 var(--f-text);
}
.consult__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 111, 0, .2); }
.consult__consent { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #5E5E59; cursor: pointer; }
.consult__consent input { width: 18px; height: 18px; accent-color: var(--accent); }
.consult__consent a { color: #0A0A0B; }
.consult__send { align-self: flex-start; min-height: 52px; padding: 0 30px; font-size: 14px; }
.consult__status { min-height: 1.2em; margin: 0; font-size: 14px; color: #0A0A0B; }
.consult__status.is-error { color: #c43c00; }
.consult__ok { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; animation: toolIn .4s var(--ease) both; }
.consult__ok[hidden] { display: none; }
.consult__check { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #0A0A0B; font: 700 30px/1 var(--f-text); }
.consult__ok .btn--light { background: #0A0A0B; color: #F4F4F1; }

/* Versión en la página /demo (sin ventana) */
.consult--inline { position: static; display: block; padding: 0; }
.consult--inline .consult__card { opacity: 1; transform: none; margin: 0 auto; max-height: none; box-shadow: none; border: 1px solid var(--line); }
.consult-page { padding: 120px var(--gutter) 64px; }
.consult-page__head { max-width: 900px; margin: 0 auto 28px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.consult-page__head h1 { margin: 0; font: 700 clamp(44px, 7vw, 96px)/.86 var(--f-head); letter-spacing: -.05em; text-transform: uppercase; color: var(--text); }
.consult-page__head h1 span { font-weight: 300; color: var(--accent); }
.consult-page__head p { max-width: 34ch; margin: 0; color: var(--muted); }
.consult-page__trust { max-width: 900px; margin: 18px auto 0; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font: 500 12px/1.4 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 760px) {
  .consult { align-items: end; padding: 0; }
  .consult__card { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 94svh; }
  .consult--inline .consult__card { border-radius: 22px; }
  .consult__side { flex-direction: row; align-items: center; flex-wrap: wrap; padding: 18px 20px; gap: 12px; }
  .consult__side svg { width: 40px; height: 40px; }
  .consult__big { font-size: 40px; }
  .consult__steps { grid-template-columns: repeat(3, auto); width: 100%; gap: 6px; }
  .consult__steps li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px; font-size: 12px; }
  .consult__steps b { width: 24px; height: 24px; font-size: 10px; }
  .consult__row { grid-template-columns: 1fr; }
  .consult__send { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .consult__card, .consult__backdrop { transition: none; } }

@media (max-width: 760px) {
  .consult__big { display: none; }
  .consult__card { max-height: 90svh; }
  .consult__side { padding-right: 64px; }
}

.consult__context { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255, 111, 0, .12); color: #0A0A0B; font: 500 13px/1.4 var(--f-text); }
.consult__context::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.consult__context[hidden] { display: none; }

.result__send--one { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 960px) { .result__send--one { grid-template-columns: 1fr; } }

/* =====================================================================
   Pop-up a los 10 segundos: centrado, tapa la página y se puede cerrar
   ===================================================================== */
html.promo-lock { overflow: hidden; }
.promo { position: fixed; inset: 0; z-index: 115; display: grid; place-items: center; padding: 20px; }
.promo[hidden] { display: none; }
.promo__backdrop {
  position: absolute; inset: 0; cursor: pointer;
  background: radial-gradient(70% 60% at 50% 50%, rgba(255, 111, 0, .22), transparent 70%), rgba(10, 10, 11, .78);
  -webkit-backdrop-filter: blur(10px) saturate(.8); backdrop-filter: blur(10px) saturate(.8);
  opacity: 0; transition: opacity .4s ease;
}
.promo__card {
  position: relative; display: grid; grid-template-columns: 0.92fr 1.08fr;
  width: min(860px, 100%); max-height: calc(100dvh - 40px); overflow: auto;
  border-radius: 28px; background: #F4F4F1; color: #0A0A0B;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06), 0 0 90px rgba(255, 111, 0, .25);
  opacity: 0; transform: translateY(60px) scale(.86) rotate(-1.5deg);
}
.promo.is-in .promo__backdrop { opacity: 1; }
.promo.is-in .promo__card { animation: promoIn .8s cubic-bezier(.2, 1.35, .35, 1) .08s forwards; }
.promo.is-out .promo__backdrop { opacity: 0; transition-duration: .3s; }
.promo.is-out .promo__card { opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .28s ease, transform .3s var(--ease); animation: none; }
@keyframes promoIn {
  0% { opacity: 0; transform: translateY(60px) scale(.86) rotate(-1.5deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.promo__close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: rgba(10, 10, 11, .08); color: #0A0A0B;
  font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.promo__close:hover { background: #0A0A0B; color: #F4F4F1; transform: rotate(90deg); }

/* Panel naranja: notificaciones que se apilan y contador */
.promo__visual {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  padding: 30px 26px 26px; background: var(--accent); overflow: hidden;
}
.promo__visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .32), transparent 60%),
              repeating-linear-gradient(90deg, rgba(10, 10, 11, .06) 0 1px, transparent 1px 22px);
}
.promo__notes { position: relative; display: grid; gap: 9px; }
.promo-note {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center;
  padding: 10px 12px; border-radius: 14px; background: rgba(244, 244, 241, .96);
  box-shadow: 0 10px 24px rgba(10, 10, 11, .18);
  font: 500 13px/1.25 var(--f-text); color: #0A0A0B;
  opacity: 0; transform: translateX(-30px) scale(.95);
  animation: promoNote .6s cubic-bezier(.2, 1.35, .35, 1) forwards; animation-delay: var(--d, 0s);
}
.promo-note i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 16px; background: #0A0A0B; color: #F4F4F1; }
.promo-note b { display: block; font-weight: 600; }
.promo-note em { font-style: normal; color: #6b6b66; font-size: 12px; }
.promo-note small { font: 500 11px/1 var(--f-mono); color: #6b6b66; white-space: nowrap; }
@keyframes promoNote { to { opacity: 1; transform: none; } }
.promo__count { position: relative; display: grid; gap: 6px; color: #0A0A0B; }
.promo__count b { font: 700 104px/.82 var(--f-head); letter-spacing: -.06em; font-variant-numeric: tabular-nums; transform-origin: left bottom; }
.promo__count span { font: 600 12px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.promo__count.is-pulse b { animation: promoPulse .45s ease; }
@keyframes promoPulse { 50% { transform: scale(1.1); } }

/* Texto y una sola acción principal */
.promo__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 44px 40px 30px; }
.promo__kicker {
  align-self: flex-start; margin: 0; padding: 7px 11px; border-radius: 999px;
  background: #0A0A0B; color: #F4F4F1; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
}
.kb .promo__title, .promo__title { margin: 0; font: 700 clamp(30px, 3.6vw, 42px)/.95 var(--f-head); letter-spacing: -.045em; text-transform: uppercase; color: #0A0A0B; }
.promo__text { margin: 0; font-size: 16px; line-height: 1.5; color: #4a4a47; }
.promo__cta {
  position: relative; overflow: hidden; justify-content: center; width: 100%;
  margin-top: 8px; padding: 20px 26px; font-size: 15px;
  box-shadow: 0 14px 34px rgba(255, 111, 0, .45);
  animation: promoCta 2.4s ease-in-out 1.8s infinite;
}
.promo__cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg); animation: promoShine 3s ease-in-out 1.2s infinite;
}
@keyframes promoShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes promoCta { 0%, 100% { box-shadow: 0 14px 34px rgba(255, 111, 0, .45), 0 0 0 0 rgba(255, 111, 0, .5); } 50% { box-shadow: 0 14px 34px rgba(255, 111, 0, .45), 0 0 0 12px rgba(255, 111, 0, 0); } }
.promo__links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: 2px; }
.promo__alt { font: 500 13.5px/1.2 var(--f-text); color: #0A0A0B; text-decoration: underline; text-underline-offset: 3px; }
.promo__no { padding: 6px 0; border: 0; background: none; color: #8a8a85; font: 500 11px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.promo__no:hover { color: #0A0A0B; }

@media (max-width: 720px) {
  .promo { padding: 14px; }
  .promo__card { grid-template-columns: 1fr; max-height: calc(100dvh - 28px); border-radius: 24px; }
  .promo__visual { flex-direction: row; align-items: flex-end; gap: 14px; padding: 20px 62px 16px 18px; }
  .promo__notes { flex: 1; gap: 6px; }
  .promo-note { grid-template-columns: 26px 1fr; padding: 7px 9px; font-size: 12px; }
  .promo-note i { width: 26px; height: 26px; font-size: 13px; border-radius: 8px; }
  .promo-note small, .promo-note:nth-child(n + 3) { display: none; }
  .promo__count { flex: 0 0 auto; text-align: right; max-width: 34%; }
  .promo__count b { font-size: 64px; transform-origin: right bottom; }
  .promo__count span { font-size: 10px; }
  .promo__body { gap: 10px; padding: 22px 20px 16px; }
  .kb .promo__title, .promo__title { font-size: 26px; }
  .promo__text { font-size: 14px; }
  .promo__cta { padding: 17px 20px; }
  .promo__close { top: 12px; right: 12px; background: #0A0A0B; color: #F4F4F1; }
}
@media (prefers-reduced-motion: reduce) {
  .promo.is-in .promo__card { animation: none; opacity: 1; transform: none; }
  .promo-note { animation: none; opacity: 1; transform: none; }
  .promo__cta, .promo__cta::after { animation: none; }
}

/* =====================================================================
   Conversación: botones de WhatsApp, burbuja flotante y alternativas
   ===================================================================== */
.wa-ico { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.btn:has(> .wa-ico) { display: inline-flex; align-items: center; justify-content: center; gap: .55em; }
.btn:has(> .wa-ico)::after { content: none; }
.kb-nav__cta .wa-ico { width: 1.15em; height: 1.15em; }
.kb-panel__call { align-self: center; padding: 6px 0; font: 500 12px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: inherit; opacity: .7; }

/* Pop-up: línea de confianza bajo el botón */
.promo__trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -2px 0 0; font: 500 12px/1.3 var(--f-mono); letter-spacing: .02em; color: #4a4a47; }
.promo__trust i, .talk__head span i { width: 8px; height: 8px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: talkLive 2s ease-out infinite; }
@keyframes talkLive { 70% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Consultoría: salida rápida a WhatsApp */
.consult__wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 12px 14px; border-radius: 14px; background: rgba(37, 211, 102, .1); color: inherit; font-size: 14px; text-decoration: none; transition: background .2s; }
.consult__wa:hover { background: rgba(37, 211, 102, .2); }
.consult__wa .wa-ico { color: #128C4A; }
.consult__wa b { text-decoration: underline; text-underline-offset: 3px; }

/* Burbuja flotante */
.talk { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-family: var(--f-text); }
html.promo-lock .talk, html.consult-lock .talk { opacity: 0; pointer-events: none; }
.talk__btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 14px 20px 14px 16px;
  border: 0; border-radius: 999px; background: var(--accent); color: #0A0A0B; cursor: pointer;
  font: 600 13px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(255, 111, 0, .4), 0 2px 6px rgba(10, 10, 11, .2);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.talk__btn .wa-ico { width: 22px; height: 22px; }
.talk__btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255, 111, 0, .55); animation: talkRing 2.6s ease-out 3s infinite; }
.talk__btn:hover { transform: translateY(-2px); }
.talk.is-open .talk__btn::before { animation: none; }
@keyframes talkRing { 0% { box-shadow: 0 0 0 0 rgba(255, 111, 0, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 111, 0, 0); } }
.talk__teaser {
  position: relative; max-width: 240px; margin: 0; padding: 12px 16px; border-radius: 16px 16px 4px 16px;
  background: #0A0A0B; color: #F4F4F1; font-size: 14px; line-height: 1.35; cursor: pointer;
  box-shadow: 0 16px 40px rgba(10, 10, 11, .3); animation: talkPop .5s cubic-bezier(.2, 1.35, .35, 1);
}
.talk__teaser[hidden] { display: none; }
@keyframes talkPop { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.talk__panel {
  width: min(360px, calc(100vw - 24px)); overflow: hidden; border-radius: 24px;
  background: #0A0A0B; color: #F4F4F1; box-shadow: 0 30px 80px rgba(10, 10, 11, .45), 0 0 0 1px rgba(255, 255, 255, .06);
  transform-origin: bottom right; animation: talkPop .45s cubic-bezier(.2, 1.35, .35, 1);
}
.talk__panel[hidden] { display: none; }
.talk__head { display: grid; grid-template-columns: 40px 1fr 32px; gap: 12px; align-items: center; padding: 16px 16px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.talk__avatar svg { display: block; width: 40px; height: 40px; }
.talk__head b { display: block; font: 700 16px/1.1 var(--f-head); }
.talk__head span { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 12px; color: rgba(244, 244, 241, .65); }
.talk__close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: inherit; font-size: 18px; cursor: pointer; }
.talk__close:hover { background: rgba(255, 255, 255, .18); }
.talk__body { padding: 16px; }
.talk__msg { margin: 0 0 14px; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: rgba(255, 255, 255, .08); font-size: 14px; line-height: 1.45; }
.talk__opts { display: grid; gap: 8px; }
.talk__opts a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid rgba(255, 111, 0, .45); color: #F4F4F1; font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.talk__opts a::after { content: "→"; color: var(--accent); transition: transform .2s; }
.talk__opts a:hover, .talk__opts a:focus-visible { background: var(--accent); border-color: var(--accent); color: #0A0A0B; }
.talk__opts a:hover::after, .talk__opts a:focus-visible::after { color: #0A0A0B; transform: translateX(3px); }
.talk__foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px 16px; font: 500 11px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.talk__foot a { color: rgba(244, 244, 241, .7); text-decoration: underline; text-underline-offset: 3px; }
.talk__foot a:hover { color: #F4F4F1; }

@media (max-width: 640px) {
  .talk { right: 12px; bottom: 12px; }
  .talk__btn { padding: 13px 16px 13px 14px; }
  body:has(.cookie-consent.is-visible) .talk { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .talk__btn::before, .talk__teaser, .talk__panel, .promo__trust i, .talk__head span i { animation: none; }
}

/* =====================================================================
   Resultado de los diagnósticos: ocupa todo el ancho y, por debajo de 50, alerta roja
   ===================================================================== */
.diag.is-done { grid-template-columns: 1fr; min-height: 0; }
.diag.is-done .diag__side { display: none; }
.diag.is-done .diag__main { padding: clamp(14px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.diag .result { gap: clamp(20px, 3vw, 36px); }

.verdict {
  --alarm: #FF3B1F;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4.4vw, 56px); border-radius: 24px; overflow: hidden;
  background: #0A0A0B; color: #F4F4F1;
}
.verdict::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 110% at 100% 0%, rgba(255, 111, 0, .28), transparent 60%); }
.verdict--alarm { box-shadow: 0 0 0 2px var(--alarm), 0 30px 80px rgba(255, 59, 31, .25); }
.verdict--alarm::before { background: radial-gradient(80% 120% at 100% 0%, rgba(255, 59, 31, .42), transparent 62%), repeating-linear-gradient(135deg, rgba(255, 59, 31, .05) 0 14px, transparent 14px 28px); }
.verdict--ok { background: #FFFFFF; color: #0A0A0B; box-shadow: 0 0 0 1px var(--line); }
.verdict--ok::before { background: radial-gradient(80% 110% at 100% 0%, rgba(255, 111, 0, .14), transparent 60%); }
.verdict__main, .verdict__score { position: relative; min-width: 0; }
.verdict__main { display: flex; flex-direction: column; gap: 16px; }
.verdict__tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 8px 13px; border-radius: 999px;
  background: rgba(255, 111, 0, .16); color: var(--accent); font: 600 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
}
.verdict__tag i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.verdict--alarm .verdict__tag, .audit__alarm .verdict__tag { background: var(--alarm, #FF3B1F); color: #FFFFFF; }
.verdict--alarm .verdict__tag i, .audit__alarm .verdict__tag i { background: #FFFFFF; animation: alarmBlink 1s steps(2, start) infinite; }
@keyframes alarmBlink { to { visibility: hidden; } }
.kb .verdict__title, .verdict__title { margin: 0; font: 700 clamp(26px, 3.2vw, 40px)/1 var(--f-head); letter-spacing: -.04em; text-transform: uppercase; color: inherit; }
.verdict__title b { display: block; margin: 6px 0 2px; font-size: clamp(54px, 8.4vw, 112px); line-height: .9; letter-spacing: -.06em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.verdict--alarm .verdict__title b { color: var(--alarm); text-shadow: 0 0 40px rgba(255, 59, 31, .35); }
.verdict__title span { opacity: .7; }
.verdict__sub { margin: 0; font: 500 13px/1.5 var(--f-mono); letter-spacing: .02em; text-transform: uppercase; opacity: .85; }
.verdict__text { margin: 0; max-width: 54ch; font-size: 16px; line-height: 1.5; opacity: .72; }
.verdict__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.verdict__cta { padding: 20px 28px; font-size: 15px; box-shadow: 0 14px 34px rgba(255, 111, 0, .45); animation: promoCta 2.4s ease-in-out 1.6s infinite; }
.verdict__alt { color: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
.verdict__alt:hover { opacity: 1; }
.verdict__trust { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 12px/1.3 var(--f-mono); opacity: .7; }
.verdict__trust i { flex: 0 0 8px; height: 8px; border-radius: 50%; background: #25D366; }
.verdict__score { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.verdict .ring { flex: 0 0 auto; width: 190px; height: 190px; background: conic-gradient(var(--accent) calc(var(--v) * 1%), rgba(255, 255, 255, .12) 0); }
.verdict--alarm .ring { background: conic-gradient(var(--alarm) calc(var(--v) * 1%), rgba(255, 255, 255, .12) 0); }
.verdict--ok .ring { background: conic-gradient(var(--accent) calc(var(--v) * 1%), var(--line) 0); }
.verdict .ring::before { inset: 14px; background: #0A0A0B; }
.verdict--ok .ring::before { background: #FFFFFF; }
.verdict .ring b { font-size: 60px; color: inherit; }
.verdict .ring b small { color: inherit; opacity: .55; }
.verdict__score p { margin: 0; font: 600 12px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.verdict__score .verdict__bench { max-width: 18ch; font-weight: 500; letter-spacing: .02em; text-transform: none; opacity: .6; }

.result__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.result__grid > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.result__grid .areas { gap: 16px; }
.result__grid .area { grid-template-columns: minmax(0, 150px) 1fr 40px; }
.area em { display: block; margin-top: 3px; font: 600 10px/1 var(--f-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.area em.is-bad { color: #FF3B1F; }
.area em.is-mid { color: var(--accent); }
.area em.is-ok { color: var(--green, #1F9D55); }
.area__bar i.is-bad { background: #FF3B1F; }
.area__bar i.is-mid { background: var(--accent); }
.area__bar i.is-ok { background: var(--green, #1F9D55); }
.result__grid .reco { padding: 14px 16px; }
.result__how { padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; color: var(--muted); }
.result__how summary { cursor: pointer; color: var(--text); font-weight: 500; }
.result__how p { margin: 10px 0 0; }
.result__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.result__end p { margin: 0; max-width: 52ch; color: var(--muted); }
.result__end p b { color: var(--text); }

/* Auditoría: alerta roja en el lateral */
.audit__alarm { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 16px; background: rgba(255, 59, 31, .12); box-shadow: inset 0 0 0 1px rgba(255, 59, 31, .5); animation: talkPop .45s cubic-bezier(.2, 1.35, .35, 1); }
.audit__alarm[hidden] { display: none; }
.audit__alarm strong { font: 700 clamp(34px, 4vw, 48px)/.95 var(--f-head); letter-spacing: -.04em; color: #FF3B1F; }
.audit__alarm p { margin: 0; font-size: 14px; line-height: 1.45; }
.audit__side.is-alarm { box-shadow: inset 0 0 0 2px #FF3B1F; }
.audit__side.is-alarm .audit__score { color: #FF3B1F; }
.audit__side .btn--accent { align-self: stretch; padding: 18px 22px; animation: promoCta 2.4s ease-in-out 1s infinite; }

@media (max-width: 900px) {
  .verdict { grid-template-columns: 1fr; }
  .verdict__score { order: -1; flex-direction: row; justify-content: flex-start; text-align: left; gap: 16px; }
  .verdict .ring { flex: 0 0 auto; width: 104px; height: 104px; }
  .verdict .ring::before { inset: 9px; }
  .verdict .ring b { font-size: 34px; }
  .verdict__score .verdict__bench { max-width: 22ch; }
  .result__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .verdict { padding: 22px 18px; border-radius: 20px; }
  .verdict__title b { font-size: clamp(44px, 14vw, 64px); }
  .verdict__cta { width: 100%; padding: 18px 20px; }
  .verdict__actions { gap: 12px; }
  .verdict__alt { width: 100%; text-align: center; }
  .result__grid .area { grid-template-columns: minmax(0, 112px) 1fr 32px; gap: 10px; }
  .result__end .actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .verdict__cta, .audit__side .btn--accent, .verdict__tag i, .audit__alarm { animation: none; }
}
.tries--3 { grid-template-columns: repeat(3, 1fr); }
.kb .try h3 { font: 700 clamp(20px, 1.8vw, 26px)/1 var(--f-head); letter-spacing: -.03em; text-transform: uppercase; }
@media (max-width: 1080px) { .tries--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tries--3 { grid-template-columns: 1fr; } }

/* =====================================================================
   Calculadora de lo que dejas de ganar (home y /pruebalo)
   ===================================================================== */
.lcalc-wrap { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 36px); }
.lcalc-wrap .sec__head { max-width: 760px; }
.lcalc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--bg); }
.lcalc__inputs { display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 3vw, 36px); }
.lcalc__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "ico label out" "ico range range"; column-gap: 14px; row-gap: 4px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.lcalc__row:last-child { border-bottom: 0; }
.lcalc__row i { grid-area: ico; align-self: start; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 111, 0, .12); color: var(--accent); }
.lcalc__row i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lcalc__label { grid-area: label; font-size: 15px; font-weight: 600; line-height: 1.25; }
.lcalc__label small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.lcalc__row output { grid-area: out; font: 700 22px/1 var(--f-head); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); }
.lcalc__row input[type="range"] { grid-area: range; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.lcalc__row input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--line) var(--p, 50%)); }
.lcalc__row input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line); }
.lcalc__row input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--accent); }
.lcalc__row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #FFFFFF; border: 0; box-shadow: 0 0 0 4px var(--accent), 0 4px 10px rgba(10, 10, 11, .25); }
.lcalc__row input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; border: 0; box-shadow: 0 0 0 4px var(--accent), 0 4px 10px rgba(10, 10, 11, .25); }
.lcalc__row input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }

.lcalc__out {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 36px);
  background: radial-gradient(90% 70% at 100% 0%, rgba(255, 59, 31, .28), transparent 60%), #0A0A0B; color: #F4F4F1;
}
.lcalc__levers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lcalc__lever { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; padding: 16px; border-radius: 16px; background: rgba(255, 59, 31, .1); box-shadow: inset 0 0 0 1px rgba(255, 59, 31, .4); }
.lcalc__lever p { grid-column: 1 / -1; margin: 0 0 8px; font: 600 11px/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: #FF8A70; }
.lcalc__lever b { font: 700 30px/1 var(--f-head); letter-spacing: -.04em; color: #FF6B4A; }
.lcalc__lever span { font-size: 12.5px; color: rgba(244, 244, 241, .65); }
.lcalc__lever strong { grid-column: 1 / -1; margin-top: 8px; font: 700 20px/1 var(--f-head); letter-spacing: -.03em; color: #F4F4F1; }
.lcalc__total { padding: 22px 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); text-align: center; }
.lcalc__kicker { margin: 0; font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(244, 244, 241, .7); }
.lcalc__total strong { display: block; margin: 10px 0 8px; font: 700 clamp(48px, 6.4vw, 84px)/.9 var(--f-head); letter-spacing: -.06em; font-variant-numeric: tabular-nums; color: #FF3B1F; text-shadow: 0 0 40px rgba(255, 59, 31, .35); }
.lcalc__total p { margin: 0; font-size: 15px; color: rgba(244, 244, 241, .75); }
.lcalc__total p b { color: #F4F4F1; }
.lcalc__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: rgba(244, 244, 241, .7); }
.lcalc__facts b { color: #FF6B4A; font-family: var(--f-head); }
.lcalc__cta { justify-content: center; width: 100%; padding: 19px 24px; font-size: 15px; box-shadow: 0 14px 34px rgba(255, 111, 0, .4); animation: promoCta 2.4s ease-in-out 1.6s infinite; }
.lcalc__alt { align-self: center; margin-top: -4px; color: #F4F4F1; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
.lcalc__alt:hover { opacity: 1; }
.lcalc__note { margin: 0; font-size: 12px; line-height: 1.45; color: rgba(244, 244, 241, .5); text-align: center; }

@media (max-width: 960px) {
  .lcalc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .lcalc { border-radius: 20px; }
  .lcalc__inputs, .lcalc__out { padding: 18px 16px; }
  .lcalc__row { grid-template-columns: 34px minmax(0, 1fr) auto; column-gap: 10px; }
  .lcalc__row i { width: 34px; height: 34px; border-radius: 10px; }
  .lcalc__row output { font-size: 19px; }
  .lcalc__levers { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .lcalc__cta { animation: none; } }
.promo__cta { white-space: normal; text-align: center; line-height: 1.25; }
.promo__card { min-width: 0; }
.promo__body { min-width: 0; }

.about-list { margin-top: 16px; }
.about-actions { margin-top: 32px; }
.side-note__diag { margin-top: 14px; font-size: 14px; }
.side-note__diag a { color: var(--accent); font-weight: 600; }

/* =====================================================================
   Ajustes de móvil (revisión del 2026-11-03)
   ===================================================================== */
html.menu-lock { overflow: hidden; }
@media (max-width: 960px) {
  .diag, .chat-demo, .audit, .result__send, .tools-grid { grid-template-columns: minmax(0, 1fr); }
  .audit__list, .audit__side, .diag__main { min-width: 0; }
}
@media (max-width: 860px) {
  .kb-nav[data-open="true"] ~ .talk { opacity: 0; pointer-events: none; }
  .kb-panel a.kb-panel__call { align-self: center; padding: 14px 12px; font: 500 12px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: #5E5E59 !important; }
}
@media (max-width: 760px) {
  /* 16 px evita que el iPhone haga zoom al tocar un campo */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px !important; }
  .diag { scroll-margin-top: 80px; }
  .diag__side { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; }
  .diag__side > .eyebrow, .diag__privacy { display: none; }
  .diag__count { font-size: 40px; }
  .diag__side > div:last-child { flex: 1; }
  .actions .btn { white-space: normal; text-align: center; }
  .verdict__alt, .lcalc__alt, .promo__alt, .promo__no, .consult__wa { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- Fondo de respaldo del remolino ----------
   Brave en iPhone (y otros navegadores con protección anti-huella) bloquea WebGL o no pinta el lienzo:
   sin esto, las zonas transparentes (héroe, cierre) quedaban claras y el texto blanco no se veía. */
.swirl { background: radial-gradient(60% 50% at 75% 85%, rgba(255, 111, 0, .45), transparent 70%), radial-gradient(45% 40% at 15% 15%, rgba(255, 160, 80, .2), transparent 70%), #0A0A0B; }
html.no-webgl [data-swirl] { background: radial-gradient(70% 55% at 80% 90%, rgba(255, 111, 0, .45), transparent 70%), radial-gradient(50% 40% at 15% 15%, rgba(255, 160, 80, .18), transparent 70%), #0A0A0B; }

/* Un solo botón de WhatsApp a la vista: la burbuja se esconde mientras se ve otro */
html.wa-inview .talk { opacity: 0; transform: translateY(12px); pointer-events: none; }
.talk { transition: opacity .25s, transform .3s var(--ease); }
@media (max-width: 760px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
