/* BracketsCalc v1.0 — identidad tomada del logo: azul petróleo + verde "Calc" + chispa naranja.
   Modo claro (uso diurno, móvil, decisión de compra). Radios contenidos: 4 px controles, 6 px paneles. */
:root {
  color-scheme: light;
  --paper: #f5f7f6;
  --surface: #ffffff;
  --surface-2: #eef3f4;
  --ink: #0f2a36;
  --ink-2: #30454f;
  --muted: #4a6170;
  --line: #d6e0e4;
  --line-strong: #b4c4cb;
  --brand: #04536f;
  --brand-700: #033f55;
  --brand-50: #e6f0f3;
  --green: #49a91f;
  --green-ink: #2b6e10;
  --green-50: #edf6e7;
  --spark: #f39c26;
  --note-bg: #fff7ea;
  --note-line: #efc98a;
  --r-sm: 4px;
  --r: 6px;
  --shadow: 0 1px 2px rgba(15, 42, 54, .06), 0 6px 18px -8px rgba(15, 42, 54, .18);
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Nunito", "Nunito Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--font); caret-color: var(--brand); }
::selection { background: #cfe5ec; color: var(--ink); }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
input, select, button { font: inherit; color: inherit; }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); }
.tabular, .bc-table td, .bc-kpis dd, .bc-total-val, .bc-facts dd, .bc-bar-val, .bc-type-price { font-variant-numeric: tabular-nums; }
.bc-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--surface); padding: 10px 14px; z-index: 50; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* Layout */
.wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.prose { max-width: 72ch; }
main { padding-bottom: 64px; }
section.block { margin-top: 56px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; margin: 20px 0 14px; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.85rem); font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; }
h3 { font-size: 1.2rem; font-weight: 800; margin: 28px 0 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 70ch; }
.lead strong { color: var(--ink); }
.meta { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 20px; }
.muted, .bc-muted { color: var(--muted); }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { display: block; line-height: 0; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { background: var(--brand-50); color: var(--brand); }
.nav a[aria-current=page] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }

/* Breadcrumbs */
.crumbs { font-size: .875rem; color: var(--muted); margin: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }

/* Hero: respuesta directa + datos */
.hero h1 + .lead { margin-top: 0; }
.smile { display: block; width: 120px; height: 10px; margin: -4px 0 16px; color: var(--green); }
.bc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.bc-facts div { padding: 14px 18px; border-left: 1px solid var(--line); }
.bc-facts div:first-child { border-left: 0; }
.bc-facts dt { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.bc-facts dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); line-height: 1.25; }
.bc-facts dd small { display: block; font: 400 .8rem/1.3 var(--font); color: var(--muted); margin-top: 2px; }

/* Calculadora */
.calc-block { margin-top: 32px; }
.bc-calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; scroll-margin-top: 84px; }
.bc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.bc-steps li { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--muted); padding-bottom: 10px; border-bottom: 3px solid var(--line); }
.bc-steps li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .8rem; flex: none; }
.bc-steps li.is-current { color: var(--brand); border-color: var(--brand); }
.bc-steps li.is-current span { background: var(--brand); color: #fff; border-color: var(--brand); }
.bc-steps li.is-done { color: var(--green-ink); border-color: var(--green); }
.bc-panel-title { font-size: 1.25rem; margin: 0 0 4px; }
.bc-help { font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.bc-types { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bc-type { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 12px 16px 12px 44px; position: relative; cursor: pointer; border-top: 1px solid var(--line); transition: background-color .15s ease-out; }
.bc-type:first-child { border-top: 0; }
.bc-type input { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; margin: 0; }
.bc-type:hover { background: var(--surface-2); }
.bc-type:has(input:checked) { background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.bc-type-name strong { display: block; font-weight: 800; }
.bc-type-name small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.bc-type-price { text-align: right; font-family: var(--font-head); font-weight: 800; color: var(--brand); white-space: nowrap; }
.bc-type-price small { display: block; font: 400 .75rem var(--font); color: var(--muted); }
.bc-calc fieldset { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.bc-calc legend { font-weight: 800; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.bc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bc-field { display: grid; gap: 4px; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.bc-field select { appearance: none; padding: 10px 36px 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2304536f' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; font-weight: 400; color: var(--ink); min-height: 44px; }
.bc-field select:hover { border-color: var(--brand); }
.bc-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-seg label { position: relative; flex: 1 1 140px; cursor: pointer; }
.bc-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.bc-seg span { display: block; height: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); transition: border-color .15s ease-out, background-color .15s ease-out; }
.bc-seg strong { font-weight: 700; }
.bc-seg small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: 2px; }
.bc-seg label:hover span { border-color: var(--brand); }
.bc-seg input:checked + span { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.bc-seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.bc-seg--desc label { flex-basis: 200px; }
.bc-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 16px; }
.bc-check { display: flex; gap: 8px; align-items: baseline; cursor: pointer; font-size: .95rem; }
.bc-check .bc-muted { margin-left: auto; font-size: .85rem; white-space: nowrap; }
.bc-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.bc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: var(--r-sm); border: 1px solid var(--brand); background: var(--brand); color: #fff; font-weight: 800; cursor: pointer; text-decoration: none; transition: background-color .15s ease-out; }
.bc-btn:hover { background: var(--brand-700); }
.bc-btn--ghost { background: var(--surface); color: var(--brand); border-color: var(--line-strong); }
.bc-btn--ghost:hover { background: var(--brand-50); border-color: var(--brand); }
.bc-result-for { font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.bc-total { margin: 0; padding: 18px 20px; border-radius: var(--r); background: var(--brand); color: #fff; }
.bc-total-label { display: block; font-size: .9rem; color: #cfe3ea; }
.bc-total-val { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.25rem); line-height: 1.15; }
.bc-total-val small { font-size: .55em; font-weight: 700; color: #cfe3ea; }
.bc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 12px 0 0; border: 1px solid var(--line); border-radius: var(--r); }
.bc-kpis div { padding: 12px 14px; border-left: 1px solid var(--line); }
.bc-kpis div:first-child { border-left: 0; }
.bc-kpis dt { font-size: .82rem; color: var(--muted); }
.bc-kpis dd { margin: 2px 0 0; font-weight: 800; font-size: 1.05rem; }
.bc-sub { font-size: 1rem; margin: 22px 0 10px; }
.bc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bc-bars li { display: grid; grid-template-columns: 9.5rem 1fr 12.5rem; align-items: center; gap: 12px; font-size: .92rem; }
.bc-bar-track { position: relative; height: 10px; background: var(--surface-2); border-radius: 2px; }
.bc-bar { display: block; height: 100%; background: var(--line-strong); border-radius: 2px; }
.bc-bars li.is-sel { font-weight: 800; }
.bc-bars li.is-sel .bc-bar { background: var(--brand); }
.bc-bar-val { text-align: right; color: var(--ink-2); }
.bc-note { display: flex; gap: 10px; margin: 20px 0 0; padding: 12px 14px; background: var(--note-bg); border: 1px solid var(--note-line); border-radius: var(--r-sm); font-size: .88rem; color: #4d3a14; line-height: 1.5; }
.bc-note::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5650d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") no-repeat center / contain; }

/* Tablas */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin: 16px 0; }
.bc-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.bc-table caption { text-align: left; font-weight: 800; padding: 0 0 8px; }
.bc-table th, .bc-table td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.bc-table thead th { border-top: 0; background: var(--surface-2); font-size: .85rem; color: var(--ink-2); font-weight: 800; white-space: nowrap; }
.bc-table tbody th { font-weight: 700; }
.bc-table td { white-space: nowrap; }
.bc-table td.wrap-ok { white-space: normal; }
.bc-table tr:hover td, .bc-table tr:hover th[scope=row] { background: #f8fbfb; }
.bc-table--compact { margin-top: 14px; }
.bc-table--compact th, .bc-table--compact td { padding: 8px 0; }
.bc-table--compact td { text-align: right; }
.tier { display: inline-block; font-size: .78rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.tier--metro { background: var(--brand-50); color: var(--brand); }
.tier--pequena { background: var(--green-50); color: var(--green-ink); }

/* Filtro de estados */
.bc-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.bc-filter input { flex: 1 1 240px; max-width: 340px; padding: 10px 12px 10px 38px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a6170' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center / 18px; }
.bc-filter button { min-height: 40px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); font-weight: 700; font-size: .9rem; cursor: pointer; }
.bc-filter button[aria-pressed=true] { background: var(--brand); border-color: var(--brand); color: #fff; }
.bc-filter [data-count] { font-size: .88rem; color: var(--muted); margin-left: auto; }

/* Evolución */
.bc-hist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-top: 16px; }
.bc-hist-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; justify-content: space-between; margin-bottom: 8px; }
.bc-hist .bc-field { min-width: 260px; }
.bc-hist-canvas { position: relative; height: 320px; }
.bc-hist details { margin-top: 12px; }
.bc-hist summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.bc-hist .table-wrap { margin-bottom: 0; }

/* Ventajas/desventajas, listas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.split h3 { margin-top: 0; font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checklist li { position: relative; padding-left: 26px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b6e10' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.checklist--minus li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5650d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 72ch; }
.steps-list li { counter-increment: s; position: relative; padding-left: 40px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-weight: 800; font-size: .85rem; }
.steps-list strong { display: block; }

/* Ciudades destacadas */
.city-answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 28px; }
.city-answers h3 { font-size: 1.05rem; margin-top: 18px; }
.city-answers p { font-size: .97rem; }

/* CTA calculadora */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: center; margin: 40px 0; padding: 22px 24px; background: var(--brand); color: #fff; border-radius: var(--r); }
.cta h2, .cta h3 { color: #fff; margin: 0 0 6px; font-size: 1.35rem; }
.cta p { margin: 0; color: #d6e8ee; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta select { min-height: 46px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid #5d8fa2; background: #05475f; color: #fff; max-width: 240px; }
.cta .bc-btn { background: var(--green); border-color: var(--green); color: #0b2a05; }
.cta .bc-btn:hover { background: #5bbd2f; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 80ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-weight: 800; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%2304536f' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M7 2v10M2 7h10'/%3E%3C/svg%3E"); transition: transform .2s ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* Enlaces */
.link-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 20px; }
.link-grid a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.link-grid a:hover { color: var(--brand); }
.link-grid a span { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.guide-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.guide-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-list strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.08rem; }
.guide-list span { color: var(--muted); font-size: .95rem; }
.guide-list a:hover strong { color: var(--brand); }

/* Fuentes */
.sources { font-size: .92rem; color: var(--ink-2); max-width: 80ch; }
.sources li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: .9rem; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: .95rem; margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--ink-2); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .logo img { height: 38px; }
  .bc-facts, .bc-kpis { grid-template-columns: 1fr 1fr; }
  .bc-facts div:nth-child(3), .bc-kpis div:nth-child(3) { border-left: 0; }
  .bc-facts div:nth-child(n+3), .bc-kpis div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bc-calc { padding: 16px; }
  .bc-steps li { font-size: .78rem; flex-direction: column; align-items: flex-start; gap: 4px; }
  .bc-row, .split, .site-footer .cols { grid-template-columns: 1fr; }
  .bc-bars li { grid-template-columns: 1fr auto; }
  .bc-bar-track { grid-column: 1 / -1; grid-row: 2; }
  .cta { grid-template-columns: 1fr; }
  .bc-hist-canvas { height: 260px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0; padding-top: 8px; }
  .nav { display: flex; width: calc(100% + 32px); margin: 0 -16px; padding: 0 12px 6px; overflow-x: auto; scrollbar-width: none; }
  .nav a { white-space: nowrap; padding: 6px 10px; font-size: .9rem; }
}

/* ── v1.1 visual: hero a dos columnas, mapas, ilustraciones, mosaico de tipos ── */
.hero.has-visual { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: 44px; align-items: start; }
.hero.has-visual > * { grid-column: 1; }
.hero.has-visual > .hero-visual { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin-top: 24px; }
.hero.has-visual > .bc-facts { grid-column: 1 / -1; }
.hero.has-visual > .crumbs { grid-column: 1 / -1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.hero-visual--art { display: grid; justify-items: center; gap: 14px; padding: 28px; background: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, var(--brand-50) 70%); border: 1px solid var(--line); border-radius: var(--r); }
.hero-visual--art .bk { width: min(220px, 60%); height: auto; filter: drop-shadow(0 10px 18px rgba(4, 83, 111, .16)); }
.art-cap { margin: 0; text-align: center; color: var(--ink-2); font-size: .95rem; max-width: 34ch; }

.bc-map { position: relative; margin: 0; }
.bc-map svg { display: block; width: 100%; height: auto; }
.bc-map-st path { transition: fill-opacity .15s ease-out, stroke .15s ease-out; }
.bc-map-st:hover path, .bc-map-st:focus-visible path { stroke: var(--ink); stroke-width: 2.5; }
.bc-map-st:focus-visible { outline: none; }
.bc-map--state svg path[data-tip] { cursor: default; }
.bc-map--state svg path[data-tip]:hover { fill-opacity: .82; }
.bc-map-labels text { font-family: var(--font-head); font-weight: 800; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.bc-map-labels circle { pointer-events: none; }
.bc-map figcaption { display: grid; gap: 6px; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.bc-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0; margin: 0; color: var(--ink-2); }
.bc-legend li { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.bc-legend span { width: 14px; height: 10px; border-radius: 2px; border: 1px solid rgba(15, 42, 54, .12); }
.bc-locator-wrap { display: flex; align-items: center; gap: 10px; }
.bc-locator { width: 86px; height: auto; flex: none; }
.bc-tip { position: absolute; z-index: 5; pointer-events: none; display: grid; gap: 2px; padding: 8px 10px; background: var(--ink); color: #fff; border-radius: var(--r-sm); font-size: .85rem; line-height: 1.3; box-shadow: 0 6px 16px -6px rgba(15, 42, 54, .5); white-space: nowrap; }
.bc-tip span { color: #c9dde4; font-variant-numeric: tabular-nums; }

.tiles { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tiles li { background: var(--surface); }
.tiles a { display: grid; gap: 4px; height: 100%; padding: 18px 20px 20px; text-decoration: none; color: var(--ink); transition: background-color .15s ease-out; }
.tiles a:hover { background: #f7fbfc; }
.tiles a:hover strong { color: var(--brand); }
.tiles .bk { margin-bottom: 6px; }
.tiles strong { font-family: var(--font-head); font-size: 1.12rem; }
.tile-price { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--brand); font-variant-numeric: tabular-nums; }
.tile-sub { font-size: .84rem; color: var(--muted); }
.tile-bar { position: relative; display: block; height: 6px; margin: 8px 0 4px; background: var(--surface-2); border-radius: 2px; }
.tile-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--brand)); border-radius: 2px; }
details.more { margin-top: 12px; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--brand); }

.bc-type { grid-template-columns: auto 1fr auto; }
.bc-type-ic { display: block; width: 40px; height: 40px; }
.bc-type-ic svg { width: 40px; height: 40px; display: block; }

/* bandas a sangre para dar ritmo a las secciones clave */
.band { position: relative; padding-block: 40px; margin-top: 56px; background: var(--surface-2); box-shadow: 0 0 0 100vmax var(--surface-2); clip-path: inset(0 -100vmax); }
.band > h2:first-child { margin-top: 0; }

@media (max-width: 900px) {
  .hero.has-visual { grid-template-columns: 1fr; }
  .hero.has-visual > .hero-visual { grid-column: 1; grid-row: auto; order: 1; margin-top: 18px; }
  .hero.has-visual > .bc-facts { order: 2; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; }
  .hero-visual--art { padding: 18px; }
  .hero-visual--art .bk { width: 140px; }
}
.bc-tip[hidden] { display: none; }
.tiles .bk { width: 64px; height: 64px; padding: 6px; background: var(--brand-50); border-radius: var(--r); }

/* ── Guías ── */
.guide-cards { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-cards a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s ease-out, box-shadow .2s ease-out, transform .2s ease-out; }
.guide-cards a:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-cards .cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.gc-body { display: grid; gap: 6px; padding: 14px 16px 16px; flex: 1; align-content: start; }
.gc-body strong { font-family: var(--font-head); font-size: 1.1rem; line-height: 1.25; }
.gc-body > span:not(.gc-more) { color: var(--muted); font-size: .93rem; }
.gc-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--brand); font-weight: 800; font-size: .9rem; }
.gc-more .bc-i { width: 16px; height: 16px; transition: transform .2s ease-out; }
.guide-cards a:hover .gc-more .bc-i { transform: translateX(3px); }
.hero--guide .hero-visual .cover { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.toc { margin: 32px 0 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); max-width: 72ch; }
.toc p { margin: 0 0 6px; font-weight: 800; font-family: var(--font-head); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { break-inside: avoid; padding: 2px 0; }
@media (max-width: 900px) { .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guide-cards { grid-template-columns: 1fr; } .toc ol { columns: 1; } }
.bc-map .bc-locator { width: 86px; height: auto; }
@media (max-width: 520px) {
  .tiles a { grid-template-columns: 64px 1fr; column-gap: 14px; padding: 14px 16px; }
  .tiles a > * { grid-column: 2; }
  .tiles a > .bk { grid-column: 1; grid-row: 1 / span 5; margin: 0; }
}

/* ── Fotos ── */
.hero-visual--photo { margin: 0; }
.hero-visual--photo img, .photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); background: var(--surface-2); }
.hero-visual--photo figcaption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .9rem; color: var(--ink-2); }
.hero-visual--photo figcaption .bk { flex: none; }
.hero--guide .hero-visual img.cover { border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; margin-bottom: 8px; }
@media (max-width: 900px) { .map-split { grid-template-columns: 1fr; } }

/* ── Legal y pie ── */
.legal { max-width: 76ch; }
.legal-sec { margin-top: 36px; }
.legal-sec h2 { font-size: 1.3rem; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
mark.todo { background: #fff1d6; color: #6b4708; padding: 1px 4px; border-radius: 2px; font-weight: 700; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot-legal p { margin: 0; }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a { color: var(--ink-2); }

/* ── Publicidad ── */
.ad { margin: 36px auto; text-align: center; min-height: 120px; }
.ad::before { content: "Publicidad"; display: block; font-size: .72rem; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.ad--sticky { min-height: 300px; margin: 0; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 40px; align-items: start; }
.with-aside > .block { min-width: 0; }
.ad-sticky { position: sticky; top: 90px; margin-top: 56px; }
@media (max-width: 960px) {
  .with-aside { grid-template-columns: 1fr; gap: 0; }
  .ad-sticky { position: static; margin: 28px auto 0; }
}
/* ── Aviso de cookies ── */
.cc { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.cc-in { pointer-events: auto; max-width: 720px; width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: 0 10px 30px -8px rgba(15, 42, 54, .35); padding: 18px 20px; font-size: .92rem; }
.cc-t { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; margin: 0 0 6px; }
.cc-in p { margin: 0 0 10px; }
.cc-opts { display: grid; gap: 6px; margin: 4px 0 12px; }
.cc-opts label { display: flex; gap: 8px; align-items: center; }
.cc-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cc-btns .bc-btn { min-height: 42px; padding: 8px 16px; }
@media (max-width: 520px) { .cc-btns .bc-btn { flex: 1 1 auto; } }
.cc-opts[hidden] { display: none; }
