/* =========================================================
   номер — digital для отелей
   Вёрстка по макету Figma (1440 px). Адаптив: 1180 / 900 / 760 / 520.
   ========================================================= */

:root {
  --blue: #2348f5;
  --ink: #151823;
  --gray: #6d7280;
  --line: #e4e6ed;
  --bg: #f5f6fa;
  --yellow: #ffe34a;
  --red: #ff5547;
  --blue-soft: #c9d2ff;
  --blue-line: #5773ff;
  --icon-bg: #eef1ff;

  --g: clamp(20px, 4.445vw, 64px);          /* боковые поля: 64 px на 1440 */
  --maxw: 1312px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
hr { border: 0; }
em, i, u { font-style: normal; text-decoration: none; }

.ic {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.wrap { width: min(100% - 2 * var(--g), var(--maxw)); margin-inline: auto; }

/* ---------- утилиты ---------- */
.c-blue { color: var(--blue); }
.c-white { color: #fff; }
.c-yellow { color: var(--yellow); }
.bg-blue { background: var(--blue); color: #fff; }
.bg-yellow { background: var(--yellow); color: var(--ink); }
.bg-red { background: var(--red); color: #fff; }

/* ---------- типографика ---------- */
.h2 {
  font-size: clamp(32px, 3.334vw, 48px);
  line-height: 1.12;
  font-weight: 600;
  color: var(--ink);
}
.h2--xl { font-size: clamp(38px, 3.958vw, 57px); line-height: 1.08; }
.p { font-size: 16px; line-height: 1.55; color: var(--gray); }
.p--18 { font-size: 18px; }
.p--onblue { color: var(--blue-soft); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; line-height: 1.25;
  text-transform: uppercase; color: var(--gray);
}
.eyebrow--onblue { color: var(--blue-soft); }
.eyebrow--dot { color: var(--ink); }
.eyebrow--dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.sq { width: 7px; height: 7px; background: var(--blue); flex: none; }
.sq--y { background: var(--yellow); }

.hr { height: 1px; background: var(--line); margin-top: 40px; }

/* ---------- кнопки / метки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 24px;
  border: 1px solid transparent; border-radius: 8px;
  font-weight: 600; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #1b3bd9; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { height: 46px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 26px; font-size: 16px; }

.pill {
  display: inline-flex; align-items: center;
  padding: 7px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 500; line-height: 15px; white-space: nowrap;
  border: 1px solid transparent;
}
.pill--line { border-color: var(--blue-line); color: #fff; }
.pill--yellow { background: var(--yellow); color: var(--ink); }
.pill--grey { background: var(--bg); color: var(--ink); }
.pill--grey-bd { color: var(--ink); }

/* =========================================================
   НАВИГАЦИЯ
   ========================================================= */
.nav { border-bottom: 1px solid var(--line); background: #fff; }
.nav__in {
  width: min(100% - 2 * var(--g), var(--maxw)); margin-inline: auto;
  height: 104px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav__in .btn { justify-self: end; }
.nav__menu { display: flex; gap: 30px; font-size: 14px; }
.nav__menu a:hover { color: var(--blue); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 33px; height: 33px; border-radius: 7px; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 22px; font-weight: 700; line-height: 1; padding-bottom: 1px;
}
.logo__name { font-size: 30px; font-weight: 700; line-height: 36px; color: var(--ink); }
.logo__tag { font-size: 10px; font-weight: 500; line-height: 1.3; color: var(--gray); }

/* =========================================================
   ПЕРВЫЙ ЭКРАН
   ========================================================= */
.hero__in {
  width: min(100% - 2 * var(--g), var(--maxw)); margin-inline: auto;
  padding: 76px 0 64px;
  display: grid; grid-template-columns: minmax(0, 712px) minmax(0, 552px);
  justify-content: space-between; align-items: center; gap: 48px;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero__h1 {
  font-size: clamp(44px, 5.278vw, 76px);
  line-height: 1.04; font-weight: 600; color: var(--ink);
}
.hero__h1 span { display: block; }
.hero__lead { font-size: 20px; line-height: 1.5; color: var(--gray); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray); }

.audience { border-block: 1px solid var(--line); }
.audience__in {
  width: min(100% - 2 * var(--g), var(--maxw)); margin-inline: auto;
  padding: 27px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
  font-size: 16px; font-weight: 500; line-height: 19px; white-space: nowrap;
}
.audience__label { font-size: 12px; font-weight: 400; color: var(--gray); }

/* --- композиция справа: масштабируется целиком, ничего не «плывёт» --- */
.hv { container-type: inline-size; width: 100%; max-width: 552px; justify-self: end; }
.hv > * { --u: calc(100cqw / 552); }
.hv__in {
  position: relative; width: 100%; aspect-ratio: 552 / 555;
  background: var(--bg); border-radius: calc(28 * var(--u)); overflow: hidden;
}
.hv__line { position: absolute; background: var(--line); }
.hv__line--v { left: calc(275 * var(--u)); top: 0; bottom: 0; width: 1px; }
.hv__line--h { top: calc(278 * var(--u)); left: 0; right: 0; height: 1px; }

.hv__site {
  position: absolute; left: calc(36 * var(--u)); top: calc(32 * var(--u)); width: calc(414 * var(--u));
  background: #fff; border-radius: calc(14 * var(--u)); padding: calc(12 * var(--u));
  display: flex; flex-direction: column; gap: calc(12 * var(--u));
  box-shadow: 0 calc(12 * var(--u)) calc(35 * var(--u)) rgba(32, 47, 84, .06);
}
.hv__bar { display: flex; align-items: center; gap: calc(6 * var(--u)); height: calc(12 * var(--u)); color: var(--gray); }
.hv__bar i { width: calc(5 * var(--u)); height: calc(5 * var(--u)); border-radius: 50%; background: #d2d5de; flex: none; }
.hv__bar span { flex: 1; text-align: center; font-size: calc(10 * var(--u)); line-height: 1; }
.hv__bar .ic { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
.hv__shop {
  position: relative; height: calc(194 * var(--u)); border-radius: calc(8 * var(--u)); overflow: hidden;
  background: #5d7e8c;
}
.hv__shop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hv__chart {
  position: absolute; left: calc(100 * var(--u)); top: calc(321 * var(--u)); width: calc(421 * var(--u));
  background: var(--blue); color: #fff; border-radius: calc(16 * var(--u)); padding: calc(20 * var(--u));
  display: flex; flex-direction: column; gap: calc(10 * var(--u));
}
.hv__chart-head { display: flex; align-items: center; justify-content: space-between; font-size: calc(13 * var(--u)); line-height: 1.2; }
.hv__chart-head em {
  border: 1px solid var(--blue-line); border-radius: 100px;
  padding: calc(7 * var(--u)) calc(12 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 500; line-height: 1.25;
}
.hv__metric { display: flex; align-items: baseline; gap: calc(12 * var(--u)); white-space: nowrap; }
.hv__metric b { font-size: calc(43 * var(--u)); font-weight: 600; line-height: 1.2; }
.hv__metric span { font-size: calc(11 * var(--u)); color: var(--blue-soft); }
.hv__trend { width: calc(375 * var(--u)); height: calc(65 * var(--u)); overflow: visible; }
.hv__months { display: flex; justify-content: space-between; font-size: calc(9 * var(--u)); line-height: 1.2; color: var(--blue-soft); }

.hv__toast {
  position: absolute; left: calc(18 * var(--u)); top: calc(277 * var(--u));
  display: flex; align-items: flex-start; gap: calc(9 * var(--u));
  background: var(--yellow); color: var(--ink); border-radius: calc(10 * var(--u)); padding: calc(12 * var(--u));
  box-shadow: 0 calc(5 * var(--u)) calc(20 * var(--u)) rgba(32, 47, 84, .07);
  font-size: calc(12 * var(--u)); font-weight: 600; line-height: calc(20 * var(--u)); white-space: nowrap;
}
.hv__toast .ic { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.hv__up {
  position: absolute; left: calc(468 * var(--u)); top: calc(54 * var(--u));
  width: calc(58 * var(--u)); height: calc(58 * var(--u)); border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center;
}
.hv__up .ic { width: calc(28 * var(--u)); height: calc(28 * var(--u)); }

/* =========================================================
   ОБЩИЕ СЕКЦИИ
   ========================================================= */
.sec { padding-block: var(--py, 104px); }
.sec--blue { background: var(--blue); }
.sec--grey { background: var(--bg); }
.sec--services, .sec--formats, .sec--faq { padding-top: 0; }

.intro { display: flex; flex-direction: column; gap: 24px; }
.intro__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.intro__row .h2 { flex: 0 1 790px; }
.intro__side { flex: 0 0 340px; }

/* ---------- Задача бизнеса ---------- */
.sec--task { --py: 100px; }
.sec--task .wrap { display: flex; flex-direction: column; gap: 40px; }
.sec--task .hr { margin: 0; }
.task { display: flex; gap: 64px; align-items: flex-start; }
.task__lead { flex: 0 0 500px; display: flex; flex-direction: column; gap: 24px; }
.steps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step__ic {
  width: 48px; height: 48px; border-radius: 8px; background: var(--icon-bg); color: var(--blue);
  display: grid; place-items: center; flex: none;
}
.step h3 { font-size: 21px; font-weight: 600; line-height: 1.2; margin-bottom: 7px; }
.step p { font-size: 16px; line-height: 1.55; color: var(--gray); }

/* ---------- Услуги ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px;
  display: flex; flex-direction: column; gap: 28px;
}
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__ic { width: 62px; height: 62px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.card__no { font-size: 12px; color: var(--gray); white-space: nowrap; }
.card__body { display: flex; flex-direction: column; gap: 13px; }
.card__body h3 { font-size: 30px; font-weight: 600; line-height: 1.2; }
.card__body p { font-size: 16px; line-height: 1.55; color: var(--gray); }
.ticks { display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 17px; }
.ticks .ic { color: var(--blue); }
.card__foot {
  margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14px; font-weight: 600; color: var(--blue);
}

.integr {
  margin-top: 40px; padding-top: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
}
.integr__l { font-size: 13px; color: var(--gray); }
.integr__r { font-size: 12px; color: var(--gray); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pills li { background: var(--bg); border-radius: 100px; padding: 7px 12px; font-size: 12px; font-weight: 500; line-height: 15px; white-space: nowrap; }

/* ---------- Подход (синий блок) ---------- */
.sec--approach { --py: 88px; }
.approach { display: flex; align-items: center; gap: 72px; }
.approach__copy { flex: 0 0 590px; display: flex; flex-direction: column; gap: 26px; }
.principle { display: flex; gap: 16px; padding-top: 14px; }
.principle i { width: 3px; height: 44px; background: var(--yellow); flex: none; margin-top: 0; align-self: flex-start; }
.principle p { font-size: 17px; font-weight: 500; line-height: 1.45; color: #fff; }

.funnel { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.funnel__head { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.funnel__cap { font-size: 11px; color: var(--blue-soft); white-space: nowrap; }
.fstep {
  height: 82px; padding: 0 24px; border-radius: 12px;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--blue-line); color: #fff;
  display: flex; align-items: center; gap: 16px;
}
.fstep div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.fstep b { font-size: 19px; font-weight: 600; line-height: 1.2; }
.fstep span { font-size: 12px; line-height: 1.25; color: var(--blue-soft); }
.fstep em { font-size: 11px; color: var(--blue-soft); }
.fstep--1 { width: 87.69%; }
.fstep--2 { width: 75.38%; }
.fstep--3 { width: 63.08%; }
.fstep--4 { width: 50.77%; background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.fstep--4 span, .fstep--4 em { color: var(--ink); }

/* ---------- Кейсы ---------- */
.sec--cases { --py: 104px; }
.sec--cases .wrap { display: flex; flex-direction: column; gap: 40px; }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.case {
  container-type: inline-size; --u: calc(100cqw / 646);
  display: flex; flex-direction: column; gap: 25px; min-width: 0;
}
.case > .p { flex: 1 1 auto; }

.cc {
  position: relative; aspect-ratio: 646 / 340; overflow: hidden; isolation: isolate;
  border-radius: calc(20 * var(--u)); padding: calc(26 * var(--u));
  display: flex; flex-direction: column; color: #fff; background: #5b6f77;
}
.cc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cc__head { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.cc__head em {
  background: var(--yellow); color: var(--ink); border-radius: 100px;
  padding: calc(7 * var(--u)) calc(12 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 500; line-height: 1.25;
}
.cc__panel {
  margin-top: auto; margin-bottom: calc(-4 * var(--u));
  background: #fff; color: var(--ink); border-radius: calc(8 * var(--u)); padding: calc(14 * var(--u));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: calc(11 * var(--u)); line-height: 1.2; white-space: pre; position: relative; z-index: 1;
}
.cc__find { color: #fff; border-radius: calc(4 * var(--u)); padding: calc(8 * var(--u)) calc(14 * var(--u)); font-size: calc(10 * var(--u)); line-height: 1.2; white-space: nowrap; }
.cc__find--blue { background: var(--blue); }

.case__title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case__title h3 { font-size: 27px; font-weight: 600; line-height: 1.2; }
.case__title span { display: block; margin-top: 8px; font-size: 12px; color: var(--gray); }
.metrics { border-block: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.metrics div { display: flex; flex-direction: column; gap: 8px; }
.metrics b { font-size: 37px; font-weight: 600; line-height: 1.2; color: var(--blue); white-space: nowrap; }
.metrics span { font-size: 12px; line-height: 1.4; color: var(--gray); }
.disc { font-size: 11px; line-height: 1.4; color: var(--gray); }

/* ---------- Аналитика ---------- */
.sec--analytics { --py: 96px; }
.sec--analytics .wrap { display: flex; flex-direction: column; gap: 40px; }
.dash { background: #fff; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 32px; }
.dash__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dash__title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash__title b { font-size: 18px; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { background: var(--bg); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.kpi span { font-size: 12px; color: var(--gray); }
.kpi b { font-size: 31px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.kpi em { font-size: 12px; font-weight: 500; color: var(--blue); }

.dash__grid { display: grid; grid-template-columns: minmax(0, 760fr) minmax(0, 452fr); gap: 36px; }
.plot { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.plot__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plot__head b { font-size: 14px; font-weight: 600; line-height: 17px; }
.legend { display: flex; gap: 16px; font-size: 10px; line-height: 12px; color: var(--gray); }
.legend li { display: flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: block; }
.dot--blue { background: var(--blue); }
.dot--grey { background: var(--gray); }
.plot__area { display: flex; gap: 14px; }
.plot__y { height: 180px; width: 30px; flex: none; display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; line-height: 12px; color: var(--gray); }
.plot__chart { position: relative; flex: 1; min-width: 0; height: 180px; overflow: hidden; }
.plot__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gl { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.plot__pt { position: absolute; left: calc(100% - 6px); top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.plot__x { display: flex; justify-content: space-between; padding-left: 44px; font-size: 10px; line-height: 12px; color: var(--gray); }

.src { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.src > b { font-size: 14px; font-weight: 600; line-height: 17px; }
.src__row { display: flex; flex-direction: column; gap: 9px; }
.src__row div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 15px; }
.src__row em { color: var(--gray); white-space: nowrap; }
.src__row i { display: block; height: 5px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.src__row u { display: block; height: 100%; border-radius: 4px; background: var(--blue); }

.dash__note { border-top: 1px solid var(--line); padding-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.4; color: var(--gray); }

/* ---------- Процесс ---------- */
.sec--process { --py: 104px; }
.sec--process .wrap { display: flex; flex-direction: column; gap: 48px; }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stage { display: grid; grid-template-rows: auto 1fr auto; row-gap: 23px; min-width: 0; }
.stage__no { display: flex; align-items: center; gap: 16px; }
.stage__no b {
  width: 52px; height: 52px; border-radius: 50%; background: var(--bg); color: var(--blue);
  display: grid; place-items: center; font-size: 16px; font-weight: 600; flex: none;
}
.stage--on .stage__no b { background: var(--blue); color: #fff; }
.stage__no i { flex: 1; height: 1px; background: var(--line); }
.stage__body { display: flex; flex-direction: column; gap: 16px; }
.stage__body small { font-size: 10px; font-weight: 600; line-height: 12px; color: var(--gray); }
.stage__body h3 { font-size: 27px; font-weight: 600; line-height: 1.16; }
.stage__body p { font-size: 16px; line-height: 1.55; color: var(--gray); }
.stage__res { border-top: 1px solid var(--line); padding-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; line-height: 15px; color: var(--blue); }

/* ---------- Форматы ---------- */
.sec--formats .wrap { display: flex; flex-direction: column; gap: 38px; }
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fmt { border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.fmt--grey { background: var(--bg); }
.fmt--yellow { background: var(--yellow); }
.fmt__top { display: flex; align-items: center; justify-content: space-between; min-height: 29px; }
.fmt__tag { font-size: 12px; font-weight: 600; line-height: 15px; }
.fmt h3 { font-size: 29px; font-weight: 600; line-height: 1.2; }
.fmt p { font-size: 16px; line-height: 1.55; color: var(--gray); }
.fmt--yellow p { color: var(--ink); }
.fmt__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; }
.fmt--yellow .fmt__foot { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: flex; align-items: flex-start; gap: 96px; }
.faq__intro { flex: 0 0 390px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.link { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; color: var(--blue); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq__list { flex: 1; min-width: 0; border-bottom: 1px solid var(--line); }
.faq__list details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq__list summary {
  display: flex; align-items: flex-start; gap: 22px; cursor: pointer; list-style: none;
  font-size: 20px; font-weight: 600; line-height: 1.35;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary span { flex: 1; min-width: 0; }
.faq__list summary .ic { color: var(--blue); margin-top: 3px; }
.faq__list .ic-plus { display: none; }
.faq__list details:not([open]) .ic-minus { display: none; }
.faq__list details:not([open]) .ic-plus { display: block; }
.faq__list details p { margin-top: 13px; font-size: 16px; line-height: 1.55; color: var(--gray); }
.faq__list summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 4px; }

/* ---------- Форма ---------- */
.sec--contact { --py: 88px; }
.contact { display: flex; align-items: center; gap: 96px; }
.contact__copy { flex: 0 0 568px; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.agenda { display: flex; flex-direction: column; gap: 14px; color: #fff; }
.agenda li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.mail { font-size: 22px; font-weight: 500; line-height: 1.25; color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

.form { flex: 1; min-width: 0; background: #fff; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.form__head { display: flex; flex-direction: column; gap: 7px; }
.form__head h3 { font-size: 25px; font-weight: 600; line-height: 1.2; }
.form__head p { font-size: 14px; line-height: 1.55; color: var(--gray); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 500; line-height: 15px; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 15px; font-size: 14px; line-height: 20px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input { height: 52px; }
.field textarea { height: 94px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray); opacity: 1; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35, 72, 245, .12); }
.was-validated input:invalid, .was-validated textarea:invalid { border-color: var(--red); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 1.5; color: var(--gray); cursor: pointer; }
.consent input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none; width: 17px; height: 17px;
  border: 1px solid var(--gray); border-radius: 3px; background: #fff center / 11px no-repeat; cursor: pointer;
}
.consent input:checked {
  border-color: var(--blue); background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.was-validated .consent input:invalid { border-color: var(--red); }
.consent a { color: var(--ink); text-decoration: underline; }
.btn--form { width: 100%; height: 58px; padding: 0 22px; justify-content: space-between; font-size: 16px; }
.btn--form:disabled { opacity: .6; cursor: default; }
.form { position: relative; }
.form__ok { font-size: 14px; font-weight: 500; color: var(--blue); }
.form__err { font-size: 14px; line-height: 1.45; color: #c62828; }
.form__err a { text-decoration: underline; }

/* ---------- Подвал ---------- */
.foot { padding: 48px 0 32px; }
.foot__nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.foot__links { display: flex; gap: 28px; font-size: 13px; }
.foot__links a:hover { color: var(--blue); }
.foot__soc { display: flex; gap: 18px; justify-self: end; font-size: 14px; font-weight: 500; color: var(--blue); }
.hr--foot { margin: 36px 0; }
.foot__legal { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 11px; line-height: 1.3; color: var(--gray); }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1180px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); padding-top: 56px; gap: 48px; }
  .hero__lead { max-width: 640px; }
  .hv { justify-self: start; }

  .task, .approach, .contact, .faq { flex-direction: column; align-items: stretch; gap: 48px; }
  .task__lead, .approach__copy, .contact__copy, .faq__intro { flex: none; width: 100%; max-width: 640px; }
  .intro__row { flex-direction: column; align-items: flex-start; }
  .intro__row .h2 { flex: none; }
  .intro__side { flex: none; max-width: 440px; }

  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards3 .card:last-child { grid-column: 1 / -1; }
  .metrics b { font-size: clamp(26px, 3.2vw, 37px); }
}

@media (max-width: 900px) {
  :root { --py: 72px; }
  .nav__in { height: 76px; grid-template-columns: 1fr auto; }
  .nav__menu { display: none; }
  .sec--task, .sec--approach, .sec--contact, .sec--cases, .sec--analytics, .sec--process { --py: 72px; }
  .sec--services, .sec--formats, .sec--faq { padding-bottom: 72px; }

  .cards3, .cases, .formats { grid-template-columns: minmax(0, 1fr); }
  .cards3 .card:last-child { grid-column: auto; }
  .integr { flex-direction: column; align-items: flex-start; }
  .audience__in { justify-content: flex-start; }
  .audience__label { flex-basis: 100%; }
  .foot__nav { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
  .foot__soc { justify-self: start; }
  .foot__links { flex-wrap: wrap; gap: 12px 24px; }
  .foot__legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  br.d { display: none; }
  .btn--lg { height: 54px; padding: 0 20px; font-size: 15px; gap: 16px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .hero__lead { font-size: 18px; }
  .hero__in { padding: 40px 0 48px; gap: 40px; }

  .fstep { height: auto; min-height: 72px; padding: 14px 18px; }
  .fstep--1 { width: 100%; }
  .fstep--2 { width: 93%; }
  .fstep--3 { width: 86%; }
  .fstep--4 { width: 79%; }
  .fstep span { white-space: normal; }
  .funnel__head { flex-wrap: wrap; }

  /* кейсы: фото целиком (на нём уже есть логотип и текст), без панели бронирования */
  .cc { padding: 12px; border-radius: 14px; }
  .cc__head em { font-size: 10px; padding: 4px 9px; }
  .cc__panel { display: none; }
  .case__title h3 { font-size: 22px; }

  .dash { padding: 20px; gap: 24px; }
  .dash__bar .pill--grey { display: none; }
  .kpi b { font-size: 26px; }
  .plot__x { padding-left: 44px; }
  .step h3 { font-size: 19px; }
  .card { padding: 24px; }
  .card__body h3 { font-size: 26px; }
  .stages { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fmt { padding: 24px; }
  .fmt h3 { font-size: 24px; }
  .faq__list summary { font-size: 18px; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .mail { font-size: 19px; }
}

@media (max-width: 520px) {
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .metrics { gap: 12px; }
  .metrics b { font-size: 24px; }
  .integr__r { font-size: 12px; }
  .logo__name { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* телефон */
.nav__act { display: flex; align-items: center; gap: 22px; justify-self: end; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav__tel:hover { color: var(--blue); }
.contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tel { display: inline-flex; align-items: center; gap: 10px; font-size: 28px; font-weight: 600; line-height: 1.2; color: #fff; white-space: nowrap; }
.tel:hover { text-decoration: underline; text-underline-offset: 6px; }
.foot__soc { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 1180px) { .nav__tel span { display: none; } .nav__tel { padding: 10px; border: 1px solid currentColor; border-radius: 50%; } }
@media (max-width: 520px) { .tel { font-size: 24px; } }

/* телефон в шапке */
.nav__act { flex-direction: row; flex-wrap: nowrap; }
.nav__tel { display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; line-height: 1; }
.nav__tel svg { display: block; width: 18px; height: 18px; flex: none; }
.tel svg { display: block; flex: none; }

/* мобильная шапка: без горизонтального скролла */
html, body { overflow-x: clip; }
.nav__in { min-width: 0; }
.logo { min-width: 0; }
@media (max-width: 760px) {
  .nav__in { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .nav__in .logo__tag { display: none; }
  .nav__act .btn { display: none; }
  .nav__tel { padding: 0; border: 0; border-radius: 0; font-size: 15px; gap: 8px; }
  .nav__tel span { display: inline; }
}
