/* =========================================================
   KADR — продакшн. Чистая вёрстка (перенос с Tilda)
   Сетка десктопа: контейнер 1200px, поля 20px → контент 1160px
   Брейкпоинты: 1199 / 979 (мобильная шапка) / 639 / 479
   ========================================================= */

@font-face {
  font-family: "Namu";
  src: url("../assets/fonts/namu-1960.woff") format("woff");
  font-weight: 100 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Namu";
  src: url("../assets/fonts/namu-1990.woff") format("woff");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #19181d;
  --text: #eaeaea;
  --pink: #d81696;
  --btn: #d11592;
  --btn-hover: #c2006a;
  --num: #303030;
  --muted: #5a5a5a;

  --font-head: "Namu", Arial, sans-serif;
  --font-text: "Inter", Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 80px;

  /* Кегли десктопа (на мобилке переопределяются ниже) */
  --fs-h2: 70px;
  --fs-body: 17px;
  --fs-eyebrow: 17px;
}

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
hr { border: 0; margin: 0; }
cite { font-style: normal; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

[id] { scroll-margin-top: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Типографика ---------- */
.h2 {
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text);
}

.eyebrow {
  color: var(--pink);
  font-size: var(--fs-eyebrow);
  line-height: 1.55;
}

/* Двухколоночная «шапка» секции: заголовок слева, текст с 600px */
.split {
  display: grid;
  grid-template-columns: 600px 1fr;
  align-items: start;
}
.split__text { max-width: 560px; }

/* ---------- Кнопка ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 45px;
  border-radius: 5px;
  background: var(--btn);
  color: #fff;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  transition: background-color .2s ease-in-out;
}
.btn:hover { background: var(--btn-hover); }

/* ---------- Вращающиеся бейджи ---------- */
.badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.badge > * { grid-area: 1 / 1; }
.badge--200 { width: 200px; height: 200px; }
.badge--100 { width: 100px; height: 100px; }
.badge__ring { width: 100%; height: 100%; }
.badge__arrow { width: 70px; height: auto; transition: transform .3s ease; }
.badge__arrow--right { transform: rotate(-90deg); }
.badge__star { width: 36px; height: 36px; }

.spin { animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Появление при скролле (аналог fadeInUp Tilda) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 2s ease, transform 2s ease;
}
.reveal--late {
  transform: translateY(30px);
  transition-delay: .2s;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .spin, .marquee__track { animation: none !important; }
}

/* =========================================================
   ШАПКА
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}
.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.header__logo {
  width: 66px;
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 36px;
  text-align: center;
  color: var(--text);
}
.header__nav {
  display: flex;
  gap: 32px;
  margin-left: 94px;
}
.header__nav a {
  font-size: 16px;
  color: var(--text);
  transition: color .2s ease;
}
.header__nav a:hover { color: var(--pink); }
.header__cta {
  margin-left: auto;
  font-size: 16px;
}

/* Бургер */
.burger {
  display: none;
  position: relative;
  width: 28px;
  height: 20px;
  margin-left: auto;
  z-index: 102;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 8px; }
.burger span:nth-child(3) { top: 16px; }
.burger.is-open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.mobile-menu__nav a {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease, color .2s ease;
}
.mobile-menu.is-open .mobile-menu__nav a { transform: none; opacity: 1; }
.mobile-menu__nav a:hover { color: var(--pink); }
.mobile-menu__cta { width: 220px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  background: #000;
}
.hero__video,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__video { object-fit: cover; }
.hero__overlay { background: rgba(0, 0, 0, .12); }

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}
.hero__eyebrow {
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.55;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero__title {
  max-width: 754px;
  font-family: var(--font-head);
  font-size: 70px;
  font-weight: 500;
  line-height: 1.05;
  color: #ddd;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__text {
  max-width: 436px;
  margin-bottom: 30px;
}

.hero__badge {
  position: absolute;
  inset: auto 0 78px;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.hero__badge .badge { pointer-events: auto; }
.hero__badge:hover .badge__arrow { transform: translateY(6px); }

/* =========================================================
   БЕГУЩАЯ СТРОКА (десктоп)
   ========================================================= */
.marquee {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(250 / 1200 * 100vw);
  padding: calc(25 / 1200 * 100vw) 0 calc(25 / 1200 * 100vw);
  overflow: hidden;
  background: var(--bg);
  user-select: none;
}
.marquee__row { display: flex; overflow: hidden; }
.marquee__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: var(--mq-gap);
  padding-right: var(--mq-gap);
  --mq-gap: calc(64 / 1200 * 100vw);
  animation: marquee-left var(--mq-speed, 40s) linear infinite;
}
.marquee__row--right .marquee__track { animation-name: marquee-right; }
.marquee__text {
  font-family: var(--font-head);
  font-size: calc(80 / 1200 * 100vw);
  font-weight: 500;
  line-height: 1.05;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__arrow { width: calc(70 / 1200 * 100vw); height: auto; }
.marquee__arrow--right { transform: rotate(-90deg); }
.marquee__arrow--left { transform: rotate(90deg); }

@keyframes marquee-left { to { transform: translateX(-100%); } }
@keyframes marquee-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* =========================================================
   ПРЕИМУЩЕСТВА 01–04
   ========================================================= */
.section { position: relative; background: var(--bg); }

.why { padding: 83px 0 132px; }
.why__grid {
  display: grid;
  grid-template-columns: 600px 1fr;
  row-gap: 146px;
}
.why__item {
  display: grid;
  grid-template-columns: 200px 1fr;
}
.why__num {
  font-family: Arial, sans-serif;
  font-size: 130px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--num);
}
.why__title {
  max-width: 360px;
  margin-top: 15px;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--pink);
}
.why__text {
  max-width: 362px;
  margin-top: 60px;
}

/* =========================================================
   ЦИФРЫ
   ========================================================= */
.stats { padding: 70px 0 30px; }
.stats__grid {
  display: grid;
  grid-template-columns: 600px 1fr;
}
.stats__title { max-width: 561px; margin-top: 30px; }
.stats__body { padding-top: 60px; }
.stats__row {
  display: grid;
  grid-template-columns: 300px 1fr;
}
.stat__label {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.55;
}
.stat__value {
  margin-top: 19px;
  font-size: 50px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--pink);
}
.stat__text {
  max-width: var(--w, 224px);
  margin-top: 71px;
}
.stats__line {
  width: 100%;
  height: 2px;
  margin: 80px 0 42px;
  background: var(--pink);
  transition: transform .4s ease;
}
.stats__row + .stats__line + .stats__row + .stats__line { margin-top: 54px; }
.stats__line:hover { transform: translateY(44px) scaleY(30); }

.stats__mini {
  display: grid;
  grid-template-columns: 214px 202px 1fr;
}
.mini__label { font-size: 17px; }
.mini__value {
  margin-top: 30px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--pink);
}

/* =========================================================
   ПОРТФОЛИО
   ========================================================= */
.works { padding: 156px 0 152px; }
.works__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 43px;
}
.works__item { transform: translateX(var(--shift, 0)); }
.works__link {
  position: relative;
  display: block;
  text-align: center;
}
.works__title {
  font-family: var(--font-head);
  font-size: 55px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
}
.works__arrow {
  position: absolute;
  top: -4px;
  left: 100%;
  width: 80px;
  height: auto;
  margin-left: 6px;
  opacity: 0;
  transition: opacity .2s ease-out;
}
.works__link:hover .works__arrow,
.works__link:focus-visible .works__arrow { opacity: 1; }

.works__previews {
  position: absolute;
  top: 148px;
  left: calc(50% - 361px);
  width: 710px;
  height: 400px;
  pointer-events: none;
}
.works__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .2s ease-out;
}
.works__preview.is-active { opacity: 1; }

/* =========================================================
   КАК МЫ РАБОТАЕМ
   ========================================================= */
.process { padding: 70px 0 167px; }
.process__title {
  max-width: 500px;
  font-family: var(--font-head);
  font-size: 50px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}
.process__steps {
  display: grid;
  grid-template-columns: 450fr 403fr 307fr;
  margin-top: 163px;
}
.step { position: relative; }
.step__img {
  position: absolute;
  top: -153px;
  left: var(--img-x);
  z-index: 0;
  width: 360px;
  height: 520px;
  object-fit: cover;
  opacity: 0;
  filter: brightness(80%);
  pointer-events: none;
  transition: opacity .2s ease-out;
}
.step:hover .step__img { opacity: .55; }
.step__title,
.step__text { position: relative; z-index: 1; }
.step__title {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--pink);
  text-transform: uppercase;
}
.step__chevron {
  position: absolute;
  top: 3px;
  left: 78.5%;
  width: 30px;
  height: auto;
  opacity: .45;
}
.step__text {
  max-width: 285px;
  margin-top: 87px;
}

/* =========================================================
   ФОРМАТЫ / ЦЕНЫ
   ========================================================= */
.pricing { padding: 80px 0 0; }
.pricing__title { max-width: 610px; margin-top: 20px; }
.pricing .split__text { margin-top: 20px; max-width: 517px; }
.pricing .split { align-items: start; }

.plans { margin-top: 64px; }
.plan {
  display: grid;
  grid-template-columns: 300px 600px 1fr;
  padding: 60px 0;
  border-top: 2px solid var(--pink);
}
.plan__name {
  font-family: Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: -12px;
}
.plan__text {
  max-width: 540px;
  font-weight: 500;
  line-height: 1.1;
}
.plan__btn { width: 220px; margin-top: 61px; }
.plan__price {
  font-family: Arial, sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--pink);
  white-space: nowrap;
}
.plan__aside { position: relative; }
.plan__badge { position: absolute; top: calc(100% + 38px); left: 0; }

/* =========================================================
   ЕСТЬ ИДЕЯ?
   ========================================================= */
.idea { padding: 70px 0 74px; }
.idea__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.idea__title { max-width: 998px; margin-top: 29px; line-height: 1.1; }
.idea__badge { margin-top: 206px; }
.idea__badge:hover .badge__arrow--right { transform: rotate(-90deg) translateY(8px); }

/* =========================================================
   КОМАНДА
   ========================================================= */
.team { padding: 60px 0 50px; }
.team__title { max-width: 501px; margin-top: 29px; }
.team .split__text { margin-top: 29px; max-width: 561px; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 89px 40px;
  margin-top: 45px;
}
.member__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 260 / 350;
  object-fit: cover;
}
.member figcaption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  line-height: 1.45;
}
.member__name {
  color: #ce168f;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.member__role { color: #fff; }

.team__cta {
  grid-column: 3 / span 2;
  align-self: start;
  aspect-ratio: 560 / 350;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 10px 48px 60px;
  border: 1px solid rgba(255, 255, 255, .3);
}
.team__cta-title {
  max-width: 489px;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
}
.team__cta-text {
  max-width: 438px;
  margin-top: 20px;
  color: #fff;
}
.team__cta-btn { width: 440px; max-width: 100%; margin-top: 21px; }

/* =========================================================
   ОТЗЫВЫ
   ========================================================= */
.reviews { padding: 110px 0 49px; }
.reviews__title { margin-top: 20px; }
.reviews__grid {
  display: grid;
  grid-template-columns: 600px 1fr;
  row-gap: 83px;
  margin-top: 50px;
}
.review {
  display: grid;
  grid-template-columns: 100px 1fr;
  column-gap: 36px;
  align-items: start;
}
.review__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background: #c4c4c4;
}
.review__text { max-width: 414px; margin-top: 11px; }
.review footer { display: flex; flex-direction: column; margin-top: 10px; }
.review__name {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.55;
}
.review__role {
  font-family: Arial, sans-serif;
  font-weight: 100;
  color: var(--pink);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 60px 0 75px; }
.faq__title { margin-top: 20px; }
.accordion { margin-top: 61px; }
.accordion__item { border-top: 2px solid var(--pink); }
.accordion__item:last-child { border-bottom: 2px solid var(--pink); }
.accordion__head {
  position: relative;
  display: block;
  width: 100%;
  padding: 27px 50px 27px 0;
  text-align: left;
}
.accordion__question {
  font-family: var(--font-head);
  font-size: 30px;
  line-height: 1.35;
  color: var(--text);
}
.accordion__icon {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  transition: transform .3s ease-in-out;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--text);
  transition: background-color .2s ease-in-out;
}
.accordion__icon::before { top: 10px; left: 0; width: 22px; height: 1px; }
.accordion__icon::after { top: 0; left: 10px; width: 1px; height: 22px; }
.accordion__head:hover .accordion__icon::before,
.accordion__head:hover .accordion__icon::after { background: var(--pink); }
.accordion__item.is-open .accordion__icon { transform: rotate(-45deg); }

.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .3s ease-in-out, opacity .3s ease-in-out;
}
.accordion__body > p {
  overflow: hidden;
  max-width: 600px;
  font-size: 16px;
}
.accordion__item.is-open .accordion__body { grid-template-rows: 1fr; opacity: 1; }
.accordion__item.is-open .accordion__body > p { padding-bottom: 30px; }

/* =========================================================
   ФОРМА «ГОТОВЫ СОЗДАТЬ…»
   ========================================================= */
.lead { padding: 142px 0 115px; overflow: hidden; }
.lead__inner { position: relative; }
.lead__main { position: relative; z-index: 1; max-width: 709px; }
.lead__title { line-height: 1.1; }
.lead__photo {
  position: absolute;
  top: 35px;
  right: -100px;
  width: 580px;
  height: 637px;
  object-fit: cover;
}

.lead-form { width: 460px; margin-top: 49px; }
.field { display: block; margin-bottom: 20px; }
.field__label {
  display: block;
  margin-bottom: 5px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: var(--pink);
}
.field__input {
  width: 100%;
  height: 50px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--pink);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: 16px;
  outline: none;
}
.field__input::placeholder { color: var(--text); opacity: .5; }
.field__input:focus { border-bottom-color: var(--text); }
.field__input.is-invalid { border-bottom-color: #ff4d4d; }
.field__phone {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--pink);
}
.field__phone .field__input { border-bottom: 0; }
.field__flag {
  width: 18px;
  height: 12px;
  flex-shrink: 0;
  background: linear-gradient(#fff 0 33.3%, #0039a6 33.3% 66.6%, #d52b1e 66.6%);
}
.lead-form__submit { margin-top: 9px; }
.lead-form__submit:hover .badge__arrow--right { transform: rotate(-90deg) translateY(8px); }

.form-status { min-height: 1.55em; margin-top: 12px; font-size: 15px; color: var(--pink); }

/* =========================================================
   КОНТАКТЫ
   ========================================================= */
.contacts { padding: 90px 0 57px; }
.contacts__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.contacts__title { max-width: 957px; line-height: 1.1; }
.contacts__arrow {
  width: 70px;
  margin: 11px 37px 0 0;
  transform: rotate(225deg);
  transition: transform .3s ease;
}
.contacts__arrow:hover { transform: rotate(225deg) translateY(8px); }

.contacts__grid {
  display: grid;
  grid-template-columns: 600px 1fr;
  margin-top: 126px;
}
.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 700;
}
.contacts__info a,
.contacts__info span { color: var(--pink); }
.contacts__info a:hover { text-decoration: underline; }
.contacts__info .contacts__dev { margin-top: 10px; }
.contacts__info .contacts__dev a { color: var(--muted); }

.socials {
  display: grid;
  grid-template-columns: 205px 195px auto;
  row-gap: 37px;
  align-content: start;
  margin-top: -10px;
}
.socials a {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--text);
  transition: color .2s ease, border-color .2s ease;
}
.socials a:hover { color: var(--pink); border-color: var(--pink); }
/* Порядок как в оригинале: Telegram / YouTube / Vimeo, ниже Instagram / ВКонтакте */

/* =========================================================
   ПОП-АП
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(12, 15, 13, .8);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  width: 560px;
  max-width: 100%;
  margin: auto;
  padding: 40px 45px;
  border-radius: 12px;
  background: #fff;
  color: #000;
  text-align: center;
  transform: translateY(30px) scale(.97);
  transition: transform .35s ease;
}
.modal.is-open .modal__box { transform: none; }
.modal__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 23px;
  height: 23px;
}
.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 30px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}
.modal__close::after { transform: rotate(-45deg); }
.modal__title {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.23;
  text-transform: uppercase;
  margin-bottom: 11px;
}
.modal__text,
.modal__note {
  font-size: 15px;
  font-weight: 300;
}
.modal-form { margin-top: 24px; text-align: left; }
.modal-field { display: block; margin-bottom: 25px; }
.modal-field span {
  display: block;
  padding-bottom: 5px;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}
.modal-field input {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
  background: #fff;
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease;
}
.modal-field input::placeholder { color: #000; opacity: .5; }
.modal-field input:focus { border-color: var(--pink); }
.modal-field input.is-invalid { border-color: #ff4d4d; }
.modal-form__submit {
  width: 100%;
  height: 60px;
  background: #d51694;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.modal-form .form-status { text-align: center; }
.modal__note { margin-top: 8px; }

/* =========================================================
   АДАПТИВ
   ========================================================= */

/* --- 980–1199: та же раскладка, резиновые колонки --- */
@media (max-width: 1199px) {
  .split,
  .why__grid,
  .stats__grid,
  .reviews__grid,
  .contacts__grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .why__item { grid-template-columns: 160px 1fr; }
  .why__num { font-size: 110px; }
  .plan { grid-template-columns: 26% 1fr 24%; column-gap: 20px; }
  .plan__price { font-size: 34px; }
  .works__title { font-size: 48px; }
  .works__arrow { opacity: 1; }
  .works__previews { display: none; }
  .step__img { display: none; }
  .lead__photo { right: -40px; width: 46%; }
  .team__cta-title { font-size: 34px; }
  .team__cta { padding: 36px 40px; }
  .idea__title { font-size: 60px; }
}

/* --- ≤979: мобильная шапка, бегущая строка скрыта (как в оригинале) --- */
@media (max-width: 979px) {
  :root { --fs-h2: 48px; --header-h: 64px; }

  .header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .3s ease; }
  .header.is-scrolled { background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px); }
  .header__nav,
  .header__cta { display: none; }
  .burger { display: block; }
  .header__logo { width: auto; font-size: 19px; letter-spacing: 1px; color: #fff; }

  .marquee { display: none; }

  .hero { min-height: 670px; }
  .hero__title { font-size: 54px; max-width: 600px; }

  .split { grid-template-columns: 1fr; }
  .split__text { margin-top: 24px !important; }

  .why { padding: 90px 0; }
  .why__grid { grid-template-columns: 1fr 1fr; row-gap: 70px; }
  .why__item { grid-template-columns: 1fr; }
  .why__num { font-size: 80px; }
  .why__title { font-size: 32px; margin-top: 10px; }
  .why__text { margin-top: 24px; }

  .stats { padding: 70px 0; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__title { margin-top: 20px; }
  .stats__body { padding-top: 40px; }
  .stat__text { max-width: 300px; margin-top: 30px; }
  .stats__line { margin: 50px 0 36px !important; }
  .stats__line:hover { transform: none; }

  .works { padding: 90px 0; }
  .works__list { align-items: flex-start; gap: 36px; }
  .works__item { transform: none; width: 100%; }
  .works__link { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; text-align: left; }
  .works__title { font-size: 36px; white-space: normal; }
  .works__arrow { position: static; width: 56px; margin: 0; flex-shrink: 0; }

  .process { padding: 70px 0 90px; }
  .process__steps { grid-template-columns: 1fr; gap: 50px; margin-top: 60px; }
  .step__chevron { display: none; }
  .step__text { max-width: 520px; margin-top: 24px; }

  .pricing { padding: 70px 0 30px; }
  .plans { margin-top: 40px; }
  .plan { grid-template-columns: 1fr; padding: 50px 0; }
  .plan__name { margin: 0; order: 1; }
  .plan > .plan__price,
  .plan__aside { order: 2; margin-top: 10px; }
  .plan__aside { display: flex; flex-direction: column-reverse; align-items: flex-start; }
  .plan__aside { position: static; }
  .plan__badge { position: static; margin: 0 0 30px; }
  .plan:has(.plan__aside) .plan__name { order: 2; }
  .plan:has(.plan__aside) .plan__aside { order: 1; display: contents; }
  .plan:has(.plan__aside) .plan__badge { order: 1; }
  .plan:has(.plan__aside) .plan__price { order: 3; margin-top: 10px; }
  .plan__body { order: 4; margin-top: 40px; }

  .idea { padding: 70px 0 90px; }
  .idea__inner { flex-direction: column; gap: 40px; }
  .idea__title { font-size: var(--fs-h2); }
  .idea__badge { margin-top: 0; }

  .team { padding: 60px 0 70px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 50px 20px; margin-top: 50px; }
  .team__cta { grid-column: 1 / -1; aspect-ratio: auto; }

  .reviews { padding: 70px 0; }
  .reviews__grid { grid-template-columns: 1fr; row-gap: 60px; }
  .review__name { font-size: 32px; }

  .faq { padding: 60px 0; }
  .faq__title { margin-top: 12px; }
  .accordion { margin-top: 40px; }
  .accordion__question { font-size: 24px; }

  .lead { padding: 70px 0 90px; }
  .lead__inner { display: flex; flex-direction: column-reverse; gap: 50px; }
  .lead__photo { position: static; width: 100%; height: auto; aspect-ratio: 580 / 637; max-height: 600px; }
  .lead-form { width: 100%; max-width: 460px; }

  .contacts { padding: 80px 0 50px; }
  .contacts__arrow { margin-right: 0; }
  .contacts__grid { grid-template-columns: 1fr; margin-top: 60px; row-gap: 50px; }
  .socials { margin-top: 0; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 60px; }
}

/* --- ≤639: телефон --- */
@media (max-width: 639px) {
  :root { --fs-h2: 30px; --fs-body: 12px; --fs-eyebrow: 12px; }

  .container { padding-inline: max(16px, calc((100% - 300px) / 2)); }
  .header .container { padding-inline: 20px; }

  .h2 { line-height: 1.3; }
  .btn { font-size: 12px; }

  .hero { min-height: 650px; }
  .hero__content { justify-content: flex-start; padding-top: 75px; }
  .hero__eyebrow { font-size: 12px; margin-bottom: 20px; }
  .hero__title { font-size: 30px; line-height: 1.3; margin-bottom: 21px; }
  .hero__text { font-size: 12px; margin-bottom: 31px; max-width: 300px; }
  .hero__badge { bottom: 60px; }
  .hero__badge .badge { width: 130px; height: 130px; }
  .hero__badge .badge__arrow { width: 36px; }

  .why { padding: 73px 0 60px; }
  .why__grid { grid-template-columns: 1fr; row-gap: 50px; }
  .why__num { font-size: 30px; line-height: 1.3; }
  .why__title { font-size: 30px; line-height: 1.3; margin-top: 10px; }
  .why__text { margin-top: 20px; line-height: 1.6; }

  .stats { padding: 60px 0 50px; }
  .stats__title { margin-top: 20px; }
  .stats__body { padding-top: 30px; }
  .stats__row { grid-template-columns: 1fr; row-gap: 60px; }
  .stat__label { font-size: 25px; }
  .stat__value { font-size: 30px; line-height: 1.3; margin-top: 19px; }
  .stat__text { margin-top: 20px; line-height: 1.6; }
  .stats__line { margin: 60px 0 36px !important; }
  .stats__row + .stats__line { visibility: hidden; margin: 30px 0 !important; }
  .stats__mini { grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .mini__label { font-size: 13px; }
  .mini__value { font-size: 25px; line-height: 1.3; margin-top: 15px; }

  .works { padding: 90px 0 110px; }
  .works__list { gap: 30px; }
  .works__title { font-size: 22px; line-height: 1.3; max-width: 240px; }
  .works__arrow { width: 40px; }

  .process { padding: 60px 0 60px; }
  .process__title { font-size: 30px; line-height: 1.3; }
  .process__steps { gap: 40px; margin-top: 50px; }
  .step__title { font-size: 30px; }
  .step__text { margin-top: 20px; line-height: 1.6; }

  .pricing { padding: 60px 0 10px; }
  .pricing__title { margin-top: 20px; }
  .plan { padding: 60px 0 50px; }
  .plan__name { font-size: 30px; }
  .plan__price { font-size: 30px; }
  .plan__text { max-width: 290px; line-height: 1.35; font-weight: 600; }
  .plan__body { margin-top: 40px; }
  .plan__btn { width: 200px; margin-top: 30px; }

  .idea { padding: 60px 0 70px; }
  .idea__title { margin-top: 20px; }
  .idea__badge { width: 110px; height: 110px; }
  .idea__badge .badge__arrow { width: 36px; }

  .team { padding: 50px 0 60px; }
  .team__title { margin-top: 20px; }
  .team__grid { grid-template-columns: 1fr; gap: 50px; }
  .member figcaption { gap: 11px; margin-top: 28px; line-height: 1.4; }
  .team__cta { padding: 46px 30px 40px; }
  .team__cta-title { font-size: 30px; line-height: 1; }
  .team__cta-text { font-size: 12px; line-height: 1.65; }
  .team__cta-btn { width: 200px; }

  .reviews { padding: 70px 0 60px; }
  .reviews__title { margin-top: 20px; }
  .reviews__grid { row-gap: 60px; margin-top: 30px; }
  .review { grid-template-columns: 56px 1fr; column-gap: 20px; }
  .review__avatar { width: 56px; height: 56px; }
  .review__text { margin-top: 6px; line-height: 1.6; }
  .review__name { font-size: 25px; }
  .review__role { font-size: 12px; }

  .faq { padding: 60px 0 40px; }
  .faq__title { margin-top: 20px; }
  .accordion { margin-top: 30px; }
  .accordion__head { padding: 15px 50px 14px 0; }
  .accordion__question { font-size: 20px; }
  .accordion__body > p { font-size: 14px; }

  .lead { padding: 60px 0; }
  .lead__inner { gap: 50px; }
  .lead__photo { aspect-ratio: 3 / 2; }
  .lead-form { margin-top: 30px; }
  .lead-form__submit { width: 110px; height: 110px; }
  .lead-form__submit .badge__arrow { width: 36px; }

  .contacts { padding: 83px 0 60px; }
  .contacts__title { max-width: 218px; }
  .contacts__arrow { width: 32px; margin-top: 18px; }
  .contacts__grid { margin-top: 50px; row-gap: 50px; }
  .contacts__info { gap: 10px; line-height: 1.6; }
  .socials { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 20px; row-gap: 40px; font-size: 12px; }

  .modal__box { padding: 34px 22px; }
  .modal__title { font-size: 24px; }
  .modal-field span { font-size: 17px; }
}
