/* ============ FONTS ============ */
/* Шрифты лежат на нашем сервере — без запросов к Google */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-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;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/unbounded-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;
}

/* ============ TOKENS ============ */
:root {
  --bg: #f6f6f3;
  --bg-alt: #ecece7;
  --surface: #ffffff;
  --text: #111216;
  --muted: #5d6068;
  --border: #e1e1db;
  --accent: #4b3cff;
  --accent-hover: #3a2ce0;
  --accent-soft: #ebe9ff;
  --on-accent: #ffffff;
  --dark-bg: #111216;
  --dark-surface: #1c1d24;
  --dark-text: #f3f3f5;
  --dark-muted: #a3a5ae;
  --success: #138a4e;
  --error: #c62f2f;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 18, 22, .04), 0 8px 24px rgba(17, 18, 22, .06);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Unbounded", var(--font);
  --container: 1180px;
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f13;
    --bg-alt: #15161c;
    --surface: #1a1b22;
    --text: #f1f1f4;
    --muted: #9ea1ab;
    --border: #2a2c35;
    --accent: #8479ff;
    --accent-hover: #978dff;
    --accent-soft: #221f45;
    --on-accent: #0e0f13;
    --dark-bg: #1a1b22;
    --dark-surface: #23242d;
    --success: #3ccf86;
    --error: #ff6b6b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 15px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 19px;
  line-height: 1;
  padding-bottom: 3px;
  letter-spacing: .02em;
}
.logo--small { font-size: 16px; }
.logo--small .logo__mark { width: 30px; height: 30px; font-size: 16px; border-radius: 8px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--text); }
.nav__cta { padding: 10px 18px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  color: var(--text);
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, top .25s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 68px);
  letter-spacing: -.02em;
  max-width: 15ch;
}
.hero__lead {
  margin-top: 24px;
  max-width: 60ch;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
}
.hero__lead strong { color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.facts {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  background: var(--surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fact__value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.fact__label { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ============ SECTIONS ============ */
.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}
.section--dark .section__lead { color: var(--dark-muted); }
.section--dark .eyebrow { color: #a9a2ff; }

.section__head { max-width: 720px; margin-bottom: 56px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.02em;
}
.section__lead { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* ============ CARDS ============ */
.cards { display: grid; gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card--flat:hover { transform: none; box-shadow: none; }
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__title { font-size: 19px; font-weight: 700; }
.card__text { color: var(--muted); font-size: 15.5px; }

.card--dark {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, .08);
  color: var(--dark-text);
}
.card--dark .card__text { color: var(--dark-muted); }
.card--dark:hover { box-shadow: none; }
.card__big {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  color: #a9a2ff;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}

/* ============ COMPARE ============ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.compare__col { border-radius: var(--radius); padding: 32px; }
.compare__col--them { background: var(--surface); border: 1px solid var(--border); }
.compare__col--us { background: var(--accent); color: var(--on-accent); }
.compare__title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.compare__col--them .compare__title { color: var(--muted); }
.compare__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare__list li { position: relative; padding-left: 32px; font-size: 16px; }
.compare__list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.compare__col--them li { color: var(--muted); }
.compare__col--them li::before { content: "✕"; background: var(--bg-alt); color: var(--muted); }
.compare__col--us li::before { content: "✓"; background: rgba(255, 255, 255, .22); }

/* ============ STEPS ============ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  border-top: 2px solid var(--border);
  padding: 24px 4px 0;
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}
.step__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step__text { color: var(--muted); font-size: 15.5px; }
.step--accent { border-top-color: var(--accent); }
.step--accent .step__num { color: var(--accent); }

/* ============ PORTFOLIO ============ */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.work__preview {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
}
.work__preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; background: var(--surface); }
.work__preview--1 { background: linear-gradient(135deg, #4b3cff, #9b8cff); }
.work__preview--2 { background: linear-gradient(135deg, #111216, #3d3f4d); }
.work__preview--3 { background: linear-gradient(135deg, #0f8f6a, #6fd6a8); }
.work__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work__tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.work__title { font-size: 20px; font-weight: 700; }
.work__text { font-size: 15px; color: var(--muted); }
.work__text b { color: var(--text); font-weight: 600; }
.work__stack {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding-top: 4px;
}
.work__note {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.work__link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
}
.work__link:hover { text-decoration: underline; }

/* ============ PRICES ============ */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }
.price {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.prices .price.reveal {
  transition: opacity .6s ease, transform .25s ease, border-color .2s, box-shadow .2s;
}
.prices .price.reveal:hover,
.prices .price.reveal:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
  transform: translateY(-4px);
}
.prices .price:hover .btn--ghost,
.prices .price:focus-within .btn--ghost {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.price__title { font-size: 20px; font-weight: 700; }
.price__what { font-size: 15.5px; }
.price__for { font-size: 14.5px; color: var(--muted); }
.price__for b { color: var(--text); font-weight: 600; }
.price__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.price__time {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
}
.price__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.price__value { font-size: 16px; color: var(--muted); }
.price__value span {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.02em;
}
.price__list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; flex: 1; }
.price__list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; }
.price__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ============ INCLUDED ============ */
.included {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  gap: 18px;
}
.included__title { font-size: 18px; font-weight: 700; }
.included__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.included__list li { font-size: 15px; color: var(--muted); }
.included__list b { display: block; color: var(--text); font-size: 17px; }
.included__note { font-size: 14.5px; color: var(--muted); }
.included__note a { color: var(--accent); font-weight: 600; }

/* ============ REVIEWS ============ */
.review {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.review__text { margin: 0; font-size: 18px; line-height: 1.55; }
.review__author { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.review__author span { color: var(--muted); }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 24px;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 0;
  font-weight: 700;
  font-size: 17px;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding-bottom: 20px; color: var(--muted); }

/* ============ CONTACT ============ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact__links { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; }
.contact__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color .2s;
}
.contact__link:hover { border-color: var(--accent); }
.contact__label { color: var(--muted); font-size: 14px; }
.contact__value { font-weight: 700; word-break: break-all; text-align: right; }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 14px; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 16px/1.4 var(--font);
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); }
.field.is-invalid input { border-color: var(--error); }
.form__status { font-size: 15px; font-weight: 600; text-align: center; min-height: 1em; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--error); }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent a { color: var(--accent); }
.consent.is-invalid { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.footer .logo { color: var(--text); }
.footer__link { color: var(--muted); }
.footer__link:hover { color: var(--text); }

/* ============ DOCUMENT (политика) ============ */
.doc { color: var(--text); }
.doc__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -.02em;
}
.doc__meta { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc h2 { font-size: 20px; font-weight: 700; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 16px; color: var(--text); }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 10px 0; padding-left: 22px; display: grid; gap: 6px; }
.doc__table { overflow-x: auto; margin: 12px 0; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.doc th { background: var(--bg-alt); font-weight: 700; }
.doc tr:last-child td { border-bottom: 0; }

/* ============ REVEAL ANIMATION ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 32px;
    background: var(--bg);
    /* Прячем сверху, а не за правым краем — иначе страница становится шире экрана */
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav a:not(.btn) {
    padding: 16px 0;
    font-size: 20px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .nav__cta { margin-top: 24px; padding: 16px; font-size: 16px; }

  .cards--3, .works, .steps, .included__list { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr; max-width: 640px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 56px 0 64px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .facts { margin-top: 48px; }
  .fact { padding: 18px; }
  .fact__value { font-size: 21px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .cards--2, .cards--3, .cards--4, .works, .prices, .steps, .compare, .form__row {
    grid-template-columns: 1fr;
  }
  .compare__col, .price, .review, .form, .included { padding: 24px; }
  .card { padding: 24px; }
  .prices { gap: 28px; }
}
