:root {
  --color-bg: #f4f4f8;
  --color-header: #1b1c20;
  --color-footer: #132027;
  --color-text: #1b1c20;
  --color-title: #101419;
  --color-accent: #ff2430;
  --color-muted: #9789ad;
  --color-white: #ffffff;
  --color-note-bg: rgba(8, 141, 9, 0.02);
  --color-note-border: #088d09;
  --color-line: #d8dee5;
  --color-max: #441cba;
  --color-telegram: #0185d5;
  --color-black: #000000;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Onest", sans-serif;
  --font-mono: "Ubuntu", sans-serif;
  --radius-btn: 8px;
  --radius-input: 5px;
  --radius-note: 15px;
  --radius-shot: 10px;
  --container: 800px;
  --page: 1440px;
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input {
  font: inherit;
}

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

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

.accent--bold {
  font-weight: 700;
  color: var(--color-accent);
}

.accent--semibold {
  font-weight: 600;
  color: var(--color-accent);
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-header);
  color: var(--color-white);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 69px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 24px 80px;
}

.header__logo {
  flex-shrink: 0;
  width: 400px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.header__meta {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-left: auto;
}

.header__info {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.header__phone {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s;
}

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

.header__cta {
  flex-shrink: 0;
}

.button.header__cta--mobile {
  display: none;
}

.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header__burger-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-white);
  transition: transform 0.2s, opacity 0.2s;
}

.header--open .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header--open .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header--open .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border: 0;
  border-radius: var(--radius-btn);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
}

.button--accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.button--accent:hover {
  background: #e01e29;
}

.button--accent:active {
  transform: translateY(1px);
}

/* Hero */

.hero {
  position: sticky;
  top: var(--header-height);
  z-index: 1;
  overflow: hidden;
  background: var(--color-bg);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--page);
  margin: 0 auto;
  padding-top: 80px;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 1055px;
  padding: 0 24px;
}

.hero__titles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--color-title);
}

.hero__title-line {
  white-space: nowrap;
}

.hero__subtitle {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  color: var(--color-text);
}

.hero__note {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: var(--color-muted);
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 592px;
  margin-top: 8px;
  will-change: transform;
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 808px;
  height: 808px;
  border-radius: 50%;
  background: #c8b8d5;
  filter: blur(145px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: 683px;
  height: 592px;
  object-fit: contain;
  object-position: center bottom;
}

/* Page content */

.page {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  background: var(--color-bg);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -18px 50px rgba(27, 28, 32, 0.12);
}

.page__layout {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, var(--container)) minmax(200px, 260px);
  justify-content: center;
  align-items: start;
  column-gap: 24px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 44px 24px 80px;
}

.page__inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
  min-width: 0;
  grid-column: 2;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  scroll-margin-top: 120px;
}

.toc__toggle,
.toc__backdrop,
.toc__close {
  display: none;
}

.toc {
  position: sticky;
  top: 120px;
  grid-column: 1;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding: 4px 8px 8px 0;
}

.toc__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
}

.toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--color-line);
}

.toc__link {
  display: block;
  margin-left: -1px;
  padding: 10px 8px 10px 16px;
  border-left: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #6b6c72;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.toc__link:hover {
  color: var(--color-text);
}

.toc__link.is-active {
  color: var(--color-accent);
  border-left-color: var(--color-accent);
}

.section__stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section__stack--tight {
  gap: 24px;
}

.section__stack--wide {
  gap: 36px;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

.text {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
}

.text--semibold {
  font-weight: 600;
}

.text--lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.shot {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius-shot);
}

.divider {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--color-line);
}

/* Note */

.note {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  background: var(--color-note-bg);
  border: 1px solid var(--color-note-border);
  border-radius: var(--radius-note);
}

.note__icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
}

.note__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.note__text b {
  font-weight: 700;
}

/* Lead form */

.lead {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 668px;
}

.lead--wide {
  max-width: none;
}

.lead__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.lead__form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  width: 100%;
}

.lead__input, .lead__input-text {
  display: block;
  flex: 1 1 auto;
  min-width: 220px;
  width: 100%;
  height: 48px;
  padding: 14px 18px;
  background: var(--color-white);
  border: 2px solid var(--color-line);
  border-radius: var(--radius-input);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.2s;
}

.lead__input::placeholder,
.lead__input-text::placeholder {
  color: var(--color-line);
}

.lead__input:focus,
.lead__input-text:focus {
  border-color: var(--color-accent);
}

.lead__input.is-invalid,
.lead__input-text.is-invalid {
  border-color: var(--color-accent);
}

.btn-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  width: 186px;
  height: 48px;
  padding: 9px 16px;
  border: 0;
  border-radius: var(--radius-input);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-white);
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}

.btn-messenger:hover {
  filter: brightness(1.08);
}

.btn-messenger:active {
  transform: translateY(1px);
}

.btn-messenger__icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.btn-messenger--max {
  background: var(--color-max);
}

.btn-messenger--telegram {
  background: var(--color-telegram);
}

/* Check lists */

.check-list {
  display: grid;
  grid-template-columns: 324px 1fr;
  gap: 24px 94px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list--niches {
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 24px;
}

.niches {
  display: grid;
  grid-template-columns: minmax(0, 251px) minmax(0, 1fr);
  gap: 24px 80px;
}

.niches .check-list--plain {
  max-width: none;
  gap: 24px;
}

.check-list--plain {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 527px;
}

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-list__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 1px;
}

.check-list--niches .check-list__icon,
.check-list--plain .check-list__icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.check-list__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.check-list--niches .check-list__text,
.check-list--plain .check-list__text {
  font-size: 18px;
  line-height: 1.3;
  align-self: center;
}

.methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.methods__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.methods__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.methods__icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.methods__icon--brand img {
  width: 24px;
  height: 24px;
}

.methods__text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps__item {
  position: relative;
  padding-left: 0;
  font-size: 20px;
  line-height: 1.7;
}

.steps__num {
  font-weight: 700;
  color: var(--color-accent);
}

/* Footer */

.footer {
  background: var(--color-footer);
  color: var(--color-white);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 60px 80px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 176px;
  flex-shrink: 0;
}

.footer__logo-mark {
  width: 176px;
  height: 45px;
  overflow: hidden;
}

.footer__logo-mark img {
  width: auto;
  max-width: none;
  height: 45px;
}

.footer__line {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 0.5px solid var(--color-white);
}

.footer__slogan {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__legal-link {
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.95;
  transition: color 0.2s;
}

.footer__legal-link:hover {
  color: var(--color-accent);
}

.footer__reqs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  line-height: 1.35;
}

.footer__reqs-label {
  font-family: var(--font-mono);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 252px;
  flex-shrink: 0;
}

.footer__contacts-title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
}

.footer__mail {
  display: block;
  margin-bottom: 20px;
  font-size: 16px;
  transition: color 0.2s;
}

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

.footer__phone {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-accent);
}

.footer__socials {
  display: flex;
  gap: 24px;
}

.footer__social {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.2s;
}

.footer__social:hover {
  transform: translateY(-2px);
}

.footer__social img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer__social--max {
  border-radius: 12px;
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

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

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 32, 39, 0.55);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 36px 32px 32px;
  background: var(--color-bg);
  border-radius: 16px;
}

.modal__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.modal__text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text);
  cursor: pointer;
}

.modal .lead {
  max-width: none;
}

.lead__form--modal {
  flex-direction: column;
  align-items: stretch;
}

.lead__form--modal .button {
  width: 100%;
}

body.is-locked {
  overflow: hidden;
}

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

  .hero {
    position: relative;
    top: auto;
  }

  .page {
    margin-top: 0;
  }

  .hero__visual {
    will-change: auto;
  }
}

/* Responsive */

@media (max-width: 1279px) {
  :root {
    --header-height: 80px;
  }

  .page {
    margin-top: -48px;
    border-radius: 24px 24px 0 0;
  }
  .page__layout {
    display: block;
    padding: 44px 20px 80px;
  }

  .page__inner {
    max-width: var(--container);
    margin: 0 auto;
  }

  .toc__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 16px;
    bottom: 24px;
    z-index: 55;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--color-header);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(27, 28, 32, 0.24);
  }

  .toc__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 59;
    background: rgba(19, 32, 39, 0.45);
  }

  .toc__backdrop.is-visible {
    display: block;
  }

  .toc {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 60;
    width: min(320px, 86vw);
    max-height: none;
    padding: 88px 20px 32px;
    background: var(--color-bg);
    box-shadow: 8px 0 32px rgba(27, 28, 32, 0.16);
    transform: translateX(-110%);
    transition: transform 0.25s ease;
  }

  .toc.is-open {
    transform: translateX(0);
  }

  .toc__close {
    display: block;
    position: absolute;
    top: 20px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
  }

  .header__inner,
  .footer__inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .header__inner {
    gap: 32px;
  }

  .header__logo {
    width: 280px;
    height: 32px;
  }

  .header__meta {
    gap: 28px;
  }

  .hero__inner {
    padding-top: 48px;
  }

  .hero__content {
    gap: 20px;
  }

  .hero__titles {
    gap: 16px;
  }

  .hero__title {
    font-size: clamp(24px, 3.4vw, 40px);
  }

  .hero__subtitle {
    font-size: clamp(20px, 2.5vw, 32px);
  }

  .hero__visual,
  .hero__photo {
    width: min(683px, 92vw);
    height: min(592px, 78vw);
  }

  .hero__glow {
    width: min(808px, 100vw);
    height: min(808px, 100vw);
  }
}

@media (max-width: 960px) {
  .header__info {
    display: none;
  }

  .section__title {
    font-size: 30px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 22px;
  }

  .lead__form {
    flex-wrap: wrap;
  }

  .lead__input {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .check-list,
  .check-list--niches,
  .niches {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer__inner {
    flex-wrap: wrap;
    gap: 40px;
    padding: 48px 24px;
  }

  .footer__contacts {
    width: 100%;
  }
}

@media screen and (max-width: 720px) {
  :root {
    --header-height: 56px;
  }

  .page {
    margin-top: -32px;
    border-radius: 20px 20px 0 0;
  }
  .header__inner {
    gap: 16px;
    padding: 16px 16px;
  }

  .header__logo {
    width: 180px;
    height: 24px;
  }

  .header__meta {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px 24px;
    background: var(--color-header);
  }

  .header--open .header__meta {
    display: flex;
  }

  .header__cta--desktop {
    display: none;
  }

  .header--open .button.header__cta--mobile {
    display: inline-flex;
  }

  .header__burger {
    display: block;
    margin-left: auto;
  }

  .header--open {
    flex-wrap: wrap;
  }

  .header--open .header__inner {
    flex-wrap: wrap;
  }

  .hero__inner {
    padding-top: 32px;
  }

  .hero__content {
    padding: 0 16px;
    gap: 16px;
  }

  .hero__titles {
    gap: 12px;
  }

  .hero__title {
    font-size: clamp(18px, 5.2vw, 26px);
  }

  .hero__title-line {
    white-space: normal;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__note {
    font-size: 16px;
  }

  .hero__visual {
    margin-top: 4px;
  }

  .hero__glow {
    top: 45%;
    width: 120vw;
    height: 120vw;
  }
  }

  .page__inner {
    gap: 48px;
    padding-top: 32px;
    padding-bottom: 48px;
  }

  /*.text,*/
  /*.note__text,*/
  /*.steps__item {*/
  /*  font-size: 16px;*/
  /*}*/

  .text--lead {
    font-size: 18px;
  }

  .section__title {
    font-size: 24px;
  }

  .note {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .note__icon {
    width: 40px;
    height: 40px;
  }

  .btn-messenger {
    flex: 1 1 calc(50% - 12px);
    width: auto;
  }

  .footer__phone {
    font-size: 24px;
  }

  .modal__dialog {
    padding: 28px 16px 20px;
  }
}

.lead__consent {
  flex: 1 0 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-muted);
}

.lead__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead__consent a:hover {
  color: var(--color-accent);
}

.lead__consent--check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text);
  cursor: pointer;
}

.lead__consent--check input {
  margin-top: 3px;
  flex-shrink: 0;
}
