/* Bolsillo Efectivo Kit 2.0 — estilos públicos. Colores y fuente llegan como variables desde Diseño. */
:root {
  --bek-night: #101D42; --bek-electric: #165DDB; --bek-sky: #46B3FF; --bek-light: #F2F6FF; --bek-white: #FFFFFF;
  --bek-ink: #172746; --bek-muted: #4F5E78; --bek-line: #DFE7F3;
  --bek-font: "Century Gothic", CenturyGothic, AppleGothic, "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --bek-radius: 16px; --bek-admin-bar: var(--wp-admin--admin-bar--height, 0px);
}

/* ---------- Integración con el tema ---------- */
body.bek-owns-chrome #masthead, body.bek-owns-chrome #colophon,
body.bek-owns-chrome .site-header:not(.bek-header), body.bek-owns-chrome .site-footer:not(.bek-footer) { display: none !important; }
.bek-managed-page .entry-hero-container, .bek-managed-page .entry-header, .bek-managed-page .page-header,
.bek-managed-page .post-thumbnail, .bek-managed-page .comments-area { display: none !important; }
.bek-managed-page .content-container, .bek-managed-page .content-area, .bek-managed-page .site-main,
.bek-managed-page .entry-content-wrap, .bek-managed-page .content-bg, .bek-managed-page article.entry {
  max-width: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important;
}
.bek-managed-page .entry-content { margin: 0 !important; max-width: none !important; }
.bek-managed-page .entry-content > .bek-portal { max-width: none; }

/* ---------- Base ---------- */
.bek-portal, .bek-portal *, .bek-portal-chrome, .bek-portal-chrome * { box-sizing: border-box; }
.bek-portal, .bek-portal-chrome { font-family: var(--bek-font); color: var(--bek-ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.bek-portal { width: 100%; background: var(--bek-white); overflow-x: clip; }
.bek-portal.bek-embed { background: transparent; overflow: visible; margin: 1.5em 0; }
.bek-portal :is(h1, h2, h3, h4, p) { margin-top: 0; }
.bek-portal :is(h1, h2, h3), .bek-portal-chrome strong { font-family: inherit; letter-spacing: -.02em; font-weight: 750; color: var(--bek-night); }
.bek-portal a, .bek-portal-chrome a { text-decoration: none; }
.bek-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.bek-icon { width: 24px; height: 24px; flex: none; }
.bek-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bek-portal :is(a, button, select, input, summary):focus-visible, .bek-portal-chrome :is(a, button, input):focus-visible,
.bek-editorial-box a:focus-visible { outline: 3px solid var(--bek-sky); outline-offset: 2px; border-radius: 4px; }
.bek-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--bek-night); color: #fff !important; padding: 10px 14px; border-radius: 8px; }
.bek-skip:focus { left: 8px; }

/* ---------- Cabecera ---------- */
.bek-header { background: var(--bek-white); border-bottom: 1px solid var(--bek-line); position: relative; z-index: 90; }
.bek-sticky .bek-header { position: sticky; top: var(--bek-admin-bar); }
.bek-header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.bek-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--bek-night) !important; }
.bek-brand-logo { max-height: 46px; width: auto; }
.bek-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; background: var(--bek-electric); color: #fff; border-radius: 12px; font-weight: 800; font-size: 17px; letter-spacing: -.06em; }
.bek-brand-mark span, .bek-footer-brand span { color: var(--bek-sky); }
.bek-brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.bek-brand-copy strong { font-size: 16px; font-weight: 800; }
.bek-brand-copy small { color: var(--bek-muted); font-size: 11px; }
.bek-nav { margin-left: auto; }
.bek-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.bek-menu li { position: relative; margin: 0; }
.bek-menu a { display: block; padding: 10px 12px; color: var(--bek-ink) !important; font-size: 14px; font-weight: 700; border-radius: 8px; white-space: nowrap; }
.bek-menu a:hover, .bek-menu .current-menu-item > a { color: var(--bek-electric) !important; background: var(--bek-light); }
.bek-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border: 1px solid var(--bek-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 29, 66, .12); display: none; }
.bek-menu li:hover > .sub-menu, .bek-menu li:focus-within > .sub-menu { display: block; }
.bek-menu .sub-menu a { font-weight: 600; white-space: normal; }
.bek-actions { display: flex; align-items: center; gap: 8px; }
.bek-icon-button { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--bek-line); background: #fff; color: var(--bek-night); cursor: pointer; padding: 0; }
.bek-icon-button:hover { border-color: var(--bek-electric); color: var(--bek-electric); }
.bek-menu-toggle { display: none; }
.bek-lang-switch { display: inline-flex; gap: 4px; }
.bek-lang { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 4px 8px; border: 1px solid var(--bek-line); border-radius: 9px; color: var(--bek-ink) !important; font-size: 13px; font-weight: 800; }
.bek-lang.is-active { color: #fff !important; background: var(--bek-electric); border-color: var(--bek-electric); }
.bek-header-search { border-top: 1px solid var(--bek-line); background: var(--bek-light); padding: 14px 0; }
.bek-js .bek-header-search { display: none; }
.bek-js .bek-header-search.is-open { display: block; }
.bek-search-form { display: flex; gap: 8px; max-width: 640px; }
.bek-search-form input[type="search"] { flex: 1; min-height: 48px; border: 1px solid #C4D2E8 !important; border-radius: 10px !important; padding: 10px 14px !important; font: inherit !important; font-size: 16px !important; background: #fff !important; color: var(--bek-ink) !important; }
.bek-search-submit { min-width: 48px; min-height: 48px; border: 0; border-radius: 10px; background: var(--bek-electric); color: #fff; display: inline-grid; place-items: center; cursor: pointer; }
.bek-menu-switch .bek-lang-switch { padding: 6px 0; }

/* ---------- Héroe ---------- */
.bek-hero { position: relative; isolation: isolate; color: #fff; background: linear-gradient(125deg, var(--bek-night) 0%, #172D64 55%, #123B9A 100%); }
.bek-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .2; background: linear-gradient(90deg, transparent 49%, rgba(255,255,255,.14) 50%, transparent 51%), linear-gradient(0deg, transparent 49%, rgba(255,255,255,.1) 50%, transparent 51%); background-size: 90px 90px; }
.bek-hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: 40px; padding: 84px 0 92px; }
.bek-eyebrow { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; color: #BFE3FF; }
.bek-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bek-sky); box-shadow: 0 0 0 5px rgba(70,179,255,.18); }
.bek-hero h1 { color: #fff !important; font-size: clamp(36px, 5vw, 64px); line-height: 1.08; letter-spacing: -.045em; margin: 18px 0 20px; max-width: 720px; }
.bek-hero p { color: #E3EDFF; font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; }
.bek-hero-search { margin: 26px 0 0; max-width: 560px; }
.bek-hero-search .bek-search-form input[type="search"] { border-color: transparent !important; }
.bek-hero-search .bek-search-submit { background: var(--bek-sky); color: var(--bek-night); }
.bek-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bek-hero-art { display: grid; place-items: center; }
.bek-illustration-card { width: min(340px, 100%); aspect-ratio: 1.2; border-radius: 22px; padding: 26px; border: 1px solid rgba(255,255,255,.24); background: linear-gradient(147deg, rgba(255,255,255,.2), rgba(255,255,255,.06)); box-shadow: 0 30px 60px rgba(1,14,52,.35); transform: rotate(-4deg); }
.bek-art-chart { height: 58%; display: flex; gap: 14px; align-items: flex-end; border-bottom: 1px solid rgba(255,255,255,.2); }
.bek-art-chart span { display: block; width: 16%; border-radius: 7px 7px 0 0; background: linear-gradient(180deg, var(--bek-sky), var(--bek-electric)); }
.bek-art-chart span:nth-child(1) { height: 35%; } .bek-art-chart span:nth-child(2) { height: 56%; } .bek-art-chart span:nth-child(3) { height: 45%; } .bek-art-chart span:nth-child(4) { height: 75%; } .bek-art-chart span:nth-child(5) { height: 100%; }
.bek-art-caption { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.bek-art-caption i { display: block; height: 8px; border-radius: 6px; background: rgba(255,255,255,.22); width: 70%; } .bek-art-caption i:nth-child(2) { width: 50%; } .bek-art-caption i:nth-child(3) { width: 62%; }

/* ---------- Botones ---------- */
.bek-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 800; line-height: 1.2; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.bek-button .bek-icon { width: 16px; height: 16px; }
.bek-button:hover { transform: translateY(-1px); }
.bek-button-primary { background: var(--bek-electric); color: #fff !important; }
.bek-button-primary:hover { background: #0F4CBC; }
.bek-button-outline { background: rgba(255,255,255,.06); color: #fff !important; border-color: rgba(255,255,255,.5); }
.bek-button-dark { background: var(--bek-night); color: #fff !important; }
.bek-button-small { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.bek-link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Secciones ---------- */
.bek-section { padding: 80px 0; }
.bek-section-light { background: var(--bek-light); }
.bek-section-white { background: var(--bek-white); }
.bek-heading { max-width: 680px; margin-bottom: 28px; }
.bek-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bek-electric); }
.bek-heading h2, .bek-about h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.17; margin: 8px 0 10px; }
.bek-heading p, .bek-about p { color: var(--bek-muted); margin: 0; }
.bek-topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bek-topic-card { display: flex; flex-direction: column; gap: 8px; min-height: 230px; padding: 24px 22px; background: #fff; border: 1px solid var(--bek-line); border-radius: var(--bek-radius); color: var(--bek-ink) !important; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.bek-topic-card:hover { transform: translateY(-3px); border-color: #A9C4F5; box-shadow: 0 14px 34px rgba(18,47,99,.08); }
.bek-topic-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; color: var(--bek-electric); background: #E8F0FF; }
.bek-topic-card h3 { font-size: 18px; line-height: 1.25; margin: 10px 0 0; }
.bek-topic-card p { color: var(--bek-muted); font-size: 14px; margin: 0 0 10px; flex: 1; }
.bek-card-link { display: inline-flex; gap: 6px; align-items: center; color: var(--bek-electric) !important; font-size: 13px; font-weight: 800; }
.bek-card-link .bek-icon { width: 15px; height: 15px; }
.bek-topic-card-featured { background: var(--bek-night); border-color: var(--bek-night); }
.bek-topic-card-featured h3, .bek-topic-card-featured .bek-card-link { color: #fff !important; }
.bek-topic-card-featured p { color: #C3D7F7; }
.bek-topic-card-featured .bek-topic-icon { background: rgba(255,255,255,.1); color: var(--bek-sky); }
.bek-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bek-tool-intro .bek-heading { margin-bottom: 22px; }
.bek-mini-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bek-mini-list a { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--bek-line); border-radius: 14px; color: var(--bek-night) !important; font-weight: 700; font-size: 14px; min-height: 72px; }
.bek-mini-list a:hover { border-color: var(--bek-electric); }
.bek-articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bek-article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bek-line); border-radius: var(--bek-radius); overflow: hidden; }
.bek-article-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.bek-article-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.bek-article-top { display: flex; gap: 8px; align-items: center; color: var(--bek-muted); font-size: 12px; margin-bottom: 10px; }
.bek-chip { display: inline-block; padding: 2px 8px; border-radius: 99px; background: #E8F0FF; color: var(--bek-electric); font-weight: 800; font-size: 11px; }
.bek-article-card h3 { font-size: 19px; line-height: 1.35; margin: 0 0 10px; }
.bek-article-card h3 a { color: inherit !important; }
.bek-article-card h3 a:hover { color: var(--bek-electric) !important; }
.bek-article-card p { color: var(--bek-muted); font-size: 14px; flex: 1; }
.bek-empty { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 28px 20px; background: #fff; border: 1px dashed #B9CBEA; border-radius: var(--bek-radius); }
.bek-empty p { color: var(--bek-muted); margin: 0; }
.bek-empty-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #E8F0FF; color: var(--bek-electric); }
.bek-about { display: flex; gap: 26px; align-items: flex-start; max-width: 900px; }
.bek-about-badge { display: grid; place-items: center; flex: none; width: 70px; height: 70px; border-radius: 18px; background: #E8F0FF; color: var(--bek-electric); }
.bek-about-badge .bek-icon { width: 34px; height: 34px; }
.bek-trust-links { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bek-trust-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: #fff; border: 1px solid var(--bek-line); border-radius: 99px; color: var(--bek-night) !important; font-size: 13px; font-weight: 700; }
.bek-trust-links .bek-icon { width: 16px; height: 16px; color: var(--bek-electric); }

/* ---------- Subcabecera ---------- */
.bek-subhero { color: #fff; background: linear-gradient(120deg, var(--bek-night), #164DA4); padding: 56px 0 64px; }
.bek-breadcrumb { margin-bottom: 18px; font-size: 13px; color: #C7DEFF; }
.bek-breadcrumb a { color: #fff !important; font-weight: 700; }
.bek-subhero h1 { color: #fff !important; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.12; margin: 12px 0; }
.bek-subhero p { color: #E0ECFF; max-width: 720px; font-size: 17px; margin: 0; }
.bek-back-link { margin: 24px 0 0; }
.bek-back-link a { color: var(--bek-electric) !important; font-weight: 800; }
.bek-anchor-nav ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bek-anchor-nav a { display: inline-block; padding: 8px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--bek-line); color: var(--bek-night) !important; font-size: 13px; font-weight: 700; }

/* ---------- Calculadoras ---------- */
.bek-calculator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.bek-calc { display: grid; gap: 16px; padding: 28px; background: #fff; border: 1px solid var(--bek-line); border-radius: 20px; scroll-margin-top: 100px; }
.bek-calc-heading { display: flex; gap: 14px; align-items: center; }
.bek-calc h2 { font-size: 21px; margin: 0; }
.bek-calc > p { color: var(--bek-muted); font-size: 14px; margin: -6px 0 0; }
.bek-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bek-field { display: flex; flex-direction: column; gap: 6px; }
.bek-field label { font-size: 13px; font-weight: 700; color: #34435D; }
.bek-field input, .bek-field select { width: 100%; min-height: 46px; padding: 9px 12px !important; border: 1px solid #C4D2E8 !important; border-radius: 9px !important; background: #fff !important; color: var(--bek-ink) !important; font: inherit !important; font-size: 16px !important; box-shadow: none !important; }
.bek-field input:focus, .bek-field select:focus { border-color: var(--bek-electric) !important; }
.bek-debts { border: 1px solid var(--bek-line); border-radius: 12px; padding: 12px 14px 4px; margin: 0; }
.bek-debts legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
.bek-debt-row { display: grid; grid-template-columns: 70px repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; margin-bottom: 10px; }
.bek-debt-label { font-size: 13px; font-weight: 800; color: var(--bek-electric); padding-bottom: 12px; }
.bek-calc-submit { width: 100%; }
.bek-calc-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #8A1F1F; font-size: 14px; }
.bek-calc-results { display: grid; gap: 10px; padding: 16px; border-radius: 12px; background: #ECF3FF; }
.bek-calc-results[hidden], .bek-calc-error[hidden] { display: none !important; }
.bek-calc-results > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-bottom: 8px; border-bottom: 1px solid #D3E2F8; }
.bek-calc-results > div:last-child { border: 0; padding: 0; }
.bek-calc-results span { font-size: 13px; color: #435677; }
.bek-calc-results strong { color: #1145AE; font-size: 17px; text-align: right; }
.bek-assumptions { font-size: 13px; color: var(--bek-muted); }
.bek-assumptions summary { cursor: pointer; font-weight: 700; color: var(--bek-night); }
.bek-assumptions ul { margin: 8px 0 0 1.2em; padding: 0; }
.bek-disclaimer { margin: 22px 0 0; color: var(--bek-muted); font-size: 13px; }

/* ---------- Comparadores ---------- */
.bek-comparator { margin: 0 0 44px; scroll-margin-top: 100px; }
.bek-comparator h2 { font-size: 26px; margin-bottom: 14px; }
.bek-comparator-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.bek-comparator-controls .bek-field { min-width: 220px; }
.bek-table-wrap { overflow-x: auto; border: 1px solid var(--bek-line); border-radius: 14px; background: #fff; }
.bek-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; margin: 0; }
.bek-table th, .bek-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bek-line); }
.bek-table thead th { background: var(--bek-light); color: var(--bek-night); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.bek-table tbody th { font-weight: 400; }
.bek-table tr[hidden] { display: none; }
.bek-note { display: block; color: var(--bek-muted); margin-top: 4px; }
.bek-stale { color: #9A4B00; font-weight: 700; }
.bek-table-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.bek-table-links a:not(.bek-button) { color: var(--bek-electric) !important; font-weight: 700; }

/* ---------- Artículos: caja editorial, afiliados y anuncios ---------- */
.bek-editorial-box { margin: 2.5em 0 1em; padding: 20px 22px; border: 1px solid var(--bek-line); border-left: 4px solid var(--bek-electric); border-radius: 12px; background: var(--bek-light); font-size: 15px; font-family: var(--bek-font); }
.bek-editorial-meta { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 6px 18px; }
.bek-editorial-meta li { margin: 0; }
.bek-editorial-meta span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bek-muted); font-weight: 700; }
.bek-sources summary { cursor: pointer; font-weight: 700; }
.bek-sources ol { margin: 6px 0 0 1.4em; }
.bek-risk-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: #FFF4E5; color: #6B3B00; font-weight: 600; }
.bek-editorial-note { margin: 10px 0 0; color: var(--bek-muted); font-size: 14px; }
.bek-translation-link { margin: 10px 0 0; font-weight: 700; }
.bek-affiliate-notice { padding: 10px 14px; border-radius: 10px; background: #F4F7FC; border: 1px solid var(--bek-line); font-size: 14px; color: var(--bek-muted); }
.bek-ad { margin: 2em 0; padding-top: 6px; border-top: 1px solid var(--bek-line); min-height: 120px; clear: both; }
.bek-ad-label { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6B778C; font-family: var(--bek-font); }
.bek-template-notice { padding: 12px 14px; border: 2px dashed #C0392B; border-radius: 8px; background: #FDF2F0; }

/* ---------- Pie ---------- */
.bek-footer { background: #0C1938; color: #C5D2E8; padding: 48px 0 28px; }
.bek-footer-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.bek-footer-brand { color: #fff; font-size: 18px; font-weight: 800; }
.bek-footer p { font-size: 13px; margin: 8px 0 14px; }
.bek-footer .bek-lang { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.3); }
.bek-footer .bek-lang.is-active { background: var(--bek-electric); border-color: var(--bek-electric); }
.bek-footer-menu { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.bek-footer-menu li { margin: 0 0 8px; break-inside: avoid; }
.bek-footer-menu a { color: #fff !important; font-size: 14px; }
.bek-footer-menu a:hover { text-decoration: underline; }
.bek-footer-disclosure { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin-top: 28px !important; max-width: 900px; }
.bek-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.bek-footer .bek-link-button { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bek-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bek-menu a { padding: 10px 8px; font-size: 13px; }
}
@media (max-width: 900px) {
  .bek-header-inner { flex-wrap: wrap; min-height: 68px; gap: 10px; padding: 10px 0; }
  .bek-actions { order: 2; margin-left: auto; gap: 6px; }
  .bek-menu-toggle { display: inline-grid; order: 3; }
  .bek-nav { order: 4; width: 100%; margin: 0; overflow-x: auto; }
  .bek-js .bek-nav { display: none; }
  .bek-js .bek-nav.is-open { display: block; }
  .bek-js .bek-menu { flex-direction: column; align-items: stretch; padding: 6px 0 10px; }
  .bek-js .bek-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .bek-hero-inner { grid-template-columns: 1fr; padding: 60px 0 68px; }
  .bek-hero-art { display: none; }
  .bek-two-column, .bek-calculator-grid, .bek-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .bek-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bek-section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .bek-container { width: calc(100% - 32px); }
  .bek-brand-copy small { display: none; }
  .bek-brand { gap: 8px; }
  .bek-brand-copy strong { font-size: 14px; }
  .bek-brand-mark { width: 38px; height: 38px; font-size: 14px; }
  .bek-header-inner { gap: 6px; }
  .bek-icon-button, .bek-lang { width: 38px; min-width: 38px; height: 38px; min-height: 38px; padding: 0; }
  .bek-lang-switch { gap: 3px; }
  .bek-topic-grid, .bek-articles-grid, .bek-mini-list, .bek-field-grid { grid-template-columns: 1fr; }
  .bek-topic-card { min-height: 0; }
  .bek-hero-buttons .bek-button { width: 100%; }
  .bek-calc { padding: 20px; }
  .bek-debt-row { grid-template-columns: 1fr 1fr 1fr; }
  .bek-debt-label { grid-column: 1 / -1; padding: 0; }
  .bek-about { flex-direction: column; }
  .bek-footer-menu { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bek-topic-card, .bek-button { transition: none; }
  .bek-topic-card:hover, .bek-button:hover { transform: none; }
}
