/* 1norm.kz — общий файл стилей.
   Дизайн повторяет 1norm.ru: шрифт Wix Madefor Display, оранжевый акцент,
   тёмные блоки со свечением снизу, светлые карточки со скруглением 20px.
   Mobile-first: базовые стили — для телефона, ниже медиазапросы для шире. */

/* ---------- Шрифт (локально, OFL) ---------- */
@font-face {
  font-family: "Wix Madefor Display";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/wix-madefor-display-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Wix Madefor Display";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/wix-madefor-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Wix Madefor Display";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/wix-madefor-display-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 {
  --orange: #ff742a;
  --orange-hover: #ff894a;
  --orange-soft: #fff1e9;
  --ink: #333037;
  --muted: #6b6b6c;
  --muted-2: #8c8b8e;
  --dark: #31313e;
  --glow: #77717e;
  --surface: #f8f8f9;
  --chip: #e6e6e8;
  --line: #e3e3e8;
  --white: #fff;

  --font: "Wix Madefor Display", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-pill: 50px;

  --gutter: 16px;     /* отступ контента от края экрана */
  --frame: 6px;       /* отступ цветных блоков-подложек от края */
  --container: 1160px;
  --section-y: 56px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --frame: 12px; --section-y: 80px; }
}
@media (min-width: 1200px) {
  :root { --frame: 20px; --section-y: 100px; }
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Типографика ---------- */
.h1 {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.h2 {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.h2 .soft, .h1 .soft { color: var(--muted-2); }
.h3 {
  font-size: 20px;
  line-height: 1.15;
  font-weight: 500;
}
.lead { font-size: 17px; line-height: 1.45; color: var(--muted); }
.text { font-size: 16px; line-height: 1.45; color: var(--muted); }
.small { font-size: 14px; line-height: 1.4; color: var(--muted-2); }

@media (min-width: 768px) {
  .h1 { font-size: 48px; }
  .h2 { font-size: 40px; }
  .h3 { font-size: 24px; }
  .lead { font-size: 18px; }
  .text { font-size: 18px; line-height: 1.35; }
}
@media (min-width: 1200px) {
  .h1 { font-size: 56px; }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 28px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { flex: none; width: 18px; height: 18px; }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--grey { background: var(--chip); color: #706e73; }
.btn--grey:hover { background: #dcdcdf; }
.btn--outline { background: transparent; color: var(--orange); border: 1px solid var(--orange); }
.btn--outline:hover { background: var(--orange-soft); }
.btn--white { background: var(--white); color: var(--orange); font-weight: 600; }
.btn--white:hover { background: #fff6f1; }
.btn--ghost-light { background: rgba(255, 255, 255, .08); color: var(--white); border: 1px solid rgba(255, 255, 255, .3); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); }
.btn--block { width: 100%; }
@media (min-width: 768px) { .btn { font-size: 18px; } }

/* ---------- Шапка ---------- */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.header__logo { display: block; flex: none; }
.header__logo img { width: 128px; height: auto; }
.header__nav { display: none; }
.header__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-2);
  text-decoration: none;
  transition: color .2s;
}
.header__nav a:hover, .header__nav a[aria-current="page"] { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  transition: background-color .2s;
}
.icon-btn:hover { background: var(--orange-hover); }
.icon-btn svg { width: 20px; height: 20px; }
.header--on-dark .header__nav a { color: rgba(255, 255, 255, .7); }
.header--on-dark .header__nav a:hover,
.header--on-dark .header__nav a[aria-current="page"] { color: var(--white); }
.header--on-dark .icon-btn--muted { background: rgba(255, 255, 255, .14); color: var(--white); }
.header--on-dark .icon-btn--muted:hover { background: rgba(255, 255, 255, .24); }

@media (min-width: 900px) {
  .header { padding-top: 28px; padding-bottom: 28px; }
  .header__logo img { width: 159px; }
  .header__nav { display: flex; gap: 28px; margin-left: auto; margin-right: 12px; }
}

/* ---------- Тёмный блок со свечением (как первый экран 1norm.ru) ---------- */
.dark-frame {
  position: relative;
  margin: var(--frame) var(--frame) 0;
  border-radius: var(--radius-xl);
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.dark-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -70%;
  width: 160%;
  height: 110%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--glow);
  filter: blur(70px);
  opacity: .9;
}

/* ---------- Первый экран ---------- */
.hero__body {
  padding-top: 40px;
  padding-bottom: 32px;
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 5px;
  background: rgba(255, 255, 255, .05);
  font-size: 14px;
  font-weight: 500;
}
.hero__eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.hero__title { max-width: 900px; margin: 22px auto 0; }
.hero__title .soft { color: #c2c1c3; }
.hero__lead {
  max-width: 680px;
  margin: 20px auto 0;
  color: #d4d3d6;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.hero__note { margin-top: 16px; font-size: 14px; color: #bdbcbf; }
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.chip {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 5px;
  background: rgba(255, 255, 255, .05);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
@media (min-width: 600px) {
  .hero__actions { flex-direction: row; justify-content: center; }
}
@media (min-width: 900px) {
  .hero__body { padding-top: 72px; padding-bottom: 48px; }
  .hero__lead { margin-top: 24px; }
  .hero__chips { margin-top: 72px; }
  .chip { font-size: 14px; }
}

/* ---------- Секции ---------- */
.section { padding: var(--section-y) 0; }
.section--flush-top { padding-top: 0; }
.section--surface {
  margin: 0 var(--frame);
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.section + .section--surface,
.section--surface + .section--surface { margin-top: 0; }
.section__head { margin-bottom: 32px; text-align: center; }
.section__head .lead { max-width: 720px; margin: 16px auto 0; }
.section__head--left { text-align: left; }
.section__head--left .lead { margin-left: 0; }
@media (min-width: 900px) {
  .section__head { margin-bottom: 48px; }
}

/* ---------- Карточки ---------- */
.cards {
  display: grid;
  gap: 12px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.card--white { background: var(--white); border: 1px solid var(--line); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
}
.card__icon svg { width: 24px; height: 24px; }
@media (min-width: 700px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cards { gap: 16px; }
  .card { padding: 32px; min-height: 240px; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .card--wide { grid-column: span 2; }
}

/* ---------- Скриншоты ---------- */
.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.shot img { width: 100%; }
.shot-caption { margin-top: 12px; font-size: 14px; color: var(--muted-2); }
.shot-wide { margin-top: 12px; }
.shot-wide .shot { overflow-x: auto; }
@media (min-width: 1000px) {
  .shot-wide { margin-top: 16px; }
}

/* ---------- Телефон с экраном Kaspi ---------- */
.parent {
  display: grid;
  gap: 40px;
  align-items: center;
}
.phone {
  position: relative;
  width: min(300px, 78vw);
  margin: 0 auto;
  padding: 10px;
  border-radius: 44px;
  background: #1f1f27;
  box-shadow: 0 30px 60px -20px rgba(49, 49, 62, .45);
}
.phone__screen {
  overflow: hidden;
  border-radius: 34px;
  background: #f1f1f4;
  aspect-ratio: 720 / 1500;
}
.phone__screen img { width: 100%; }

.steps-list { display: grid; gap: 20px; counter-reset: step; }
.steps-list li {
  position: relative;
  padding-left: 52px;
  counter-increment: step;
}
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 36px; height: 36px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-size: 15px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.steps-list .h3 { margin-bottom: 6px; }
.parent__note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
@media (min-width: 900px) {
  .parent { grid-template-columns: 380px 1fr; gap: 72px; }
  .phone { width: 320px; }
}

/* ---------- Два столбца: текст + картинка ---------- */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) {
  .split { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
}

.checks { display: grid; gap: 14px; }
.checks li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.4;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  background: url("../img/check.svg") center / contain no-repeat;
}
.checks--light li { color: var(--ink); }
@media (min-width: 768px) { .checks li { font-size: 17px; } }

/* ---------- Цитата ---------- */
.quote {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.quote blockquote { font-size: 17px; line-height: 1.45; color: var(--ink); }
.quote__author { display: flex; align-items: center; gap: 12px; }
.quote__author img { width: 48px; height: 48px; border-radius: 50%; }
.quote__author b { display: block; font-weight: 500; }
.quote__author span { font-size: 14px; color: var(--muted-2); }

/* ---------- Этапы ---------- */
.stages { display: grid; gap: 12px; counter-reset: stage; }
.stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--white);
  counter-increment: stage;
}
.stage::before {
  content: counter(stage);
  width: 32px; height: 32px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-size: 14px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.stage b { display: block; font-size: 17px; font-weight: 500; line-height: 1.25; }
.stage span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.stage--accent { background: var(--orange); color: var(--white); }
.stage--accent::before { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.stage--accent span { color: rgba(255, 255, 255, .85); }
@media (min-width: 700px) { .stages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .stages { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stage { padding: 24px; min-height: 190px; }
}

/* ---------- Цена ---------- */
.prices { display: grid; gap: 12px; }
.price {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.price__tag { font-size: 36px; line-height: 1; font-weight: 500; letter-spacing: -0.01em; }
.price__tag small { font-size: 16px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price__label {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 5px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.price__label--grey { background: var(--chip); color: #706e73; }
.price__foot { margin-top: auto; display: grid; gap: 12px; }
.price-terms {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  text-align: center;
}
@media (min-width: 1000px) {
  .prices { grid-template-columns: 7fr 5fr; gap: 16px; }
  .price { padding: 40px; }
  .price__tag { font-size: 48px; }
  .price-includes { columns: 2; column-gap: 32px; }
  .price-includes li { break-inside: avoid; margin-bottom: 14px; }
  .price-includes.checks { display: block; }
}

/* ---------- Кейс-карточка ---------- */
.case-card {
  display: grid;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  text-decoration: none;
  transition: background-color .2s;
}
.case-card:hover { background: #f1f1f3; }
.case-card__img { overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--white); }
.case-card__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.case-card__more { color: var(--orange); font-weight: 500; }
.case-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.case-facts span {
  padding: 6px 12px;
  border-radius: 5px;
  background: var(--white);
  font-size: 14px;
  color: var(--muted);
}
@media (min-width: 1000px) {
  .case-card { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px; }
}

/* ---------- Заявка (оранжевый блок) ---------- */
.lead-form {
  display: grid;
  gap: 32px;
  padding: 28px 20px;
  border-radius: var(--radius-xl);
  background: var(--orange);
  color: var(--white);
}
.lead-form__text { color: rgba(255, 255, 255, .9); margin-top: 16px; }
.lead-form__contacts { display: grid; gap: 10px; margin-top: 28px; }
.lead-form__contacts .btn { justify-content: flex-start; }
.lead-form__hours { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .85); }

.form { display: grid; gap: 12px; }
.form__row { display: grid; gap: 12px; }
.field {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .22);
  color: var(--white);
  font-size: 16px;
  transition: background-color .2s, border-color .2s;
}
.field::placeholder { color: rgba(255, 255, 255, .85); }
.field:focus { outline: none; background: rgba(255, 255, 255, .3); border-color: rgba(255, 255, 255, .8); }
textarea.field { min-height: 120px; resize: vertical; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 18px; height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}
.consent a { color: var(--white); }
.form__submit { justify-self: start; min-width: 180px; }
.form__status { font-size: 15px; min-height: 1.4em; }
.form__status--error { color: #fff; font-weight: 500; }
.form-success {
  display: none;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .16);
}
.form-success .h3 { margin-bottom: 8px; }
.is-sent .form { display: none; }
.is-sent .form-success { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 700px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .lead-form { grid-template-columns: 5fr 6fr; gap: 64px; padding: 56px; }
  .lead-form__contacts { grid-template-columns: 1fr; max-width: 320px; }
}

/* ---------- Подвал ---------- */
.footer { margin-top: 0; margin-bottom: var(--frame); }
.footer__body {
  display: grid;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 24px;
}
.footer__title { font-size: 28px; line-height: 1.1; font-weight: 500; }
.footer__contacts { display: grid; gap: 10px; margin-top: 20px; font-size: 16px; }
.footer__contacts a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.footer__contacts a:hover { text-decoration-color: var(--white); }
.footer__nav { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__nav a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer__nav a:hover { color: var(--white); }
.footer__word {
  padding: 12px 0 16px;
  font-size: clamp(34px, 9.2vw, 112px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: rgba(255, 255, 255, .22);
  user-select: none;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { color: var(--white); }
@media (min-width: 900px) {
  .footer__body { grid-template-columns: 1fr auto; padding-top: 56px; }
  .footer__title { font-size: 40px; }
}

/* ---------- Мелочи ---------- */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.center { text-align: center; }

/* =========================================================
   Внутренние страницы: кейс, политика, о компании
   ========================================================= */

/* Шапка на светлом фоне */
.header--light { border-bottom: 1px solid var(--line); }
.icon-btn--muted { background: var(--chip); color: var(--ink); }
.icon-btn--muted:hover { background: #dcdcdf; }
.footer--spaced { margin-top: var(--section-y); }

/* Заголовок страницы */
.page-head { padding-top: 40px; padding-bottom: 32px; }
.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted-2);
}
.page-head__meta a { color: var(--muted-2); text-decoration: none; }
.page-head__meta a:hover { color: var(--orange); }
.page-head__tag {
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-head .lead { max-width: 820px; margin-top: 20px; }
@media (min-width: 900px) {
  .page-head { padding-top: 64px; padding-bottom: 48px; }
  .page-head .h1 { max-width: 980px; font-size: 48px; }
}

/* Цифры кейса */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.fact {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.fact b { display: block; font-size: 24px; line-height: 1.1; font-weight: 500; }
.fact span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--muted); }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .fact { padding: 24px; }
  .fact b { font-size: 32px; }
}

/* Текст статьи */
.article { max-width: 780px; }
.article > * + * { margin-top: 18px; }
.article h2 {
  margin-top: 56px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.article h3 { margin-top: 32px; font-size: 20px; line-height: 1.2; font-weight: 500; }
.article h2 + *, .article h3 + * { margin-top: 14px; }
.article p, .article li { font-size: 17px; line-height: 1.55; color: #45424a; }
.article ul { display: grid; gap: 10px; }
.article ul li { position: relative; padding-left: 22px; }
.article ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.article ul.checks li { padding-left: 32px; }
.article ul.checks li::before { left: 0; top: 2px; width: 20px; height: 20px; border-radius: 0; background: url("../img/check.svg") center / contain no-repeat; }
.article b, .article strong { font-weight: 600; color: var(--ink); }
.article a { color: var(--orange); }
.article figure { margin-top: 32px; margin-bottom: 32px; }
.article .quote { margin-top: 32px; }
.article .phone { margin-top: 8px; }
@media (min-width: 900px) {
  .article h2 { margin-top: 72px; font-size: 32px; }
  .article p, .article li { font-size: 18px; }
}

/* Врезка «было» */
.pain { display: grid; gap: 12px; }
.pain li {
  padding: 18px 20px 18px 20px !important;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.pain li::before { display: none; }
.pain li b { display: block; margin-bottom: 4px; }

/* Схема: путь платежа */
.flow { display: grid; gap: 0; counter-reset: flow; }
.flow__step {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.flow__step + .flow__step { margin-top: 22px; }
.flow__step + .flow__step::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 2px; height: 14px;
  background: var(--chip);
}
.flow__who {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.flow__step b { font-size: 17px; font-weight: 500; color: var(--ink); }
.flow__step span:last-child { font-size: 15px; color: var(--muted); }
.flow__step--parent { background: var(--orange-soft); }
.flow__step--parent .flow__who { color: var(--orange); }
.flow__step--done { background: var(--dark); }
.flow__step--done .flow__who { color: #bdbcbf; }
.flow__step--done b { color: var(--white); }
.flow__step--done span:last-child { color: #d4d3d6; }
.scheme-title { margin-bottom: 16px; font-size: 15px; font-weight: 500; color: var(--muted); }

/* Схема: два контура */
.contours { display: grid; gap: 12px; }
.contour {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.contour--accent { background: var(--orange-soft); }
.contour__title { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.contour--accent .contour__title { color: var(--orange); }
.contour__items { display: grid; gap: 8px; }
.contour__items > div {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--white);
}
.contour__items b { display: block; font-size: 16px; font-weight: 500; color: var(--ink); }
.contour__items span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.contours__note { grid-column: 1 / -1; padding: 14px 18px; border-radius: var(--radius-md); border: 1px dashed var(--chip); font-size: 15px; color: var(--muted); }
@media (min-width: 700px) {
  .contours { grid-template-columns: 1fr 1fr; }
}

/* CTA в конце статьи */
.cta-box {
  display: grid;
  gap: 20px;
  margin-top: 56px;
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  background: var(--dark);
  color: var(--white);
}
.cta-box .text { color: #d4d3d6; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .cta-box { grid-template-columns: 1fr auto; align-items: center; padding: 40px; }
}

/* Юридический текст */
.legal { max-width: 780px; }
.legal h2 { margin-top: 40px; font-size: 22px; line-height: 1.2; font-weight: 500; }
.legal p, .legal li { margin-top: 12px; font-size: 16px; line-height: 1.55; color: #45424a; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal ul li { margin-top: 6px; }
.legal a { color: var(--orange); }

/* Подписи внутри схем не наследуют размер текста статьи */
.article .scheme-title { font-size: 15px; font-weight: 500; color: var(--muted); }
.article .contour__title { font-size: 13px; line-height: 1.3; color: var(--muted-2); }
.article .contour--accent .contour__title { color: var(--orange); }
.article .contours__note { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.article figure > * + * { margin-top: 0; }

/* Команда */
.team { display: grid; gap: 16px; }
.person { display: grid; gap: 14px; }
.person__photo {
  overflow: hidden;
  aspect-ratio: 2 / 3; /* как у исходных фото, чтобы не срезать макушку */
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__role { margin-top: 4px; font-size: 15px; color: var(--muted-2); }
@media (min-width: 600px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .team { gap: 24px; } }

/* Реквизиты */
.requisites {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.requisites dt { font-size: 14px; color: var(--muted-2); }
.requisites dd { margin: 0 0 8px; font-size: 17px; }
@media (min-width: 700px) {
  .requisites { grid-template-columns: 200px 1fr; padding: 32px 40px; column-gap: 24px; }
  .requisites dd { margin: 0; }
}
.link { color: var(--orange); }

/* Главная: крупная плашка предложения */
.promo {
  position: relative;
  display: grid;
  gap: 32px;
  padding: 28px 20px 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
}
.promo__label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.promo__title { margin-top: 18px; }
.promo__text { margin-top: 16px; color: rgba(255, 255, 255, .9); }
.promo .checks li { color: var(--white); }
.promo .checks li::before { background-image: url("../img/check-white.svg"); }
.promo__price { margin-top: 28px; font-size: 32px; font-weight: 500; line-height: 1; }
.promo__price small { display: block; margin-top: 6px; font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, .85); }
.promo__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.promo__phone { align-self: end; }
.promo__phone .phone { margin-bottom: -120px; box-shadow: 0 30px 60px -20px rgba(49, 49, 62, .55); }
.promo__phone { max-height: 420px; overflow: hidden; }
@media (min-width: 900px) {
  .promo { grid-template-columns: 1fr 340px; gap: 56px; padding: 56px 56px 0; }
  .promo__body { padding-bottom: 56px; }
  .promo__price { font-size: 40px; }
  .promo__phone { max-height: none; }
  .promo__phone .phone { margin-bottom: -220px; }
}

/* Кейсы и юридические страницы: одна узкая колонка по центру, как на 1norm.ru */
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }
.container--narrow .article,
.container--narrow .legal { max-width: none; }
.container--narrow.page-head .h1 { font-size: 30px; }
.container--narrow .facts { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
.container--narrow .fact { padding: 16px 18px; }
.container--narrow .fact b { font-size: 22px; }
.container--narrow .fact span { font-size: 13px; }
.container--narrow .article > h2:first-child { margin-top: 8px; }
.container--narrow .article h2 { font-size: 24px; margin-top: 44px; }
.container--narrow .article h3 { font-size: 19px; margin-top: 28px; }
.container--narrow .article p,
.container--narrow .article li { font-size: 17px; line-height: 1.55; }
.container--narrow .pain { gap: 8px; }
.container--narrow .pain li { padding: 14px 18px !important; }
.container--narrow .cta-box { grid-template-columns: 1fr; margin-top: 48px; padding: 28px; }
.container--narrow .cta-box .h2 { font-size: 26px; }
@media (min-width: 900px) {
  .container--narrow.page-head { padding-top: 48px; padding-bottom: 24px; }
  .container--narrow.page-head .h1 { font-size: 36px; line-height: 1.15; }
  .container--narrow .facts { grid-template-columns: repeat(4, 1fr); }
  .container--narrow .article h2 { font-size: 28px; margin-top: 56px; }
}
