/* ekredit.kz — redesign 2026
   Tokens and component styles ported verbatim from the Claude Design project
   "Ekredit Redesign". Desktop values = the design's desktop state, the <=640px
   block = the design's mobile state. */

/* Manrope — self-hosted вариативный woff2 (все веса в одном файле).
   Раньше грузился с fonts.googleapis.com: лишний DNS+TLS в критическом пути
   и подмена шрифта после первой отрисовки (CLS 0.084 на мобиле). */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0C1B2A;
  --ink-2: #33475B;
  --muted: #4A5C6E;
  --muted-2: #5A6B7D;
  --muted-3: #6B7C8E;
  --muted-4: #93A1B1;
  --bg: #F4F7FB;
  --line: #E4EBF3;
  --line-2: #EAF0F7;
  --line-3: #EEF3F9;
  --blue: #0F6FE5;
  --blue-dark: #0A4FA8;
  --blue-soft: #E6F4FF;
  --cyan: #00C2FF;
  --on-dark: #B9C7D5;
  --on-dark-2: #92A6BA;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; }

h1, h2, h3, h4 { margin: 0; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slideup { from { transform: translateY(100%); } to { transform: none; } }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ------------------------------------------------------------------ topbar */
.topbar { background: var(--ink); color: var(--on-dark); font-size: 13px; }
.topbar .wrap {
  /* фиксируем высоту: подмена шрифта в строке с лицензией смещала весь документ */
  min-height: 49px;
  padding-top: 9px; padding-bottom: 9px;
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.topbar a.tel { color: #fff; font-weight: 700; display: inline-block; padding: 4px 0; }
.topbar a.tel:hover { color: #fff; }
.topbar .right { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.topbar .licence { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #7E93A8; }

.lang { display: flex; gap: 2px; background: rgba(255, 255, 255, .1); border-radius: 99px; padding: 2px; font-weight: 700; font-size: 11px; }
.lang button {
  font: inherit; border: 0; padding: 4px 10px; border-radius: 99px; cursor: pointer;
  background: transparent; color: var(--on-dark);
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }

/* ------------------------------------------------------------------ header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 32px; }
.header .logo { height: 34px; width: auto; flex: none; display: block; }
.nav { display: flex; gap: 16px; align-items: center; font-size: 14px; font-weight: 500; flex-wrap: nowrap; white-space: nowrap; }
.nav a {
  color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.header .right { margin-left: auto; display: flex; gap: 10px; align-items: center; flex: none; }

.btn-cabinet {
  padding: 11px 22px; border-radius: 99px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: transform .18s, background .18s;
}
.btn-cabinet:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

/* ------------------------------------------------------------------- shell */
.frame { max-width: 1200px; margin: 0 auto; }
.home { padding: 80px 24px 0; display: grid; gap: 56px; }

/* -------------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.hero-copy { animation: rise .6s ease both; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--blue-soft);
  color: var(--blue-dark); font-size: 13px; font-weight: 600; padding: 7px 14px;
  border-radius: 99px; margin-bottom: 24px;
}
.hero h1 { font-size: 68px; line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 20px; }
.hero-lead { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 460px; margin: 0 0 32px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.btn-primary {
  padding: 17px 34px; border-radius: 99px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 16px; box-shadow: 0 10px 30px rgba(15, 111, 229, .32);
  transition: transform .18s, box-shadow .18s; display: inline-block; text-align: center;
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(15, 111, 229, .42); }

.btn-ghost {
  padding: 17px 28px; border-radius: 99px; border: 1px solid #D3DEEA; color: var(--ink);
  font-weight: 600; font-size: 16px; transition: border-color .18s, background .18s;
  display: inline-block; text-align: center;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--blue); background: #fff; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: 26px; }
.stats .v { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.stats .k { font-size: 13px; color: var(--muted-3); margin-top: 4px; }

/* -------------------------------------------------------------- calculator */
.calc {
  background: #fff; border-radius: 28px; padding: 30px;
  box-shadow: 0 30px 70px -30px rgba(12, 27, 42, .28);
  border: 1px solid var(--line-2); animation: rise .6s .1s ease both;
}
.calc-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-3); margin-bottom: 16px; }
.seg { display: flex; background: var(--line-3); border-radius: 99px; padding: 4px; margin-bottom: 24px; font-size: 13px; font-weight: 600; }
.seg button {
  flex: 1; font: inherit; border: 0; text-align: center; padding: 9px; border-radius: 99px;
  cursor: pointer; background: transparent; color: var(--muted-3);
}
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(12, 27, 42, .12); }

.calc-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.calc-row .lbl { font-size: 15px; color: var(--muted); font-weight: 500; }
.calc-row .val { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.calc-minmax { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-4); margin: 8px 0 24px; white-space: nowrap; }

input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 99px; outline: none; border: 0; margin: 0; display: block;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 6px solid var(--blue);
  box-shadow: 0 2px 10px rgba(10, 42, 67, .25); cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  border: 6px solid var(--blue); box-shadow: 0 2px 10px rgba(10, 42, 67, .25); cursor: pointer;
}
input[type=range]:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 4px; }

.calc-total { background: var(--ink); border-radius: 20px; padding: 24px; color: #fff; }
.calc-total .k { font-size: 13px; color: var(--on-dark-2); margin-bottom: 6px; }
.calc-total .big { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.calc-total .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.calc-total .grid .k { font-size: 12px; color: var(--on-dark-2); margin: 0; }
.calc-total .grid .v { font-size: 17px; font-weight: 700; margin-top: 3px; }
.calc-total .gesv { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: var(--on-dark-2); }
.calc-total .gesv b { font-weight: 700; color: #fff; font-size: 15px; }

.calc-apply {
  display: block; padding: 17px; border-radius: 99px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 16px; text-align: center; margin-top: 18px; transition: background .18s;
}
.calc-apply:hover { background: var(--blue-dark); color: #fff; }
.calc-note { font-size: 12px; color: var(--muted-4); text-align: center; margin-top: 12px; }

/* -------------------------------------------------------------- card grids */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }

.adv {
  background: #fff; border: 1px solid var(--line-2); border-radius: 22px; padding: 26px;
  transition: transform .2s, box-shadow .2s;
}
.adv:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(12, 27, 42, .3); }
.adv .n { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 15px; margin-bottom: 18px; }
.adv .t { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.adv .d { font-size: 14px; line-height: 1.55; color: var(--muted-2); text-wrap: pretty; }

.panel { background: #fff; border: 1px solid var(--line-2); border-radius: 28px; padding: 44px; }
.panel h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 8px; }
.panel .lead { color: var(--muted-2); margin: 0 0 34px; font-size: 16px; }

.step { border-top: 2px solid var(--blue); padding-top: 18px; }
.step .n { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.step .t { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step .d { font-size: 14px; line-height: 1.55; color: var(--muted-2); }

.card-dark { background: var(--ink); color: #fff; border-radius: 28px; padding: 40px; }
.card-dark .kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 16px; }
.card-dark h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 14px; }
.card-dark p { color: var(--on-dark); font-size: 16px; line-height: 1.6; margin: 0 0 26px; text-wrap: pretty; }
.sec-list { display: grid; gap: 12px; }
.sec-list li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #E4EDF5; list-style: none; }
.sec-list .dot { width: 8px; height: 8px; border-radius: 99px; background: var(--cyan); flex: none; }
.sec-list { margin: 0; padding: 0; }
.protect-link { display: inline-block; margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--cyan); }
.protect-link:hover { color: #fff; }

.card-legal { background: #fff; border: 1px solid var(--line-2); border-radius: 28px; padding: 40px; }
.card-legal .kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-3); margin-bottom: 16px; }
.card-legal h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 24px; }
.legal-list { display: grid; gap: 18px; }
.legal-list div.row { border-bottom: 1px solid var(--line-3); padding-bottom: 14px; }
.legal-list .k { font-size: 12px; color: var(--muted-4); margin-bottom: 4px; }
.legal-list .v { font-size: 15px; font-weight: 600; }

.sec-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px; gap: 20px; flex-wrap: wrap; }
.sec-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.025em; margin: 0; }
.sec-head a { font-size: 15px; font-weight: 600; color: var(--blue); }

.review {
  background: #fff; border: 1px solid var(--line-2); border-radius: 22px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.review .txt { font-size: 15px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 8px; }
.review .ini { width: 38px; height: 38px; border-radius: 99px; background: var(--blue-soft); color: var(--blue-dark); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.review .nm { font-size: 14px; font-weight: 700; }
.review .ct { font-size: 12px; color: var(--muted-4); }

.news-card {
  display: block; background: #fff; border: 1px solid var(--line-2); border-radius: 22px;
  overflow: hidden; color: inherit; transition: transform .2s, box-shadow .2s;
}
.news-card:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(12, 27, 42, .3); }
.news-card .pic { position: relative; height: 170px; background: linear-gradient(120deg, #0F6FE5, #00A8E8); overflow: hidden; }
.news-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .body { padding: 22px; }
.news-card .date { font-size: 12px; color: var(--muted-4); margin-bottom: 8px; }
.news-card .t { font-size: 17px; font-weight: 700; line-height: 1.3; text-wrap: pretty; }
.news-card .lead { font-size: 14px; color: var(--muted-2); line-height: 1.55; margin-top: 10px; }

.cta-band {
  background: linear-gradient(120deg, #0F6FE5, #00A8E8); border-radius: 28px;
  padding: 56px 44px; color: #fff; text-align: center;
}
.cta-band h2 { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; }
.cta-band p { font-size: 17px; color: rgba(255, 255, 255, .88); margin: 0 auto 28px; max-width: 520px; }
.cta-band .btn {
  display: inline-block; padding: 18px 40px; border-radius: 99px; background: #fff;
  color: var(--blue); font-weight: 700; font-size: 17px; transition: transform .18s;
}
.cta-band .btn:hover { transform: translateY(-2px); color: var(--blue); }

/* ------------------------------------------------------------ inner pages */
.inner { padding: 56px 24px 0; }
.back { display: inline-block; font-size: 14px; color: var(--muted-3); margin-bottom: 20px; }
.back:hover { color: var(--blue); }
.inner h1 { font-size: 54px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 16px; max-width: 760px; line-height: 1.05; }
.inner .lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 640px; margin: 0 0 32px; text-wrap: pretty; }
.kz-note {
  background: #FFF6E5; border: 1px solid #F3E2BD; border-radius: 16px; padding: 16px 20px;
  font-size: 14px; color: #7A5A16; margin-bottom: 32px; max-width: 640px; display: none;
}
html[lang="kk"] .kz-note { display: block; }

.acc { display: grid; gap: 10px; max-width: 860px; }
.acc-item { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.acc-item > button {
  width: 100%; font: inherit; text-align: left; background: none; border: 0;
  padding: 22px 26px; display: flex; gap: 18px; align-items: center; cursor: pointer; color: inherit;
}
.acc-item .q { font-size: 18px; font-weight: 700; flex: 1; text-wrap: pretty; }
.acc-item .sign { font-size: 24px; color: var(--blue); font-weight: 400; line-height: 1; transition: transform .2s; }
.acc-item[open] .sign, .acc-item.open .sign { transform: rotate(45deg); }
.acc-item .a { padding: 0 26px 24px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 680px; text-wrap: pretty; }
.acc-item[hidden] { display: none; }

.cards { display: grid; gap: 16px; }
.icard {
  background: #fff; border: 1px solid var(--line-2); border-radius: 22px; padding: 30px;
  display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start;
}
.icard .tag { font-size: 13px; font-weight: 700; color: var(--blue); }
.icard .t { font-size: 20px; font-weight: 700; margin-bottom: 10px; text-wrap: pretty; }
.icard .d { font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.icard a.t-link { color: inherit; display: block; }
.icard a.t-link:hover { color: var(--blue); }

/* ------------------------------------------------------------ article page */
.article { background: #fff; border: 1px solid var(--line-2); border-radius: 28px; padding: 44px; max-width: 860px; }
.article-body { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 30px 0 14px; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 26px 0 12px; }
.article-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 8px 0; }
.article-body a { text-decoration: underline; text-underline-offset: 2px; }
.article-body strong { font-weight: 700; color: var(--ink); }
/* Drupal-класс из архивных статей: без него подписи под фото теряли центровку */
.article-body .rtecenter { text-align: center; }
.article-meta { font-size: 13px; color: var(--muted-4); margin-bottom: 26px; }
.article-cta { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-3); }

/* ------------------------------------------------------------------ footer */
.foot { padding: 80px 24px 56px; }
.foot-inner { border-top: 1px solid var(--line); padding-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.foot .logo { height: 30px; width: auto; margin-bottom: 16px; display: block; }
.foot .legal { font-size: 13px; line-height: 1.7; color: var(--muted-3); }
.foot .licence { font-size: 12px; line-height: 1.6; color: var(--muted-4); margin-top: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.foot .h { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-4); margin-bottom: 14px; }
.foot .links { display: grid; gap: 1px; font-size: 14px; }
/* высота строки 19px не дотягивала до минимальной тап-цели — добавляем
   вертикальный padding, суммарный вертикальный ритм остаётся прежним */
.foot .links a { color: var(--ink-2); transition: color .18s; padding: 6px 0; }
.foot .links a:hover { color: var(--blue); }
.foot .contact { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.foot .contact a[href^="tel"] { font-weight: 700; }
.foot .pay { display: flex; gap: 8px; margin-top: 18px; font-size: 11px; color: var(--muted-4); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.foot .pay span { border: 1px solid #DCE5EF; border-radius: 8px; padding: 8px 12px; }
.foot-note { max-width: 1200px; margin: 0 auto; padding: 0 24px 40px; font-size: 13px; line-height: 1.7; color: var(--muted-3); }

/* -------------------------------------------------------------- sticky bar */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; animation: slideup .28s ease both; }
.sticky-cta .in {
  max-width: 430px; margin: 0 auto; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -12px rgba(12, 27, 42, .25); padding: 12px 16px;
  display: flex; align-items: center; gap: 14px;
}
.sticky-cta .txt { flex: 1; min-width: 0; }
.sticky-cta .k { font-size: 11px; color: var(--muted-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .v { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.sticky-cta .btn { flex: none; padding: 14px 22px; border-radius: 99px; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: #fff; color: var(--blue);
  padding: 10px 16px; border-radius: 0 0 12px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------- 1024 and down */
@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 52px; }
  .hero-lead { max-width: none; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .panel { padding: 34px; }
  .inner h1 { font-size: 44px; }
  .home { padding-top: 56px; gap: 44px; }
}

/* --------------------------------- 640 and down = the design's mobile state */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .topbar { font-size: 12px; }
  .topbar .licence { display: none; }
  .topbar .right { margin-left: auto; }

  .header .wrap { flex-wrap: wrap; gap: 12px 16px; padding-top: 12px; padding-bottom: 10px; }
  .header .logo { height: 30px; }
  .header .right { margin-left: auto; }
  .nav {
    order: 3; width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 2px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    /* без min-width:0 flex-элемент не сжимается меньше содержимого и
       растягивает документ — страница скроллилась по горизонтали */
    min-width: 0; flex: 1 1 100%;
  }
  .nav::-webkit-scrollbar { display: none; }
  .btn-cabinet { padding: 9px 16px; font-size: 13px; }

  .home { padding: 40px 16px 0; gap: 40px; }
  .hero { gap: 32px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 17px; }
  .btn-primary, .btn-ghost { flex: 1 1 auto; }
  .stats { gap: 14px; }
  .stats .v { font-size: 22px; }

  .calc { padding: 22px; border-radius: 24px; }
  .calc-total .big { font-size: 34px; }

  .grid4, .grid3 { grid-template-columns: 1fr; }
  .panel { padding: 26px; border-radius: 24px; }
  .panel h2, .sec-head h2 { font-size: 28px; }
  .card-dark, .card-legal { padding: 28px; border-radius: 24px; }
  .card-dark h2, .card-legal h2 { font-size: 26px; }
  .cta-band { padding: 40px 24px; border-radius: 24px; }
  .cta-band h2 { font-size: 30px; }

  .inner { padding: 36px 16px 0; }
  .inner h1 { font-size: 36px; }
  .inner .lead { font-size: 17px; }
  .icard { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .article { padding: 26px; border-radius: 24px; }
  .article-body { font-size: 16px; }

  .foot { padding: 56px 16px 40px; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot .links { gap: 0; }
  .foot .links a { padding: 11px 0; }
  .foot .contact a { display: inline-block; padding: 5px 0; }
  .topbar a.tel { padding: 7px 0; }
  .foot-note { padding: 0 16px 32px; }

  body.has-sticky .sticky-cta { display: block; }
  @media (max-width: 380px) {
    .sticky-cta .v { font-size: 17px; }
    .sticky-cta .btn { padding: 13px 16px; font-size: 14px; }
  }
  body.has-sticky { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Плашка на публикациях до 2020: в них ещё «от 7 000 ₸», Касса 24 и «Золотая
   Корона» — условия, которых больше нет. Ведёт на актуальные Правила. */
.archive-note {
  background: #F1F5FA; border: 1px solid #DFE8F2; border-left: 3px solid var(--muted-4);
  border-radius: 14px; padding: 14px 18px; font-size: 14px; line-height: 1.55;
  color: var(--muted-3); margin-bottom: 28px; max-width: 860px;
}
.archive-note a { font-weight: 600; }

/* h2, обёрнутый вокруг кнопки аккордеона (button не может содержать заголовок) */
.acc-h { margin: 0; font-size: inherit; font-weight: inherit; }
.acc-h > button { width: 100%; }

/* ------------------------------------------------------------- хлебные крошки */
.crumbs { font-size: 13px; color: var(--muted-4); margin-bottom: 14px; line-height: 1.6; }
.crumbs a { color: var(--muted-3); }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { margin: 0 8px; color: #C6D2DF; }
.crumbs span[aria-current] { color: var(--muted-3); }

/* --------------------------------------------------- подпись автора и даты */
.article-meta {
  font-size: 13px; color: var(--muted-4); margin-bottom: 26px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0;
}
.article-meta .sep { margin: 0 8px; color: #C6D2DF; }
.article-meta .author a { font-weight: 600; }

/* ------------------------------------------------------------ читайте также */
.related { margin-top: 44px; max-width: 860px; }
.related h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel-card {
  display: flex; flex-direction: column; gap: 8px; background: #fff;
  border: 1px solid var(--line-2); border-radius: 18px; padding: 20px; color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.rel-card:hover { color: inherit; transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(12, 27, 42, .3); }
.rel-card .d { font-size: 12px; color: var(--muted-4); }
.rel-card .t { font-size: 15px; font-weight: 700; line-height: 1.35; text-wrap: pretty; }

@media (max-width: 1023px) { .rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .rel-grid { grid-template-columns: 1fr; } .related { margin-top: 32px; } }
