/* ---------- Токены ---------- */
:root {
  --bg: #F3F1EA;
  --surface: #FBFAF6;
  --tint: #EAE7DD;
  --ink: #14161A;
  --muted: #5A5E66;
  --line: #D8D4C8;
  --accent: #2340F0;
  --accent-hover: #1830C4;
  --accent-ink: #FFFFFF;
  --accent-soft: #E1E6FF;
  --inverse: #14161A;
  --inverse-ink: #F3F1EA;
  --error: #C4321C;
  --success: #1E7A46;

  --font-display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D0F13;
    --surface: #15181E;
    --tint: #111319;
    --ink: #ECEAE3;
    --muted: #9BA1AB;
    --line: #2A2E37;
    --accent: #7388FF;
    --accent-hover: #8E9FFF;
    --accent-ink: #0D0F13;
    --accent-soft: #1A2148;
    --inverse: #ECEAE3;
    --inverse-ink: #0D0F13;
    --error: #FF8A75;
    --success: #6FD79B;
    color-scheme: dark;
  }
}

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--inverse);
  color: var(--inverse-ink);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__mark { width: 28px; height: 28px; }
.logo__b1 { fill: var(--accent); }
.logo__b2 { fill: var(--ink); }
.logo__b3 { fill: none; stroke: var(--ink); stroke-width: 2; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav { display: flex; gap: 4px; margin-left: 16px; }
.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--ink); background: var(--tint); }

.burger { display: none; gap: 5px; align-content: center; }
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 8vw, 110px); }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy > .eyebrow { margin-bottom: 20px; }
.hero__lead {
  margin-top: 24px;
  max-width: 56ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--muted);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.hero__facts span {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

/* Композиция из блоков */
.blocks {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 10px);
  aspect-ratio: 1;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.block {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(8px, 1.2vw, 14px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  animation: block-in .7s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i) * 70ms + 100ms);
}
@keyframes block-in {
  from { opacity: 0; transform: translateY(-28px) scale(.94); }
}
.block__label {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.block--ui   { grid-area: 1 / 1 / 4 / 4; }
.block--api  { grid-area: 1 / 4 / 3 / 7; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.block--auth { grid-area: 3 / 4 / 4 / 6; background: var(--accent-soft); border-color: transparent; }
.block--qa   { grid-area: 3 / 6 / 5 / 7; background: var(--inverse); border-color: var(--inverse); color: var(--inverse-ink); }
.block--db   { grid-area: 4 / 1 / 7 / 3; }
.block--ci   { grid-area: 4 / 3 / 6 / 6; }
.block--logs { grid-area: 6 / 3 / 7 / 5; background: var(--tint); }
.block--plus { grid-area: 6 / 5 / 7 / 6; background: none; border-style: dashed; border-color: var(--muted); align-items: center; justify-content: center; color: var(--muted); font-size: 20px; }
.block--mq   { grid-area: 5 / 6 / 7 / 7; background: var(--accent-soft); border-color: transparent; }

.block--api code {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.05vw, 13px);
  line-height: 1.5;
  opacity: .92;
}
.mock { display: grid; gap: 6px; }
.mock i { height: 6px; border-radius: 3px; background: var(--line); }
.mock i:nth-child(1) { width: 70%; }
.mock i:nth-child(2) { width: 90%; }
.mock i:nth-child(3) { width: 50%; }
.mock b { width: 44%; height: 20px; margin-top: 6px; border-radius: 5px; background: var(--accent); }
.disks { display: grid; gap: 5px; }
.disks i { height: 12px; border: 1.5px solid var(--ink); border-radius: 50% / 6px; }
.pipeline { display: flex; align-items: center; gap: 0; }
.pipeline i {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.pipeline i:last-child { background: none; border: 1.5px solid var(--accent); }
.pipeline i:not(:last-child) { margin-right: clamp(14px, 3vw, 34px); }
.pipeline i:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: clamp(14px, 3vw, 34px);
  height: 1.5px;
  background: var(--accent);
}

/* ---------- Секции ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tint { background: var(--tint); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section__head .eyebrow { margin-bottom: 14px; }
.section__lead { margin-top: 16px; font-size: 1.08rem; color: var(--muted); max-width: 60ch; }

/* Услуги */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 20px;
}
.card p { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.tags li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tint);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.card[hidden] { display: none; }
.card__num { white-space: nowrap; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.filter span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--inverse); border-color: var(--inverse); color: var(--inverse-ink); }
.filter[aria-pressed="true"] span { color: inherit; opacity: .7; }

/* Процесс */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: var(--inverse);
  color: var(--inverse-ink);
  font-family: var(--font-mono);
  font-size: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* Форматы */
.formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.format {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.format > p:not(.format__fit) { color: var(--muted); }
.format__fit {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.format__fit span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.format--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.format--accent > p:not(.format__fit) { color: inherit; opacity: .88; }
.format--accent .format__fit { border-color: color-mix(in srgb, var(--accent-ink) 30%, transparent); }
.format--accent .format__fit span { color: inherit; opacity: .75; }

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(40px, 6vw, 72px);
}
.principle { padding-left: 18px; border-left: 2px solid var(--accent); }
.principle h3 { font-size: 1.05rem; margin-bottom: 6px; }
.principle p { font-size: 15px; color: var(--muted); }

/* Технологии */
.stack { border-top: 1px solid var(--line); }
.stack__row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.stack dt { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 14px;
}

/* Вопросы */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.faq .section__head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 20px;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding-bottom: 22px; max-width: 62ch; color: var(--muted); }

/* Компания */
.company {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.company .section__head { margin-bottom: 28px; }
.req { border-top: 1px solid var(--line); }
.req div { padding-block: 14px; border-bottom: 1px solid var(--line); }
.req dt {
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.okved {
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.okved h3 { margin-bottom: 12px; }
.okved__list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding-block: 11px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}
.okved__list code { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.okved__list .is-main { color: var(--ink); font-weight: 500; }
.okved__list em {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  white-space: nowrap;
}

/* Контакты */
.section--contact { background: var(--inverse); color: var(--inverse-ink); }
.section--contact .eyebrow,
.section--contact .section__lead { color: color-mix(in srgb, var(--inverse-ink) 65%, transparent); }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.contact__info .eyebrow { margin-bottom: 14px; }
.contact__list { display: grid; gap: 18px; margin-top: 40px; }
.contact__list div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--inverse-ink) 18%, transparent);
}
.contact__list dt {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 2.1;
  color: color-mix(in srgb, var(--inverse-ink) 60%, transparent);
}
.contact__list a { text-decoration: none; border-bottom: 1px solid currentColor; }

.form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 36px);
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius);
}
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.optional { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 0; border-color: var(--accent); }
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--error); }
.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.check.is-invalid span { color: var(--error); }
.form__status { min-height: 1.4em; font-size: 14px; }
.form__status.is-error { color: var(--error); }
.form__status.is-success { color: var(--success); }

/* ---------- Подвал ---------- */
.footer { padding-block: 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: start;
}
.footer .logo { color: var(--ink); margin-bottom: 8px; }
.footer__nav { display: grid; gap: 8px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: var(--ink); }
.footer__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Страница политики ---------- */
.doc { padding-block: clamp(40px, 6vw, 80px); }
.doc .container { max-width: 800px; }
.doc h1 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.25rem; margin: 40px 0 12px; font-family: var(--font-body); letter-spacing: 0; }
.doc p, .doc li { color: var(--muted); margin-bottom: 10px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc a { color: var(--accent); }
.doc__note {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px dashed var(--muted);
  border-radius: var(--radius-sm);
  font-size: 15px;
}

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .block { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1120px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
  .burger { display: inline-grid; }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .blocks { justify-self: start; max-width: 460px; }
  .formats { grid-template-columns: minmax(0, 1fr); }
  .faq, .contact, .company { grid-template-columns: minmax(0, 1fr); }
  .stack__row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header__cta { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contact__list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .block { border-radius: 10px; }
}
