/* Herramientas gratis (buscador por CIF, comprobar NIF). 25-10-2026. Prefijo bc-. */
.bc { background: #f6f8fc; padding-bottom: 88px; }
.bc-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.bc-sr { position: absolute; left: -9999px; }
.bc-hero { background: radial-gradient(1100px 380px at 50% -10%, #1e40af 0%, transparent 60%), linear-gradient(180deg, #0b1b4d 0%, #0f2a6b 100%); color: #fff; padding: 28px 0 64px; text-align: center; }
.bc-migas { display: flex; gap: 8px; justify-content: center; font-size: .82rem; color: #93c5fd; margin-bottom: 26px; }
.bc-migas a { color: #bfdbfe; text-decoration: none; }
.bc-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 850; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 14px; color: #fff; }
.bc-hero h1 span { color: #93c5fd; }
.bc-lead { max-width: 680px; margin: 0 auto 30px; font-size: 1.08rem; line-height: 1.6; color: #cbd5e1; }
.bc-form { position: relative; display: flex; gap: 8px; max-width: 720px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.55); }
.bc-form-ico { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: #94a3b8; display: flex; }
.bc-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.12rem; color: #0f172a; padding: 14px 12px 14px 48px; background: transparent; }
.bc-form input::placeholder { color: #94a3b8; }
.bc-btn { border: 0; cursor: pointer; display: inline-block; text-align: center; text-decoration: none; background: #2563eb; color: #fff !important; font: inherit; font-weight: 800; font-size: 1rem; padding: 14px 26px; border-radius: 12px; transition: background .15s; white-space: nowrap; }
.bc-btn:hover { background: #1d4ed8; }
.bc-btn[disabled] { opacity: .65; cursor: default; }
.bc-btn--sec { background: #fff; color: #1d4ed8 !important; border: 1px solid #c7d7fe; }
.bc-btn--sec:hover { background: #eff6ff; }
.bc-btn--claro { background: #fff; color: #0f2a6b !important; flex-shrink: 0; }
.bc-btn--claro:hover { background: #e0e7ff; }
.bc-ejemplos { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 16px 0 0; font-size: .86rem; color: #93c5fd; }
.bc-ejemplos button { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #e2e8f0; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .84rem; cursor: pointer; }
.bc-ejemplos button:hover { background: rgba(255,255,255,.16); }
.bc-datos { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: .9rem; color: #cbd5e1; }
.bc-datos strong { color: #fff; }

.bc-res { margin-top: -36px; position: relative; }
.bc-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 28px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 18px 40px -16px rgba(15,23,42,.18); }
.bc-card + .bc-card { margin-top: 16px; }
.bc-cab { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.bc-aviso { font-size: .82rem; color: #64748b; margin: 0 0 8px; }
.bc-nombre { font-size: 1.6rem; font-weight: 850; letter-spacing: -.02em; color: #0f172a; margin: 0 0 8px; line-height: 1.2; }
.bc-cif { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 1rem; font-weight: 700; color: #1e293b; background: #f1f5f9; border-radius: 8px; padding: 4px 6px 4px 10px; }
.bc-copiar { border: 0; background: #fff; border-radius: 6px; padding: 3px 8px; font: inherit; font-size: .75rem; font-weight: 700; color: #2563eb; cursor: pointer; }
.bc-estado { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .85rem; border-radius: 999px; padding: 6px 12px; }
.bc-estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bc-estado--ok { color: #047857; background: #d1fae5; }
.bc-estado--ko { color: #b91c1c; background: #fee2e2; }
.bc-estado--na { color: #475569; background: #e2e8f0; }
.bc-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: #e2e8f0; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; margin: 22px 0; }
.bc-campos div { background: #fff; padding: 14px 16px; }
.bc-campos dt { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; margin: 0 0 4px; }
.bc-campos dd { margin: 0; color: #0f172a; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.bc-borme h3 { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #64748b; margin: 0 0 8px; }
.bc-borme ul { list-style: none; padding: 0; margin: 0 0 20px; }
.bc-borme li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid #f1f5f9; font-size: .92rem; color: #334155; }
.bc-borme li:first-child { border-top: 0; }
.bc-borme time { flex-shrink: 0; font-weight: 700; color: #0f172a; min-width: 88px; }
.bc-borme a { margin-left: auto; flex-shrink: 0; color: #2563eb; font-weight: 700; text-decoration: none; }
.bc-acciones { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bc-restan { margin-left: auto; font-size: .82rem; color: #64748b; }
.bc-api { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
.bc-api h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 850; color: #0f172a; }
.bc-api p { margin: 0 0 16px; color: #475569; line-height: 1.6; font-size: .94rem; }
.bc-api p.bc-kicker { color: #2563eb; font-size: .74rem; margin: 0 0 8px; }
.bc-code { background: #0f172a; border-radius: 14px; overflow: hidden; }
.bc-tabs { display: flex; gap: 4px; padding: 8px 8px 0; align-items: center; }
.bc-tabs button { border: 0; background: transparent; color: #94a3b8; font: inherit; font-size: .8rem; font-weight: 700; padding: 6px 10px; border-radius: 8px 8px 0 0; cursor: pointer; }
.bc-tabs button.is-on { background: #1e293b; color: #fff; }
.bc-tabs .bc-copiar-code { margin-left: auto; background: #1e293b; color: #cbd5e1; border-radius: 8px; }
.bc-code pre { margin: 0; background: #1e293b; color: #e2e8f0; padding: 16px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .8rem; line-height: 1.6; overflow-x: auto; white-space: pre; }
.bc-code small { display: block; color: #94a3b8; font-size: .75rem; padding: 10px 16px 12px; background: #1e293b; border-top: 1px solid #334155; }
.bc-msg { display: flex; gap: 16px; align-items: flex-start; }
.bc-msg-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #eff6ff; color: #2563eb; }
.bc-msg-ico--ko { background: #fee2e2; color: #b91c1c; }
.bc-msg h3 { margin: 2px 0 6px; font-size: 1.15rem; font-weight: 850; color: #0f172a; }
.bc-msg p { margin: 0 0 14px; color: #475569; line-height: 1.6; }
.bc-msg p a { color: #2563eb; font-weight: 700; }

.bc-bloque { margin-top: 72px; }
.bc-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #2563eb; margin: 0 0 8px; }
.bc-h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 850; letter-spacing: -.02em; color: #0f172a; margin: 0 0 12px; line-height: 1.2; }
.bc-h2--peq { font-size: 1.25rem; margin-bottom: 16px; }
.bc-intro { color: #475569; font-size: 1rem; line-height: 1.65; margin: 0 0 24px; max-width: 760px; }
.bc-intro a, .bc-nota a { color: #2563eb; font-weight: 700; }
.bc-pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bc-pasos li { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 22px; }
.bc-paso-n { display: inline-flex; width: 32px; height: 32px; border-radius: 10px; background: #eff6ff; color: #1d4ed8; font-weight: 850; align-items: center; justify-content: center; margin-bottom: 12px; }
.bc-pasos h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; color: #0f172a; }
.bc-pasos p { margin: 0; color: #64748b; font-size: .9rem; line-height: 1.55; }
.bc-tabla-wrap { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow-x: auto; }
.bc-tabla { width: 100%; border-collapse: collapse; font-size: .93rem; }
.bc-tabla th, .bc-tabla td { text-align: left; padding: 13px 18px; border-bottom: 1px solid #f1f5f9; color: #334155; }
.bc-tabla thead th { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; background: #f8fafc; }
.bc-tabla thead th:last-child { color: #1d4ed8; }
.bc-tabla tbody tr:last-child td { border-bottom: 0; }
.bc-tabla--total tbody tr:last-child td { font-weight: 700; color: #0f172a; }
.bc-tabla td.si { color: #047857; font-weight: 600; }
.bc-tabla td.no { color: #cbd5e1; }
.bc-nota { color: #64748b; font-size: .88rem; margin: 12px 0 0; }
.bc-dos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.bc-letras { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bc-letras li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px 12px; font-size: .88rem; color: #334155; }
.bc-letras b { flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px; background: #0f2a6b; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.bc-aside { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; margin-top: 30px; }
.bc-aside h3 { margin: 0 0 12px; font-size: 1.05rem; font-weight: 850; color: #0f172a; }
.bc-aside ul { margin: 0; padding-left: 18px; }
.bc-aside li { color: #475569; font-size: .9rem; line-height: 1.55; margin-bottom: 10px; }
.bc-aside strong { color: #0f172a; }
.bc-faq { display: grid; gap: 10px; max-width: 860px; }
.bc-faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 0 20px; }
.bc-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; color: #0f172a; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bc-faq summary::-webkit-details-marker { display: none; }
.bc-faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 500; color: #2563eb; line-height: 1; transition: transform .2s; }
.bc-faq details[open] summary::after { transform: rotate(45deg); }
.bc-faq details p { margin: 0 0 18px; color: #475569; line-height: 1.65; font-size: .95rem; }
.bc-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bc-tools a { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px 18px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.bc-tools a:hover { border-color: #93c5fd; box-shadow: 0 8px 20px -12px rgba(37,99,235,.4); }
.bc-tools strong { display: block; color: #0f172a; font-size: .95rem; margin-bottom: 4px; }
.bc-tools span { color: #64748b; font-size: .84rem; line-height: 1.45; }
.bc-final { margin-top: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(135deg, #0b1b4d 0%, #1d4ed8 100%); color: #fff; border-radius: 24px; padding: 40px 44px; }
.bc-final h2 { color: #fff; font-size: 1.6rem; font-weight: 850; margin: 0 0 8px; letter-spacing: -.02em; }
.bc-final p { color: #cbd5e1; margin: 0; line-height: 1.6; max-width: 620px; }

@media (max-width: 960px) {
    .bc-pasos, .bc-tools { grid-template-columns: 1fr 1fr; }
    .bc-api, .bc-dos { grid-template-columns: 1fr; }
    .bc-aside { margin-top: 0; }
}
@media (max-width: 640px) {
    .bc-wrap { padding: 0 16px; }
    .bc-hero { padding-bottom: 56px; }
    .bc-form { flex-direction: column; padding: 8px; }
    .bc-form-ico { top: 30px; }
    .bc-btn { width: 100%; }
    .bc-acciones .bc-btn { width: auto; }
    .bc-pasos, .bc-tools, .bc-letras { grid-template-columns: 1fr; }
    .bc-card { padding: 20px; }
    .bc-nombre { font-size: 1.3rem; }
    .bc-final { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

/* --- 25-10-2026: /comprobar-nif --- */
.bc-nif { display: flex; gap: 18px; align-items: flex-start; }
.bc-nif-ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; }
.bc-nif--ok .bc-nif-ico { background: #d1fae5; color: #047857; }
.bc-nif--ko .bc-nif-ico { background: #fee2e2; color: #b91c1c; }
.bc-nif h2 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 850; color: #0f172a; letter-spacing: -.02em; }
.bc-nif p { margin: 0 0 10px; color: #475569; line-height: 1.6; }
.bc-nif-num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 1.05rem; font-weight: 800; color: #0f172a; background: #f1f5f9; border-radius: 8px; padding: 3px 10px; display: inline-block; margin: 0 0 12px; }
.bc-nif-num b { color: #2563eb; }
.bc-nif small { display: block; color: #94a3b8; font-size: .8rem; }
.bc-calc { font-family: 'JetBrains Mono', ui-monospace, monospace; background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 14px 16px; font-size: .85rem; line-height: 1.7; overflow-x: auto; }
.bc-tabla-letras { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.bc-tabla-letras div { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; text-align: center; padding: 6px 2px; font-size: .78rem; color: #64748b; }
.bc-tabla-letras b { display: block; font-size: 1rem; color: #0f172a; }
@media (max-width: 640px) { .bc-tabla-letras { grid-template-columns: repeat(6, 1fr); } .bc-nif { flex-direction: column; } }

/* --- 25-10-2026: /validar-cif (validador múltiple y bloque de tres) --- */
.vc-lista { width: 100%; box-sizing: border-box; min-height: 140px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .95rem; padding: 14px; border: 1px solid #cbd5e1; border-radius: 12px; resize: vertical; color: #0f172a; }
.vc-lista:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.vc-lista-acc { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.vc-resumen { font-weight: 700; color: #334155; }
.vc-lote { margin-top: 16px; max-height: 420px; overflow: auto; }
.vc-lote:empty { display: none; }
.vc-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; color: #0f172a !important; }
.vc-lote .bc-estado { font-size: .78rem; padding: 4px 10px; }
.vc-tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vc-tres > div { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 22px; }
.vc-tres h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; color: #0f172a; }
.vc-tres p { margin: 0; color: #64748b; font-size: .9rem; line-height: 1.55; }
.vc-tres a { color: #2563eb; font-weight: 700; }
@media (max-width: 960px) { .vc-tres { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .vc-lista-acc .bc-btn { width: 100%; } .vc-resumen { width: 100%; } }
.vc-lista-acc [hidden] { display: none !important; }
/* 03-11-2026: tres tarjetas en fila que pasan a una columna en móvil (antes, estilo en línea fijo a 3 columnas en /comprobar-nif). */
.bc-tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .bc-tres { grid-template-columns: 1fr; } }
