/* travelinsurance.kz — стили (дизайн-прототип travelinsurance.kz.dc.html + контентные страницы) */
:root {
  --blue: #1A56DB;
  --blue-d: #1648B8;
  --blue-bg: #EAF0FC;
  --blue-bg2: #E8EFFC;
  --navy: #0F2140;
  --navy2: #0F2A66;
  --bg: #F5F7FB;
  --card: #fff;
  --line: #E3E8F0;
  --line2: #EDF1F7;
  --input-bd: #D5DCE8;
  --text: #101828;
  --text2: #33415C;
  --text3: #40506B;
  --muted: #5A6B85;
  --muted2: #5E6D87; /* ≥4.5:1 и на белом, и на фоне #F5F7FB (AA для мелкого текста) */
  --green: #12855F;
  --green-d: #0E6E4E;
  --green-bg: #E8F5EE;
  --amber-bg: #FFF6E5;
  --amber: #8A5A00;
  --shadow-card: 0 12px 28px rgba(16, 42, 102, .10);
  --shadow-pop: 0 18px 44px rgba(16, 42, 102, .16);
  --container: 1140px;
}

/* Метрически подогнанный fallback на время загрузки Golos (Golos/Arial ≈ 1.064 @400, 1.003 @800) */
@font-face { font-family: 'Golos Fallback'; src: local('Arial'); font-weight: 400 500; size-adjust: 106%; }
@font-face { font-family: 'Golos Fallback'; src: local('Arial'); font-weight: 600 900; size-adjust: 100%; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: 'Golos Text', 'Golos Fallback', Arial, system-ui, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
input, select, button { font: inherit; }
input:focus, select:focus { outline: 2px solid rgba(26, 86, 219, .25); border-color: var(--blue) !important; }
button:focus-visible, .btn:focus-visible, [role="button"]:focus-visible, a:focus-visible { outline: 2px solid rgba(26, 86, 219, .45); outline-offset: 2px; }
h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
#app { min-height: 100vh; } /* CLS-guard: футер не должен рисоваться в вьюпорте до контента */
.muted { color: var(--muted2); font-size: 13px; }
.note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.note-inline { font-size: 12.5px; color: var(--muted2); flex-basis: 100%; }
.more { margin-top: 18px; font-size: 14.5px; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 10px; cursor: pointer; white-space: nowrap;
  font-weight: 700; color: #fff; background: var(--blue); transition: background .15s, color .15s;
}
.btn:hover { background: var(--blue-d); color: #fff; }
.btn-primary { height: 46px; padding: 0 28px; font-size: 15.5px; }
.btn-header { height: 40px; padding: 0 20px; border-radius: 9px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 32px; border-radius: 11px; font-size: 15.5px; font-weight: 800; }
.btn-white { background: #fff; color: var(--navy2); height: 52px; padding: 0 30px; border-radius: 11px; font-size: 16px; font-weight: 800; }
.btn-white:hover { background: var(--blue-bg2); color: var(--navy2); }
.btn-white.on-blue { color: var(--blue); height: 50px; }
.btn-white.on-blue:hover { color: var(--blue); }
.btn-ghost { background: #fff; color: var(--blue); border: 1px solid #C9D6EE; height: 38px; padding: 0 16px; border-radius: 9px; font-size: 13.5px; }
.btn-ghost:hover { background: var(--blue-bg); color: var(--blue); }
.btn-outline { background: #fff; color: var(--text2); border: 1px solid #C9D6EE; height: 50px; padding: 0 20px; border-radius: 11px; font-size: 14.5px; }
.btn-outline:hover { background: #F5F8FE; color: var(--text2); }
.btn-soft { background: var(--blue-bg); color: var(--blue); height: 34px; padding: 0 16px; border-radius: 8px; font-size: 13.5px; }
.btn-soft:hover { background: #DCE6F9; color: var(--blue); }
.btn-green { background: var(--green); }
.btn-green:hover { background: var(--green-d); }
.btn-buy { width: 100%; height: 42px; font-size: 14.5px; }
.link-btn { background: none; border: none; padding: 0; color: var(--blue); font-weight: 700; cursor: pointer; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #B9C6DD; font-size: 12.5px; }
.topbar .container { padding-top: 7px; padding-bottom: 7px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 14px; }
.topbar a { color: #fff; font-weight: 600; }

/* ---------- Header ---------- */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .container { height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { cursor: pointer; font-size: 21px; letter-spacing: -.3px; white-space: nowrap; background: none; border: none; padding: 0; color: inherit; display: inline-block; }
.logo b { font-weight: 800; color: var(--text); }
.logo i { font-weight: 700; font-style: italic; color: var(--blue); }
.logo small { font-weight: 600; color: var(--muted2); font-size: 15px; }
.nav { display: flex; gap: 22px; font-size: 14.5px; font-weight: 500; flex: 1; }
.nav a { color: var(--text2); }
.nav a:hover { color: var(--blue); }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 44px; height: 44px; cursor: pointer; color: var(--text2); font-size: 20px; line-height: 1; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #E9F0FC 0%, #F5F7FB 100%); padding: 56px 0 64px; }
.hero .container { text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #D8E2F4;
  color: var(--blue); font-size: 13px; font-weight: 600; border-radius: 999px; padding: 7px 14px;
}
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.12; margin: 18px auto 14px; max-width: 800px; }
.hero-sub { font-size: 17px; color: var(--text3); line-height: 1.55; max-width: 640px; margin: 0 auto 30px; }
.trust { display: flex; gap: 26px; justify-content: center; margin-top: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text3); font-weight: 500; }
.trust b { color: var(--blue); font-weight: 800; }

/* ---------- Search box ---------- */
.search {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 50px rgba(16, 42, 102, .12); padding: 20px; text-align: left;
}
.search-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.calc-embed .search-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.calc-embed .search-grid .btn-primary { width: 100%; }
.field { position: relative; }
.field-label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .6px; text-transform: uppercase; margin-bottom: 6px; }
.control {
  width: 100%; height: 46px; border: 1px solid var(--input-bd); border-radius: 10px; padding: 0 12px; background: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; text-align: left; color: var(--text);
}
.control:hover { border-color: var(--blue); }
.control .val { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.control .val.placeholder { color: var(--muted2); }
.control .caret { color: var(--muted2); font-size: 11px; }
.dates { display: flex; gap: 8px; }
.input {
  width: 100%; min-width: 0; height: 46px; border: 1px solid var(--input-bd); border-radius: 10px; padding: 0 10px;
  font-size: 14px; color: var(--text); background: #fff;
}
.overlay { position: fixed; inset: 0; z-index: 60; background: transparent; border: none; padding: 0; cursor: default; }
.drop {
  position: absolute; top: calc(100% + 6px); left: 0; width: 290px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-pop); z-index: 61; padding: 8px; max-height: 330px; overflow: auto;
}
.drop.right { left: auto; right: 0; width: 280px; padding: 14px; max-height: none; }
.check-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer;
  width: 100%; background: none; border: none; text-align: left; color: var(--text);
}
.check-row:hover { background: #F0F4FC; }
.check-row .name { font-size: 14.5px; font-weight: 500; }
.box {
  width: 18px; height: 18px; flex: none; border-radius: 5px; border: 2px solid #B9C4D6; background: #fff; color: #fff;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.box.on { border-color: var(--blue); background: var(--blue); }
.box.on::after { content: '✓'; }
.radio { width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 50%; border: 2px solid #B9C4D6; background: #fff; }
.radio.on { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.trav-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.trav-row .t-label { flex: 1; font-size: 14px; font-weight: 600; }
.trav-row select { width: 90px; height: 38px; border: 1px solid var(--input-bd); border-radius: 9px; font-size: 14px; padding: 0 8px; background: #fff; }
.trav-row .unit { font-size: 12.5px; color: var(--muted2); width: 26px; }
.trav-row .rm { cursor: pointer; color: #C0392B; font-size: 20px; line-height: 1; background: none; border: none; min-width: 36px; min-height: 36px; border-radius: 8px; }
.trav-row .rm:hover { background: #FDECEA; }
.trav-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line2); padding-top: 12px; }
.promo {
  margin-top: 14px; background: var(--navy); color: #DCE6F7; border-radius: 10px; padding: 10px 14px; font-size: 13.5px;
  display: flex; gap: 8px; align-items: center;
}
.promo b { background: var(--blue); color: #fff; border-radius: 6px; font-weight: 800; font-size: 12px; padding: 3px 8px; letter-spacing: .5px; }

/* ---------- Stats ---------- */
.stats { background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 10px; }
.stats > div { text-align: center; border-right: 1px solid var(--line2); }
.stats > div:last-child { border-right: none; }
.stats .n { font-size: 26px; font-weight: 800; }
.stats .l { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-top: 72px; }
.section.last { padding-bottom: 80px; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.section h2 { font-size: 32px; font-weight: 800; letter-spacing: -.6px; margin: 0 0 26px; }
.section h2.tight { margin-bottom: 8px; }
.lead { color: var(--muted); font-size: 15.5px; margin: 0 0 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card.clickable { cursor: pointer; transition: box-shadow .15s, transform .15s; text-align: left; color: inherit; width: 100%; display: block; }
.card.clickable:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); color: inherit; }

.dest { padding: 18px; }
.dest-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dest-head .name { font-size: 17px; font-weight: 700; }
.dest-head .arrow { color: var(--blue); font-weight: 700; }
.dest-note { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.dest-price { font-size: 14px; font-weight: 700; color: var(--blue); }

.step-num { width: 34px; height: 34px; border-radius: 10px; background: var(--blue-bg); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.card-text { font-size: 14px; color: var(--muted); line-height: 1.55; }

.cover { padding: 18px; display: flex; gap: 12px; }
.tick { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--green-bg); color: var(--green); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cover .t { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 3px; }
.cover .d { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.options-row { background: #fff; border: 1px dashed #C4D2EA; border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.options-row .lbl { font-size: 14px; font-weight: 700; color: var(--text2); }
.chip { background: var(--blue-bg); color: var(--blue); font-size: 13px; font-weight: 600; border-radius: 999px; padding: 6px 12px; }

.visa { background: var(--navy2); border-radius: 20px; padding: 40px 44px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center; color: #fff; }
.visa .eyebrow { color: #9DB8F0; margin-bottom: 10px; }
.visa h2 { font-size: 30px; margin-bottom: 14px; }
.visa-list { display: grid; gap: 9px; font-size: 15px; color: #D8E2F7; }
.visa-cta { text-align: center; }
.visa-cta .from { font-size: 13px; color: #9DB8F0; margin-top: 10px; }

.insurer { padding: 18px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.avatar { width: 44px; height: 44px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; flex: none; }
.insurer .name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.insurer .assist { font-size: 11.5px; color: var(--muted2); line-height: 1.3; }

.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-h { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 20px; cursor: pointer;
  width: 100%; background: none; border: none; text-align: left; color: var(--text);
}
.faq-q:hover { background: #FAFBFE; }
.faq-q .q { font-size: 15.5px; font-weight: 700; }
.faq-q .pm { color: var(--blue); font-size: 19px; font-weight: 600; line-height: 1; }
.faq-a { padding: 0 20px 17px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

.blog-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 26px; gap: 16px; }
.blog-head h2 { margin: 0; }
.blog-head a { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.post { transition: box-shadow .15s; }
.post:hover { box-shadow: var(--shadow-card); }
.tag { display: inline-block; background: var(--blue-bg); color: var(--blue); font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }
.post-title { font-size: 16.5px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--blue); }
.post-text { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.post-date { font-size: 12.5px; color: var(--muted2); }

.cta-band { background: var(--blue); border-radius: 20px; padding: 44px; text-align: center; color: #fff; }
.cta-band h2 { font-size: 30px; margin-bottom: 10px; }
.cta-band p { font-size: 15.5px; color: #CFE0FB; margin: 0 0 24px; }

/* ---------- Results ---------- */
.screen { padding: 26px 0 70px; width: 100%; }
.summary-bar {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 22px;
}
.summary-bar .dest { font-size: 16px; font-weight: 800; padding: 0; margin: 0; }
.summary-bar .sep { color: var(--input-bd); }
.summary-bar .txt { font-size: 14.5px; color: var(--text2); }
.summary-bar .spacer { flex: 1; }
.summary-bar .count { font-size: 13.5px; color: var(--muted2); }
.results-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 20px; align-items: start; }
.filters { position: sticky; top: 86px; display: grid; gap: 14px; }
.filter { padding: 18px; }
.filter-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--text2); margin-bottom: 12px; }
.opt-row {
  display: flex; gap: 10px; align-items: flex-start; padding: 8px 6px; border-radius: 8px; cursor: pointer;
  width: 100%; background: none; border: none; text-align: left; color: var(--text);
}
.opt-row:hover { background: #F5F8FE; }
.opt-row .l { display: block; font-size: 14.5px; font-weight: 700; }
.opt-row .s { font-size: 12.5px; color: var(--muted2); }
.filter-note { font-size: 12.5px; color: var(--muted2); border-top: 1px solid var(--line2); margin-top: 10px; padding-top: 10px; }
.offers { display: grid; gap: 14px; }
.offer { border-radius: 16px; padding: 20px 22px; transition: box-shadow .15s; }
.offer:hover { box-shadow: 0 12px 28px rgba(16, 42, 102, .08); }
.offer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.offer-head .avatar { width: 42px; height: 42px; border-radius: 11px; font-size: 18px; }
.offer-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.offer-name .n { font-size: 17px; font-weight: 800; }
.badge { background: var(--green-bg); color: var(--green); font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.offer-meta { display: block; font-size: 12.5px; color: var(--muted2); margin-top: 2px; }
.offer-body { display: grid; grid-template-columns: 1fr 210px; gap: 18px; }
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; align-content: start; }
.covers .c { font-size: 13.5px; color: var(--text2); }
.covers .c b { color: var(--green); font-weight: 800; }
.covers .x { font-size: 13.5px; color: var(--blue); font-weight: 600; }
.covers .x b { font-weight: 800; }
.price-col { border-left: 1px solid var(--line2); padding-left: 18px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2px; }
.price-col .per-day { font-size: 12.5px; color: var(--muted2); }
.price-col .price { font-size: 25px; font-weight: 800; letter-spacing: -.5px; }
.price-col .note { font-size: 12.5px; color: var(--muted2); margin: 0 0 10px; }
.fineprint { font-size: 12.5px; color: var(--muted2); text-align: center; padding: 6px 40px; line-height: 1.6; }

/* ---------- Checkout ---------- */
.steps { display: flex; justify-content: center; margin-bottom: 26px; }
.step { display: flex; align-items: center; }
.step-inner { display: flex; align-items: center; gap: 9px; }
.step-dot {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--input-bd); background: #fff; color: var(--muted2);
  font-size: 13.5px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step-label { font-size: 14px; font-weight: 700; color: var(--muted2); }
.step.on .step-dot { border-color: var(--blue); background: var(--blue); color: #fff; }
.step.on .step-label { color: var(--text); }
.step-line { width: 56px; height: 2px; background: var(--input-bd); margin: 0 14px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; align-items: start; }
.form-card { border-radius: 16px; padding: 26px; margin-bottom: 14px; }
.form-title { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.form-sub { font-size: 13.5px; color: var(--muted2); margin-bottom: 18px; line-height: 1.55; }
.params { display: grid; gap: 10px; font-size: 14.5px; margin-bottom: 22px; }
.params > div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line2); }
.params dt { color: var(--muted2); }
.params dd { font-weight: 600; }
.legal { font-size: 12.5px; color: var(--muted2); margin-top: 12px; }
.handoff { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.notice { background: var(--amber-bg); color: var(--amber); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.55; }
.notice a { color: var(--amber); font-weight: 700; text-decoration: underline; }
.actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.secure { font-size: 12.5px; color: var(--muted2); margin-top: 14px; }

.order { position: sticky; top: 86px; border-radius: 16px; padding: 22px; }
.order-offer { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--line2); margin-bottom: 14px; }
.order-offer .avatar { width: 38px; height: 38px; border-radius: 10px; font-size: 16px; }
.order-offer .n { display: block; font-size: 15.5px; font-weight: 800; }
.order-offer .a { font-size: 12.5px; color: var(--muted2); }
.order-rows { display: grid; gap: 9px; font-size: 13.5px; }
.order-rows > div { display: flex; justify-content: space-between; gap: 12px; }
.order-rows .k { color: var(--muted2); }
.order-rows .v { font-weight: 700; text-align: right; }
.order-rows .v.narrow { max-width: 180px; }
.order-total { border-top: 1px solid var(--line2); margin-top: 14px; padding-top: 14px; }
.order-total .row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 6px; }
.order-total .row.promo-row { margin-bottom: 10px; color: var(--green); font-weight: 700; }
.order-total .strike { color: var(--muted2); text-decoration: line-through; }
.order-total .sum { display: flex; justify-content: space-between; align-items: center; }
.order-total .sum .k { font-size: 14.5px; font-weight: 700; }
.order-total .sum .v { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.order-note { font-size: 12.5px; color: var(--muted2); margin-top: 8px; }

/* ---------- Контентные страницы ---------- */
.page-head { background: linear-gradient(180deg, #E9F0FC 0%, #F5F7FB 100%); padding: 36px 0 28px; }
.crumbs { font-size: 13px; color: var(--muted2); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; }
.page-head h1 { font-size: 36px; font-weight: 800; letter-spacing: -.9px; line-height: 1.15; max-width: 860px; }
.page-head .lead { margin: 12px 0 0; max-width: 760px; }
.page-body { padding: 36px 0 80px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.prose { font-size: 16px; line-height: 1.65; color: var(--text2); min-width: 0; }
.prose h2 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; color: var(--text); margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose p a, .prose li a, .prose td a, .side ul a, .p404 p a { text-decoration: underline; text-underline-offset: 2px; }
.prose .callout { background: var(--blue-bg); border: 1px solid #D8E2F4; border-radius: 12px; padding: 14px 18px; margin: 18px 0; font-size: 15px; color: var(--text2); }
.prose .warn { background: var(--amber-bg); border-color: #F1C27A; color: var(--amber); }
.prose .fact { font-size: 13px; color: var(--muted2); margin: -6px 0 16px; }
.table-wrap { overflow-x: auto; margin: 0 0 18px; }
table.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14.5px; }
table.tbl th, table.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line2); text-align: left; vertical-align: top; }
table.tbl th { background: #F5F8FE; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl td.num { text-align: right; white-space: nowrap; font-weight: 700; }
.side { position: sticky; top: 86px; display: grid; gap: 14px; }
.side .card { padding: 20px; }
.side .card h2, .side .card .h { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.side .card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0 0 12px; }
.side .btn { width: 100%; }
.side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.calc-embed { margin: 0 0 28px; }
.calc-embed .search { box-shadow: none; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.steps-list li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 58px; position: relative; }
.steps-list li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 9px; background: var(--blue-bg); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps-list li b { display: block; color: var(--text); margin-bottom: 3px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 22px; }
.contact-grid .card { padding: 18px; }
.contact-grid .k { font-size: 12.5px; color: var(--muted2); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; margin-bottom: 6px; }
.contact-grid .v { font-size: 17px; font-weight: 700; }
.contact-grid .v a { color: var(--text); }
.country-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0 0 18px; }
.country-list a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-weight: 600; color: var(--text); }
.country-list a:hover { border-color: var(--blue); color: var(--blue); }
.placeholder { background: var(--amber-bg); color: var(--amber); border-radius: 6px; padding: 1px 6px; font-weight: 700; }
.p404 { text-align: center; padding: 70px 20px 90px; }
.p404 .code { font-size: 96px; font-weight: 800; color: var(--blue); letter-spacing: -4px; line-height: 1; }
.p404 h1 { font-size: 30px; margin: 12px 0 10px; }
.p404 p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #B9C6DD; margin-top: auto; }
.footer .container { padding-top: 48px; padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 26px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .logo { font-size: 19px; margin-bottom: 10px; cursor: default; }
.footer .logo b { color: #fff; }
.footer .logo i { color: #7FA6EF; }
.footer .logo small { color: #93A3C0; font-size: 14px; }
.footer-about { font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.footer-phone { display: block; color: #fff; font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.footer-mail { color: #7FA6EF; font-size: 13.5px; }
.footer-col .h4 { font-size: 13px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 12px; }
.footer-col nav { display: grid; gap: 8px; font-size: 13.5px; }
.footer-col a { color: #B9C6DD; }
.footer-col a:hover { color: #fff; }
.footer-legal { font-size: 12.5px; color: #93A3C0; line-height: 1.6; padding-top: 22px; max-width: 860px; }
.footer-legal p { margin: 0 0 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid .btn-primary { width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .results-layout, .checkout-layout, .content-layout { grid-template-columns: 1fr; }
  .filters, .order, .side { position: static; }
  .filters { grid-template-columns: 1fr 1fr; }
  .visa { grid-template-columns: 1fr; padding: 32px 28px; }
  .visa-cta { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .country-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 14px; gap: 0; box-shadow: 0 12px 28px rgba(16, 42, 102, .08); }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line2); }
  .nav.open a:last-child { border-bottom: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .header .container { gap: 12px; }
  .header .btn-header { display: none; }
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 34px; letter-spacing: -.8px; }
  .hero-sub { font-size: 15.5px; }
  .section { padding-top: 52px; }
  .section h2 { font-size: 26px; }
  .page-head h1 { font-size: 28px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .stats > div:nth-child(2) { border-right: none; }
  .offer-body { grid-template-columns: 1fr; }
  .price-col { border-left: none; border-top: 1px solid var(--line2); padding-left: 0; padding-top: 14px; align-items: stretch; text-align: right; }
  .cta-band { padding: 32px 22px; }
  .cta-band h2 { font-size: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .params > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 640px) {
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-right { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .search { padding: 14px; border-radius: 14px; }
  .search-grid { grid-template-columns: 1fr; }
  .drop, .drop.right { width: 100%; left: 0; right: 0; }
  .grid-3, .grid-4, .filters { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: 1fr 1fr; }
  .country-list { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { justify-content: flex-start; overflow-x: auto; }
  .step-line { width: 24px; margin: 0 8px; }
  .step-label { display: none; }
  .step.on .step-label { display: inline; }
  .summary-bar { gap: 8px 14px; }
  .summary-bar .sep { display: none; }
  .fineprint { padding: 6px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .blog-head { flex-direction: column; align-items: flex-start; }
  .prose { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Виджет подбора Cherehapa (порт polisonline.kz; токены: --brand→--blue) ---------- */
#che-widget { --brand: var(--blue); --brand-600: var(--blue-d); --ink: var(--text); --radius: 16px; --chebg: #F5F7FB; text-align: left; }
#che-widget .muted { color: var(--muted); font-size: inherit; }
#che-widget .small { font-size: 13.5px; }
#che-widget .card-h { font-size: 19px; font-weight: 800; color: var(--text); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 6px; }
#che-widget .calc-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }
#che-widget .field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .2px; }
#che-widget .field input, #che-widget .field select { font: inherit; font-size: 15px; font-weight: 500; color: var(--text); padding: 12px 13px; border: 1.5px solid var(--input-bd); border-radius: 10px; background: #fff; width: 100%; }
#che-widget .field input:focus, #che-widget .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 86, 219, .12); }
#che-widget .btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
#che-widget .btn-ghost.btn-sm { height: 38px; }
#che-widget .btn-block { width: 100%; }
#che-widget .btn-lg { height: 52px; font-size: 16px; }
#che-widget .rf-ok-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); color: var(--green); font-size: 30px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.che-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.hero .che-card { box-shadow: 0 20px 50px rgba(16, 42, 102, .12); border-radius: 18px; }
.che-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.che-offers { display: grid; gap: 10px; }
.che-offer { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; flex-wrap: wrap; }
.che-o-info { display: grid; gap: 2px; }
.che-o-info b { font-size: 16px; }
.che-o-buy { display: flex; align-items: center; gap: 12px; }
.che-o-price { font-size: 20px; white-space: nowrap; letter-spacing: -.3px; }
.che-chosen { background: var(--chebg); border-radius: 10px; padding: 10px 14px; }
.che-tourist { border-top: 1px dashed var(--line); padding-top: 12px; }
.che-center { text-align: center; justify-items: center; }
.che-filters { display: grid; gap: 10px; background: var(--chebg); border-radius: 12px; padding: 14px; position: relative; }
.che-f-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.che-f-label { font-size: 13px; color: var(--muted); min-width: 88px; }
.che-seg { display: inline-flex; border: 1.5px solid var(--input-bd); border-radius: 10px; overflow: hidden; }
.che-seg-b { font: inherit; font-size: 13px; padding: 8px 12px; background: #fff; border: 0; cursor: pointer; white-space: nowrap; }
.che-seg-b + .che-seg-b { border-left: 1.5px solid var(--input-bd); }
.che-seg-b.on { background: var(--blue); color: #fff; }
.che-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.che-chip { font: inherit; font-size: 13px; padding: 7px 12px; border: 1.5px solid var(--input-bd); border-radius: 999px; background: #fff; cursor: pointer; white-space: nowrap; }
.che-chip.on { border-color: var(--blue); background: var(--blue); color: #fff; }
.che-chip-sm { font-size: 12px; padding: 5px 10px; }
.che-chip[disabled] { opacity: .45; cursor: default; }
.che-o-main { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; width: 100%; }
.che-details-btn { font: inherit; font-size: 12.5px; background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0; text-align: left; text-decoration: underline dotted; }
.che-o-details { width: 100%; border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 8px; }
.che-o-details table { width: 100%; font-size: 13px; border-collapse: collapse; }
.che-o-details td { padding: 3px 0; color: var(--muted); }
.che-rules { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: none; }
.che-rules:hover { text-decoration: underline; }
.che-o-details td:last-child { text-align: right; color: inherit; font-weight: 600; }
.che-offers.che-loading { opacity: .45; pointer-events: none; }
.che-spin { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: chespin .9s linear infinite; margin: 0 auto; }
@keyframes chespin { to { transform: rotate(360deg); } }
.che-o-logo { flex: 0 0 96px; display: flex; align-items: center; }
.che-logo { max-width: 96px; max-height: 34px; object-fit: contain; }
.che-logo-letter { width: 38px; height: 38px; border-radius: 10px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.che-grid-form .field select { min-height: 52px; font-size: 16px; }
.che-fbtn-wrap { display: grid; gap: 6px; }
.che-fbtn { font: inherit; font-size: 15.5px; text-align: left; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--input-bd); border-radius: 12px; background: #fff; cursor: pointer; width: 100%; color: var(--text); }
.che-fbtn:hover { border-color: var(--blue); }
.che-fbtn b { font-weight: 600; }
.che-addtr { border-style: dashed; color: var(--blue); font-weight: 700; text-align: center; }
.che-addtr:hover { border-color: var(--blue); }
.che-addtr:disabled { opacity: .45; cursor: default; }
.che-popwrap { position: relative; }
.che-pop { position: absolute; top: 6px; left: 0; z-index: 40; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-pop); padding: 14px; width: min(360px, 100%); }
.che-pop[hidden] { display: none; }
.che-cal.che-pop { width: min(640px, 100%); }
.che-cal-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.che-cal-months { display: flex; gap: 18px; flex: 1; }
.che-cal-m { flex: 1; min-width: 0; }
.che-cal-t { text-align: center; font-weight: 700; font-size: 15px; margin: 8px 0 6px; }
.che-cal-nav { font: inherit; font-size: 22px; line-height: 1; width: 44px; height: 44px; border: 0; background: var(--chebg); border-radius: 10px; cursor: pointer; }
.che-cal-nav:disabled { opacity: .35; cursor: default; }
.che-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.che-cal-dow { margin-bottom: 2px; }
.che-cal-dow span { text-align: center; font-size: 12px; color: var(--muted); padding: 4px 0; }
.che-day { font: inherit; font-size: 15px; min-height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--text); }
.che-day:hover { background: var(--chebg); }
.che-day.dis { color: #c3cad6; cursor: default; }
.che-day.mid { background: var(--blue-bg); border-radius: 0; }
.che-day.sel { background: var(--blue); color: #fff; font-weight: 700; }
.che-day.sel.s { border-radius: 10px 0 0 10px; }
.che-day.sel.e { border-radius: 0 10px 10px 0; }
.che-day.sel.s.e { border-radius: 10px; }
.che-tr-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.che-tr-row > span:first-child { flex: 1; font-size: 15px; }
.che-step { display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--input-bd); border-radius: 12px; overflow: hidden; }
.che-age-in { width: 52px; text-align: center; border: 0; background: none; font: inherit; font-size: 17px; font-weight: 700; padding: 0; }
.che-age-in:focus { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 8px; }
.che-step button { font: inherit; font-size: 22px; width: 44px; height: 44px; border: 0; background: var(--chebg); cursor: pointer; line-height: 1; }
.che-tr-del { font: inherit; font-size: 20px; border: 0; background: none; color: var(--muted); cursor: pointer; width: 36px; height: 36px; }
.che-tr-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; }
.che-country-wrap { position: relative; }
.che-country-wrap .che-pop { top: calc(100% + 6px); }
.che-country-in { font: inherit; font-size: 15.5px; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--input-bd); border-radius: 12px; background: #fff; width: 100%; color: var(--text); }
.che-country-in:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.che-cc { display: block; max-height: 420px; overflow-y: auto; padding: 6px; overscroll-behavior: contain; }
.che-cc .che-cc-item { display: block; width: 100%; }
.che-cc-item { font: inherit; font-size: 15px; text-align: left; padding: 11px 12px; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--text); }
.che-cc-item:hover { background: var(--chebg); }
.che-cc-none { padding: 10px; }
.che-quick { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: -6px 0 14px; }
.che-abroad { display: inline-flex; gap: 7px; align-items: center; margin-left: auto; cursor: pointer; color: var(--muted); }
.che-abroad input { width: 17px; height: 17px; accent-color: var(--blue); }
.che-warn { background: var(--amber-bg); border: 1px solid #F1C27A; color: var(--amber); border-radius: 10px; padding: 10px 14px; font-size: 14px; line-height: 1.5; margin: 2px 0 14px; }
.che-sport-wrap { position: relative; display: inline-flex; }
.che-sport-pop { left: auto; right: 0; top: calc(100% + 6px); width: min(460px, 92vw); }
.che-sport-pop .che-f-label { display: block; margin-bottom: 10px; }
.che-tr-cap { font-weight: 700; font-size: 14px; margin: 10px 0 2px; }
.che-bday { font: inherit; font-size: 15.5px; min-height: 48px; padding: 10px 46px 10px 14px; border: 1.5px solid var(--input-bd); border-radius: 12px; width: 100%; }
#che-widget .invalid { border-color: #e5484d; background: #fff6f6; }
#che-widget .invalid:focus { outline-color: #e5484d; }
.che-bd-wrap { position: relative; display: block; }
.che-bd-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.che-bd-btn:hover { background: var(--chebg); color: var(--blue); }
.che-bd { width: min(320px, 88vw); left: auto; right: 0; top: calc(100% + 6px); }
.che-bd-h { display: flex; gap: 8px; margin-bottom: 8px; }
.che-bd-h select { font: inherit; font-size: 15px; min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--input-bd); border-radius: 10px; background: #fff; flex: 1; }
.che-same { margin: 10px 0 4px; }
.che-support { margin-top: 14px; }
.che-support a { color: var(--blue); }
.btn-again { margin-top: 10px; }
.che-pay .che-pay-logo { color: #2b2a6e; height: 30px; width: auto; margin-bottom: 6px; }
.che-pay-secure { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 600; font-size: 14px; margin: 2px 0 12px; }
.che-lock { display: inline-flex; }
.che-pay-sum { display: grid; gap: 2px; background: var(--chebg); border-radius: 12px; padding: 12px 16px; margin: 0 auto 14px; max-width: 420px; }
.che-pay-sum b { font-size: 26px; line-height: 1.2; }
.che-pay-cards { margin-top: 12px; }
.che-msg { margin: 0; }
.che-fallback { display: grid; gap: 10px; font-size: 14.5px; color: var(--text2); }
@media (max-width: 699px) { .che-cal.che-pop { width: min(360px, 100%); } .che-sport-wrap { position: static; } .che-sport-pop { left: 0; right: 0; top: 100%; width: auto; } }
@media (max-width: 560px) { .che-pop { left: 0; right: 0; width: auto; max-height: 70vh; overflow: auto; } .che-abroad { margin-left: 0; } .che-o-logo { flex-basis: 72px; } .che-logo { max-width: 72px; } .che-bd { left: 0; right: auto; } }

/* ---------- Виджет в контенте и блог ---------- */
.calc-embed { margin: 0 0 28px; scroll-margin-top: 84px; }
.calc-embed > h2 { margin-top: 0; }
#podbor { scroll-margin-top: 84px; }
.che-skel { height: 52px; border-radius: 12px; background: linear-gradient(90deg, #EEF2F8 25%, #F7F9FC 50%, #EEF2F8 75%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.che-fallback .che-skel { height: 50px; min-height: 0; }
.che-skel-btn { opacity: .55; pointer-events: none; }
.che-fallback-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.ins-logo { max-width: 96px; max-height: 34px; object-fit: contain; }
.ins-letter { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; font-size: 19px; display: inline-flex; align-items: center; justify-content: center; }
.insurer { min-height: 110px; justify-content: center; }
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted2); margin-bottom: 20px; }
.article-meta .tag { margin: 0; }
.article .lede { font-size: 18px; line-height: 1.6; color: var(--text); margin-bottom: 20px; }
.article-foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.related-h { font-size: 20px; font-weight: 800; margin: 36px 0 14px; }
.related .post-title { font-size: 15.5px; }
.blog-grid .post-title { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .che-skel { animation: none; } }

/* ---------- Иллюстрации, автор, источники ---------- */
.post-img { display: block; margin: -22px -22px 16px; border-radius: 14px 14px 0 0; overflow: hidden; background: var(--blue-bg); }
.post-img img { display: block; width: 100%; height: auto; aspect-ratio: 960 / 504; object-fit: cover; }
.figure { margin: 0 0 24px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--blue-bg); }
.figure img { display: block; width: 100%; height: auto; aspect-ratio: 960 / 504; object-fit: cover; }
.figure figcaption { font-size: 12.5px; color: var(--muted); padding: 8px 14px; background: #fff; border-top: 1px solid var(--line2); }
.summary { margin-top: 18px; font-size: 15px; line-height: 1.65; color: var(--text2); max-width: 920px; }
.author-box { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 28px 0 0; }
.author-box .ava { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex: none; }
.author-box .name { font-weight: 800; font-size: 15.5px; color: var(--text); }
.author-box .role { font-size: 13px; color: var(--muted); margin: 2px 0 6px; }
.author-box p { font-size: 14px; line-height: 1.55; color: var(--text2); margin: 0; }
.sources { font-size: 14px; color: var(--text2); }
.sources li { margin-bottom: 4px; }
table.tbl caption { caption-side: top; text-align: left; font-size: 12.5px; color: var(--muted); padding: 0 0 8px; }
.article-meta .by a { color: var(--text2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose .fact a, .prose .callout a, .prose figcaption a { text-decoration: underline; text-underline-offset: 2px; }

/* browser-qa: тап-таргеты */
.che-cal-nav { flex: none; }
.side ul a, .footer-col nav a, .country-list a, .sources a { display: inline-block; padding: 3px 0; }
.footer-col nav { gap: 4px; }

/* Паритет с polisonline.kz/abroad: виджет в узком контейнере (там 720px) — выдача и форма читаются лучше */
#che-widget { max-width: 760px; margin-left: auto; margin-right: auto; }
.calc-embed #che-widget { max-width: none; }

/* ---------- Подсказки и сценарии у формы ---------- */
.form-hints { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; margin: 12px auto 0; max-width: 760px; font-size: 12.5px; color: var(--text3); }
.form-hints .hint b { color: var(--text); font-weight: 700; }
.calc-embed .form-hints { justify-content: flex-start; max-width: none; }
.scenarios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 980px; margin: 22px auto 0; text-align: left; }
.scenario { display: grid; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text); transition: box-shadow .15s, transform .15s; }
.scenario:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); color: var(--text); }
.scenario b { font-size: 14px; }
.scenario span { font-size: 12.5px; color: var(--muted); }
.insurer .assist { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.lang { display: inline-flex; gap: 2px; background: var(--blue-bg); border-radius: 9px; padding: 3px; }
.lang a { font-size: 12.5px; font-weight: 700; color: var(--text2); padding: 4px 9px; border-radius: 7px; }
.lang a.on { background: var(--blue); color: #fff; }
@media (max-width: 900px) { .scenarios { grid-template-columns: 1fr 1fr; } .lang { display: none; } .nav.open .lang { display: inline-flex; margin-top: 8px; } }
@media (max-width: 560px) { .scenarios { grid-template-columns: 1fr; } .form-hints { justify-content: flex-start; } }
/* Тач-цели на мобильном: чипы виджета и быстрые ссылки были 33px при рекомендованных 44px */
@media (max-width: 699px) { .che-chip, .che-chip-sm, .che-seg-b { min-height: 44px; display: inline-flex; align-items: center; }
  .che-quick { row-gap: 6px; } .crumbs a { display: inline-block; padding: 4px 0; } }
