/* Herramientas gratis (/herramientas) y páginas locales AR (/ar/industria/{rubro}/{ciudad}).
   Se apoya en landing-flagship.css (variables --ff-*). Mobile-first. */
.bt-page { padding-bottom: 72px; }
.bt-hero { padding: 2.2rem 0 2.6rem; }
.bt-hero h1 { max-width: 24ch; font-size: clamp(1.75rem, 5.6vw, 2.9rem); }
.bt-crumbs { font-size: .8rem; color: rgba(255,255,255,.62); margin-bottom: .9rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.bt-crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.bt-crumbs a:hover { color: #fff; text-decoration: underline; }
.bt-tool-section { padding: 1.6rem 0 2.4rem; }
.bt-tool { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: -2.2rem; }
.bt-form, .bt-out { background: var(--ff-card); border: 1px solid var(--ff-line); border-radius: 18px; padding: 1.1rem; box-shadow: 0 10px 30px rgba(22,30,41,.06); }
.bt-row { margin-bottom: .85rem; }
.bt-label { display: block; font-size: .82rem; font-weight: 700; color: var(--ff-muted); margin-bottom: .3rem; }
.bt-help { display: block; color: var(--ff-muted); font-size: .78rem; margin-top: .3rem; line-height: 1.45; }
.bt-warn { background: #FEF3C7; color: #92400E; border-radius: 10px; padding: .55rem .7rem; font-size: .85rem; margin: 0 0 .7rem; }
.bt-form .form-control, .bt-form .form-select, .bt-out .form-control { border-radius: 12px; border-color: var(--ff-line); min-height: 46px; font-size: 16px; }
.bt-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.bt-chip { border: 1px solid var(--ff-line); background: var(--ff-surface); color: var(--ff-ink); border-radius: 999px; padding: .35rem .75rem; font-size: .8rem; font-weight: 600; min-height: 36px; }
.bt-chip:hover, .bt-chip:focus-visible { border-color: var(--ff-accent); }
.bt-copyrow { display: flex; gap: .5rem; }
.bt-copyrow .form-control { flex: 1; min-width: 0; font-size: .85rem; }
.bt-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.bt-actions .ff-btn, .bt-copyrow .ff-btn { padding: .7rem 1.1rem; font-size: .9rem; }
.ff-btn[aria-disabled="true"], .ff-btn:disabled { opacity: .5; pointer-events: none; }
.bt-qr-wrap { display: flex; justify-content: center; align-items: center; min-height: 200px; background: var(--ff-surface); border-radius: 14px; margin-bottom: .8rem; padding: .6rem; }
.bt-qr-wrap canvas { max-width: 100%; height: auto; border-radius: 8px; }
.bt-qr-empty { color: var(--ff-muted); font-size: .88rem; margin: 0; text-align: center; }
.bt-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.bt-kpi { border-radius: 14px; padding: .8rem; background: var(--ff-surface); }
.bt-kpi span { display: block; font-size: .78rem; color: var(--ff-muted); font-weight: 700; }
.bt-kpi strong { display: block; font-family: var(--ff-display); font-size: clamp(1.3rem, 6vw, 1.9rem); line-height: 1.15; }
.bt-kpi small { color: var(--ff-muted); font-size: .75rem; }
.bt-kpi-bad strong { color: var(--ff-danger, #B42318); }
.bt-table { width: 100%; font-size: .9rem; border-collapse: collapse; }
.bt-table th, .bt-table td { padding: .5rem .2rem; border-bottom: 1px solid var(--ff-line); vertical-align: top; }
.bt-table th { font-weight: 600; color: var(--ff-muted); width: 46%; }
.bt-table strong { color: #047857; }
.bt-assume { border: 1px dashed var(--ff-line); border-radius: 12px; padding: .6rem .8rem; }
.bt-assume summary { font-weight: 700; font-size: .85rem; cursor: pointer; margin-bottom: .5rem; }
.bt-grid2 { display: grid; grid-template-columns: 1fr; gap: 0 .8rem; }
.bt-check { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; color: var(--ff-muted); }
/* min-width:0: que la fila de pestañas (overflow-x) no ensanche la columna del grid en el celular */
.bt-tool > *, .bt-tool form, .bt-tool .bt-card, .bt-tool .bt-row { min-width: 0; }
.bt-tabs { max-width: 100%; display: flex; gap: .35rem; overflow-x: auto; margin-bottom: .6rem; -webkit-overflow-scrolling: touch; }
.bt-tab { border: 1px solid var(--ff-line); background: #fff; border-radius: 999px; padding: .4rem .8rem; font-size: .8rem; font-weight: 700; white-space: nowrap; color: var(--ff-muted); min-height: 36px; }
.bt-tab.is-active { background: var(--ff-hero); color: #fff; border-color: var(--ff-hero); }
.bt-pol-out { font-size: .88rem !important; line-height: 1.5; min-height: 320px; white-space: pre-wrap; }
.bt-cta-soft-wrap { padding: 2rem 0; }
.bt-cta-soft { display: flex; flex-direction: column; gap: 1rem; border: 1px solid var(--ff-line); border-radius: 18px; padding: 1.2rem; background: linear-gradient(135deg, rgba(110,168,254,.08), rgba(155,138,251,.1)); }
.bt-cta-soft p { color: var(--ff-muted); }
.bt-cta-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.bt-content { padding: 2.6rem 0; }
.bt-narrow { max-width: 760px; }
.bt-content h2 { font-size: clamp(1.3rem, 4.4vw, 1.75rem); margin: 1.6rem 0 .6rem; }
.bt-content h2:first-child { margin-top: 0; }
.bt-content p, .bt-content li { color: #334155; line-height: 1.7; }
.bt-content ul { padding-left: 1.2rem; }
.bt-content li { margin-bottom: .35rem; }
.bt-related { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.bt-related a { display: block; padding: .65rem .8rem; border: 1px solid var(--ff-line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ff-ink); font-weight: 600; font-size: .92rem; }
.bt-related a:hover { border-color: var(--ff-accent); }
.bt-hub-grid { display: grid; gap: .9rem; grid-template-columns: 1fr; margin-top: -2.2rem; }
.bt-hub-card { display: flex; flex-direction: column; gap: .4rem; background: #fff; border: 1px solid var(--ff-line); border-radius: 18px; padding: 1.2rem; text-decoration: none; color: var(--ff-ink); box-shadow: 0 10px 30px rgba(22,30,41,.06); transition: border-color .15s, transform .15s; }
.bt-hub-card:hover { border-color: var(--ff-accent); transform: translateY(-2px); }
.bt-hub-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(110,168,254,.14); color: #3B6FD8; font-size: 1.2rem; }
.bt-hub-title { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; }
.bt-hub-text { color: var(--ff-muted); font-size: .92rem; line-height: 1.5; }
.bt-hub-go { margin-top: auto; font-weight: 700; color: #3B6FD8; font-size: .9rem; }
/* Páginas locales AR */
.lc-facts { display: grid; gap: .6rem; grid-template-columns: 1fr; }
.lc-fact { background: #fff; border: 1px solid var(--ff-line); border-radius: 14px; padding: .9rem 1rem; }
.lc-fact h3 { font-size: 1rem; margin: 0 0 .3rem; }
.lc-fact p { margin: 0; color: #334155; line-height: 1.6; font-size: .95rem; }
.lc-zones { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; list-style: none; margin: .4rem 0 1rem; }
.lc-zones li { background: #fff; border: 1px solid var(--ff-line); border-radius: 999px; padding: .3rem .75rem; font-size: .85rem; font-weight: 600; }
.lc-steps { counter-reset: lc; list-style: none; padding: 0; }
.lc-steps li { counter-increment: lc; position: relative; padding-left: 2.2rem; margin-bottom: .7rem; }
.lc-steps li::before { content: counter(lc); position: absolute; left: 0; top: .1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ff-hero); color: #fff; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lc-note { font-size: .82rem; color: var(--ff-muted); }
.lc-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 768px) {
  .bt-hero { padding: 3.2rem 0 3.8rem; }
  .bt-grid2 { grid-template-columns: 1fr 1fr; }
  .bt-hub-grid { grid-template-columns: repeat(3, 1fr); }
  .bt-cta-soft { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.6rem; }
  .bt-cta-actions { flex-shrink: 0; }
  .lc-facts { grid-template-columns: 1fr 1fr; }
  .bt-related { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .bt-tool { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .bt-out { position: sticky; top: 90px; }
  .bt-form, .bt-out { padding: 1.5rem; }
}
