/* ==========================================================================
   DGTeam — лендинг
   ========================================================================== */

:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --ink: #0e0f12;
  --ink-2: #2a2c31;
  --muted: #62656d;
  --line: rgba(14, 15, 18, 0.12);
  --dark: #0e0f12;
  --dark-2: #17191e;
  --on-dark: #f4f3ef;
  --on-dark-muted: rgba(244, 243, 239, 0.62);
  --line-dark: rgba(244, 243, 239, 0.14);
  --accent: #ff5a1f;
  --accent-hover: #e94a10;
  --lime: #c8ff3d;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 11vw, 160px);
  --radius-lg: clamp(24px, 3vw, 40px);
  --radius: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

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

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section) 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.label__num {
  color: var(--accent);
}

.h1 {
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.h2 {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
}

.mark {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.mark::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.06em;
  height: 0.34em;
  background: var(--lime);
  border-radius: 0.1em;
  z-index: -1;
}

.accent {
  color: var(--accent);
}

.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head .lead {
  max-width: 640px;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60px;
  padding: 8px 8px 8px 30px;
  border: 0;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.35s var(--ease);
}

.btn__icon svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  --btn-bg: var(--accent-hover);
}

.btn:hover .btn__icon {
  transform: rotate(-45deg);
}

.btn:active {
  transform: scale(0.98);
}

.btn--dark {
  --btn-bg: var(--ink);
}

.btn--dark:hover {
  --btn-bg: #000;
}

.btn--light {
  --btn-bg: var(--on-dark);
  --btn-fg: var(--ink);
}

.btn--light .btn__icon {
  background: var(--ink);
  color: var(--on-dark);
}

.btn--light:hover {
  --btn-bg: #fff;
}

.btn--lg {
  min-height: 72px;
  padding-left: 36px;
  font-size: 19px;
}

.btn--lg .btn__icon {
  width: 56px;
  height: 56px;
}

.btn--block {
  width: 100%;
  justify-content: center;
  padding: 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(244, 243, 239, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--lime);
  font-size: 15px;
  letter-spacing: -0.06em;
}

.nav {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav a {
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav a:hover {
  background: var(--ink);
  color: var(--on-dark);
}

.header__msg {
  display: flex;
  gap: 8px;
}

.header__msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 12px;
  border-radius: 100px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.header__msg-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.header__msg-btn svg {
  width: 22px;
  height: 22px;
}

.header__msg-btn.wa {
  background: #25d366;
}

.header__msg-btn.tg {
  background: #229ed9;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--on-dark);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.burger span:nth-child(1) {
  top: 19px;
}

.burger span:nth-child(2) {
  top: 27px;
}

.header.is-open .burger span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.header.is-open .burger span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(150px, 16vw, 210px) 0 clamp(60px, 7vw, 100px);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

.hero > .container {
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 8px 16px 8px 10px;
  border-radius: 100px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__badge-loc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.hero__badge-sep {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 90, 31, 0.18);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 9px rgba(255, 90, 31, 0);
  }
}

.hero__title {
  max-width: 1240px;
  margin: 0 auto;
}

.hero__text {
  max-width: 760px;
  margin: 32px auto 44px;
}

.hero__note {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- Form card (inline) ---------- */

.cta-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.32), transparent 65%);
  pointer-events: none;
}

.cta-card > * {
  position: relative;
}

.cta-card .label {
  color: var(--on-dark-muted);
}

.cta-card__title {
  margin: 20px 0 24px;
}

.cta-card__text {
  color: var(--on-dark-muted);
  font-size: 18px;
  max-width: 560px;
}

.cta-card__text strong {
  color: var(--on-dark);
  font-weight: 600;
}

.steps-list {
  display: grid;
  gap: 2px;
  margin-top: 32px;
  counter-reset: steps;
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 18px;
  font-weight: 600;
  counter-increment: steps;
}

.steps-list li::before {
  content: "0" counter(steps);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--lime);
}

.cta-card--accent {
  background: var(--accent);
}

.cta-card--accent::before {
  background: radial-gradient(circle, rgba(200, 255, 61, 0.45), transparent 65%);
}

.cta-card--accent .label,
.cta-card--accent .cta-card__text {
  color: rgba(255, 255, 255, 0.82);
}

.cta-card--accent .label__num {
  color: var(--ink);
}

/* ---------- Lead form ---------- */

.lead-form {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.lead-form__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lead-form__text {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* Поле-ловушка для спам-ботов, людям не видно */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field {
  position: relative;
  display: block;
}

.field input {
  width: 100%;
  height: 64px;
  padding: 22px 22px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 17px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field span {
  position: absolute;
  left: 23px;
  top: 21px;
  font-size: 16px;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.2s var(--ease), font-size 0.2s var(--ease);
  transform-origin: left top;
}

.field input:focus,
.field input:not(:placeholder-shown) {
  background: var(--surface);
  border-color: var(--line);
}

.field input:focus {
  border-color: var(--ink);
}

.field input:focus + span,
.field input:not(:placeholder-shown) + span {
  transform: translateY(-12px);
  font-size: 12px;
}

.field.is-invalid input {
  border-color: #e5341a;
  background: #fff5f2;
}

.field__error {
  display: none;
  margin-top: 6px;
  padding-left: 4px;
  font-size: 13px;
  font-style: normal;
  color: #e5341a;
}

.field.is-invalid .field__error {
  display: block;
}

.lead-form .btn {
  margin-top: 6px;
  min-height: 64px;
}

.lead-form__policy {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.lead-form__policy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead-form__success {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.lead-form__success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.lead-form__success-icon svg {
  width: 32px;
  height: 32px;
}

.lead-form__success p {
  margin-top: 10px;
  color: var(--muted);
}

.lead-form.is-sent > :not(.lead-form__success) {
  display: none;
}

.lead-form.is-sent .lead-form__success {
  display: block;
}

/* ---------- Statement (2.5 years) ---------- */

.statement {
  padding: var(--section) 0 0;
}

.statement__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.statement__num {
  font-size: clamp(96px, 16vw, 240px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.statement__num small {
  font-size: 0.3em;
  letter-spacing: -0.04em;
  margin-left: 0.15em;
}

.statement__text {
  max-width: 620px;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.statement__text em {
  font-style: normal;
  color: var(--muted);
}

/* ---------- Cases ---------- */

.cases {
  padding-bottom: 0;
}

.cases__list {
  border-bottom: 1px solid var(--line);
}

.case {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: clamp(28px, 3vw, 40px) clamp(0px, 1.5vw, 24px);
  border-top: 1px solid var(--line);
  border-radius: 0;
  transition: background-color 0.35s var(--ease), border-radius 0.35s var(--ease);
}

.case:hover {
  background: var(--surface);
  border-radius: var(--radius);
}

.case:hover,
.case:hover + .case {
  border-top-color: transparent;
}

.case__client {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: baseline;
}

.case__num {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}

.case__name {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.case__tag {
  font-size: 14px;
  color: var(--muted);
}

.case__logo {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 80px;
  margin-top: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

/* Картинка всегда равна размеру плашки, а object-fit вписывает логотип целиком.
   С max-width/max-height Safari на iPhone растягивал логотип за рамку. */
.case__logo img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

/* Белый логотип на прозрачном фоне — показываем на фирменном тёмном фоне */
.case__logo--dark {
  border-color: transparent;
  background: #3a2f2b;
}

.case__metric {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.case__sub {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--lime);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.case__budget {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.case__budget b {
  color: var(--ink);
  font-weight: 700;
}

.case__text {
  font-size: 16px;
  color: var(--muted);
}

/* ---------- Reviews (slider) ---------- */

.reviews__head {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.slider-nav {
  display: flex;
  gap: 10px;
}

.slider-nav__btn {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.slider-nav__btn svg {
  width: 20px;
  height: 20px;
}

.slider-nav__btn--prev svg {
  transform: rotate(180deg);
}

.slider-nav__btn:hover {
  background: var(--accent);
}

.slider-nav__btn:active {
  transform: scale(0.94);
}

.slider-nav__btn:disabled {
  opacity: 0.25;
  cursor: default;
  background: var(--ink);
}

.slider {
  --slide-h: clamp(420px, 38vw, 540px);
}

.slider__track {
  /* лента уходит до правого края экрана */
  margin-right: calc(50% - 50vw);
  position: relative;
  display: flex;
  gap: 16px;
  padding-right: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slider__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.slider__track.is-dragging .slide {
  pointer-events: none;
}

.slide {
  position: relative;
  flex: none;
  height: var(--slide-h);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  scroll-snap-align: start;
}

.slide img,
.slide video {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.slide--video {
  aspect-ratio: 9 / 16;
}

.slide--letter {
  aspect-ratio: 1 / 1.414;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.slide--letter img {
  object-position: top;
}

.slide--chat {
  cursor: zoom-in;
}

.slide--chat img {
  width: auto;
}

.slide__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.slide img {
  transition: transform 0.6s var(--ease);
}

.slide--chat:hover img,
.slide__zoom:hover img {
  transform: scale(1.03);
}

.slide__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 48px 18px 18px;
  background: linear-gradient(180deg, rgba(14, 15, 18, 0), rgba(14, 15, 18, 0.88));
  color: #fff;
  pointer-events: none;
}

.slide__caption strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.slide__caption > span:last-child {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.slide__tag {
  justify-self: start;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0 0 60px;
  border: 0;
  background: none;
  cursor: pointer;
}

.review-video__play svg {
  box-sizing: content-box;
  width: 28px;
  height: 28px;
  padding: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(255, 90, 31, 0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.review-video__play:hover svg {
  transform: scale(1.08);
  box-shadow: 0 0 0 16px rgba(255, 90, 31, 0.2);
}

.review-video.is-playing .review-video__play,
.review-video.is-playing .slide__caption {
  display: none;
}

.slider__progress {
  position: relative;
  height: 3px;
  margin-top: 28px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.slider__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 20%;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.15s linear;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 72px 16px 24px;
  background: rgba(14, 15, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.lightbox__img {
  justify-self: center;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.lightbox__nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.lightbox__nav:hover {
  background: var(--accent);
}

.lightbox__nav svg {
  width: 20px;
  height: 20px;
}

.lightbox__nav--prev svg {
  transform: rotate(180deg);
}

/* ---------- System (4 directions) ---------- */

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px -24px rgba(14, 15, 18, 0.25);
}

.service__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--lime);
}

.service__icon svg {
  width: 28px;
  height: 28px;
}

.service__sub {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.service__text {
  margin-top: 16px;
  color: var(--muted);
}

.service__inside {
  margin-top: auto;
  padding-top: 32px;
}

.service__inside-title {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--bg);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Problems (dark) ---------- */

.dark {
  background: var(--dark);
  color: var(--on-dark);
}

.dark .label {
  color: var(--on-dark-muted);
}

.dark .lead {
  color: var(--on-dark-muted);
}

.problems {
  padding-bottom: clamp(64px, 7vw, 100px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.problem {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--dark);
  transition: background-color 0.3s var(--ease);
}

.problem:hover {
  background: var(--dark-2);
}

.problem__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}

.problem p {
  color: var(--on-dark-muted);
  font-size: 16px;
}

.problems__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
}

.problems__bottom p {
  max-width: 520px;
  color: var(--on-dark-muted);
}

.stat-big {
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--lime);
}

.problems .section-head {
  grid-template-columns: 1fr auto;
  align-items: end;
}

/* ---------- Sales (3 points) ---------- */

.sales {
  background: var(--dark);
  color: var(--on-dark);
  padding-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.sales__box {
  padding-top: var(--section);
  border-top: 1px solid var(--line-dark);
}

.sales .h2 .accent {
  color: var(--lime);
}

.sales__lead {
  max-width: 560px;
  margin-top: 28px;
  color: var(--on-dark-muted);
}

.sales__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.sales__point {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--dark-2);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.sales__point:nth-child(2) {
  background: var(--accent);
  box-shadow: none;
}

.sales__point:nth-child(3) {
  background: var(--lime);
  color: var(--ink);
  box-shadow: none;
}

.sales__point .problem__num {
  color: inherit;
  opacity: 0.7;
}

.sales__point:first-child .problem__num {
  color: var(--accent);
  opacity: 1;
}

.sales__point-text {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* ---------- Process ---------- */

.process__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(32px, 5vw, 80px);
  counter-reset: process;
}

.process__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 24px;
  align-content: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  counter-increment: process;
}

.process__item::before {
  content: "0" counter(process);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.process__item:hover::before {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.process__item p {
  color: var(--muted);
  max-width: 520px;
}

/* ---------- About ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about__text {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.about__text p {
  font-size: 18px;
  color: var(--ink-2);
}

.about__side {
  display: grid;
  gap: 16px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about__stat {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.about__stat:first-child {
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: none;
}

.about__stat strong {
  display: block;
  font-size: clamp(44px, 4.6vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.about__stat:first-child strong {
  color: var(--lime);
}

.about__stat span {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.about__stat:first-child span {
  color: var(--on-dark-muted);
}

.about__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--lime);
}

.about__contact p {
  max-width: 240px;
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- Values ---------- */

.values {
  padding-top: 0;
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 96px);
}

.values__grid > div:first-child {
  align-self: start;
  position: sticky;
  top: 120px;
}

.values__list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.values__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.check {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}

.check svg {
  width: 16px;
  height: 16px;
}

/* ---------- Session ---------- */

.session {
  padding-top: 0;
}

.session__box {
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.session__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.session__item {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg);
}

.session__item p {
  color: var(--muted);
}

.session__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.session__bottom p {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(80px, 10vw, 140px) 0 40px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.footer--compact {
  padding-top: 0;
}

.footer--compact .footer__bottom {
  margin-top: 0;
  padding-top: 48px;
  border-top: 0;
}

.footer__slogan {
  max-width: 1100px;
  font-size: clamp(40px, 6.4vw, 96px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.footer__slogan .accent {
  color: var(--lime);
}

.footer__cta {
  margin-top: 48px;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 32px;
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
  color: var(--on-dark-muted);
}

.footer .logo {
  color: var(--on-dark);
}

.footer .logo__mark {
  background: var(--lime);
  color: var(--ink);
}

.footer__legal {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.footer__legal a:hover,
.footer__link:hover {
  color: var(--on-dark);
}

.footer__link {
  justify-self: end;
  font-weight: 700;
  color: var(--on-dark);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s var(--ease);
}

.footer__link:hover {
  color: var(--lime);
}

/* ---------- Thank-you page ---------- */

.thanks {
  position: relative;
  padding: clamp(140px, 14vw, 190px) 0 var(--section);
}

.thanks__head {
  max-width: 900px;
}

.thanks__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.thanks__icon svg {
  width: 32px;
  height: 32px;
}

.thanks__lead {
  max-width: 720px;
  margin-top: 28px;
}

.thanks__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
}

.thanks__card {
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.thanks__card--dark {
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: none;
}

.thanks__card--dark .label {
  color: var(--on-dark-muted);
}

.thanks__card-title {
  margin-top: 24px;
}

.thanks__card-text {
  margin-top: 12px;
  color: var(--muted);
}

.prep-list {
  display: grid;
  margin-top: 20px;
  counter-reset: prep;
}

.prep-list li {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.45;
  counter-increment: prep;
}

.prep-list li::before {
  content: "0" counter(prep);
  flex: none;
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}

.thanks__note {
  margin-top: clamp(40px, 5vw, 64px);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.thanks__back {
  margin-top: 36px;
}

/* ---------- Legal page ---------- */

.legal {
  padding: clamp(140px, 14vw, 190px) 0 var(--section);
}

.legal__head,
.legal__body {
  max-width: 860px;
}

.legal__title {
  margin-top: 24px;
  font-size: clamp(30px, 5.4vw, 78px);
  overflow-wrap: break-word;
}

.legal__date {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.legal__body {
  margin-top: clamp(40px, 5vw, 64px);
}

.legal__body section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal__body h2 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal__body p,
.legal__body li {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

.legal__body p + p,
.legal__body p + ul,
.legal__body ul + p {
  margin-top: 12px;
}

.legal__body ul {
  display: grid;
  gap: 6px;
}

.legal__body ul li {
  position: relative;
  padding-left: 22px;
}

.legal__body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.legal__body strong {
  color: var(--ink);
  font-weight: 700;
}

.legal__body a {
  border-bottom: 1px solid currentColor;
}

.legal__contacts li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
}

.legal__contacts li span:first-child {
  color: var(--muted);
}

.legal__body .legal__contacts li {
  padding-left: 0;
}

.legal__body .legal__contacts li::before {
  display: none;
}

/* Поля, которые нужно заполнить реквизитами компании */
.fill {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Cookie banner ---------- */

.cookie {
  position: fixed;
  left: clamp(12px, 2vw, 28px);
  bottom: clamp(12px, 2vw, 28px);
  z-index: 90;
  display: grid;
  gap: 16px;
  width: min(420px, calc(100% - 24px));
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: 0 20px 60px rgba(14, 15, 18, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.cookie.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.cookie__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.cookie__text a {
  color: var(--on-dark);
  border-bottom: 1px solid currentColor;
}

.cookie__actions {
  display: flex;
  gap: 8px;
}

.cookie__btn {
  flex: 1;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 100px;
  background: rgba(244, 243, 239, 0.1);
  color: var(--on-dark);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.cookie__btn:hover {
  background: rgba(244, 243, 239, 0.18);
}

.cookie__btn--accept {
  background: var(--lime);
  color: var(--ink);
}

.cookie__btn--accept:hover {
  background: #d6ff6b;
}

.footer__cookie {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.footer__cookie:hover {
  color: var(--on-dark);
}

.legal__body code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(14, 15, 18, 0.06);
  font-family: var(--mono);
  font-size: 0.85em;
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 15, 18, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: var(--surface);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: none;
}

.modal__dialog .lead-form {
  padding: clamp(28px, 5vw, 48px);
  padding-top: clamp(40px, 6vw, 56px);
  text-align: center;
}

.modal__dialog .lead-form__title {
  font-size: clamp(26px, 3vw, 34px);
}

.modal__dialog .lead-form__text {
  max-width: 380px;
  margin: 4px auto 12px;
  font-size: 16px;
}

.modal__dialog .field {
  text-align: left;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.3s var(--ease);
}

.modal__close:hover {
  background: var(--ink);
  color: var(--on-dark);
  transform: rotate(90deg);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav a {
    padding: 9px 12px;
  }

  .problems__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .thanks__grid {
    grid-template-columns: 1fr;
  }

  .burger {
    display: block;
  }

  .header__msg {
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: 80px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 24px 60px -20px rgba(14, 15, 18, 0.3), inset 0 0 0 1px var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav a {
    padding: 14px 16px;
    font-size: 17px;
  }

  .header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header.is-open {
    background: rgba(244, 243, 239, 0.96);
  }

  .cta-card,
  .about__grid,
  .values__grid {
    grid-template-columns: 1fr;
  }

  /* В одну колонку заголовок не должен залипать поверх списка */
  .values__grid > div:first-child {
    position: static;
  }

  .cards-2,
  .process__grid {
    grid-template-columns: 1fr;
  }

  .sales__points {
    grid-template-columns: 1fr;
  }

  .case {
    grid-template-columns: 1fr 1fr;
  }


  .case__client {
    grid-column: 1 / -1;
  }

  .sales__point {
    min-height: 0;
  }

  .problems .section-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .legal__contacts li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  body {
    font-size: 16px;
  }

  .header__inner {
    height: 68px;
  }

  .nav {
    top: 68px;
  }

  .header__msg-btn {
    justify-content: center;
    width: 44px;
    padding: 0;
  }

  .header__msg-btn span {
    display: none;
  }

  .logo {
    font-size: 20px;
  }

  .logo__mark {
    width: 32px;
    height: 32px;
  }


  .hero {
    text-align: left;
  }

  .hero__badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 16px 10px 10px;
    border-radius: 18px;
  }

  .hero__badge-sep {
    display: none;
  }

  .hero__badge > span:last-child {
    padding-left: 22px;
  }

  .hero__text,
  .hero__note {
    margin-left: 0;
  }

  .hero .btn {
    width: 100%;
    justify-content: space-between;
  }

  .btn--lg {
    padding-left: 24px;
    font-size: 17px;
  }

  .statement__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .problems__grid,
  .session__grid,
  .about__stats {
    grid-template-columns: 1fr;
  }

  .process__item {
    grid-template-columns: 1fr;
  }

  .case {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reviews__head {
    grid-template-columns: 1fr;
  }

  .slider-nav {
    display: none;
  }

  .slider {
    --slide-h: 400px;
  }

  .slider__track {
    gap: 10px;
  }

  .slide {
    border-radius: var(--radius-sm);
  }

  .slide__caption {
    padding: 40px 14px 14px;
  }

  .slide__caption strong {
    font-size: 17px;
  }

  .review-video__play svg {
    width: 22px;
    height: 22px;
    padding: 16px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 72px 10px 88px;
  }

  .lightbox__nav {
    position: absolute;
    bottom: 20px;
  }

  .lightbox__nav--prev {
    left: calc(50% - 64px);
  }

  .lightbox__nav--next {
    right: calc(50% - 64px);
  }

  .lightbox__img {
    max-height: calc(100vh - 170px);
  }

  .process__item::before {
    grid-row: auto;
    margin-bottom: 12px;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__link {
    justify-self: start;
  }

  .btn {
    max-width: 100%;
  }
}

/* ==========================================================================
   VSL-страница (/system/)
   ========================================================================== */

.vsl-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
}

.vsl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 80px;
}

.vsl-header__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.vsl-hero {
  position: relative;
  padding: clamp(104px, 10vw, 128px) 0 clamp(56px, 7vw, 96px);
  text-align: center;
  overflow: hidden;
}

.vsl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 40% at 50% 22%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 40% at 50% 22%, #000 20%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

.vsl-hero > .container {
  position: relative;
}

/* Плашка «только для…» — отсекает нецелевых и цепляет целевых */
.vsl-callout {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto 24px;
  padding: 10px 20px 10px 14px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.vsl-callout svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--lime);
}

.vsl-title {
  max-width: 1180px;
  margin: 0 auto;
  font-size: clamp(32px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

/* «сливать бюджет» — зачёркнуто акцентной линией */
.vsl-strike {
  position: relative;
  white-space: nowrap;
  color: var(--accent);
}

.vsl-strike::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  top: 54%;
  height: 0.09em;
  border-radius: 0.05em;
  background: var(--ink);
  transform: rotate(-3deg) scaleX(0);
  transform-origin: left center;
  animation: vsl-strike 0.7s 0.9s var(--ease) forwards;
}

@keyframes vsl-strike {
  to {
    transform: rotate(-3deg) scaleX(1);
  }
}

.vsl-sub {
  max-width: 820px;
  margin: 22px auto 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
}

.vsl-sub strong {
  color: var(--ink);
  font-weight: 800;
}

.vsl-system {
  max-width: 780px;
  margin: 28px auto 0;
}

.vsl-system__chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 10px;
  background: var(--lime);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vsl-system p {
  margin-top: 12px;
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 600;
  line-height: 1.5;
}

.vsl-warning {
  display: inline-block;
  max-width: 100%;
  margin: 20px auto 0;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 90, 31, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 31, 0.35);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.vsl-warning b {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
}

.vsl-warning--bottom {
  display: block;
  width: fit-content;
  margin-top: 28px;
  text-align: center;
}

/* ---------- Плеер ---------- */

.vsl-player {
  max-width: 1040px;
  margin: 28px auto 0;
  padding: 8px;
  border-radius: calc(var(--radius-lg) + 8px);
  background: var(--ink);
  box-shadow: 0 40px 90px -40px rgba(14, 15, 18, 0.55);
}

.vsl-player__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(255, 90, 31, 0.28), transparent 70%),
    linear-gradient(160deg, #1d2027, #0e0f12);
}

.vsl-player__frame iframe,
.vsl-player__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.vsl-player__start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  width: 100%;
  border: 0;
  background: none;
  color: var(--on-dark);
  cursor: pointer;
}

.vsl-player__start:disabled {
  cursor: default;
}

.vsl-player__sound {
  position: absolute;
  top: clamp(12px, 2vw, 22px);
  left: clamp(12px, 2vw, 22px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 100px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.vsl-player__sound svg {
  width: 20px;
  height: 20px;
}

.vsl-player__play {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(76px, 9vw, 112px);
  height: clamp(76px, 9vw, 112px);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.5);
  animation: vsl-ring 2.2s infinite;
  transition: transform 0.3s var(--ease);
}

.vsl-player__play svg {
  width: 42%;
  height: 42%;
  margin-left: 6%;
}

.vsl-player__start:not(:disabled):hover .vsl-player__play {
  transform: scale(1.06);
}

@keyframes vsl-ring {
  70% {
    box-shadow: 0 0 0 26px rgba(255, 90, 31, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 31, 0);
  }
}

.vsl-player__hint {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.vsl-player__frame.is-empty .vsl-player__play {
  animation: none;
  opacity: 0.55;
}

/* ---------- Кнопка под видео ---------- */

.vsl-action {
  margin-top: clamp(32px, 4vw, 48px);
}

.vsl-cta {
  animation: vsl-glow 2.6s infinite;
}

@keyframes vsl-glow {
  0%,
  100% {
    box-shadow: 0 14px 40px -14px rgba(255, 90, 31, 0.7);
  }
  50% {
    box-shadow: 0 18px 60px -10px rgba(255, 90, 31, 0.95);
  }
}

.vsl-action__note {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 16px;
  color: var(--muted);
}

.vsl-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 700;
}

.vsl-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vsl-trust svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--lime);
}

/* ---------- Логотипы клиентов ---------- */

.vsl-logos {
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.vsl-logos__title {
  justify-content: center;
}

.vsl-logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.vsl-logos__row .case__logo {
  margin: 0;
}

.vsl-page .cases {
  padding-top: clamp(64px, 8vw, 120px);
}

.vsl-final {
  padding-bottom: clamp(64px, 8vw, 120px);
}

/* ---------- Кнопка записи внизу экрана (телефон) ---------- */

.vsl-sticky {
  display: none;
}

@media (max-width: 640px) {
  .vsl-header__meta {
    display: none;
  }

  .vsl-header__inner {
    justify-content: center;
    height: 68px;
  }

  .vsl-hero {
    padding-top: 84px;
  }

  /* На телефоне видео поднимаем сразу под заголовок, чтобы его было видно без прокрутки */
  .vsl-hero > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vsl-player {
    order: 1;
    align-self: stretch;
  }

  .vsl-action {
    order: 2;
  }

  .vsl-system {
    order: 3;
    margin-top: 36px;
  }

  .vsl-warning {
    order: 4;
  }

  .vsl-sub {
    font-size: 16px;
  }

  .vsl-callout {
    border-radius: 16px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .vsl-player {
    margin-left: calc(var(--gutter) * -0.5);
    margin-right: calc(var(--gutter) * -0.5);
    padding: 5px;
    border-radius: 22px;
  }

  .vsl-player__frame {
    border-radius: 18px;
  }

  .vsl-player__sound {
    top: 10px;
    left: 10px;
    font-size: 12px;
    padding: 4px 10px 4px 8px;
  }

  .vsl-player__sound svg {
    width: 16px;
    height: 16px;
  }

  .vsl-player__start {
    gap: 10px;
    padding-top: 24px;
  }

  .vsl-player__play {
    width: 60px;
    height: 60px;
  }

  .vsl-player__hint {
    font-size: 11px;
  }

  .vsl-cta {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .vsl-trust {
    flex-direction: column;
    align-items: center;
  }

  .vsl-logos__row {
    gap: 10px;
  }

  .vsl-logos__row .case__logo {
    width: calc(50% - 5px);
  }

  .vsl-sticky {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 80;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(244, 243, 239, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
  }

  .vsl-sticky.is-visible {
    transform: none;
  }
}

/* Узкие телефоны (iPhone SE и т. п.): длинные слова заголовка должны помещаться */
@media (max-width: 380px) {
  .vsl-title {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vsl-strike::after {
    animation: none;
    transform: rotate(-3deg);
  }

  .vsl-player__play,
  .vsl-cta {
    animation: none;
  }
}

/* ==========================================================================
   Статья-кейс (адверториал): /cases/cidk/
   Узкая колонка текста, короткие абзацы, визуальные «якоря» каждые 1–2 экрана
   ========================================================================== */

.adv-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 243, 239, 0.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.adv-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.adv-header .logo {
  font-size: 20px;
}

.adv-header .logo__mark {
  width: 32px;
  height: 32px;
}

.adv-header__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.adv-progress {
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
}

.adv-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- Колонка текста ---------- */

.adv-wrap {
  width: 100%;
  max-width: calc(720px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.adv-wrap--wide {
  max-width: calc(1080px + var(--gutter) * 2);
}

.adv-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px);
}

.adv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.adv-title {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

/* Выделение в несколько строк: фон вместо подчёркивания-псевдоэлемента */
.adv-title .mark {
  white-space: normal;
  background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.adv-title .mark::after {
  display: none;
}

.adv-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.adv-byline strong {
  color: var(--ink);
}

.adv-byline .logo__mark {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.adv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.adv-stats li {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.adv-stats li:first-child {
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: none;
}

.adv-stats strong {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.adv-stats li:first-child strong {
  color: var(--lime);
}

.adv-stats span {
  font-size: 15px;
  line-height: 1.35;
  color: var(--muted);
}

.adv-stats li:first-child span {
  color: var(--on-dark-muted);
}

/* ---------- Текст статьи ---------- */

.adv-body {
  padding-top: clamp(36px, 5vw, 56px);
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.7;
  color: var(--ink-2);
}

.adv-body > p,
.adv-step > p,
.adv-compare__card p {
  margin-bottom: 0.9em;
}

.adv-body strong {
  color: var(--ink);
  font-weight: 700;
}

.adv-lead {
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

/* Ключевая мысль — жирнее, с акцентной чертой слева */
.adv-accent {
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.adv-h2 {
  margin: clamp(56px, 7vw, 88px) 0 24px;
  font-size: clamp(27px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.adv-cta {
  margin: clamp(28px, 4vw, 40px) 0;
}

/* ---------- Возражения в виде переписки ---------- */

.adv-chat {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin: 8px 0 28px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius);
  background: #e7e2d8;
  font-size: 16px;
  line-height: 1.4;
}

.adv-chat__msg {
  position: relative;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 4px 16px 16px 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 1px rgba(14, 15, 18, 0.08);
}

.adv-chat__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(14, 15, 18, 0.07);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.adv-chat__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.adv-chat__msg + .adv-chat__status {
  margin-top: 12px;
}

/* ---------- Отчёт подрядчика и цитаты ---------- */

.adv-report {
  margin: 4px 0 24px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.adv-report__label {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.adv-report p {
  font-size: 1.1em;
  font-weight: 700;
  color: #1a8f4a;
}

.adv-quote {
  margin: 8px 0 32px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.adv-quote::before {
  content: "“";
  display: block;
  height: 0.5em;
  font-size: 2.4em;
  line-height: 1;
  color: var(--accent);
}

.adv-quote--accent {
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--lime);
  font-size: clamp(19px, 1.8vw, 23px);
}

.adv-quote--accent::before {
  color: var(--ink);
}

/* ---------- Тёмный блок с главной мыслью ---------- */

.adv-dark {
  margin: 40px 0 28px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 1.05em;
}

.adv-dark__big {
  margin-top: 8px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--on-dark);
}

/* ---------- Скриншоты и фото ---------- */

.adv-figure {
  margin: 12px 0 32px;
}

.adv-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -32px rgba(14, 15, 18, 0.45);
}

.adv-figure--wide {
  margin-left: calc((min(1080px, 100vw - var(--gutter) * 2) - 100%) / -2);
  margin-right: calc((min(1080px, 100vw - var(--gutter) * 2) - 100%) / -2);
}

.adv-figure--photo img {
  max-height: 720px;
  object-fit: cover;
}

.adv-figure__zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.adv-figure__hint {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.adv-figure figcaption {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.adv-figure figcaption strong {
  display: block;
  color: var(--ink);
}

.adv-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 32px;
}

.adv-kpis li {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.adv-kpis li:nth-child(-n + 2) {
  background: var(--lime);
  box-shadow: none;
}

.adv-kpis strong {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.adv-kpis span {
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink-2);
}

.adv-result {
  margin: 4px 0 28px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 0.95em;
  line-height: 1.55;
}

.adv-result__label {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}

.adv-body .adv-result strong {
  color: var(--lime);
}

/* ---------- «Не за сообщение…» ---------- */

.adv-not {
  margin: 36px 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.adv-not__no {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.08em;
}

.adv-not__yes {
  margin-top: 10px;
  color: var(--ink);
}

/* ---------- Путь пациента ---------- */

.adv-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 28px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.adv-flow li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.adv-flow li:not(:last-child)::after {
  content: "→";
  color: var(--accent);
  font-weight: 800;
}

.adv-flow li:last-child {
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--lime);
}

/* ---------- Шаги ---------- */

.adv-step {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.adv-step__num {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.adv-step__title {
  margin: 16px 0 22px;
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.adv-step > p:last-child {
  margin-bottom: 0;
}

.adv-note {
  margin-top: 1.4em;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 0.92em;
}

.adv-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.55;
}

.adv-compare__card {
  padding: 22px;
  border-radius: 16px;
  background: var(--bg);
}

.adv-compare__card--good {
  background: var(--ink);
  color: var(--on-dark-muted);
}

.adv-compare__card--good strong {
  color: var(--lime);
}

.adv-compare__label {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.adv-compare__card--good .adv-compare__label {
  color: var(--lime);
}

.adv-compare__card p:last-child {
  margin-bottom: 0;
}

.adv-bubble {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 4px 16px 16px 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 700;
  color: var(--ink);
}

.adv-channels {
  display: grid;
  gap: 10px;
  margin: 4px 0 24px;
  font-size: 0.92em;
  line-height: 1.55;
}

.adv-channels li {
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--bg);
}



.adv-fails {
  display: grid;
  gap: 10px;
  margin: 4px 0 24px;
}

.adv-fails li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}

.adv-fails li::before {
  content: "✕";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(255, 90, 31, 0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

/* ---------- Таблица выручки ---------- */

.adv-table {
  margin: 8px 0 14px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 17px;
}

.adv-table__head,
.adv-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 22px;
}

.adv-table__head {
  background: var(--ink);
  color: var(--on-dark-muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.adv-table__row {
  position: relative;
  border-top: 1px solid var(--line);
}

/* Полоса показывает выручку относительно максимальной строки */
.adv-table__row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: rgba(200, 255, 61, 0.45);
}

.adv-table__row span {
  position: relative;
}

.adv-table__row strong {
  font-size: 1.15em;
  letter-spacing: -0.02em;
}

/* ---------- Финал ---------- */

.adv-final {
  padding-top: clamp(56px, 8vw, 96px);
}

.adv-final__title {
  font-size: clamp(30px, 3.6vw, 48px);
}

.adv-final__list {
  display: grid;
  gap: 2px;
  margin-top: 24px;
}

.adv-final__list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--on-dark);
}

.adv-final__list li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230e0f12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.adv-outro {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.adv-disclaimer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 760px) {
  .adv-stats {
    grid-template-columns: 1fr;
  }

  .adv-stats li {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
  }

  .adv-stats strong {
    min-width: 4.2em;
  }

  .adv-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .adv-header__tag {
    display: none;
  }

  .adv-body {
    font-size: 17.5px;
  }

  .adv-cta .btn {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .adv-step {
    margin-left: calc(var(--gutter) * -0.5);
    margin-right: calc(var(--gutter) * -0.5);
  }

  .adv-table__head,
  .adv-table__row {
    padding: 14px 16px;
  }

  .adv-figure--wide {
    margin-left: 0;
    margin-right: 0;
  }

  .adv-kpis span {
    font-size: 14px;
  }
}
