/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-sm); font: 600 1rem/1 var(--font-sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .16s var(--ease), color .16s, border-color .16s, box-shadow .16s; white-space: nowrap; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--teal-100); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--teal); padding-inline: 8px; }
.btn--ghost:hover { color: var(--navy); text-decoration: underline; }
.btn--wa { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--wa:hover { border-color: var(--whatsapp); color: var(--ink); }
.btn--wa svg { color: var(--whatsapp); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--teal-100); color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: .9375rem; }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; height: var(--header-h); border-bottom: 1px solid transparent; transition: height .16s var(--ease), border-color .16s; }
.site-header.is-scrolled { height: 60px; border-bottom-color: var(--line); box-shadow: 0 1px 8px rgba(11,31,46,.04); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; letter-spacing: .01em; min-height: 44px; }
.brand img { width: auto; height: 44px; }
.brand span { font-size: 1.0625rem; }
.brand small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav > a, .nav-drop > button { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font: 500 .9375rem var(--font-sans); background: none; border: 0; cursor: pointer; }
.nav > a:hover, .nav-drop > button:hover { background: var(--sand); color: var(--navy); }
.nav a[aria-current="page"], .nav-drop.is-current > button { color: var(--navy); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .16s; }
.nav-drop > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-panel { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-hover); padding: 8px; display: none; }
.nav-panel.is-open { display: block; }
.nav-panel a { display: block; padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.nav-panel a:hover, .nav-panel a:focus-visible { background: var(--teal-100); }
.nav-panel strong { display: block; color: var(--navy); font-size: .9375rem; }
.nav-panel span { display: block; color: var(--muted); font-size: var(--fs-sm); line-height: 1.4; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--whatsapp); cursor: pointer; }
.icon-btn:hover { border-color: var(--whatsapp); }
.icon-btn svg { width: 22px; height: 22px; }
.menu-btn { display: none; color: var(--navy); }
@media (max-width: 1099px) { .nav > a, .nav-drop > button { padding: 0 8px; font-size: .9rem; } }
@media (max-width: 959px) {
  .nav, .header-actions .btn, .header-actions .icon-btn--wa { display: none; }
  .menu-btn { display: inline-flex; margin-inline-start: auto; }
  .header-actions { margin-inline-start: auto; }
}
/* Mobile sheet */
.sheet { position: fixed; inset: 0; z-index: 150; background: #fff; display: none; flex-direction: column; overflow-y: auto; }
.sheet.is-open { display: flex; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.sheet nav { padding: 8px 16px; }
.sheet nav a { display: flex; align-items: center; min-height: 52px; font-size: 1.125rem; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet nav a[aria-current="page"] { color: var(--teal); }
.sheet .sheet-group { padding-top: 12px; font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.sheet nav a.sub { padding-inline-start: 12px; font-size: 1.0625rem; }
.sheet-contact { margin-top: auto; padding: 16px; background: var(--sand); display: grid; gap: 10px; }
body.no-scroll { overflow: hidden; }
/* Bottom bar */
.bottom-bar { display: none; }
@media (max-width: 899px) {
  .bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(11,31,46,.06); }
  .bottom-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 64px; font-size: var(--fs-micro); font-weight: 600; color: var(--navy); text-decoration: none; }
  .bottom-bar a svg { width: 22px; height: 22px; }
  .bottom-bar a.wa svg { color: var(--whatsapp); }
  .bottom-bar a.primary { background: var(--navy); color: #fff; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.hide-bar .bottom-bar { display: none; }
}

/* ---------- Page header ---------- */
.page-head { padding-block: 56px 40px; background: linear-gradient(180deg, var(--sand) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: var(--s3); }
.page-head .lead { margin-bottom: var(--s4); }
.page-head .meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--line-strong); }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: var(--fs-micro); font-weight: 600; line-height: 1.3; background: var(--teal-100); color: var(--navy); border: 1px solid transparent; white-space: nowrap; }
.badge--example { background: #fff; border: 1.5px dashed var(--gold-soft); color: var(--gold); }
.badge--source { background: #fff; border-color: var(--line-strong); color: var(--muted); }
.badge--date { background: var(--navy); color: #fff; }
.badge--risk { background: #FBEDEA; color: var(--negative); }
.badge--placeholder { background: #FFF6E0; color: #6B4E00; border: 1px solid #E8D29A; }
.ph { background: #FFF6E0; color: #6B4E00; border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); box-shadow: var(--shadow); }
.card h3 { margin-bottom: var(--s2); }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: inherit; }
a.card .more { color: var(--teal); font-weight: 600; font-size: var(--fs-sm); display: inline-flex; gap: 4px; align-items: center; margin-top: var(--s3); }
.card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-100); color: var(--navy); display: grid; place-items: center; margin-bottom: var(--s4); }
.card-icon svg { width: 22px; height: 22px; }

/* ---------- KPI tile ---------- */
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kpi-label { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; line-height: 1.35; }
.kpi-period { display: block; font-size: var(--fs-micro); color: var(--muted); font-weight: 400; }
.kpi--dark .kpi-period { color: var(--on-dark-muted); }
.kpi-value { font: 600 var(--fs-kpi)/1 var(--font-sans); color: var(--navy-900); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi-value small { font-size: .5em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-inline-start: 2px; }
.delta { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-micro); font-weight: 600; font-variant-numeric: tabular-nums; }
.delta--up { color: var(--positive); }
.delta--down { color: var(--negative); }
.delta--flat { color: var(--muted); }
.delta .basis { color: var(--muted); font-weight: 500; }
.kpi-src { font-size: var(--fs-micro); color: var(--muted); line-height: 1.4; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }
.kpi-src a { color: var(--muted); }
.kpi--dark { background: var(--navy); border-color: var(--navy); }
.kpi--dark .kpi-label, .kpi--dark .kpi-src, .kpi--dark .kpi-src a { color: var(--on-dark-muted); }
.kpi--dark .kpi-value { color: #fff; }
@media (max-width: 599px) { .kpi { padding: 14px; } }

/* ---------- Chart card ---------- */
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); min-width: 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.chart-card header { display: flex; justify-content: space-between; gap: var(--s3); align-items: start; }
.chart-card h3 { margin: 0 0 4px; font-size: 1.1875rem; }
.chart-card .sub { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.chart-tools { display: flex; gap: 4px; flex: none; }
.chart-tools button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-sm); background: none; border: 1px solid transparent; color: var(--muted); cursor: pointer; }
.chart-tools button:hover { border-color: var(--line); color: var(--navy); }
.chart-tools svg { width: 18px; height: 18px; }
.chart-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chart-box { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 220px; }
.chart-box--tall { aspect-ratio: 4 / 3; }
.chart-box--donut { aspect-ratio: auto; height: 320px; max-width: 560px; margin-inline: auto; }
.chart-box--short { aspect-ratio: 21 / 9; min-height: 180px; }
.chart-box canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
@media (max-width: 599px) { .chart-box, .chart-box--tall { aspect-ratio: 1 / 1; } .chart-box--donut { height: 300px; } .chart-box--short { aspect-ratio: 4 / 3; } .chart-card { padding: 16px; } }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); background: repeating-linear-gradient(135deg, #fff, #fff 10px, var(--sand) 10px, var(--sand) 20px); border-radius: var(--r-sm); font-size: var(--fs-sm); }
.chart-caption { font-size: var(--fs-micro); color: var(--muted); line-height: 1.5; border-top: 1px solid var(--line); padding-top: var(--s3); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.chart-caption a { color: var(--muted); }
.chart-table { display: none; max-height: 340px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.chart-card.show-table .chart-table { display: block; }
.chart-insight { margin: 0; font-size: var(--fs-sm); color: var(--ink); background: var(--teal-100); border-radius: var(--r-sm); padding: 10px 12px; }
.skeleton { background: linear-gradient(90deg, var(--sand) 25%, #fff 50%, var(--sand) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); }
.chart-box .skeleton { position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: 18px; }
.chart-box .skeleton::after { content: "Loading chart…"; position: relative; z-index: 1; color: var(--muted); font-size: var(--fs-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Segmented control ---------- */
.seg { display: inline-flex; background: var(--sand); border-radius: var(--r-sm); padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { min-height: 36px; padding: 0 12px; border: 0; background: none; border-radius: 6px; font: 500 var(--fs-sm) var(--font-sans); color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(11,31,46,.12); font-weight: 600; }
.seg button:hover { color: var(--navy); }
@media (pointer: coarse) { .seg button { min-height: 44px; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; -webkit-overflow-scrolling: touch; }
.data-table { font-size: var(--fs-sm); border-collapse: separate; border-spacing: 0; }
.data-table th, .data-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table thead th { position: sticky; top: 0; background: var(--sand); color: var(--navy-900); font-weight: 600; z-index: 2; }
.data-table th.n, .data-table td.n { text-align: end; }
.data-table tbody tr:hover { background: #FAFBFC; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table th button { all: unset; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; font-weight: 600; }
.data-table th button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.data-table th[aria-sort="ascending"] button::after { content: "▲"; font-size: .7em; }
.data-table th[aria-sort="descending"] button::after { content: "▼"; font-size: .7em; }
/* Row labels are th. Keep them opaque so a sideways scroll does not show the cells underneath. */
.data-table tbody td:first-child, .data-table tbody th:first-child { position: sticky; left: 0; background: #fff; z-index: 1; font-weight: 600; }
.data-table tbody tr:hover td:first-child, .data-table tbody tr:hover th:first-child { background: #FAFBFC; }
/* The corner header sticks both ways. A plain th:first-child rule used to wipe its sand fill, so the month underneath showed through. */
.data-table thead th:first-child { left: 0; top: 0; background: var(--sand); z-index: 3; }
.data-table a { font-weight: 600; }
.data-table caption { caption-side: bottom; text-align: start; padding: 10px 14px; font-size: var(--fs-micro); color: var(--muted); }
.dash { color: var(--neutral); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s4); min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: var(--fs-sm); color: var(--navy-900); }
.field .help { font-size: var(--fs-micro); color: var(--muted); margin: 0; }
.field .err { font-size: var(--fs-micro); color: var(--negative); margin: 0; display: none; }
.field.has-error .err { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--negative); }
input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: 400 1rem var(--font-sans); color: var(--ink); background: #fff; font-variant-numeric: tabular-nums; }
textarea { min-height: 112px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2356687A' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 36px; }
.input-affix { display: flex; align-items: stretch; }
.input-affix span { display: inline-flex; align-items: center; padding: 0 10px; background: var(--sand); border: 1px solid var(--line-strong); border-inline-end: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); font-size: var(--fs-sm); color: var(--muted); }
.input-affix input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.input-affix.suffix span { border-inline-end: 1px solid var(--line-strong); border-inline-start: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; order: 2; }
.input-affix.suffix input { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.5; cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.phone-row { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.switch { display: inline-flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 600; font-size: var(--fs-sm); min-height: 44px; }
.switch input { width: 40px; height: 22px; appearance: none; background: var(--line-strong); border-radius: 999px; position: relative; cursor: pointer; transition: background .16s; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform .16s; }
.switch input:checked { background: var(--navy); }
.switch input:checked::after { transform: translateX(18px); }

/* ---------- Callouts ---------- */
.callout { border-radius: var(--r-md); padding: 20px 22px; background: var(--teal-100); }
.callout h3, .callout h4 { margin-bottom: 6px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--risk { background: var(--sand); border-inline-start: 4px solid var(--negative); border-radius: 0 var(--r-md) var(--r-md) 0; }
.callout--example { background: #fff; border: 1.5px dashed var(--gold-soft); }
.callout--placeholder { background: #FFF9EA; border: 1px solid #E8D29A; }

/* ---------- Accordion ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:last-child { border-bottom: 0; }
.acc summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--navy-900); display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); font-weight: 400; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc .acc-body { padding: 0 20px 20px; color: var(--ink); }

/* ---------- Stepper ---------- */
.stepper { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.stepper li { position: relative; padding: 0 0 22px 52px; margin: 0; counter-increment: step; }
.stepper li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: var(--fs-sm); }
.stepper li::after { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; background: var(--line); }
.stepper li:last-child::after { display: none; }
.stepper strong { display: block; color: var(--navy-900); }
.stepper span { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Trust bar ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: var(--fs-sm); }
.trust span { display: inline-flex; gap: 6px; align-items: center; }
.trust svg { width: 16px; height: 16px; }

/* ---------- Area card ---------- */
.area-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.area-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: inherit; }
.area-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%); position: relative; overflow: hidden; }
.area-thumb img { width: 100%; height: 100%; object-fit: cover; }
.area-thumb .mono { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); font: 500 2.25rem var(--font-serif); letter-spacing: .02em; }
.area-thumb .tag { position: absolute; left: 12px; top: 12px; }
.area-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.area-body h3 { margin: 0; font-size: 1.1875rem; }
.area-body .dld { font-size: var(--fs-micro); color: var(--muted); margin: -6px 0 0; }
.area-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.area-metrics div { min-width: 0; }
.area-metrics dt { font-size: .75rem; color: var(--muted); line-height: 1.3; }
.area-metrics dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy-900); font-size: .9375rem; }

/* ---------- Next step band ---------- */
.next-band { background: var(--navy); color: #fff; padding-block: 64px; }
.next-band .container { display: flex; gap: var(--s6); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.next-band h2 { color: #fff; margin-bottom: 6px; }
.next-band p { color: var(--on-dark-muted); margin: 0; }
.next-band .btn--wa { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.next-band .btn--wa svg { color: #7FE0A8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); font-size: var(--fs-sm); padding-block: 56px 32px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
.foot-grid h2 { font: 600 var(--fs-micro) var(--font-sans); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: var(--s3); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: var(--s6); padding-top: var(--s5); display: grid; gap: 8px; }
.foot-legal p { max-width: none; margin: 0; }
.site-footer .ph { background: rgba(255,214,102,.18); color: #FFE08A; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Misc ---------- */
.note { font-size: var(--fs-micro); color: var(--muted); }
.divider { height: 1px; background: var(--line); margin-block: var(--s6); border: 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { margin: 0; }
.toc { position: sticky; top: calc(var(--header-h) + 16px); font-size: var(--fs-sm); }
.toc ol { list-style: none; padding: 0; margin: 0; border-inline-start: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 8px 14px; color: var(--muted); text-decoration: none; margin-inline-start: -2px; border-inline-start: 2px solid transparent; }
.toc a:hover, .toc a.is-active { color: var(--navy); border-color: var(--teal); }
.prose h2 { margin-top: var(--s7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s5); }
.prose table { margin-bottom: var(--s5); }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-size: var(--fs-sm); z-index: 300; }
.form-status { margin: 12px 0 0; font-size: var(--fs-sm); }
.form-status.ok { color: var(--positive, var(--teal)); font-weight: 600; }
.form-status.bad { color: var(--negative); }
.check.has-error { color: var(--negative); }
.check .err { flex-basis: 100%; }
.stack-lg > * + * { margin-top: var(--s7); }
.toc-title { font-weight: 600; color: var(--navy-900); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-micro); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1.0625rem; }
.prose .card h3 { margin-top: 0; }
@media (max-width: 599px) {
  .context-table thead { display: none; }
  .context-table, .context-table tbody, .context-table tr, .context-table td { display: block; width: 100%; }
  .context-table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .context-table td { border: 0; padding: 2px 0; text-align: start; white-space: normal; }
  .context-table td:first-child { font-weight: 600; color: var(--navy-900); }
}

.kpi-sk { height: 236px; }
@media (max-width: 1099px) { .kpi-sk { height: 170px; } }
@media (max-width: 599px) { .kpi-sk { height: 182px; } }
