/* ==========================================================================
   /api-empresas (API KYB) · rediseño 08-11-2026 con el lenguaje de la home.
   Va después de los <style> de la página y de precios_radar.css; todo cuelga de
   main.k26 para ganarles sin tocar el HTML de cada bloque. Piezas comunes
   (botones, pie, conectores, barra fija, cabecera fija) en marca-2026.css.
   Ritmo: hero oscuro · qué cubre (claro) · onboarding (oscuro) · conceptos y
   sectores (claros) · endpoints (oscuro) · planes (claro) · ejemplo (claro) ·
   FAQ (oscuro) · CTA final (panel oscuro sobre claro) · pie.
   ========================================================================== */

/* ---------- Comunes de sección ---------- */
main.k26 .radar-section { padding: 96px 0; position: relative; }
main.k26 .radar-section--soft { background: #f6f8fc; }
main.k26 section.k26-cubre, main.k26 section.k26-conceptos, main.k26 section.k26-planes { background: #fff !important; }
main.k26 section.k26-cubre { background: #f6f8fc !important; }
main.k26 .radar-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px; border-radius: 999px;
    background: #eff6ff; border: 1px solid #dbeafe; color: #1d4ed8;
    font: 600 12px/1.2 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .04em; text-transform: none;
}
main.k26 .radar-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
main.k26 .radar-title { color: #0b1f4d; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; }
main.k26 .radar-title .kh { background: linear-gradient(90deg, #1d4ed8 0%, #0ea5a4 60%, #10b981 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
main.k26 .kyb-lead, main.k26 .kc-head-sub, main.k26 .radar-subtitle { color: #475569; font-size: 1.05rem; line-height: 1.65; }

/* Bloques oscuros (mismo azul que la home, con rejilla) */
main.k26 section.k26-dark {
    isolation: isolate; overflow: hidden; color: #b4c2dd;
    background:
        radial-gradient(760px 380px at 50% 0%, rgba(59, 130, 246, .26), transparent 70%),
        radial-gradient(520px 340px at 0% 100%, rgba(79, 70, 229, .16), transparent 70%),
        radial-gradient(520px 340px at 100% 100%, rgba(16, 185, 129, .12), transparent 70%),
        linear-gradient(180deg, #14337d 0%, #112e73 100%) !important;
}
main.k26 section.k26-dark::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(147, 197, 253, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 197, 253, .08) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 80%);
}
main.k26 section.k26-endp {
    background:
        radial-gradient(760px 380px at 50% 0%, rgba(16, 185, 129, .18), transparent 70%),
        radial-gradient(520px 340px at 0% 100%, rgba(59, 130, 246, .2), transparent 70%),
        linear-gradient(180deg, #0f3266 0%, #0b3354 100%) !important;
}
main.k26 .k26-dark .radar-kicker { background: rgba(110, 231, 183, .1); border-color: rgba(110, 231, 183, .28); color: #6ee7b7; }
main.k26 .k26-dark .radar-title { color: #fff; }
main.k26 .k26-dark .radar-title .kh { background: linear-gradient(90deg, #60a5fa 0%, #93c5fd 35%, #6ee7b7 100%); -webkit-background-clip: text; background-clip: text; }
main.k26 .k26-dark :is(.kyb-lead, .kc-head-sub, .radar-subtitle) { color: #b4c2dd !important; }
main.k26 .k26-dark .radar-subtitle a, main.k26 .k26-dark .kyb-more a { color: #93c5fd; }
main.k26 .k26-dark code { background: rgba(147, 197, 253, .12); color: #cfe0ff; border-radius: 5px; padding: 1px 5px; }

/* ---------- HERO ---------- */
main.k26 header.api-unified-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 72px 0 96px; text-align: left; color: #b4c2dd; border: 0;
    background:
        radial-gradient(820px 460px at 72% -80px, rgba(59, 130, 246, .42), transparent 70%),
        radial-gradient(560px 400px at 0% 40%, rgba(79, 70, 229, .18), transparent 70%),
        radial-gradient(620px 440px at 100% 100%, rgba(16, 185, 129, .15), transparent 70%),
        linear-gradient(180deg, #173b8c 0%, #14337d 50%, #122f75 100%) !important;
}
main.k26 header.api-unified-hero::before {
    content: ''; position: absolute; inset: 0; top: 0; right: 0; width: auto; height: auto; z-index: -1; pointer-events: none;
    background: none;
    background-image: linear-gradient(rgba(147, 197, 253, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 197, 253, .11) 1px, transparent 1px);
    background-size: 56px 56px; background-position: center -1px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
main.k26 header.api-unified-hero::after { content: none; }
main.k26 .api-unified-hero > .container {
    position: relative; max-width: 1200px !important; padding: 0 24px !important;
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: 56px; align-items: center;
}
main.k26 .api-unified-hero .lang-switcher { position: absolute; top: -44px; right: 24px; margin: 0; }
main.k26 .api-unified-hero .lang-switcher a.active { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .25); }
main.k26 .api-unified-hero .lang-switcher a.inactive { background: transparent; color: #a9b8d6; border-color: rgba(147, 197, 253, .25); }
main.k26 .api-unified-hero .lang-switcher a.inactive:hover { color: #fff; border-color: rgba(147, 197, 253, .5); }
main.k26 .api-unified-hero > .container > * { grid-column: 1; }
main.k26 .api-unified-hero .api-hero-badge { order: 1; justify-self: start; margin: 0 0 22px; background: rgba(37, 99, 235, .14); border: 1px solid rgba(147, 197, 253, .28); color: #d6e2fa; box-shadow: 0 0 24px -6px rgba(59, 130, 246, .45); font: 600 12px/1.2 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .04em; padding: 7px 14px; }
main.k26 .api-unified-hero .api-hero-title { order: 2; color: #fff; text-align: left; font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 20px; }
main.k26 .api-unified-hero .api-hero-title span { background: linear-gradient(90deg, #60a5fa 0%, #93c5fd 35%, #6ee7b7 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
main.k26 .api-unified-hero .api-hero-sub { order: 3; color: #c7d4ee; text-align: left; font-size: 1.1rem; line-height: 1.65; max-width: 580px; margin: 0 0 22px; }
main.k26 .api-unified-hero .api-hero-badges { order: 4; justify-content: flex-start; gap: 10px; margin: 0 0 30px; }
main.k26 .api-unified-hero .api-hero-chip { background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(147, 197, 253, .22) !important; color: #dbe6fb !important; font-weight: 600; font-size: .82rem; }
main.k26 .api-unified-hero .api-hero-chip svg { color: #6ee7b7; }
main.k26 .api-unified-hero .api-hero-actions { order: 5; justify-content: flex-start; gap: 12px; margin: 0; }
main.k26 .api-unified-hero .api-hero-stars { order: 6; justify-content: flex-start; margin: 16px 0 0; }
main.k26 .api-unified-hero .api-hero-stars span { color: #a9b8d6 !important; font-size: .9rem !important; }
main.k26 .api-unified-hero .api-hero-stars strong { color: #fff; }
/* Botones del hero: registrar = ámbar; documentación = cristal */
main.k26 .api-unified-hero .api-hero-btn-primary {
    display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 26px; border-radius: 12px; border: 0;
    background: linear-gradient(135deg, #facc15 0%, #f97316 100%) !important; color: #0b1020 !important; font-weight: 700; font-size: 15.5px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 30px -10px rgba(249, 115, 22, .7) !important; transform: none;
}
main.k26 .api-unified-hero .api-hero-btn-primary:hover { background: linear-gradient(135deg, #eab308 0%, #ea580c 100%) !important; transform: translateY(-1px); }
main.k26 .api-unified-hero .api-hero-btn-ghost {
    display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 22px; border-radius: 12px;
    background: rgba(255, 255, 255, .06) !important; color: #e2e8f0 !important; border: 1px solid rgba(147, 197, 253, .3) !important; font-weight: 600; font-size: 15.5px; box-shadow: none;
}
main.k26 .api-unified-hero .api-hero-btn-ghost:hover { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border-color: rgba(147, 197, 253, .5) !important; }
/* Tarjeta de respuesta: a la derecha, como ventana de consola */
main.k26 .api-unified-hero .kv-card {
    grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; max-width: none; width: 100%;
    background: linear-gradient(180deg, rgba(11, 24, 61, .92), rgba(9, 20, 52, .96)) !important;
    border: 1px solid rgba(147, 197, 253, .25) !important; border-radius: 18px !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 40px 80px -30px rgba(2, 8, 30, .8), 0 0 60px -20px rgba(59, 130, 246, .5) !important;
    animation: k26Float 7s ease-in-out infinite;
}
@keyframes k26Float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
main.k26 .api-unified-hero .kv-top { background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(147, 197, 253, .14); }
main.k26 .api-unified-hero .kv-top b { background: rgba(110, 231, 183, .14); color: #6ee7b7; }
main.k26 .api-unified-hero .kv-top .kv-path { color: #a9b8d6; }
main.k26 .api-unified-hero .kv-200 { background: rgba(16, 185, 129, .16); color: #6ee7b7; border: 1px solid rgba(110, 231, 183, .3); }
main.k26 .api-unified-hero .kv-list li { color: #c7d4ee; }
main.k26 .api-unified-hero .kv-tick { background: #10b981; color: #052e22; }
main.k26 .api-unified-hero .kv-foot { border-top: 1px solid rgba(147, 197, 253, .14); }
/* Cifras: franja de cristal a todo el ancho */
main.k26 .api-unified-hero .kyb-proof {
    order: 8; grid-column: 1 / -1; margin: 56px 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(147, 197, 253, .18); border-radius: 18px; overflow: hidden;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
main.k26 .api-unified-hero .kyb-proof > div, main.k26 .api-unified-hero .kyb-proof > a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 20px 12px; text-align: center;
    border-right: 1px solid rgba(147, 197, 253, .12); background: none; text-decoration: none;
}
main.k26 .api-unified-hero .kyb-proof > :last-child { border-right: 0; }
main.k26 .api-unified-hero .kyb-proof a.kyb-proof-link:hover { background: rgba(255, 255, 255, .05); }
main.k26 .api-unified-hero .kyb-proof strong { color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
main.k26 .api-unified-hero .kyb-proof span { color: #a9b8d6; font: 600 11.5px/1.3 'JetBrains Mono', ui-monospace, monospace; text-transform: uppercase; letter-spacing: .05em; }
main.k26 .api-unified-hero .kyb-proof a.kyb-proof-link span { color: #93c5fd; }

/* ---------- QUÉ CUBRE (tabla de comprobaciones) ---------- */
main.k26 .kc2 { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 30px 60px -40px rgba(11, 31, 77, .35); }
main.k26 .kc2-head { background: #f8fafc; }
main.k26 .kc2-head > div { font: 700 11.5px/1.2 'JetBrains Mono', ui-monospace, monospace; color: #475569; text-transform: uppercase; letter-spacing: .06em; }
main.k26 .kc2-check code { background: #eff6ff; color: #1d4ed8; }
main.k26 .kc2-pill--free { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
main.k26 .kc2-pill--pro { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
main.k26 .kc2-pill--biz { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
main.k26 .kc2-out { background: #fff; border: 1px dashed #cbd5e1; border-radius: 18px; }

/* ---------- ONBOARDING (oscuro) ---------- */
main.k26 .k26-onb .kyb-steps > li {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
    border: 1px solid rgba(147, 197, 253, .16); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px;
}
main.k26 .k26-onb .kyb-steps .n { background: linear-gradient(135deg, #6ee7b7, #34d399); color: #052e22; box-shadow: 0 8px 18px -8px rgba(52, 211, 153, .8); border: 0; }
main.k26 .k26-onb .kyb-steps h3 { color: #fff; }
main.k26 .k26-onb .kyb-steps p, main.k26 .k26-onb .kyb-steps li li { color: #b4c2dd; }
main.k26 .k26-onb .kyb-code { border: 1px solid rgba(147, 197, 253, .22); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(2, 8, 30, .8); background: #0b1739; }
main.k26 .k26-onb .kyb-code-bar { background: rgba(255, 255, 255, .05); color: #a9b8d6; border-bottom: 1px solid rgba(147, 197, 253, .14); }
main.k26 .k26-onb .kyb-code pre { background: transparent; }
main.k26 .k26-onb .kyb-code pre code { background: none; padding: 0; }
main.k26 .k26-onb .kyb-errors { background: rgba(255, 255, 255, .05); border: 1px solid rgba(147, 197, 253, .16); border-radius: 16px; }
main.k26 .k26-onb .kyb-errors h3 { color: #fff; }
main.k26 .k26-onb .kyb-errors dt { color: #fcd34d; }
main.k26 .k26-onb .kyb-errors dd { color: #b4c2dd; }
main.k26 .k26-onb .kyb-facts > div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(147, 197, 253, .16); border-radius: 16px; }
main.k26 .k26-onb .kyb-facts strong { color: #fff; }
main.k26 .k26-onb .kyb-facts span { color: #b4c2dd; }
main.k26 .k26-onb .kyb-facts a, main.k26 .k26-onb .kyb-steps a { color: #93c5fd; }

/* ---------- CONCEPTOS Y SECTORES (claros) ---------- */
main.k26 .kyb-card, main.k26 .kyb-sector { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 50px -36px rgba(11, 31, 77, .35); transition: translate .2s, box-shadow .2s, border-color .2s; }
main.k26 .kyb-card:hover, main.k26 .kyb-sector:hover { translate: 0 -3px; transform: none; border-color: #bfdbfe; box-shadow: 0 30px 60px -34px rgba(11, 31, 77, .45); }
main.k26 .kyb-card .kc-ico, main.k26 .kyb-sector .ks-ico { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
main.k26 .kyb-sector:hover .ks-ico { background: #2563eb; color: #fff; border-color: #2563eb; }
main.k26 .kyb-card .kc-num { font-family: 'JetBrains Mono', ui-monospace, monospace; color: #94a3b8; }
main.k26 .kyb-sector .ks-uses code { background: #eff6ff; color: #1d4ed8; }
main.k26 .kyb-sector .ks-uses small { color: #64748b; }

/* ---------- ENDPOINTS (oscuro): la tabla lleva estilos en línea, por eso los !important ---------- */
main.k26 .k26-endp .radar-subtitle { color: #b4c2dd !important; }
main.k26 .k26-ep { background: rgba(255, 255, 255, .04) !important; border: 1px solid rgba(147, 197, 253, .2) !important; border-radius: 20px !important; box-shadow: 0 40px 80px -40px rgba(2, 8, 30, .7) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
main.k26 .k26-ep-t thead tr { background: rgba(255, 255, 255, .05) !important; border-bottom: 1px solid rgba(147, 197, 253, .2) !important; }
main.k26 .k26-ep-t th { color: #93c5fd !important; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px !important; letter-spacing: .06em; }
main.k26 .k26-ep-t tbody tr { border-bottom: 1px solid rgba(147, 197, 253, .1) !important; background: transparent !important; transition: background .15s; }
main.k26 .k26-ep-t tbody tr:hover { background: rgba(255, 255, 255, .04) !important; }
main.k26 .k26-ep-t tbody tr:last-child { border-bottom: 0 !important; }
main.k26 .k26-ep-t td > div:first-child { color: #6ee7b7 !important; font-family: 'JetBrains Mono', ui-monospace, monospace !important; }
main.k26 .k26-ep-t td > div:nth-child(2) { color: #8fa3c8 !important; font-family: 'JetBrains Mono', ui-monospace, monospace; }
main.k26 .k26-ep-t td strong { color: #fff !important; }
main.k26 .k26-ep-t td p { color: #b4c2dd !important; }
main.k26 .k26-ep-t td code { color: #cfe0ff !important; background: rgba(147, 197, 253, .12); }
main.k26 .k26-ep-t td button { background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(147, 197, 253, .35) !important; color: #dbe6fb !important; font-family: 'JetBrains Mono', ui-monospace, monospace; }
main.k26 .k26-ep-t td button:hover { background: rgba(110, 231, 183, .14) !important; border-color: #6ee7b7 !important; color: #fff !important; }
main.k26 .k26-endp .kyb-more a { color: #93c5fd; }

/* ---------- PLANES: Free en blanco, Pro azul y Business verde (como la home) ---------- */
main.k26 .k26-planes .api-pricing-card { border-radius: 22px; }
main.k26 .k26-planes .api-pricing-card.free-plan { background: #fff !important; color: #0f172a; border: 1px solid #dfe6f1 !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 30px 60px -40px rgba(11, 31, 77, .4) !important; }
main.k26 .k26-planes .api-pricing-card.free-plan .api-pricing-card__header h3 { color: #0b1f4d !important; }
main.k26 .k26-planes .api-pricing-card.free-plan .api-pricing-card__subtitle { color: #0b1f4d !important; }
main.k26 .k26-planes .api-pricing-card.free-plan .api-pricing-card__desc { color: #475569 !important; }
main.k26 .k26-planes .api-pricing-card.free-plan .api-price-value { color: #0b1f4d !important; }
main.k26 .k26-planes .api-pricing-card.free-plan .api-price-value span { color: #64748b !important; }
main.k26 .k26-planes .api-pricing-card.free-plan .api-price-list li { color: #334155 !important; }
main.k26 .k26-planes .api-pricing-card.free-plan .api-price-list li svg { color: #2563eb !important; }
main.k26 .k26-planes .api-pricing-card.free-plan .api-price-cta p { color: #64748b !important; }
main.k26 .k26-planes .api-pricing-card.free-plan input[type="email"] { background: #f8fafc; color: #0f172a; }
main.k26 .k26-planes .api-pricing-card.free-plan .api-pricing-btn { background: #0b1f4d !important; color: #fff !important; border-radius: 12px; }
main.k26 .k26-planes .api-pricing-card.free-plan .api-pricing-btn:hover { background: #1d4ed8 !important; }
main.k26 .k26-planes .api-pricing-card.featured { background: linear-gradient(160deg, #2563eb 0%, #1d4ed8 55%, #1e3a8a 100%) !important; box-shadow: 0 40px 80px -30px rgba(29, 78, 216, .55) !important; }
main.k26 .k26-planes .api-pricing-card.business-plan { background: linear-gradient(160deg, #0d9466 0%, #047857 55%, #064e3b 100%) !important; box-shadow: 0 40px 80px -36px rgba(4, 120, 87, .5) !important; }

/* ---------- EJEMPLO DE CÓDIGO (claro) ---------- */
main.k26 .k26-dev .kyb-side { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 24px 50px -36px rgba(11, 31, 77, .35); }
main.k26 .k26-dev .kyb-side .ki { background: #eff6ff; color: #2563eb; }

/* ---------- FAQ (oscuro) ---------- */
main.k26 .k26-faq .kyb-faq-help { background: rgba(255, 255, 255, .06); border: 1px solid rgba(147, 197, 253, .2); border-radius: 16px; color: #b4c2dd; }
main.k26 .k26-faq .kyb-faq-help strong { color: #fff; }
main.k26 .k26-faq .kyb-faq-help p { color: #b4c2dd; }
main.k26 .k26-faq .kyb-faq-help a { color: #93c5fd; }
main.k26 .k26-faq .kyb-faq-help .ki { background: rgba(110, 231, 183, .14); color: #6ee7b7; }
main.k26 .k26-faq .api-faq-item { background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(147, 197, 253, .16) !important; border-radius: 14px !important; box-shadow: none !important; margin-bottom: 10px; }
main.k26 .k26-faq .api-faq-item:hover { border-color: rgba(147, 197, 253, .35) !important; }
main.k26 .k26-faq .api-faq-item.active { background: rgba(255, 255, 255, .08) !important; border-color: rgba(110, 231, 183, .35) !important; }
main.k26 .k26-faq .api-faq-question { color: #fff !important; background: none !important; }
main.k26 .k26-faq .api-faq-icon { color: #6ee7b7 !important; background: rgba(110, 231, 183, .12) !important; border-color: rgba(110, 231, 183, .3) !important; }
main.k26 .k26-faq .api-faq-answer-inner { color: #b4c2dd !important; }

/* ---------- CTA FINAL ---------- */
main.k26 .k26-cta { padding: 96px 0; background: #f6f8fc; }
main.k26 .k26-cta-box {
    position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #b4c2dd;
    padding: 64px 32px 52px; border-radius: 28px; border: 1px solid rgba(147, 197, 253, .25);
    background:
        radial-gradient(700px 320px at 50% -80px, rgba(59, 130, 246, .5), transparent 70%),
        radial-gradient(460px 300px at 0% 100%, rgba(79, 70, 229, .25), transparent 70%),
        radial-gradient(460px 300px at 100% 100%, rgba(16, 185, 129, .18), transparent 70%),
        linear-gradient(180deg, #173b8c 0%, #122f75 100%);
    box-shadow: 0 50px 100px -40px rgba(11, 26, 71, .65);
}
main.k26 .k26-cta-box::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(147, 197, 253, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 197, 253, .1) 1px, transparent 1px);
    background-size: 48px 48px; background-position: center -1px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 10%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 80% at 50% 10%, #000 20%, transparent 80%);
}
main.k26 .k26-cta-box::after { content: ''; position: absolute; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, #93c5fd, #6ee7b7, transparent); }
main.k26 .k26-cta-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(147, 197, 253, .28); color: #dbe6fb; font: 600 11.5px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .08em; margin-bottom: 20px; }
main.k26 .k26-cta-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
main.k26 .k26-cta-box h2 { margin: 0 auto; max-width: 820px; color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; text-align: center; }
main.k26 .k26-cta-box h2::before, main.k26 .k26-cta-box h2::after { content: none !important; }
main.k26 .k26-grad { background: linear-gradient(90deg, #60a5fa 0%, #93c5fd 35%, #6ee7b7 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
main.k26 .k26-cta-box > p { margin: 18px auto 28px; max-width: 560px; color: #b4c2dd; font-size: 1.1rem; line-height: 1.6; text-align: center; }
main.k26 .k26-cta-stats { display: inline-flex; justify-content: center; margin: 0 0 32px; border: 1px solid rgba(147, 197, 253, .2); border-radius: 14px; background: rgba(255, 255, 255, .05); overflow: hidden; }
main.k26 .k26-cta-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 28px; }
main.k26 .k26-cta-stats > div + div { border-left: 1px solid rgba(147, 197, 253, .16); }
main.k26 .k26-cta-stats strong { color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
main.k26 .k26-cta-stats span { color: #a9b8d6; font: 600 11px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .06em; }
main.k26 .k26-cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
main.k26 .k26-cta-micro { display: block; margin-top: 18px; font-size: 13.5px; color: #a9b8d6; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    main.k26 .api-unified-hero > .container { grid-template-columns: minmax(0, 1fr); text-align: center; }
    main.k26 .api-unified-hero .kv-card { grid-column: 1; grid-row: auto; order: 7; margin: 40px auto 0; max-width: 560px; }
    main.k26 .api-unified-hero :is(.api-hero-title, .api-hero-sub) { text-align: center; margin-left: auto; margin-right: auto; }
    main.k26 .api-unified-hero :is(.api-hero-badges, .api-hero-actions, .api-hero-stars) { justify-content: center; }
    main.k26 .api-unified-hero .api-hero-badge { justify-self: center; }
}
@media (max-width: 760px) {
    main.k26 .radar-section, main.k26 .k26-cta { padding: 64px 0; }
    main.k26 header.api-unified-hero { padding: 56px 0 64px; }
    main.k26 .api-unified-hero .lang-switcher { top: -40px; right: 16px; }
    main.k26 .api-unified-hero > .container { padding: 0 16px !important; }
    main.k26 .api-unified-hero .api-hero-title { font-size: 2rem; }
    main.k26 .api-unified-hero .api-hero-actions a { flex: 1 1 100%; justify-content: center; }
    main.k26 .api-unified-hero .kv-card { animation: none; }
    main.k26 .api-unified-hero .kyb-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
    main.k26 .api-unified-hero .kyb-proof > * { border-right: 0 !important; border-bottom: 1px solid rgba(147, 197, 253, .12); }
    main.k26 .api-unified-hero .kyb-proof strong { font-size: 1.3rem; }
    main.k26 .k26-cta-box { padding: 48px 20px 40px; border-radius: 20px; }
    main.k26 .k26-cta-btns .hx-b { flex: 1 1 100%; }
    main.k26 .k26-cta-stats > div { padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) { main.k26 .api-unified-hero .kv-card { animation: none; } }

/* ---------- Ajustes tras revisar en el navegador ---------- */
main.k26 .api-unified-hero .api-hero-title { font-size: clamp(2.1rem, 3.5vw, 2.95rem); }
main.k26 .k26-ep-t td button { white-space: nowrap; }
main.k26 .radar-heading--center, main.k26 .radar-heading--center .radar-title, main.k26 .radar-heading--center .radar-subtitle { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
main.k26 .k26-cta-box h2 { margin: 0 auto !important; text-align: center !important; }
main.k26 .k26-faq .api-faq-answer { background: transparent !important; border-top: 1px solid rgba(147, 197, 253, .12); }
main.k26 .k26-faq .api-faq-item:not(.active) .api-faq-answer { border-top-color: transparent; }
main.k26 .api-unified-hero .kv-cost { color: #93a4c4; }
main.k26 .kyb-card .kc-num { color: #64748b; }

/* ---------- PLANES (08-11-2026, 2.ª pasada): mismo diseño que los precios de la home ---------- */
main.k26 section.k26-planes { background: linear-gradient(180deg, #f6f8fc 0%, #fff 420px) !important; isolation: isolate; overflow: hidden; }
main.k26 section.k26-planes::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 520px; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(37, 99, 235, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 15%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 15%, transparent 75%);
}
/* Selector mensual/anual */
main.k26 .k26-toggle { width: max-content; margin: 22px auto 52px !important; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 24px -18px rgba(11, 31, 77, .4); }
main.k26 .k26-toggle #billingToggle { background: linear-gradient(135deg, #14337d, #1d4ed8) !important; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); min-height: 0 !important; min-width: 0 !important; width: 56px !important; height: 32px !important; flex: 0 0 56px; box-sizing: border-box; }
main.k26 .k26-toggle #toggleKnob { box-shadow: 0 2px 6px rgba(0, 0, 0, .25) !important; }
main.k26 .k26-toggle span[style*="#94a3b8"], main.k26 .k26-toggle span[style*="148, 163, 184"] { color: #64748b !important; }
/* Tarjetas */
main.k26 .k26-planes .api-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: 1160px; margin: 0 auto; }
main.k26 .k26-planes .api-pricing-card {
    position: relative; display: flex; flex-direction: column; text-align: left;
    padding: 32px 30px 28px !important; border-radius: 20px !important; transform: none !important;
    transition: border-color .2s, box-shadow .2s, translate .2s;
}
main.k26 .k26-planes .api-pricing-card:hover { translate: 0 -3px; transform: none !important; }
main.k26 .k26-planes .api-pricing-card.featured::before { content: none !important; display: none !important; }
main.k26 .k26-planes .k26-tag {
    align-self: flex-start; margin-bottom: 18px; padding: 4px 10px; border-radius: 999px;
    font: 700 11px/1.2 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase;
}
main.k26 .k26-planes .free-plan .k26-tag { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
main.k26 .k26-planes .featured .k26-tag { background: #fff; color: #1d4ed8; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .3); }
main.k26 .k26-planes .business-plan .k26-tag { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
main.k26 .k26-planes .api-pricing-card__header { margin: 0; padding: 0; border: 0; }
main.k26 .k26-planes .api-pricing-card__header h3 { margin: 0 0 4px !important; font-size: 1.6rem !important; font-weight: 800; letter-spacing: -0.02em; }
main.k26 .k26-planes .api-pricing-card__subtitle { margin: 0 0 10px !important; font-size: .98rem !important; font-weight: 600 !important; }
main.k26 .k26-planes .api-pricing-card__desc { margin: 0 0 22px; min-height: 72px; font-size: .93rem; line-height: 1.55; }
main.k26 .k26-planes .api-price-value { margin: 0 0 6px; font-size: 3.1rem !important; font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
main.k26 .k26-planes .api-price-value span { font-size: 1rem !important; font-weight: 500; letter-spacing: 0; }
main.k26 .k26-planes .api-per-query { margin: 10px 0 4px !important; font-size: .86rem !important; font-weight: 500 !important; opacity: 1 !important; }
main.k26 .k26-planes .api-per-query b { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; }
main.k26 .k26-planes .api-annual-note { margin: 2px 0 6px !important; color: #fff !important; opacity: 1 !important; }
main.k26 .k26-planes .api-price-list { list-style: none; padding: 20px 0 0 !important; margin: 16px 0 26px !important; flex-grow: 1; border-top: 1px solid #eef2f7; }
main.k26 .k26-planes .api-price-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0 !important; margin: 0 !important; border: 0 !important; font-size: .92rem !important; line-height: 1.45; font-weight: 500; }
main.k26 .k26-planes .api-price-list li svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; padding: 3px; border-radius: 50%; box-sizing: border-box; }
main.k26 .k26-planes .api-price-list li.api-price-inherit { display: block; margin: 0 0 8px !important; padding: 8px 12px !important; border-radius: 10px; font-size: .86rem !important; font-weight: 600; }
main.k26 .k26-planes .api-pricing-btn {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; padding: 0 20px; box-sizing: border-box;
    border-radius: 12px !important; font-weight: 700; font-size: 15.5px; text-decoration: none; transition: background .15s, transform .15s, box-shadow .15s;
}
main.k26 .k26-planes .api-pricing-btn:hover { transform: translateY(-1px); }
/* Free: blanca */
main.k26 .k26-planes .free-plan { background: #fff !important; color: #0f172a !important; border: 1px solid #e2e8f0 !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 50px -36px rgba(11, 31, 77, .35) !important; }
main.k26 .k26-planes .free-plan:hover { border-color: #c7d6f2 !important; box-shadow: 0 30px 60px -34px rgba(11, 31, 77, .45) !important; }
main.k26 .k26-planes .free-plan .api-pricing-card__subtitle { color: #475569 !important; }
main.k26 .k26-planes .free-plan .api-pricing-card__desc { color: #64748b !important; }
main.k26 .k26-planes .free-plan .api-price-list li svg { color: #475569 !important; background: #f1f5f9; }
main.k26 .k26-planes .free-plan input[type="email"] { height: 50px; padding: 0 16px !important; border: 1px solid #cfd8e6 !important; border-radius: 12px !important; font-size: .98rem !important; box-sizing: border-box; }
main.k26 .k26-planes .free-plan input[type="email"]:focus { border-color: #1d4ed8 !important; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
main.k26 .k26-planes .free-plan .api-price-cta { margin-top: 0 !important; }
/* Pro (azul) y Business (verde): degradado, rejilla sutil y línea de luz */
main.k26 .k26-planes .featured, main.k26 .k26-planes .business-plan { color: #fff !important; border: 1px solid rgba(255, 255, 255, .18) !important; overflow: hidden; isolation: isolate; }
main.k26 .k26-planes .featured {
    background: radial-gradient(380px 220px at 85% -10%, rgba(147, 197, 253, .55), transparent 70%), radial-gradient(320px 240px at 0% 110%, rgba(79, 70, 229, .55), transparent 70%), linear-gradient(160deg, #3b6ff5 0%, #2563eb 40%, #1e40af 100%) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 40px 80px -30px rgba(37, 99, 235, .7) !important;
    top: -12px;
}
main.k26 .k26-planes .business-plan {
    background: radial-gradient(380px 220px at 85% -10%, rgba(110, 231, 183, .45), transparent 70%), radial-gradient(320px 240px at 0% 110%, rgba(6, 78, 59, .6), transparent 70%), linear-gradient(160deg, #0d9466 0%, #047857 45%, #064e3b 100%) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 34px 70px -32px rgba(5, 150, 105, .65) !important;
}
main.k26 .k26-planes :is(.featured, .business-plan)::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%); mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
}
main.k26 .k26-planes .business-plan::before { content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); }
main.k26 .k26-planes .featured { box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 40px 80px -30px rgba(37, 99, 235, .7) !important; }
main.k26 .k26-planes :is(.featured, .business-plan) h3, main.k26 .k26-planes :is(.featured, .business-plan) .api-price-value { color: #fff !important; }
main.k26 .k26-planes .featured .api-pricing-card__subtitle { color: #dbeafe !important; }
main.k26 .k26-planes .business-plan .api-pricing-card__subtitle { color: #d1fae5 !important; }
main.k26 .k26-planes .featured .api-pricing-card__desc { color: rgba(239, 246, 255, .88) !important; }
main.k26 .k26-planes .business-plan .api-pricing-card__desc { color: rgba(236, 253, 245, .9) !important; }
main.k26 .k26-planes :is(.featured, .business-plan) .api-price-value span { color: rgba(255, 255, 255, .78) !important; }
main.k26 .k26-planes :is(.featured, .business-plan) .api-per-query { color: rgba(255, 255, 255, .88) !important; }
main.k26 .k26-planes :is(.featured, .business-plan) .api-price-list { border-top-color: rgba(255, 255, 255, .18); }
main.k26 .k26-planes :is(.featured, .business-plan) .api-price-list li { color: #fff !important; }
main.k26 .k26-planes .featured .api-price-list li svg { color: #1d4ed8 !important; background: #fff; }
main.k26 .k26-planes .business-plan .api-price-list li svg { color: #047857 !important; background: #fff; }
main.k26 .k26-planes :is(.featured, .business-plan) .api-price-list li.api-price-inherit { color: #fff !important; background: rgba(255, 255, 255, .12) !important; border: 1px solid rgba(255, 255, 255, .28) !important; }
main.k26 .k26-planes :is(.featured, .business-plan) .api-pricing-btn { background: #fff !important; border: 0 !important; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45) !important; }
main.k26 .k26-planes .featured .api-pricing-btn { color: #1d4ed8 !important; }
main.k26 .k26-planes .business-plan .api-pricing-btn { color: #047857 !important; }
main.k26 .k26-planes .featured .api-pricing-btn:hover { background: #eff6ff !important; }
main.k26 .k26-planes .business-plan .api-pricing-btn:hover { background: #ecfdf5 !important; }
main.k26 .k26-planes .k26-comp a { color: #1d4ed8 !important; font-weight: 600; }
main.k26 .k26-planes .k26-comp a:hover { text-decoration: underline !important; }
@media (max-width: 980px) {
    main.k26 .k26-planes .api-pricing-grid { grid-template-columns: 1fr; max-width: 520px; gap: 18px; }
    main.k26 .k26-planes .featured { top: 0; }
    main.k26 .k26-planes .api-pricing-card__desc { min-height: 0; }
}
@media (max-width: 640px) {
    main.k26 .k26-toggle { width: 100%; justify-content: center; box-sizing: border-box; }
    main.k26 .k26-planes .api-pricing-card { padding: 26px 22px 22px !important; }
    main.k26 .k26-planes .api-price-value { font-size: 2.6rem !important; }
}
/* ==========================================================================
   «PAGA SOLO POR LO QUE USES» (partials/bloque_pago_uso) — solo en la home.
   El partial lo usan también /api-empresas y /precios: aquí solo se le cambia
   el aspecto con selectores main.k26 #planes .pu … (ganan a su <style> inline).
   Panel oscuro tipo "monedero de créditos", tarjetas de cristal con icono.
   ========================================================================== */
main.k26 #planes .pu {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    max-width: none;
    margin: 64px 0 0;
    padding: 40px 36px 36px;
    border-radius: 24px;
    border: 1px solid rgba(147, 197, 253, .22);
    color: #b4c2dd;
    background:
        radial-gradient(600px 260px at 50% -40px, rgba(59, 130, 246, .35), transparent 70%),
        radial-gradient(420px 260px at 100% 100%, rgba(16, 185, 129, .16), transparent 70%),
        linear-gradient(180deg, #173b8c 0%, #122f75 100%);
    box-shadow: 0 40px 80px -40px rgba(11, 26, 71, .7);
}
main.k26 #planes .pu::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(147, 197, 253, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 197, 253, .08) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 80%);
}
main.k26 #planes .pu::after {
    content: ''; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, #93c5fd, #6ee7b7, transparent);
}
main.k26 #planes .pu .pu-cab { margin-bottom: 30px; }
main.k26 #planes .pu .pu-kicker { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6ee7b7; margin-bottom: 10px; }

main.k26 #planes .pu .pu-tit { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; }
main.k26 #planes .pu .pu-tit::before, main.k26 #planes .pu .pu-tit::after { content: none !important; display: none !important; }
main.k26 #planes .pu .pu-sub { color: #a3b3d1; font-size: 1rem; }
main.k26 #planes .pu .pu-grid { gap: 16px; }
main.k26 #planes .pu .pu-card {
    position: relative;
    padding: 72px 22px 22px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(147, 197, 253, .18);
    transition: border-color .2s, translate .2s, background .2s;
}
main.k26 #planes .pu .pu-card:hover { border-color: rgba(147, 197, 253, .42); translate: 0 -2px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); }
/* icono por tarjeta (la estructura del partial es fija: inicio, a medida, fichero) */
main.k26 #planes .pu .pu-card::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 22px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(59, 130, 246, .14) center / 20px 20px no-repeat;
    border: 1px solid rgba(147, 197, 253, .28);
    box-shadow: 0 0 22px -6px rgba(59, 130, 246, .6);
}
main.k26 #planes .pu .pu-card:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M18.09 10.37A6 6 0 1 1 10.34 18'/%3E%3Cpath d='M7 6h1v4'/%3E%3Cpath d='m16.71 13.88.7.71-2.82 2.82'/%3E%3C/svg%3E"); }
main.k26 #planes .pu .pu-card:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='21' x2='4' y2='14'/%3E%3Cline x1='4' y1='10' x2='4' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12' y2='3'/%3E%3Cline x1='20' y1='21' x2='20' y2='16'/%3E%3Cline x1='20' y1='12' x2='20' y2='3'/%3E%3Cline x1='1' y1='14' x2='7' y2='14'/%3E%3Cline x1='9' y1='8' x2='15' y2='8'/%3E%3Cline x1='17' y1='16' x2='23' y2='16'/%3E%3C/svg%3E"); }
main.k26 #planes .pu .pu-card:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ee7b7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h2M14 13h2M8 17h2M14 17h2'/%3E%3C/svg%3E"); background-color: rgba(16, 185, 129, .14); border-color: rgba(110, 231, 183, .3); box-shadow: 0 0 22px -6px rgba(16, 185, 129, .55); }
/* «Un fichero entero»: destacado con borde menta */
main.k26 #planes .pu .pu-card--alt { background: linear-gradient(180deg, rgba(16, 185, 129, .1), rgba(16, 185, 129, .03)); border: 1px solid rgba(110, 231, 183, .4); }
main.k26 #planes .pu .pu-card--alt::after {
    content: 'Sin integrar nada';
    position: absolute; top: 28px; right: 20px;
    font-family: 'JetBrains Mono', Consolas, monospace; font-size: 10.5px; font-weight: 600;
    color: #052e22; background: #6ee7b7; padding: 2px 8px; border-radius: 999px;
}
main.k26 #planes .pu .pu-nombre { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
main.k26 #planes .pu .pu-precio { color: #93a6cc; font-size: .88rem; }
main.k26 #planes .pu .pu-precio strong { color: #fff; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
main.k26 #planes .pu .pu-det { margin: 8px 0 12px; font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12px; font-weight: 500; color: #6ee7b7; }
main.k26 #planes .pu .pu-para { color: #a3b3d1; font-size: .9rem; line-height: 1.55; margin-bottom: 20px; }
main.k26 #planes .pu .pu-btn {
    display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 16px;
    border-radius: 11px; font-weight: 600; font-size: .95rem;
    background: rgba(255, 255, 255, .06); color: #fff !important; border: 1px solid rgba(147, 197, 253, .3);
    transition: background .15s, border-color .15s;
}
main.k26 #planes .pu .pu-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(147, 197, 253, .55); }
main.k26 #planes .pu .pu-card--alt .pu-btn {
    background: #2563eb; border-color: transparent;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 0 0 1px rgba(96, 165, 250, .4), 0 12px 28px -10px rgba(59, 130, 246, .95);
}
main.k26 #planes .pu .pu-card--alt .pu-btn:hover { background: #3b82f6; }
main.k26 #planes .pu .pu-link { color: #93c5fd; font-weight: 600; margin-top: 12px; }
main.k26 #planes .pu .pu-link:hover { color: #fff; }
@media (max-width: 860px) {
    main.k26 #planes .pu { padding: 30px 18px 18px; margin-top: 44px; }
    main.k26 #planes .pu .pu-grid { grid-template-columns: 1fr; }
}

/* Pago por uso plegado: barra con el bono de inicio a la vista */
main.k26 #planes .pu-fold { margin: 56px 0 0; }
main.k26 #planes .pu-fold-sum {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px;
    padding: 20px 24px; border-radius: 20px; color: #b4c2dd;
    border: 1px solid rgba(147, 197, 253, .22);
    background: radial-gradient(500px 200px at 0% 0%, rgba(59, 130, 246, .35), transparent 70%), radial-gradient(420px 200px at 100% 100%, rgba(16, 185, 129, .16), transparent 70%), linear-gradient(180deg, #173b8c 0%, #122f75 100%);
    box-shadow: 0 30px 60px -36px rgba(11, 26, 71, .7);
    transition: translate .2s, box-shadow .2s;
}
main.k26 #planes .pu-fold-sum::-webkit-details-marker { display: none; }
main.k26 #planes .pu-fold-sum:hover { translate: 0 -2px; box-shadow: 0 36px 70px -36px rgba(11, 26, 71, .8); }
main.k26 #planes .pu-fold-ic { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #0b1020; background: linear-gradient(135deg, #6ee7b7, #34d399); box-shadow: 0 10px 22px -10px rgba(52, 211, 153, .8); }
main.k26 #planes .pu-fold-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
main.k26 #planes .pu-fold-k { font: 600 .74rem/1 'JetBrains Mono', ui-monospace, monospace; color: #6ee7b7; text-transform: uppercase; letter-spacing: .06em; }
main.k26 #planes .pu-fold-txt b { color: #fff; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
main.k26 #planes .pu-fold-txt small { color: #a9b8d6; font-size: .88rem; }
main.k26 #planes .pu-fold-go { flex-shrink: 0; padding: 11px 18px; border-radius: 11px; font-weight: 800; font-size: .92rem; text-decoration: none; color: #0b1f4d; background: #fff; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); transition: background .15s; }
main.k26 #planes .pu-fold-go:hover { background: #e0ecff; }
main.k26 #planes .pu-fold-mas { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: #cfe0ff; padding: 10px 6px; }
main.k26 #planes .pu-fold-mas svg { transition: transform .2s; }
main.k26 #planes .pu-fold[open] .pu-fold-mas svg { transform: rotate(180deg); }
main.k26 #planes .pu-fold[open] .pu-fold-sum { border-radius: 20px 20px 0 0; border-bottom-color: rgba(147, 197, 253, .12); box-shadow: none; translate: none; }
main.k26 #planes .pu-fold .pu { margin: 0; border-top: 0; border-radius: 0 0 24px 24px; padding-top: 28px; }
main.k26 #planes .pu-fold .pu-cab { display: none; }
@media (max-width: 760px) {
    main.k26 #planes .pu-fold { margin-top: 40px; }
    main.k26 #planes .pu-fold-sum { flex-wrap: wrap; padding: 18px 16px; gap: 12px 14px; }
    main.k26 #planes .pu-fold-ic { flex-basis: 40px; height: 40px; }
    main.k26 #planes .pu-fold-txt { flex-basis: calc(100% - 60px); }
    main.k26 #planes .pu-fold-go { flex: 1; text-align: center; }
    main.k26 #planes .pu-fold .pu { padding: 22px 16px 16px !important; }
}


/* ---------- PRUEBA EN VIVO (08-11-2026): consola y resultado copiados de home-hero.css ---------- */
.hx-console {
    position: relative;
    background: #fff;
    border: 1px solid #dfe6f1;
    border-radius: 18px;
    padding: 0 0 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 30px 60px -30px rgba(11, 31, 77, .45), 0 0 0 6px rgba(37, 99, 235, .04);
    text-align: left;
}
.hx-req {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    background:
        linear-gradient(90deg, rgba(59, 130, 246, .16), transparent 40%, transparent 60%, rgba(16, 185, 129, .12)),
        #14337d;
    border-bottom: 1px solid rgba(147, 197, 253, .18);
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
    font-size: 13px;
    color: #cbd5e1;
    position: relative;
}
.hx-req::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(147, 197, 253, .8), rgba(110, 231, 183, .7), transparent);
}
.hx-req-dots { display: inline-flex; gap: 5px; }
.hx-req-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.hx-req-m {
    background: rgba(110, 231, 183, .14);
    color: #6ee7b7;
    border: 1px solid rgba(110, 231, 183, .3);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .04em;
    padding: 2px 8px;
    border-radius: 6px;
}
:is(.hx-search, .hx-demo) .hx-req-url {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
    color: #e2e8f0;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}
.hx-req-base { color: #7d8fb3; }
.hx-req-val { color: #c3e88d; }
.hx-req-val.is-empty { color: #64748b; }
.hx-req-s {
    flex: 0 0 auto;
    font-size: 11.5px;
    font-weight: 600;
    color: #93a6cc;
    border: 1px solid rgba(147, 197, 253, .22);
    padding: 2px 8px;
    border-radius: 6px;
    transition: color .2s, background .2s, border-color .2s;
}
.hx-req-s.is-wait { color: #93c5fd; }
.hx-req-s.is-ok { color: #052e22; background: #6ee7b7; border-color: #6ee7b7; }
.hx-req-s.is-warn { color: #fcd34d; border-color: rgba(252, 211, 77, .4); }

.hx-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 12px 0;
    padding: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.hx-row:focus-within {
    background: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .14);
}
.hx-row-ic { display: grid; place-items: center; padding-left: 10px; color: #64748b; }
:is(.hx-search, .hx-demo) input.hx-input {
    flex: 1;
    min-width: 0;
    height: 52px;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 6px;
    margin: 0;
    font: inherit;
    font-size: 16.5px;
    color: #0f172a;
}
:is(.hx-search, .hx-demo) input.hx-input::placeholder { color: #94a3b8; }
.hx-kbd {
    flex: 0 0 auto;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 11.5px;
    color: #64748b;
    background: #fff;
    border: 1px solid #dfe6f1;
    border-bottom-width: 2px;
    border-radius: 6px;
    padding: 3px 7px;
}
:is(.hx-search, .hx-demo) #btnBuscar {
    height: 52px !important;
    padding: 0 26px !important;
    border-radius: 11px !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    width: auto !important;
    flex: 0 0 auto;
    background: #2563eb;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 22px -12px rgba(37, 99, 235, .8) !important;
}
:is(.hx-search, .hx-demo) #btnBuscar:hover { background: #1d4ed8; }

.hx-try {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px 4px;
}
.hx-try-l { font-size: 12px; color: #64748b; margin-right: 2px; font-family: 'JetBrains Mono', Consolas, monospace; text-transform: uppercase; letter-spacing: .06em; }
:is(.hx-search, .hx-demo) .hx-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
:is(.hx-search, .hx-demo) .hx-chip b { font-family: 'JetBrains Mono', Consolas, monospace; font-weight: 600; font-size: 12px; color: #1d4ed8; }
:is(.hx-search, .hx-demo) .hx-chip:hover { border-color: #93b4f0; background: #f5f8ff; color: #0b1f4d; }
:is(.hx-search, .hx-demo) .hx-chip::after { content: '→'; color: #94a3b8; font-size: 12px; transition: transform .15s, color .15s; }
:is(.hx-search, .hx-demo) .hx-chip:hover::after { color: #1d4ed8; transform: translateX(2px); }

:is(.hx-search, .hx-demo) .hx-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 18px 10px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
}
:is(.hx-search, .hx-demo) .hx-alt {
    margin: 18px auto 0;
    max-width: 640px;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}
:is(.hx-search, .hx-demo) .hx-alt a { color: #1d4ed8; font-weight: 600; text-decoration: none; }
:is(.hx-search, .hx-demo) .hx-alt a:hover { text-decoration: underline; }

:is(.hx-search, .hx-demo) .hx-res { max-width: 980px; margin: 32px auto 0; text-align: left; }
:is(.hx-search, .hx-demo) .hx-try { padding-bottom: 14px; }
:is(.hx-search, .hx-demo) .hx-proof.hx-proof--fuera {
    display: flex; justify-content: center; align-items: center; gap: 9px;
    margin: 14px 0 0; padding: 0; border: 0;
    font-size: 13.5px; font-weight: 500; color: #475569;
}
@media (max-width: 640px) {
    :is(.hx-search, .hx-demo) .hx-search-sub { font-size: 1rem; margin-bottom: 22px; }
    .hx-row { flex-wrap: wrap; padding: 6px; }
    .hx-row-ic { display: none; }
    :is(.hx-search, .hx-demo) input.hx-input { flex: 1 1 100%; padding: 0 12px; text-align: left; }
    :is(.hx-search, .hx-demo) #btnBuscar { flex: 1 1 100%; width: 100% !important; }
    .hx-console { border-radius: 16px; }
    .hx-req { padding: 10px 12px; gap: 8px; font-size: 12px; }
    .hx-req-dots { display: none; }
    .hx-row { margin: 10px 10px 0; }
    .hx-kbd { display: none; }
    .hx-try { padding: 12px 12px 2px; }
    .hx-try-l { flex: 1 1 100%; }
    :is(.hx-search, .hx-demo) .hx-proof { margin: 10px 12px 8px; }
}
/* ---- Resultado del validador (08-11-2026, window.hxRenderResult en home.php) ---- */
.hx-res #resultado .hxr { padding: 0 !important; margin: 0 !important; border-radius: 20px; }
.hx-res .hxr { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; text-align: left; color: #0f172a; box-shadow: 0 30px 60px -30px rgba(2, 8, 40, .55), 0 2px 0 rgba(255,255,255,.6) inset; animation: hxrIn .35s ease both; }
@keyframes hxrIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hx-res .hxr-bar { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: #f8fafc; border-bottom: 1px solid #eef2f7; font: 600 .74rem/1 'JetBrains Mono', ui-monospace, monospace; color: #64748b; }
.hx-res .hxr-200 { color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; padding: 4px 8px; border-radius: 6px; font-weight: 700; }
.hx-res .hxr-bar-r { margin-left: auto; }
.hx-res .hxr-in { padding: 24px 26px 22px; }
.hx-res .hxr-head { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; }
.hx-res .hxr-mono { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, #2563eb, #1e40af); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 20px -10px rgba(37,99,235,.7); }
.hx-res .hxr-id { min-width: 0; flex: 1; }
.hx-res .hxr-name { margin: 0 0 6px !important; font-size: 1.4rem !important; line-height: 1.2 !important; font-weight: 800; letter-spacing: -.02em; color: #0f172a; text-align: left !important; }
.hx-res .hxr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.hx-res .hxr-cif { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; border: 1px solid #e2e8f0; background: #f1f5f9; font: 700 .82rem/1.2 'JetBrains Mono', ui-monospace, monospace; color: #1e293b; cursor: pointer; min-height: 0 !important; min-width: 0 !important; transition: border-color .15s, color .15s; }
.hx-res .hxr-cif svg { color: #94a3b8; }
.hx-res .hxr-cif:hover { border-color: #93c5fd; color: #1d4ed8; }
.hx-res .hxr-cif.is-copied { border-color: #6ee7b7; background: #ecfdf5; color: #047857; }
.hx-res .hxr-cif.is-copied svg { color: #047857; }
.hx-res .hxr-prov { display: inline-flex; align-items: center; gap: 5px; font-size: .88rem; color: #64748b; font-weight: 600; }
.hx-res .hxr-st { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; white-space: nowrap; align-self: flex-start; }
.hx-res .hxr-st i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.hx-res .hxr-st--ok { color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; }
.hx-res .hxr-st--ko { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
.hx-res .hxr-st--na { color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; }
.hx-res .hxr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 16px; background: #e8edf4; border: 1px solid #e8edf4; border-radius: 14px; overflow: hidden; }
.hx-res .hxr-f { background: #fbfcfe; padding: 14px 16px; margin: 0; min-width: 0; }
.hx-res .hxr-f--wide { grid-column: span 2; }
.hx-res .hxr-f--full { grid-column: 1 / -1; }
.hx-res .hxr-f dd { margin: 0; }
.hx-res .hxr-k { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.hx-res .hxr-k code, .hx-res .hxr-k span { font: 600 .68rem/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0; text-transform: none; color: #2563eb; background: #eff6ff; padding: 2px 6px; border-radius: 5px; margin-left: auto; }
.hx-res .hxr-v { display: block; font-size: .95rem; line-height: 1.45; font-weight: 700; color: #1e293b; }
.hx-res .hxr-num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 600; }
.hx-res .hxr-link, .hx-res .hxr-pro { font-weight: 700; color: #2563eb; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.hx-res .hxr-link:hover, .hx-res .hxr-pro:hover { text-decoration: underline; }
.hx-res .hxr-borme { margin: 0 0 18px; padding: 14px 16px 6px; border: 1px solid #e8edf4; border-radius: 14px; }
.hx-res .hxr-borme ol { list-style: none; margin: 4px 0 0; padding: 0 0 0 14px; border-left: 2px solid #dbeafe; }
.hx-res .hxr-borme li { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 8px 0 10px 4px; }
.hx-res .hxr-borme li::before { content: ""; position: absolute; left: -21px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #3b82f6; }
.hx-res .hxr-borme li:first-child::before { background: #3b82f6; box-shadow: 0 0 0 4px rgba(59,130,246,.18); }
.hx-res .hxr-bd { font: 600 .82rem/1.3 'JetBrains Mono', ui-monospace, monospace; color: #64748b; min-width: 84px; }
.hx-res .hxr-bt { font-weight: 700; color: #1e293b; font-size: .93rem; flex: 1; min-width: 160px; }
.hx-res .hxr-pdf { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 700; color: #1d4ed8; text-decoration: none; padding: 4px 9px; border-radius: 7px; background: #eff6ff; border: 1px solid #dbeafe; white-space: nowrap; }
.hx-res .hxr-pdf:hover { background: #dbeafe; }
.hx-res .hxr-acts { display: flex; gap: 12px; margin: 0; }
.hx-res .hxr-ficha { flex: 1 1 auto; justify-content: center; min-height: 48px; }
.hx-res .hxr-json .json-ide-header { gap: 12px; }
.hx-res .hxr-jsonbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; min-height: 48px; border-radius: 12px; border: 1px solid #cbd5e1; background: #0f172a; color: #e2e8f0; font: 700 .92rem/1 'JetBrains Mono', ui-monospace, monospace; cursor: pointer; transition: background .15s, translate .15s; }
.hx-res .hxr-jsonbtn svg { color: #6ee7b7; }
.hx-res .hxr-jsonbtn:hover { background: #1e293b; translate: 0 -1px; }
.hx-res .hxr-json { margin: 14px 0 0; }
.hx-res .hxr-json[hidden] { display: none; }
.hx-res .hxr-cta { display: flex; align-items: center; gap: 24px; padding: 20px 26px; background: radial-gradient(120% 140% at 100% 0%, rgba(59,130,246,.35), transparent 55%), linear-gradient(135deg, #14337d, #0f2a6b); color: #cbd5e1; }
.hx-res .hxr-cta-txt { flex: 1; min-width: 0; }
.hx-res .hxr-cta-k { display: block; font: 600 .74rem/1 'JetBrains Mono', ui-monospace, monospace; color: #6ee7b7; margin-bottom: 8px; }
.hx-res .hxr-cta b { display: block; color: #fff; font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; }
.hx-res .hxr-cta p { margin: 0; font-size: .88rem; line-height: 1.5; color: #b6c3de; max-width: 560px; }
.hx-res .hxr-cta-go { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.hx-res .hxr-cta-go small { font-size: .78rem; color: #a9b8d6; font-weight: 600; }
/* Sin resultados / buscando / error (estos dos últimos los pinta views/scripts.php) */
.hx-res .hxr--vacio { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; }
.hx-res .hxr-vacio-ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.hx-res .hxr--vacio b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.hx-res .hxr--vacio p { margin: 0 0 4px; color: #475569; }
.hx-res .hxr--vacio small { color: #94a3b8; font-size: .85rem; }
.hx-res #resultado > .card { display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 18px 22px !important; border-radius: 16px !important; background: #fff !important; border: 1px solid #e2e8f0 !important; box-shadow: 0 20px 40px -26px rgba(2,8,40,.5) !important; text-align: left; }
.hx-res #resultado > .card p { margin: 0 !important; font-weight: 600; }
.hx-res #resultado > .card:has(p.muted)::before { content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%; border: 2.5px solid #dbeafe; border-top-color: #2563eb; animation: hxrSpin .8s linear infinite; }
@keyframes hxrSpin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .hx-res .hxr-in { padding: 18px 16px; }
  .hx-res .hxr-bar { padding: 9px 14px; }
  .hx-res .hxr-bar-r { display: none; }
  .hx-res .hxr-head { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
  .hx-res .hxr-mono { width: 44px; height: 44px; font-size: 1.2rem; }
  .hx-res .hxr-mono { grid-row: 1; grid-column: 1; }
  .hx-res .hxr-st { grid-row: 1; grid-column: 2; justify-self: end; align-self: center; margin: 0 !important; }
  .hx-res .hxr-id { grid-row: 2; grid-column: 1 / -1; }
  .hx-res .hxr-name { font-size: 1.15rem !important; }
  .hx-res .hxr-grid { grid-template-columns: 1fr; }
  .hx-res .hxr-f--wide { grid-column: auto; }
  .hx-res .hxr-borme .hxr-k span { display: none; }
  .hx-res .hxr-acts { flex-direction: column; }
  .hx-res .hxr-ficha { flex: none; }
  .hx-res .hxr-cta { flex-direction: column; align-items: stretch; padding: 18px 16px; gap: 14px; }
  .hx-res .hxr-cta-go .hx-b { justify-content: center; }
  .hx-res .hxr-bd { min-width: 0; }
}
main.k26 .k26-demo-sec { padding: 72px 0 24px; background: #f6f8fc; }
main.k26 .k26-demo { max-width: 980px; margin: 0 auto; text-align: center; }
main.k26 .k26-demo .radar-title { margin: 14px 0 0; }
main.k26 .k26-demo-sub { margin: 14px auto 28px; max-width: 640px; color: #475569; font-size: 1.05rem; line-height: 1.6; }
main.k26 .k26-demo .hx-req-base { color: #a3b3d1; }
main.k26 .k26-demo .hx-req-val.is-empty { color: #a5b4cf; }
main.k26 .k26-demo .hx-res { max-width: none; margin-top: 20px; }
main.k26 .k26-demo .hx-res .hxr-cta code { background: rgba(147, 197, 253, .14); color: #cfe0ff; padding: 1px 5px; border-radius: 5px; }
main.k26 section.k26-cubre { padding-top: 72px; }
@media (max-width: 760px) { main.k26 .k26-demo-sec { padding: 48px 0 8px; } main.k26 section.k26-cubre { padding-top: 48px; } }


/* ---------- Ajustes para subir la nota (08-11-2026) ---------- */
/* Hero: columna de texto algo más ancha y enlace a planes bajo los botones */
main.k26 .api-unified-hero > .container { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
main.k26 .api-unified-hero .api-hero-title { font-size: clamp(2.1rem, 3.4vw, 2.85rem); }
main.k26 .api-unified-hero .kv-card { grid-row: 1 / span 7; }
main.k26 .api-unified-hero .k26-planes-link { order: 6; justify-self: start; margin: 16px 0 0; color: #93c5fd; font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 1px dashed rgba(147, 197, 253, .5); padding-bottom: 1px; }
main.k26 .api-unified-hero .k26-planes-link:hover { color: #fff; border-bottom-color: #fff; }
main.k26 .api-unified-hero .api-hero-stars { order: 7; margin-top: 10px; }
@media (max-width: 960px) { main.k26 .api-unified-hero .k26-planes-link { justify-self: center; } }
/* Onboarding como línea de tiempo: los números unidos por un trazo de luz */
main.k26 .k26-onb .kyb-steps { position: relative; }
main.k26 .k26-onb .kyb-steps > li { position: relative; margin-bottom: 14px; }
main.k26 .k26-onb .kyb-steps > li:not(:last-child)::after {
    content: ''; position: absolute; left: 35px; top: 58px; bottom: -16px; width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, rgba(110, 231, 183, .7), rgba(96, 165, 250, .25));
}
main.k26 .k26-onb .kyb-steps > li:hover { border-color: rgba(110, 231, 183, .35); }
main.k26 .k26-onb .kyb-steps h3 { font-size: 1.02rem; }
main.k26 .k26-onb .kyb-steps p, main.k26 .k26-onb .kyb-steps li li { font-size: .9rem; line-height: 1.55; }
/* Conceptos + sectores: un solo bloque visual (mismo fondo, sin hueco doble entre los dos) */
main.k26 section.k26-conceptos { padding-bottom: 40px; }
main.k26 section.k26-sect { background: #fff !important; padding-top: 40px; }
main.k26 section.k26-sect .container { border-top: 1px solid #eef2f7; padding-top: 48px; }
@media (max-width: 760px) {
    main.k26 section.k26-conceptos { padding-bottom: 24px; }
    main.k26 section.k26-sect { padding-top: 24px; }
    main.k26 section.k26-sect .container { padding-top: 32px; }
}

/* ---------- Mejoras para subir la nota (2) — 08-11-2026 ---------- */
/* Índice fijo de la página */
.k26-subnav { position: fixed; left: 0; right: 0; top: 0; z-index: 9990; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease;
    background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid #e2e8f0; box-shadow: 0 10px 24px -18px rgba(11, 31, 77, .35); }
.k26-subnav.on { transform: none; opacity: 1; pointer-events: auto; }
.k26-subnav-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 52px; display: flex; align-items: center; gap: 4px; }
.k26-subnav-t { font: 700 12px/1 'JetBrains Mono', ui-monospace, monospace; color: #0b1f4d; letter-spacing: .04em; margin-right: 14px; padding-right: 16px; border-right: 1px solid #e2e8f0; }
.k26-subnav a:not(.k26-subnav-cta) { padding: 8px 12px; border-radius: 8px; color: #475569; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .15s, background .15s; }
.k26-subnav a:not(.k26-subnav-cta):hover { color: #0b1f4d; background: #f1f5f9; }
.k26-subnav a.is-on { color: #1d4ed8 !important; background: #eff6ff !important; }
.k26-subnav .k26-subnav-cta { margin-left: auto; height: 36px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
@media (min-width: 761px) { html { scroll-padding-top: 132px; } }
@media (max-width: 760px) { .k26-subnav { display: none; } }
@media (prefers-reduced-motion: reduce) { .k26-subnav { transition: none; } }
/* Franja de confianza */
main.k26 .k26-trust { background: #f6f8fc; padding: 28px 0 8px; }
main.k26 .k26-trust-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1160px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 20px 40px -32px rgba(11, 31, 77, .35); }
main.k26 .k26-trust-list li { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; border-right: 1px solid #eef2f7; }
main.k26 .k26-trust-list li:last-child { border-right: 0; }
main.k26 .k26-trust-ic { flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
main.k26 .k26-trust-list b { display: block; color: #0b1f4d; font-size: .92rem; margin-bottom: 3px; }
main.k26 .k26-trust-list small { display: block; color: #64748b; font-size: .82rem; line-height: 1.45; }
main.k26 .k26-trust-list a { color: #1d4ed8; font-weight: 600; }
main.k26 section.k26-cubre { padding-top: 56px; }
@media (max-width: 980px) { main.k26 .k26-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } main.k26 .k26-trust-list li:nth-child(2) { border-right: 0; } main.k26 .k26-trust-list li:nth-child(-n+2) { border-bottom: 1px solid #eef2f7; } }
@media (max-width: 560px) { main.k26 .k26-trust-list { grid-template-columns: 1fr; } main.k26 .k26-trust-list li { border-right: 0; border-bottom: 1px solid #eef2f7; } main.k26 .k26-trust-list li:last-child { border-bottom: 0; } }
/* Comparativa de coste en planes */
main.k26 .k26-cost { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 14px; max-width: 860px; margin: 26px auto 0; }
main.k26 .k26-cost > div:not(.k26-cost-vs) { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: 16px; text-align: left; }
main.k26 .k26-cost-a { background: #fff; border: 1px dashed #cbd5e1; }
main.k26 .k26-cost-a strong { color: #64748b; text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, .6); text-decoration-thickness: 2px; }
main.k26 .k26-cost-b { background: linear-gradient(135deg, #ecfdf5, #eff6ff); border: 1px solid #a7f3d0; box-shadow: 0 16px 34px -24px rgba(5, 150, 105, .6); }
main.k26 .k26-cost-b strong { color: #047857; }
main.k26 .k26-cost small { font: 600 11.5px/1.3 'JetBrains Mono', ui-monospace, monospace; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
main.k26 .k26-cost small code { text-transform: none; background: rgba(37, 99, 235, .08); color: #1d4ed8; padding: 1px 4px; border-radius: 4px; }
main.k26 .k26-cost strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
main.k26 .k26-cost span { color: #475569; font-size: .88rem; }
main.k26 .k26-cost-vs { align-self: center; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #0b1f4d; color: #fff; font: 700 12px/1 'JetBrains Mono', ui-monospace, monospace; }
@media (max-width: 640px) { main.k26 .k26-cost { grid-template-columns: 1fr; } main.k26 .k26-cost-vs { justify-self: center; } }
/* Desplegables (fuera de alcance y códigos de respuesta) */
main.k26 details.k26-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
main.k26 details.k26-fold > summary::-webkit-details-marker { display: none; }
main.k26 details.k26-fold > summary h3 { margin: 0 !important; }
main.k26 .k26-fold-ic { flex: 0 0 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #eff6ff; border: 1px solid #dbeafe; }
main.k26 .k26-fold-ic::before { content: ''; width: 8px; height: 8px; border-right: 2px solid #1d4ed8; border-bottom: 2px solid #1d4ed8; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
main.k26 details.k26-fold[open] .k26-fold-ic::before { transform: translateY(2px) rotate(-135deg); }
main.k26 details.k26-fold[open] > summary { margin-bottom: 14px; }
main.k26 details.kc2-out.k26-fold > p { margin-top: 0; }
main.k26 .k26-onb .k26-fold-ic { background: rgba(110, 231, 183, .12); border-color: rgba(110, 231, 183, .3); }
main.k26 .k26-onb .k26-fold-ic::before { border-color: #6ee7b7; }
/* Ejemplo de código */
main.k26 .k26-dev .kyb-codewin { background: #0b1739 !important; border: 1px solid rgba(147, 197, 253, .22) !important; border-radius: 18px !important; box-shadow: 0 0 0 6px rgba(37, 99, 235, .05), 0 40px 80px -36px rgba(11, 31, 77, .6) !important; }
main.k26 .k26-dev .kyb-codewin > div:first-child { background: rgba(255, 255, 255, .05) !important; border-bottom: 1px solid rgba(147, 197, 253, .14) !important; }
main.k26 .k26-dev #tab-filename { color: #a9b8d6 !important; }
main.k26 .k26-dev .k26-tab { border: 1px solid #dfe6f1 !important; background: #fff !important; color: #475569 !important; border-radius: 999px !important; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700 !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
main.k26 .k26-dev .k26-tab:hover { border-color: #93b4f0 !important; color: #0b1f4d !important; }
main.k26 .k26-dev .k26-tab.is-on { background: #0b1f4d !important; border-color: #0b1f4d !important; color: #fff !important; box-shadow: 0 8px 18px -10px rgba(11, 31, 77, .7); }
main.k26 .k26-dev .kyb-tabs { justify-content: flex-start !important; }
main.k26 .k26-dev .kyb-side-links a:first-child { background: #0b1f4d; }
main.k26 .k26-dev .kyb-side-links a:first-child:hover { background: #1d4ed8; }
html.hx-hdr-fija .k26-subnav .k26-subnav-cta { display: none; } /* ya está «Crear cuenta gratis» en la cabecera fija */
