@font-face {
  font-family: "Inter";
  src: url("fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212;
}

:root {
  --ink: #1b1c28;
  --body: #4c4f5c;
  --muted: #6b6e7a;
  --line: #e4e6ea;
  --paper: #ffffff;
  --tint: #eef0f3;
  --teal: #1d4a50;
  --teal-line: #3c6a70;
  --shadow: 0 34px 60px -28px rgba(27, 28, 40, .38), 0 10px 24px -14px rgba(27, 28, 40, .14);
  --shadow-btn: 0 16px 24px -10px rgba(27, 28, 40, .5);
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 "Inter", Arial, sans-serif;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.lead { color: var(--body); font-size: clamp(17px, 1.5vw, 19px); max-width: 33em; }
.note { color: var(--muted); font-size: 14px; }

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 28px; }
.brand { font-size: 22px; font-weight: 800; letter-spacing: .06em; text-decoration: none; }
.nav ul { display: flex; flex-wrap: wrap; gap: 8px 36px; padding: 0; list-style: none; }
.nav ul a { color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav ul a:hover { color: var(--ink); }
.btn-outline {
  padding: 9px 20px;
  border: 1px solid #b9bcc4;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--ink); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 96px); align-items: center; }
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(72px, 9vw, 128px); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* Панели занимают место фотографий в образце: один крупный скруглённый угол и мягкая тень. */
.panel { background: var(--tint); border-radius: 18px; box-shadow: var(--shadow); }
.panel-hero { padding: clamp(20px, 3vw, 36px); border-radius: 96px 18px 96px 18px; }
.tag { display: block; color: var(--muted); font-size: 13px; }
.panel-hero .tag { margin-bottom: 12px; }

.msg { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: #fff; border-radius: 18px; font-size: 15px; line-height: 1.5; }
.msg + .msg { margin-top: 14px; }
.msg-title { font-weight: 600; }
.msg-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.msg-btns span { padding: 10px 6px; border-radius: 10px; background: var(--tint); font-size: 14px; font-weight: 600; text-align: center; }
.msg-btns .yes { background: var(--ink); color: #fff; }

.overlap { position: relative; padding-bottom: 150px; padding-right: 12%; }
.panel-a { padding: clamp(20px, 2.6vw, 30px); }
.panel-b { position: absolute; right: 0; bottom: 0; width: 72%; padding: clamp(18px, 2.4vw, 28px); background: #fff; border-radius: 72px 18px 72px 18px; }
.rows { display: flex; flex-direction: column; margin-top: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.rows div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px; padding: 9px 0; border-top: 1px solid #d9dce2; }
.rows .hl { font-weight: 700; }
.fix { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; font-size: 15px; line-height: 1.45; }
.fix s { color: var(--muted); }
.fix strong { font-weight: 600; }

.bullets { display: flex; flex-direction: column; gap: 16px; padding: 0; list-style: none; }
.bullets strong { display: block; font-weight: 600; }
.bullets span { color: var(--body); }

.panel-dark { padding: clamp(24px, 3vw, 38px); background: var(--teal); border-radius: 18px 18px 96px 18px; color: #fff; }
.panel-dark .tag { color: #c5d6d8; }
.log { display: flex; flex-direction: column; margin-top: 16px; font-size: 15px; font-variant-numeric: tabular-nums; }
.log div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px; padding: 13px 0; border-top: 1px solid var(--teal-line); }
.log b { font-weight: 600; }
.log span { color: #d5e3e4; }

.band { border-block: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(32px, 4vw, 52px); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 32px; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 8px; counter-increment: step; }
.steps li::before { content: counter(step); color: var(--muted); font-size: 34px; font-weight: 700; line-height: 1.1; }
.steps p { color: var(--body); font-size: 16px; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.price { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; }
.price b { font-size: 29px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price p { color: var(--body); font-size: 15px; }
.price-main { background: var(--ink); border-color: var(--ink); color: #fff; border-radius: 18px 18px 56px 18px; box-shadow: var(--shadow); }
.price-main p { color: #d6d7dd; }

.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 40px clamp(40px, 6vw, 80px); }
.terms > div { display: flex; flex-direction: column; gap: 10px; }
.terms p, .terms li { color: var(--body); }
.terms ul { display: flex; flex-direction: column; gap: 6px; padding-left: 1.1em; }

.final { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: clamp(64px, 8vw, 104px); text-align: center; }
.final .lead { max-width: 30em; }
.final a.mail { color: var(--ink); font-weight: 600; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.doc { max-width: 760px; padding-block: 32px 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.doc h2 { font-size: 21px; margin-top: 36px; margin-bottom: 10px; }
.doc p, .doc li { color: var(--body); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 1.2em; }

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .swap > :first-child { order: 2; }
  .panel-hero { border-radius: 56px 18px 56px 18px; }
  .panel-b { border-radius: 48px 18px 48px 18px; }
  .panel-dark { border-radius: 18px 18px 56px 18px; }
}
@media (max-width: 560px) {
  .nav ul { display: none; }
  /* На телефоне нет места для наложения: панели идут одна за другой. */
  .overlap { padding: 0; display: flex; flex-direction: column; gap: 18px; }
  .panel-b { position: static; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
