:root {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --ink: #0a0e1f;
  --ink-2: #2a3048;
  --muted: #565d74;
  --line: #e1e4ed;
  --line-strong: #cdd2e0;
  --accent: #3b33d9;
  --accent-hover: #2f28b8;
  --accent-soft: #ecebfb;
  --shadow: 0 30px 45px -30px rgba(30, 30, 90, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.1);
  --radius: 6px;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

p { margin: 0; }

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

::selection { background: var(--accent); color: #fff; }

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

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

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

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ---------- header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 250, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand__mark svg { display: block; width: 22px; height: 22px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.brand__sub { font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: var(--ink-2);
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.hdr__side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hdr__tel {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}
.hdr__tel:hover { color: var(--accent); }

.burger {
  display: none;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn--sm { padding: 9px 14px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
}
.link-arrow::after { content: "→"; font-family: var(--mono); }
.link-arrow:hover { color: var(--accent-hover); }

/* ---------- hero ---------- */

.hero {
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(245, 246, 250, 0) 60%),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: start;
}

h1 {
  font-size: clamp(38px, 4.3vw, 62px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 15ch;
}

.hero__lead {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}

.hero__facts {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line-strong);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px 0 0;
  min-width: 0;
}
.fact + .fact { border-left: 1px solid var(--line); padding-left: 18px; }

.fact__k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.fact__v { font-size: 22px; font-weight: 500; line-height: 1.2; }
.fact__v--sm { font-size: 13px; font-weight: 500; line-height: 1.7; }
.fact__v a { color: var(--ink); font-family: var(--mono); }
.fact__v a:hover { color: var(--accent); }
.fact__s { font-size: 12px; color: var(--muted); }

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

/* ---------- calculator ---------- */

.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 26px 24px;
  box-shadow: var(--shadow);
}

.calc__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.calc__title { font-size: 22px; letter-spacing: -0.02em; }

.calc__tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.field { margin-bottom: 20px; }

.field__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.field__row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.field__val {
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--accent) 0 var(--fill, 50%), var(--line-strong) var(--fill, 50%) 100%);
}
input[type="range"]::-moz-range-track {
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
}
input[type="range"]::-moz-range-progress {
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px; height: 16px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 1px 3px rgba(10, 14, 31, 0.18);
  transition: transform 0.15s ease;
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 1px 3px rgba(10, 14, 31, 0.18);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(0.96); }

.field__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.calc__result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--accent-soft);
  border: 1px solid #dcd9f8;
  border-radius: var(--radius);
}

.calc__result-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.pay {
  font-size: clamp(30px, 3.3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.calc__lines { margin: 16px 0 0; }

.line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.line:last-child { border-bottom: 0; }
.line dt { color: var(--muted); }
.line dd { margin: 0; color: var(--ink); font-size: 13px; }

.calc__note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.calc__btn { width: 100%; margin-top: 16px; }

/* ---------- sections ---------- */

.section { padding: 84px 0; }

.section--tint {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.sec-head--left { max-width: none; margin-bottom: 32px; }

h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
}

.sec-sub {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- help ---------- */

.help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.help__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0;
  padding: 28px 36px 30px 0;
  border-bottom: 1px solid var(--line);
}
.help__item:nth-child(odd) { border-right: 1px solid var(--line); }
.help__item:nth-child(even) { padding-left: 36px; padding-right: 0; }

.help__idx {
  font-size: 12px;
  color: var(--accent);
  padding-top: 5px;
}

.help__body h3 { font-size: 23px; margin-bottom: 10px; letter-spacing: -0.02em; }
.help__body p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

.help__meta {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-transform: uppercase;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.step {
  padding: 22px 24px 26px 0;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; padding-right: 0; }
.step + .step { padding-left: 24px; }

.step__num {
  display: block;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

.step__need {
  margin-top: 16px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px !important;
  line-height: 1.5 !important;
  color: var(--ink-2) !important;
}

/* ---------- cases table ---------- */

.table-wrap { border-top: 1px solid var(--ink); }

.cases {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cases th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
}

.cases td {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}

.cases td:first-child { width: 46px; color: var(--accent); font-size: 12px; }
.cases td:nth-child(2) { width: 27%; color: var(--ink); font-weight: 500; }
.cases td:nth-child(3) { color: var(--muted); }
.cases td:last-child { width: 120px; padding-right: 0; }

.tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

/* ---------- reviews ---------- */

.rating {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.rating__main {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-right: 48px;
  border-right: 1px solid var(--line);
}

.rating__num {
  font-size: clamp(72px, 9vw, 118px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.rating__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  padding-bottom: 8px;
}
.rating__src { font-size: 12px; color: var(--muted); }

.rating__body h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.rating__body p { color: var(--muted); font-size: 15px; max-width: 52ch; margin-bottom: 18px; }

/* ---------- request / form ---------- */

.req {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.req__copy p { color: var(--muted); font-size: 15.5px; max-width: 46ch; margin-top: 16px; }
.req__copy h2 { max-width: 16ch; }

.req__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.req__list li {
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
}
.req__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 21px;
  width: 8px; height: 1px;
  background: var(--accent);
}

.req__alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 26px;
  font-size: 14px;
}
.req__alt-k { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.req__alt a { font-family: var(--mono); font-size: 13px; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form__row { margin-bottom: 18px; }

.form__row label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.form input,
.form select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #fbfbfd;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.form input::placeholder { color: #8a90a3; }

.form input:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 51, 217, 0.12);
}

.form input[aria-invalid="true"],
.form select[aria-invalid="true"] { border-color: #c0264a; background: #fff7f9; }

.err {
  margin-top: 6px;
  font-size: 12px;
  color: #b01f42;
}

.form__btn { width: 100%; margin-top: 6px; }

.form__note {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.form-ok {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-ok:focus { outline: none; }

.form-ok__k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.form-ok h3 { font-size: 24px; margin-bottom: 10px; }
.form-ok > p { font-size: 14px; color: var(--muted); }

.form-ok__text {
  margin: 18px 0;
  padding: 16px;
  background: #fbfbfd;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.form-ok__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-ok__status { margin-top: 12px; font-size: 12px; color: var(--accent); min-height: 18px; }

/* ---------- contacts ---------- */

.contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.ccard {
  padding: 24px 32px 28px 0;
  border-right: 1px solid var(--line);
}
.ccard + .ccard { padding-left: 32px; }
.ccard:last-child { border-right: 0; padding-right: 0; }

.ccard__k {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.ccard__v { font-size: 18px; line-height: 1.45; margin-bottom: 14px; }
.ccard__s { margin-top: 12px; font-size: 12px; color: var(--muted); }

.phones { list-style: none; margin: 0 0 0; padding: 0; }
.phones li { margin-bottom: 6px; }
.phones a { font-family: var(--mono); font-size: 14px; color: var(--ink); }
.phones a:hover { color: var(--accent); }

/* ---------- faq ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 56px;
  align-items: start;
}

.faq { border-top: 1px solid var(--ink); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--accent); }

.faq details p {
  padding: 0 40px 20px 0;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- footer ---------- */

.ftr {
  background: #0a0e1f;
  color: rgba(255, 255, 255, 0.72);
  padding: 40px 0;
}
.ftr a { color: #fff; }
.ftr a:hover { color: #b9b6ff; }

.ftr__in {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ftr__brand { display: flex; flex-direction: column; gap: 4px; color: #fff; }
.ftr__brand .brand__name { font-size: 18px; }
.ftr__brand .brand__sub { color: rgba(255, 255, 255, 0.5); }

.ftr__meta { font-size: 13px; max-width: 52ch; }
.ftr__meta p { font-family: var(--mono); font-size: 11.5px; }
.ftr__note { margin-top: 10px; color: rgba(255, 255, 255, 0.45); font-family: var(--sans) !important; font-size: 11.5px !important; line-height: 1.55; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 52px 0 64px; }
  h1 { max-width: 20ch; }
  .calc { max-width: 560px; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .step:nth-child(4) { border-top: 1px solid var(--line); }

  .rating { grid-template-columns: 1fr; gap: 32px; }
  .rating__main { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 28px; }

  .req { grid-template-columns: 1fr; gap: 40px; }
  .req__copy h2 { max-width: none; }

  .contacts { grid-template-columns: 1fr 1fr; }
  .ccard:nth-child(2) { border-right: 0; }
  .ccard:nth-child(3) { border-top: 1px solid var(--line); padding-left: 0; }

  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 28px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(10, 14, 31, 0.18);
  }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a:last-child { border-bottom: 0; }
  .nav.nav--open { display: flex; }
  .burger { display: inline-flex; }
  .hdr__in { position: relative; }
  .hdr__tel { display: none; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section { padding: 60px 0; }

  .hero__facts { grid-template-columns: 1fr 1fr; }
  .fact { padding-bottom: 14px; }
  .fact:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 14px;
  }

  .help { grid-template-columns: 1fr; }
  .help__item,
  .help__item:nth-child(even) { padding: 24px 0; border-right: 0; }
  .help__item { grid-template-columns: 40px 1fr; }

  .table-wrap { border-top: 0; }
  .cases thead { display: none; }
  .cases, .cases tbody, .cases tr, .cases td { display: block; width: 100%; }
  .cases tr {
    border-top: 1px solid var(--line-strong);
    padding: 16px 0 8px;
  }
  .cases tr:first-child { border-top: 0; }
  .cases td {
    border-bottom: 0;
    padding: 4px 0;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    width: auto !important;
  }
  .cases td::before {
    content: attr(data-label);
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 3px;
  }
  .cases td:first-child { display: none; }

  .cases td:nth-child(2) { font-size: 16px; }
  .cases td .tag { justify-self: start; margin-top: 2px; }

  .contacts { grid-template-columns: 1fr; }
  .ccard,
  .ccard + .ccard { padding: 22px 0; border-right: 0; border-top: 1px solid var(--line); }
  .ccard:first-child { border-top: 0; }

  .rating__main { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rating__num { font-size: 84px; }

  .form, .form-ok { padding: 22px; }

  .ftr__in { flex-direction: column; gap: 24px; }
}

@media (max-width: 460px) {
  h1 { font-size: 34px; letter-spacing: -0.03em; }
  .hero__lead { font-size: 15.5px; }
  .hero__actions { flex-wrap: wrap; gap: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step,
  .step + .step { padding: 20px 0 22px; border-right: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .brand__sub { display: none; }
  .brand__name { font-size: 16px; }
  .btn--sm { padding: 8px 12px; }
  .hdr__in { gap: 12px; min-height: 60px; }
  .calc { padding: 22px 18px; }
  .calc__head { flex-direction: column; gap: 4px; }
  .pay { font-size: 29px; }
  .field__row { flex-wrap: wrap; gap: 2px 12px; }
  .cases td { grid-template-columns: 78px 1fr; }
  .faq summary { font-size: 15px; }
  .form-ok__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
