:root {
  --black: #000000;
  --graphite: #101110;
  --graphite-2: #191a19;
  --paper: #f7f7f3;
  --white: #ffffff;
  --muted: #a9aaa6;
  --ink-muted: #62635f;
  --line-dark: rgba(255, 255, 255, 0.17);
  --line-light: rgba(5, 5, 5, 0.15);
  --lime: #b8f21d;
  --pink: #f53686;
  --orange: #ff7917;
  --cyan: #30c7c8;
  --violet: #8d4dff;
  --radius: 11px;
  --shell: min(1320px, calc(100% - 64px));
  --section-title-size: clamp(46px, 4.5vw, 68px);
  --font-main: "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 550;
  letter-spacing: -0.015em;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

svg {
  display: block;
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--black);
  background: var(--lime);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 24px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
  padding: 0 16px 0 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.64);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand__mark {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  gap: 3px;
  width: 21px;
  height: 25px;
  transform: skew(-12deg);
}

.brand__mark i {
  display: block;
  height: 78%;
  border-radius: 5px;
  background: var(--pink);
}

.brand__mark i:nth-child(2) {
  height: 100%;
  background: var(--lime);
}

.brand__mark i:nth-child(3) {
  height: 62%;
  background: var(--cyan);
}

.brand__word {
  color: transparent;
  background: linear-gradient(90deg, var(--pink) 0 14%, var(--orange) 28%, var(--lime) 47%, var(--cyan) 68%, var(--violet) 88%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3.4vw, 52px);
}

.site-nav a,
.site-footer nav a {
  position: relative;
  color: #e9e9e7;
  font-size: 15px;
  font-weight: 520;
  transition: color 180ms ease;
}

.site-nav a::after,
.site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pink), var(--lime), var(--cyan));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-footer nav a:hover::after,
.site-footer nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button svg,
.mobile-call svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 240ms var(--ease);
}

.hero {
  position: relative;
  display: flex;
  min-height: 820px;
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}

.hero::after {
  display: none;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: 0;
  width: 58%;
  height: 70%;
  opacity: 0.07;
  background:
    radial-gradient(circle at 64% 35%, var(--pink), transparent 17%),
    radial-gradient(circle at 80% 60%, var(--violet), transparent 20%),
    radial-gradient(circle at 35% 65%, var(--lime), transparent 18%);
  filter: blur(100px);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
  padding-top: 112px;
  padding-bottom: 32px;
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding-top: 20px;
}

.hero h1,
.section-heading h2,
.process__heading h2,
.benefits__heading h2,
.contact__copy h2 {
  margin: 0;
  font-size: clamp(46px, 4vw, 60px);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: .98;
}

.hero h1 span {
  white-space: nowrap;
}

.hero__copy > p {
  max-width: 500px;
  margin: 26px 0 0;
  color: #b9bab7;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.56;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 60px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.015em;
  transition: transform 200ms var(--ease), box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--cyan);
  background: rgba(48, 199, 200, 0.07);
}

.button svg {
  width: 22px;
  height: 22px;
}

.hero__note {
  max-width: 570px;
  margin: 22px 0 0;
  color: #d5d6d2;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.015em;
  line-height: 1.45;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  width: 100%;
  place-items: center;
  justify-self: end;
  isolation: isolate;
}

.hero__visual::before {
  position: absolute;
  z-index: -1;
  width: 88%;
  aspect-ratio: 1.25;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 68%);
  content: "";
  filter: blur(22px);
}

.hero__visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(700px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: saturate(.94) contrast(1.025) brightness(.99);
  transition: transform 700ms var(--ease);
}

.hero__visual:hover img {
  transform: scale(1.008);
}

.hero__orbit {
  position: absolute;
  z-index: 0;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.hero__orbit::before,
.hero__orbit::after {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(184, 242, 29, 0.14);
  border-radius: inherit;
  content: "";
}

.hero__orbit::after {
  inset: 25%;
  border-style: solid;
  border-color: rgba(245, 54, 134, .11);
}

.signal-field {
  position: absolute;
  z-index: 0;
  right: -8%;
  bottom: 8%;
  width: 58%;
  height: 28%;
  opacity: 0.65;
  pointer-events: none;
}

.signal {
  position: absolute;
  right: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: rotate(-18deg) translateX(18%);
  transform-origin: right;
}

.signal::before {
  position: absolute;
  left: 42%;
  width: 18px;
  height: 5px;
  border-radius: 9px;
  background: currentColor;
  content: "";
}

.signal--1 { top: 10%; color: var(--pink); }
.signal--2 { top: 28%; color: var(--lime); transform: rotate(-12deg) translateX(18%); }
.signal--3 { top: 46%; color: var(--cyan); transform: rotate(-7deg) translateX(18%); }
.signal--4 { top: 64%; color: var(--orange); transform: rotate(-2deg) translateX(18%); }
.signal--5 { top: 82%; color: var(--violet); transform: rotate(4deg) translateX(18%); }

.hero__scroll {
  position: absolute;
  z-index: 5;
  bottom: 20px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8f908c;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero__scroll i {
  position: relative;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}

.hero__scroll i::after {
  position: absolute;
  width: 45%;
  height: 100%;
  background: var(--lime);
  content: "";
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  from { transform: translateX(-120%); }
  to { transform: translateX(240%); }
}

.section {
  position: relative;
  padding: 92px 0;
}

.services,
.benefits {
  color: var(--black);
  background: var(--paper);
}

.services__layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr);
  gap: clamp(54px, 7vw, 100px);
}

.section-heading__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .12em;
}

.section-heading__index::after {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--lime));
  content: "";
}

.section-heading h2,
.process__heading h2,
.benefits__heading h2,
.contact__copy h2 {
  font-size: var(--section-title-size);
  line-height: 1.02;
}

.section-heading > p,
.benefits__heading > p,
.process__heading > p,
.contact__copy > p {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 750;
}

.text-link span {
  font-size: 19px;
  transition: transform 180ms var(--ease);
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(3px, -3px);
}

.service-list {
  border-top: 1px solid var(--line-light);
}

.service-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 28px;
  min-height: 150px;
  border-bottom: 1px solid var(--line-light);
  transition: padding 300ms var(--ease), background 300ms ease;
}

.service-row:hover {
  padding-inline: 14px;
  background: rgba(255,255,255,.45);
}

.service-row__number {
  font-size: clamp(54px, 5vw, 78px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1;
}

.service-row__number--lime { color: #96c917; }
.service-row__number--pink { color: var(--pink); }
.service-row__number--orange { color: var(--orange); }

.service-row h3 {
  margin: 0 0 14px;
  font-size: 27px;
  letter-spacing: -.03em;
}

.service-row p {
  max-width: 460px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.5;
}

.service-row__icon,
.benefit svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-row:nth-child(1) .service-row__icon { color: #96c917; }
.service-row:nth-child(2) .service-row__icon { color: var(--pink); }
.service-row:nth-child(3) .service-row__icon { color: var(--orange); }

.section--dark {
  color: var(--white);
  background: var(--black);
}

.process {
  overflow: hidden;
}

.process::after {
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  content: "";
}

.process__heading {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(240px, 420px);
  align-items: end;
  gap: 34px;
}

.process__heading .section-heading__index,
.contact__copy .section-heading__index {
  color: var(--muted);
  align-self: start;
}

.process__heading > p {
  margin-bottom: 6px;
  color: var(--muted);
}

.process-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  min-height: 255px;
  margin-top: 50px;
  padding-top: 24px;
}

.process-map__route {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 180px;
  overflow: visible;
  fill: none;
  stroke: url(#route-gradient);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 14px rgba(184,242,29,.08));
}

.process-step {
  position: relative;
  padding-top: 72px;
}

.process-step--2 { padding-top: 132px; }
.process-step--3 { padding-top: 30px; }
.process-step--4 { padding-top: 98px; }

.process-step__dot {
  position: absolute;
  top: 45px;
  left: 18px;
  width: 22px;
  height: 22px;
  border: 6px solid var(--black);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px currentColor;
}

.process-step--1 { color: var(--lime); }
.process-step--2 { color: var(--pink); }
.process-step--3 { color: var(--orange); }
.process-step--4 { color: var(--violet); }
.process-step--2 .process-step__dot { top: 105px; }
.process-step--3 .process-step__dot { top: 3px; }
.process-step--4 .process-step__dot { top: 71px; }

.process-step__number {
  display: block;
  margin-bottom: 14px;
  font-size: 44px;
  font-weight: 760;
  letter-spacing: -.06em;
  line-height: 1;
}

.process-step h3 {
  margin: 0;
  color: var(--white);
  font-size: 21px;
  letter-spacing: -.025em;
}

.process-step p {
  max-width: 220px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.benefits__heading {
  display: grid;
  grid-template-columns: 160px minmax(400px, 1fr) minmax(280px, 440px);
  align-items: end;
  gap: 34px;
}

.benefits__heading > p {
  margin-bottom: 5px;
}

.benefit-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 86px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.benefit {
  position: relative;
  min-height: 260px;
  padding: 46px 34px 40px;
  border-right: 1px solid var(--line-light);
}

.benefit:last-child {
  border-right: 0;
}

.benefit__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
  border-top: 4px solid;
  border-right: 4px solid;
  border-radius: 0 8px 0 0;
}

.benefit__corner--pink { color: var(--pink); }
.benefit__corner--lime { color: var(--lime); }
.benefit__corner--violet { color: var(--violet); }
.benefit__corner--orange { color: var(--orange); }

.benefit svg {
  width: 48px;
  height: 48px;
  margin-bottom: 46px;
}

.benefit h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.contact {
  overflow: hidden;
  padding-bottom: 72px;
}

.contact__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.contact__copy {
  width: min(100%, 820px);
}

.contact__copy h2 span {
  color: var(--lime);
}

.contact__copy > p {
  max-width: 500px;
  color: var(--muted);
}

.messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 750;
  transition: color 180ms ease;
}

.messenger-link:hover,
.messenger-link:focus-visible {
  color: var(--white);
}

.messenger-link__icon {
  display: grid;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  transition: transform 180ms var(--ease), filter 180ms ease;
}

.messenger-link svg {
  width: 27px;
  height: 27px;
  fill: var(--white);
}

.messenger-link:hover .messenger-link__icon,
.messenger-link:focus-visible .messenger-link__icon {
  filter: brightness(1.08);
  transform: translateY(-2px) scale(1.04);
}

.messenger-link--whatsapp .messenger-link__icon {
  background: #25d366;
}

.messenger-link--telegram .messenger-link__icon {
  background: #229ed9;
}

.messenger-link__label {
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.messenger-link:hover .messenger-link__label,
.messenger-link:focus-visible .messenger-link__label {
  border-color: currentColor;
}

.site-footer {
  position: relative;
  padding: 0 0 28px;
  color: var(--white);
  background: var(--black);
}

.site-footer__spectrum {
  width: var(--shell);
  height: 2px;
  margin: 0 auto 42px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--lime), var(--cyan), var(--violet), var(--pink));
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 36px;
}

.brand--footer .brand__word {
  font-size: 30px;
}

.site-footer__inner > div:first-child > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 18px;
  width: max-content;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}

.site-footer__contacts a {
  font-size: 21px;
  font-weight: 750;
}

.site-footer__contacts span,
.site-footer__legal {
  color: var(--muted);
  font-size: 13px;
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.mobile-call {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  display: none;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  place-items: center;
  color: var(--black);
  background: var(--lime);
  box-shadow: 0 14px 38px rgba(0,0,0,.3);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 780ms var(--ease), transform 780ms var(--ease);
}

.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal[data-delay="3"] { transition-delay: 300ms; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  :root { --shell: min(100% - 48px, 1120px); }

  .site-nav { gap: 23px; }
  .site-nav a { font-size: 14px; }
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero__visual {
    min-width: 0;
    transform: none;
  }

  .services__layout {
    grid-template-columns: .74fr 1.26fr;
    gap: 60px;
  }

  .service-row {
    grid-template-columns: 82px 1fr 64px;
    gap: 20px;
  }

  .benefit { padding-inline: 24px; }
}

@media (max-width: 900px) {
  :root { --shell: calc(100% - 40px); }

  .site-header { padding-top: 16px; }
  .site-header__inner { min-height: 64px; padding-inline: 18px; }
  .menu-button { display: block; }

  .site-nav {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 100px 24px 40px;
    opacity: 0;
    background: rgba(5,5,5,.98);
    transition: opacity 260ms ease, visibility 260ms;
  }

  .site-nav a { font-size: 30px; font-weight: 700; }
  .menu-open .site-nav { visibility: visible; opacity: 1; }
  .menu-open .menu-button span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-button span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero { min-height: auto; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 154px;
    padding-bottom: 82px;
  }

  .hero__copy { max-width: 720px; }
  .hero__visual { grid-row: 2; min-width: 0; transform: none; }
  .hero__visual img { width: min(760px, 96vw); }
  .hero__orbit { width: 58%; }
  .hero__scroll { display: none; }
  .signal-field { right: -20%; bottom: 0; width: 100%; }

  .section { padding: 74px 0; }
  .services__layout { grid-template-columns: 1fr; gap: 48px; }
  .section-heading { max-width: 700px; }

  .process__heading,
  .benefits__heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process__heading .section-heading__index,
  .benefits__heading .section-heading__index { margin-bottom: 0; }
  .process__heading > p,
  .benefits__heading > p { margin-top: 0; }

  .process-map {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    gap: 36px 60px;
    padding: 0 0 0 36px;
  }

  .process-map::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 4px;
    width: 4px;
    border-radius: 6px;
    background: linear-gradient(var(--lime), var(--pink), var(--orange), var(--violet));
    content: "";
  }

  .process-map__route { display: none; }
  .process-step,
  .process-step--2,
  .process-step--3,
  .process-step--4 { padding-top: 0; }
  .process-step__dot,
  .process-step--2 .process-step__dot,
  .process-step--3 .process-step__dot,
  .process-step--4 .process-step__dot { top: 12px; left: -38px; width: 12px; height: 12px; border-width: 3px; box-shadow: 0 0 0 2px currentColor; }

  .benefit-rail { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }

  .contact__layout { grid-template-columns: 1fr; gap: 48px; }
  .contact__copy { max-width: 760px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__contacts { align-items: flex-start; text-align: left; }
  .mobile-call { display: grid; }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 32px);
    --section-title-size: clamp(34px, 9.5vw, 44px);
  }

  .site-header__inner { min-height: 60px; }
  .brand { gap: 9px; }
  .brand__word { font-size: 22px; }
  .brand__mark { transform: scale(.88) skew(-12deg); transform-origin: left; }

  .hero__inner { gap: 18px; padding-top: 110px; padding-bottom: 36px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .hero h1 span { white-space: normal; }
  .hero__copy > p { margin-top: 18px; font-size: 16px; line-height: 1.45; }
  .hero__actions { display: grid; gap: 10px; margin-top: 24px; }
  .button { width: 100%; min-height: 52px; }
  .button--ghost { order: 2; }
  .hero__note { margin-top: 18px; font-size: 16px; }
  .hero__visual {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    justify-self: center;
  }
  .hero__visual img {
    width: 100%;
    max-width: none;
  }

  .section { padding: 48px 0; }
  .section-heading__index { margin-bottom: 16px; }
  .section-heading h2,
  .process__heading h2,
  .benefits__heading h2,
  .contact__copy h2 { font-size: var(--section-title-size); }
  .section-heading > p,
  .contact__copy > p { margin-top: 16px; font-size: 16px; }
  .text-link { margin-top: 24px; }

  .services__layout { gap: 24px; }
  .service-row {
    grid-template-columns: 56px 1fr;
    align-items: start;
    min-height: 0;
    padding: 22px 0;
  }
  .service-row:hover { padding-inline: 0; }
  .service-row__number { font-size: 36px; }
  .service-row h3 { margin-bottom: 8px; font-size: 21px; }
  .service-row p { font-size: 14px; }
  .service-row__icon { display: none; }

  .process-map {
    grid-template-columns: 1fr 1fr;
    gap: 30px 18px;
    margin-top: 32px;
    padding-left: 0;
  }
  .process-map::before { display: none; }
  .process__heading > p { display: none; }
  .process-step__dot,
  .process-step--2 .process-step__dot,
  .process-step--3 .process-step__dot,
  .process-step--4 .process-step__dot {
    position: static;
    display: block;
    width: 9px;
    height: 9px;
    margin: 0 0 10px 2px;
    border-width: 2px;
    box-shadow: 0 0 0 1px currentColor;
  }
  .process-step__number { margin-bottom: 8px; font-size: 36px; }
  .process-step h3 { font-size: 16px; line-height: 1.25; }
  .process-step p { max-width: 100%; }

  .benefit-rail { grid-template-columns: 1fr; margin-top: 54px; }
  .benefit { min-height: 190px; padding: 32px 24px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .benefit:last-child { border-bottom: 0; }
  .benefit svg { margin-bottom: 32px; }

  .contact { padding-bottom: 48px; }
  .contact__layout { gap: 28px; }
  .messenger-links { gap: 24px; margin-top: 22px; }

  .site-footer__spectrum { margin-bottom: 28px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
  .site-footer nav { display: none; }
  .site-footer__legal { flex-direction: column; gap: 8px; }
}

@media (max-width: 390px) {
  :root { --shell: calc(100% - 24px); }
  .brand__mark { display: none; }
  .site-header__inner { padding-left: 15px; }
  .hero h1 { font-size: 39px; }
  .hero__visual img { width: 100%; }
  .hero__actions .button { padding-inline: 18px; font-size: 15px; }
  .hero__note { font-size: 15px; }
  .service-row { grid-template-columns: 50px 1fr; gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
