/* ==========================================================================
   BREVIS.EXPRESS — SECTIONS
   Посекционные стили главной страницы.
   ========================================================================== */

/* ═════════════════════════════════════════════════════════════════ HERO */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px));
  padding-bottom: clamp(80px, 9vw, 130px);
  overflow: clip;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(40px, 6vw, 70px);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(30px, 4vw, 64px);
  }
}

/* Текст — над сценой куба: зал за кубом шире своей колонки, и на телефоне
   его край заходит на строку с цифрами. Колонка же — контейнер: по её
   ширине ограничен кегль заголовка (см. .hero__title) */
.hero__copy {
  position: relative;
  z-index: 1;
  container-type: inline-size;
}

.hero__chip {
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

/* На телефоне бейдж в две строки — пусть они будут ровными,
   а не «…НА БЛИЖАЙШУЮ» и одинокое «НЕДЕЛЮ» */
.hero__chip .badge {
  text-wrap: balance;
}

.hero__title {
  margin-bottom: clamp(20px, 2.6vw, 30px);
  /* Заголовок — единственный элемент этого размера на странице */
  font-size: clamp(2.4rem, 5.9vw, 4.9rem);
  /* …но не шире колонки. «Разработка» — 8.4 кегля в ширину; в две колонки
     (1000–1440px) кегль от ширины окна не влезал, и слово рвалось:
     «РАЗРАБОТК / А». 11.4cqi — ширина колонки с запасом 4% */
  font-size: min(clamp(2.4rem, 5.9vw, 4.9rem), 11.4cqi);
}

.hero__lead {
  max-width: 46ch;
  font-size: var(--step-1);
  color: var(--muted);
}

/* Ценник: цифра-якорь, вокруг которой строится всё предложение */
.hero__price {
  display: grid;
  gap: 2px;
  margin: clamp(26px, 3.4vw, 40px) 0 clamp(24px, 3vw, 34px);
  padding-left: 20px;
  border-left: 2px solid var(--lime);
}

.hero__price-key {
  color: var(--faint);
}

.hero__price-val {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1;
  color: var(--white);
}

.hero__price-note {
  font-size: 0.86rem;
  color: var(--faint);
}

.hero__cta {
  --gap: 14px;
  margin-bottom: clamp(34px, 4.4vw, 52px);
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

.hero__trust li {
  display: grid;
  gap: 2px;
}

.hero__trust b {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1;
  color: var(--white);
}

.hero__trust span {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--faint);
}

/* Кнопка «вниз» — фиксирует, что страница длинная */
.hero__scroll {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  gap: 14px;
  width: max-content;
  margin: clamp(30px, 4vw, 50px) auto 0;
  color: var(--faint);
  transition: color var(--dur) var(--ease);
}

@media (min-width: 1000px) {
  .hero__scroll {
    display: flex;
  }
}

.hero__scroll:hover {
  color: var(--lime);
}

.hero__scroll-ring {
  display: grid;
  place-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.hero__scroll-ring svg {
  width: 18px;
  height: 18px;
  animation: nudge 2.4s var(--ease) infinite;
}

.hero__scroll:hover .hero__scroll-ring {
  border-color: var(--lime);
  background: var(--lime-soft);
}

@keyframes nudge {

  0%,
  100% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(3px);
  }
}

/* ══════════════════════════════════════════════ ТАЙМЛАЙН · pin + scrub */

.tl {
  padding-block: 0;
}

.tl__pin {
  display: grid;
  align-content: center;
  gap: clamp(28px, 4vw, 52px);
  min-height: 100svh;
  padding-block: clamp(70px, 9vw, 110px);
}

.tl__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.tl__head .eyebrow {
  margin-bottom: 14px;
}

/* Внутри закреплённой секции заголовок обязан помещаться в экран целиком,
   поэтому он мельче общего размера h-sect */
.tl .h-sect {
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
}

/* Ноутбуки с низким экраном: ужимаем закреплённый блок, иначе карточки
   уезжают под нижнюю кромку */
@media (max-height: 780px) {
  .tl__pin {
    gap: clamp(18px, 3vw, 30px);
    padding-block: clamp(48px, 7vw, 74px);
  }

  .tl .h-sect {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  }

  .tl__clock-val {
    font-size: clamp(2rem, 4.6vw, 3.2rem);
  }

  .tl__step {
    padding: clamp(18px, 2.2vw, 26px);
    gap: 10px;
  }

  .tl__step p {
    font-size: 0.88rem;
  }

  .tl__list {
    gap: 6px;
  }

  .tl__list li {
    font-size: 0.82rem;
  }

  .tl__step-hours {
    margin-top: 8px;
    padding-top: 10px;
  }
}

.tl__clock {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.tl__clock-val {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.9;
  color: var(--lime);
}

/* Знак процента — единица измерения, а не часть числа: мельче и тише */
.tl__clock-val i {
  font-style: normal;
  font-size: 0.34em;
  vertical-align: 0.9em;
  margin-left: 0.08em;
  color: var(--faint);
}

.tl__clock-key {
  color: var(--faint);
}

.tl__viewport {
  overflow: hidden;
}

.tl__track {
  display: flex;
  gap: clamp(18px, 2.4vw, 30px);
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
}

.tl__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.55s var(--ease), background 0.55s var(--ease);
  width: clamp(280px, 74vw, 420px);
  padding: clamp(24px, 2.8vw, 36px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.tl__step::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--line-strong);
  transition: background 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.tl__step--final {
  background: var(--surface-2);
}

/* Этап пройден: приглушённый лаймовый след, без неонового крика.
   Класс вешает motion.js, когда шкала доходит до отрезка карточки. */
.tl__step.is-done {
  border-color: rgba(218, 254, 82, 0.3);
  background:
    linear-gradient(180deg, rgba(218, 254, 82, 0.05), transparent 58%),
    var(--surface);
}

.tl__step--final.is-done {
  background:
    linear-gradient(180deg, rgba(218, 254, 82, 0.07), transparent 58%),
    var(--surface-2);
}

.tl__step.is-done::before {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(218, 254, 82, 0.4);
}

.tl__step.is-done .tl__step-hours {
  color: var(--muted);
}

/* Отметка этапа вместо текстового ✓ из запасного шрифта — тот был тонким,
   на каждой системе своим и не показывал «ещё впереди». Теперь пока этап
   впереди — пустое кольцо; когда шкала дошла до карточки, кольцо заливается
   лаймом, а галочка прорисовывается штрихом. При прокрутке назад всё идёт
   в обратном порядке: CSS-переходы прерываемы, быстрый скролл не дёргает. */
.tl__check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.tl__check path {
  fill: none;
  stroke: var(--void);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* pathLength="1" в разметке: длина штриха — ровно единица */
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.34s var(--ease-out);
}

.tl__step.is-done .tl__check {
  background-color: var(--lime);
  box-shadow: inset 0 0 0 1.5px var(--lime), 0 0 10px rgba(218, 254, 82, 0.28);
}

/* Штрих стартует, когда заливка уже почти легла — читается как «отметили» */
.tl__step.is-done .tl__check path {
  stroke-dashoffset: 0;
  transition-delay: 0.12s;
}

.tl__step-idx {
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tl__step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.tl__list {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.tl__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.87rem;
  color: var(--muted);
}

.tl__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 1px;
  background: var(--lime);
}

.tl__step-hours {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
}

.tl__rail {
  position: relative;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.tl__rail-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
  box-shadow: 0 0 16px var(--lime-glow);
}

/* ═══════════════════════════════════════════════════════ БЕНТО-ГРИД */

.bento {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .bento {
    grid-template-columns: 1fr;
  }
}

/* Раскладка задана явно: при автоматической расстановке ячейки
   оставляли дыры. «Не входит» и «можно добавить» стоят парой —
   граница пакета и платные опции читаются вместе.

   ряд 1 :  [ 01 — на 4 колонки ]      [ 02 ]
   ряд 2 :  [ 03 ]  [ 04 ]  [ 05 ]
   ряд 3 :  [ не входит ] [ можно добавить ]                            */
@media (min-width: 701px) and (max-width: 999px) {
  .bento__cell--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .bento__cell--wide {
    grid-column: 1 / span 4;
    grid-row: 1;
  }

  .bento__incl>.bento__cell:nth-child(2) {
    grid-column: 5 / span 2;
    grid-row: 1;
  }

  .bento__incl>.bento__cell:nth-child(3) {
    grid-column: 1 / span 2;
    grid-row: 2;
  }

  .bento__incl>.bento__cell:nth-child(4) {
    grid-column: 3 / span 2;
    grid-row: 2;
  }

  .bento__incl>.bento__cell:nth-child(5) {
    grid-column: 5 / span 2;
    grid-row: 2;
  }

  .bento__cell--out {
    grid-column: 1 / span 3;
    grid-row: 3;
  }

  .bento__cell--add {
    grid-column: 4 / span 3;
    grid-row: 3;
  }
}

/* Обёртка пяти ячеек «что входит»: на широком экране её как будто нет —
   ячейки участвуют в сетке бенто напрямую. На телефоне она становится
   лентой со свайпом (правило [data-slider] в components.css) */
.bento__incl {
  display: contents;
}

.bento__cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento__num {
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.bento__cell p {
  font-size: 0.95rem;
  max-width: 62ch;
}

.bento__cell--wide h3 {
  max-width: 20ch;
}

/* Колонка «не входит» — намеренно другой характер: без hover, с магентой */
.bento__cell--out {
  gap: 18px;
  border-color: rgba(220, 75, 255, 0.22);
  background: linear-gradient(180deg, rgba(220, 75, 255, 0.06), transparent 55%), var(--surface);
}

.bento__out {
  display: grid;
  gap: 11px;
}

.bento__out li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--muted);
}

.bento__out li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 1px;
  background: var(--magenta);
}

.bento__out-note {
  margin-top: auto;
  font-size: 0.86rem;
  color: var(--faint);
}

/* ═════════════════════════════════════════════════════════════ КЕЙСЫ */

.cases {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.case {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(14px, 1.4vw, 18px);
}

/* flex: 1 обязателен — именно он даёт margin-top:auto у .metrics
   свободное место, чтобы прижать цифры к низу карточки */
.case__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px clamp(8px, 1.2vw, 16px) clamp(10px, 1.2vw, 16px);
}

.case__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.case__meta {
  color: var(--faint);
}

.case__body p {
  font-size: 0.93rem;
}

.case .metrics {
  margin-top: auto;
}

/* Кнопка поверх превью — появляется на hover, но всегда доступна с клавиатуры */
.case__open {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--void);
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -35%) scale(0.94);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.case:hover .case__open,
.case__open:focus-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (hover: none) {
  .case__open {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Отзыв */
.quote {
  position: relative;
  max-width: 62ch;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: clamp(28px, 3.6vw, 48px) clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}

.quote::before {
  content: '“';
  position: absolute;
  top: -0.22em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 1;
  color: var(--lime);
  opacity: 0.22;
}

.quote blockquote {
  position: relative;
  font-size: var(--step-2);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

.quote figcaption {
  margin-top: 20px;
  display: grid;
  gap: 2px;
}

.quote__who {
  font-weight: 100;
  color: var(--white);
}

.quote__role {
  font-size: 0.85rem;
  color: var(--faint);
}

/* ══════════════════════════════════════════════════ ВИТРИНА · тизер */

.show-teaser {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.teaser {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(14px, 1.4vw, 18px);
}

.teaser__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 2px clamp(8px, 1.2vw, 14px) clamp(8px, 1.2vw, 14px);
}

.teaser__body p {
  font-size: 0.91rem;
}

.teaser__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.teaser__price {
  font-size: 1.15rem;
  color: var(--white);
}

.teaser__price.faint {
  font-size: 0.85rem;
  font-family: var(--font-ui);
  font-weight: 500;
}

/* Проданный макет: приглушён и заштрихован — читается мгновенно */
.teaser--sold {
  opacity: 0.72;
}

.teaser--sold .thumb img {
  filter: grayscale(1) contrast(0.9);
}

.teaser--sold .thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(-45deg,
      transparent 0 12px,
      rgba(255, 255, 255, 0.045) 12px 24px);
}

.teaser__stamp {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transform: rotate(-7deg);
}

/* ══════════════════════════════════════════════════════ МЕТОДОЛОГИЯ */

.myths {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.myth {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.myth__num {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  transition: -webkit-text-stroke-color var(--dur) var(--ease);
}

.myth:hover .myth__num {
  -webkit-text-stroke-color: var(--lime);
}

.myth__claim {
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--faint);
  letter-spacing: -0.01em;
}

.myth__real {
  font-size: 0.95rem;
  color: var(--muted);
}

.myth__label {
  display: block;
  margin-bottom: 7px;
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* ════════════════════════════════════════════════════════ СРАВНЕНИЕ */

.cmp {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  align-items: stretch;
}

.cmp__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 1000px) {
  .cmp {
    grid-template-columns: 1fr 1.14fr 1fr;
    align-items: center;
  }

  .cmp__col--win {
    transform: scale(1.03);
    z-index: 1;
  }
}

.cmp__tag {
  color: var(--faint);
  letter-spacing: 0.18em;
}

.cmp__col--win .cmp__tag {
  color: rgba(18, 18, 18, 0.6);
}

/* .card--lime .badge задаёт тёмный текст и по специфичности (0,2,0)
   перебивал одиночный класс — надпись сливалась с чёрной плашкой */
.card--lime .cmp__ribbon {
  align-self: flex-start;
  margin-bottom: 2px;
  background: var(--void);
  border-color: var(--void);
  color: var(--lime);
}

.cmp__term {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--faint);
}

.cmp__term--win {
  color: var(--void);
}

.cmp__term--win span {
  font-size: 0.62em;
  opacity: 0.65;
}

.cmp__list {
  display: grid;
  gap: 12px;
  margin: 6px 0 auto;
}

.cmp__list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.93rem;
  line-height: 1.5;
}

.cmp__list li::before {
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

.cmp__list--minus li::before {
  content: '−';
  background: rgba(255, 255, 255, 0.06);
  color: var(--faint);
}

.cmp__list--plus li::before {
  content: '✓';
  background: var(--void);
  color: var(--lime);
}

.cmp__col--win .cmp__list li {
  color: rgba(18, 18, 18, 0.78);
}

.cmp__col--win .btn {
  margin-top: 10px;
}

/* ════════════════════════════════════════════════════════════ ТАРИФ */

.price {
  display: grid;
  gap: clamp(24px, 3.4vw, 48px);
  align-items: center;
}

@media (min-width: 900px) {
  .price {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.price__main {
  display: grid;
  gap: 16px;
}

.price__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.92;
}

.price__tag {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price__num {
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.86;
  color: var(--white);
}

.price__cur {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.price__note {
  max-width: 42ch;
}

.price__doc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
}

.price__doc .dot {
  color: var(--lime);
}

.price__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.checks {
  display: grid;
  gap: 13px;
}

/* Галочка — одна картинка точно по центру кружка, а кружок — по центру
   первой строки: (1.6em высота строки − 20px кружок) / 2. Раньше галочка
   рисовалась двумя псевдоэлементами на глаз и съезжала от кружка. */
.checks li {
  position: relative;
  padding-left: 34px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc((1.6em - 20px) / 2);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(218, 254, 82, 0.35);
  background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%23DAFE52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  background-origin: border-box;
}

/* ═══════════════════════════════════════════════════════════ О BREVIS */

.about {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

@media (min-width: 1000px) {
  .about {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-areas:
      'quote more'
      'stats more';
    align-items: start;
  }

  .about__quote {
    grid-area: quote;
  }

  .about__stats {
    grid-area: stats;
  }

  .about__more {
    grid-area: more;
    align-self: stretch;
  }
}

.about__quote {
  position: relative;
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 8% 0%, rgba(218, 254, 82, 0.07), transparent 60%),
    var(--surface);
}

.about__mark {
  display: block;
  place-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--void);
  font-size: 1.5rem;
}

.about__quote h2 {
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.about__sign {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--faint);
  line-height: 1.55;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  padding: 0 25px;
}

@media (min-width: 750px) {
  .about__stats {
    padding: 0 15px;
  }
}



.about__stats li {
  display: grid;
  gap: 4px;
  padding: clamp(18px, 2.4vw, 28px) clamp(12px, 1.6vw, 20px);
  background: var(--surface);
}

.about__stats b {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1;
  color: var(--lime);
}

.about__stats span {
  font-size: 0.78rem;
  color: var(--faint);
  line-height: 1.35;
}

.about__more {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__more .badge {
  align-self: flex-start;
}

.about__more p {
  font-size: 0.94rem;
}

.about__more .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ══════════════════════════════════════════════════════ СТАРТ · форма */

.start {
  overflow: clip;
}

.start__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 4.4vw, 60px);
  align-items: center;
}

@media (min-width: 940px) {
  .start__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  }
}

.start__copy {
  display: grid;
  gap: 18px;
}

.start__direct {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--line);
}

.start__phone {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1;
  color: var(--white);
  transition: color var(--dur) var(--ease);
}

.start__phone:hover {
  color: var(--lime);
}

.start__form {
  padding: clamp(24px, 3vw, 40px);
}

/* ═════════════════════════════════════════════════════════════ ФУТЕР */

.footer {
  padding-block: clamp(50px, 6vw, 80px) 30px;
  border-top: 1px solid var(--line);
}

.footer__top {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(34px, 4.4vw, 52px);
}

@media (min-width: 800px) {
  .footer__top {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
}

.footer__brand {
  display: grid;
  gap: 18px;
  align-content: start;
  max-width: 38ch;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--faint);
}

.footer__col {
  display: grid;
  gap: 11px;
  align-content: start;
}

.footer__title {
  color: var(--faint);
  letter-spacing: 0.18em;
  margin-bottom: 4px;
  font-weight: 600;
}

.footer__col a,
.footer__col span {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}

.footer__col a:hover {
  color: var(--lime);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--faint);
}

.footer__legal {
  color: var(--faint);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}

.footer__legal:hover {
  color: var(--white);
}

/* Мета-строка кейса лежит на превью: в шапке карточки она конфликтовала
   с длинными названиями ниш и ломала строку только у части карточек */
.case .case__meta {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(18, 18, 18, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.64rem;
  transition: opacity var(--dur) var(--ease);
}

.case:hover .case__meta {
  opacity: 0;
}


/* ═══════════════════════════════════════════════ HERO · подарки, агентство */

.hero__gifts {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(18px, 2.4vw, 26px);
  font-size: clamp(1.05rem, 0.92rem + 0.6vw, 1.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.hero__gifts b {
  color: var(--lime);
  font-weight: 800;
  white-space: nowrap;
}

.hero__gifts-plus {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: var(--lime);
  color: var(--void);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8em;
  line-height: 1;
}

.hero__gifts .arrow {
  color: var(--faint);
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.hero__gifts:hover .arrow {
  transform: translateY(3px);
  color: var(--lime);
}

.hero__gifts:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 6px;
  border-radius: var(--r-sm);
}

/* Подпись к цифрам доверия: чьи это 23 года и 1500 проектов.
   Линия переехала над подпись — подпись и цифры читаются одной группой. */
.hero-brevis-promo {
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  padding: 30px;
}

.hero__agency {
  margin-bottom: 25px;
  font-size: 1.3rem;
  color: var(--faint);
}

.hero__agency a {
  color: var(--lime);
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}

.hero__agency span {
  color: var(--white);
}

.hero__agency a:hover {
  color: var(--lime);
}

.hero__agency+.hero__trust {
  border-top: 0;
  padding-top: 0;
}

/* ═══════════════════════════════════════════════════════════ ПОДАРКИ */

.gifts__list {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  list-style: none;
}

.gift {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.gift__num {
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.gift__title {
  font-size: var(--step-1);
  color: var(--white);
  line-height: 1.2;
}

.gift__note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Цена прижата к низу: во всех четырёх карточках она на одной линии */
.gift__price {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
}

.gift__price s {
  color: var(--faint);
  font-size: 1rem;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(220, 75, 255, 0.85);
}

.gift__price b {
  color: var(--lime);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ══════════════════════════════════════════════ БЕНТО · можно добавить */

.bento__cell--add {
  border-color: rgba(218, 254, 82, 0.2);
  background: linear-gradient(180deg, rgba(218, 254, 82, 0.05), transparent 60%), var(--surface);
}

.extras {
  display: grid;
  list-style: none;
  margin-top: 4px;
}

.extras__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.extras__row:last-child {
  border-bottom: 1px solid var(--line);
}

.extras__name {
  font-size: 0.95rem;
  color: var(--muted);
}

.extras__name a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}

.extras__name a:hover {
  color: var(--lime);
}

.extras__price {
  flex: none;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--lime);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════ FAQ · живой человек на связи */

.faq-contact {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.person__photo {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.person__text {
  display: grid;
  gap: 2px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.person__name {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.person__role {
  color: var(--faint);
}

/* ═══════════════════════════════════════════ ПОДВАЛ · две юр. ссылки */

.footer__legals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

/* ═════════════════════════════════════════ КЕЙСЫ · скриншоты живых сайтов */

/* Параллакс увеличивает превью на 12%. От центра это срезало левый край,
   а у сайтов там заголовок («ухгалтерские» вместо «Бухгалтерские»).
   Растём от левого края — лишнее уходит вправо, где только картинки. */
.case .thumb img {
  transform-origin: 0 50%;
}

/* ═══════════════════════════════════════════ АНТИЧНОСТЬ · три фигуры
   Мрамор снят на чисто-чёрном фоне, lighten оставляет от кадра только камень:
   фигура стоит прямо на фоне секции, без «коробки» вокруг. На шапку нельзя
   вешать isolation — смешивать станет не с чем, и чёрный фон проступит.
   Фигура — декор: aria-hidden, под текстом, клики проходят насквозь.

   От 1200px — в промежутке между заголовком и абзацем, стоит на нижней
   линии шапки. Уже — полупрозрачно в правом верхнем углу, за текстом:
   белый заголовок поверх мрамора с прозрачностью 0.24 остаётся контрастным,
   а надпись над заголовком фигура не задевает. */

.section__head--fig {
  position: relative;
}

.section__head--fig> :not(.antique) {
  position: relative;
  z-index: 1;
}

.antique {
  position: absolute;
  z-index: 0;
  top: 14%;
  right: calc(var(--gutter) * -1);
  width: min(52vw, 320px);
  opacity: 0.24;
  pointer-events: none;
  mix-blend-mode: lighten;
}

.antique img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 98%);
}

@media (min-width: 1200px) {
  .antique {
    top: auto;
    right: auto;
    bottom: 0;
    left: var(--fig-x, 50%);
    width: var(--fig-w, 260px);
    transform: translateX(-50%);
    opacity: 1;
  }
}

/* Центр промежутка у каждой шапки свой: заголовки разной длины */
.antique--mercury {
  --fig-x: 49%;
  --fig-w: 330px;
}

.antique--column {
  --fig-x: 50.5%;
  --fig-w: 240px;
}

.antique--bust {
  --fig-x: 45%;
  --fig-w: 300px;
}





/* Подключайте после остальных стилей сайта.
   Блок занимает всю ширину родительского .container. */
.sprint-contact,
.sprint-contact * {
  box-sizing: border-box;
}

.sprint-contact {
  display: grid;
  justify-items: start;
  gap: 18px;
  width: 100%;
  min-width: 0;
  margin-top: 40px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg, 30px);
  background: rgba(38, 38, 38, 0.72);
  color: var(--white, #fff);
  font-family: var(--font-ui, 'Manrope', sans-serif);
}

.sprint-contact .sprint-contact__lead {
  max-width: 1000px;
  margin: 0;
  color: var(--muted, #aeaeae);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.025em;
}

.sprint-contact__person {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.sprint-contact .sprint-contact__photo {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line-strong, rgba(255, 255, 255, 0.16));
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface, #262626);
}

.sprint-contact .sprint-contact__info {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
  line-height: 1.4;
}

.sprint-contact__name {
  color: var(--white, #fff);
  font-size: 16px;
  font-weight: 700;
}

.sprint-contact__role {
  color: var(--faint, #777);
  font-size: 14px;
}

.sprint-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sprint-contact .sprint-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong, rgba(255, 255, 255, 0.16));
  border-radius: 999px;
  background: transparent;
  color: var(--white, #fff);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.24s, border-color 0.24s, color 0.24s;
}

.sprint-contact__button span {
  font-size: 16px;
  line-height: 1;
}

@media (hover: hover) {
  .sprint-contact .sprint-contact__button:hover {
    border-color: var(--lime, #dafe52);
    background: var(--lime, #dafe52);
    color: var(--void, #121212);
  }
}

.sprint-contact .sprint-contact__button:focus-visible {
  outline: 2px solid var(--lime, #dafe52);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .sprint-contact {
    margin-top: 24px;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .sprint-contact__role {
    font-size: 13px;
  }

  .hero__chip .badge {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sprint-contact .sprint-contact__button {
    transition: none;
  }
}