:root {
  --ink: #111111;
  --muted: #696969;
  --line: #d9d7d2;
  --paper: #f4f2ed;
  --white: #ffffff;
  --warm: #e9e3d8;
  --red: #ed311d;
  --red-dark: #c92313;
  --lime: #d7ff3f;
  --radius: 20px;
  --container: 1240px;
  --shadow: 0 24px 70px rgba(18, 18, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header.is-scrolled,
.header--solid {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(244, 242, 237, 0.94);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.1px;
}

.brand__descriptor {
  margin-top: 6px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.55px;
  opacity: 0.56;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone {
  font-size: 13px;
  font-weight: 700;
}

.header__messengers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__messenger {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header__messenger--telegram {
  background: #229ed9;
}

.header__messenger--max {
  background: linear-gradient(135deg, #471aff 0%, #9500ff 58%, #00bfff 100%);
}

.header.is-scrolled .header__messenger {
  border-color: rgba(17, 17, 17, 0.12);
}

.header__messenger svg,
.header__messenger img {
  display: block;
  width: 22px;
  height: 22px;
}

.header__messenger svg {
  margin: 1px 0 0 1px;
  fill: currentColor;
}

.header__messenger--max img {
  width: 24px;
  height: 24px;
}

.header__messenger--telegram:hover {
  background: #178fc8;
  transform: translateY(-2px);
}

.header__messenger--max:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.header__messenger--telegram:focus-visible {
  outline: 3px solid rgba(34, 158, 217, 0.28);
  outline-offset: 3px;
}

.header__messenger--max:focus-visible {
  outline: 3px solid rgba(149, 0, 255, 0.25);
  outline-offset: 3px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 12px 10px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 0 19px;
  border-color: rgba(255, 255, 255, 0.35);
  color: inherit;
  background: transparent;
  font-size: 12px;
}

.header.is-scrolled .button--small {
  border-color: var(--ink);
}

.button--primary {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--red);
}

.button--primary::after {
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-22deg);
}

.button--primary:hover {
  background: var(--red-dark);
}

.button--primary:hover::after {
  animation: button-sheen 0.55s ease-out;
}

@keyframes button-sheen {
  from {
    left: -55%;
  }
  to {
    left: 130%;
  }
}

.button--large {
  min-height: 62px;
  padding: 0 30px;
  font-size: 15px;
}

.button--white {
  color: var(--ink);
  background: var(--white);
}

.button--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  padding: 148px 0 0;
  color: var(--white);
  background: #101010;
}

.hero::before {
  position: absolute;
  top: 110px;
  right: -7vw;
  width: 50vw;
  height: 50vw;
  max-width: 760px;
  max-height: 760px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.hero__grid,
.cta__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 86%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(237, 49, 29, 0.16);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 600;
  letter-spacing: -4.7px;
  line-height: 0.98;
}

h1 em,
.cta h2 em {
  color: var(--red);
  font-style: normal;
}

.hero__benefits {
  display: grid;
  max-width: 630px;
  gap: 9px;
  margin: 0 0 32px;
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.5;
  list-style: none;
}

.hero__benefits li {
  position: relative;
  padding-left: 24px;
}

.hero__benefits li::before {
  position: absolute;
  top: 0.68em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(237, 49, 29, 0.14);
  content: "";
}

.hero__actions {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 50px;
}

.hero__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero__cta-note {
  margin: 0;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.4;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
}

.hero__proof {
  display: grid;
  max-width: 600px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  padding-top: 24px;
}

.hero__proof div {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}

.hero__proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
  padding-left: 24px;
}

.hero__proof strong {
  margin-bottom: 4px;
  font-size: 24px;
  letter-spacing: -1px;
}

.hero__proof span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.hero__visual {
  position: relative;
  min-height: 620px;
}

.hero__portrait {
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: 0;
  width: 92%;
  overflow: hidden;
  border-radius: 260px 260px 22px 22px;
  background: #d5d5d5;
}

.hero__portrait picture {
  display: contents;
}

.hero__portrait::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(9, 9, 9, 0.35), transparent 42%);
}

.hero__portrait img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  object-position: 50% 20%;
  filter: contrast(1.03) saturate(0.83);
}

.hero__orbit {
  position: absolute;
  z-index: 1;
  top: 3%;
  right: -8%;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 1;
}

.hero__orbit circle:last-child {
  stroke: rgba(237, 49, 29, 0.5);
  stroke-dasharray: 2 12;
}

.hero__nameplate,
.hero__result-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
}

.hero__nameplate {
  right: 0;
  bottom: 22px;
  min-width: 215px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: rgba(16, 16, 16, 0.72);
}

.hero__nameplate span,
.hero__result-card span {
  color: rgba(255, 255, 255, 0.57);
  font-size: 10px;
}

.hero__nameplate strong {
  margin-top: 4px;
  font-size: 15px;
}

.hero__result-card {
  z-index: 4;
  top: 45%;
  left: -18px;
  width: 214px;
  padding: 20px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--lime);
  transform: rotate(-3deg);
}

.hero__result-card strong {
  margin: 9px 0 2px;
  font-size: 23px;
  letter-spacing: -1px;
}

.hero__result-card span {
  color: rgba(17, 17, 17, 0.64);
}

.result-card__label {
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.trust-strip {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: 96px;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  align-items: center;
  gap: 22px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-align: center;
}

.trust-strip__title {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
}

.section {
  padding: 100px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.section--light {
  background: var(--paper);
}

.section--warm {
  background: var(--warm);
}

.section--black {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 48px;
}

.section-heading--compact {
  margin-bottom: 34px;
}

.section-heading h2,
.team h2,
.faq h2,
.cta h2 {
  max-width: 820px;
  margin: 20px 0 0;
  font-size: clamp(38px, 4.3vw, 62px);
  font-weight: 600;
  letter-spacing: -3.2px;
  line-height: 1.04;
}

.section-heading > p,
.team__content > p,
.faq__layout > div:first-child > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-index {
  display: inline-block;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.section-index--light {
  color: rgba(255, 255, 255, 0.48);
}

.roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.role-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}

.role-card:hover {
  transform: translateY(-8px);
  background: var(--white);
}

.role-card--dark,
.role-card--dark:hover {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.role-card__number {
  margin-bottom: 20px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.role-card__visual {
  display: grid;
  height: 118px;
  place-items: center;
  margin-bottom: auto;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 14px;
  color: var(--ink);
  background: var(--warm);
}

.role-card__visual svg {
  width: 88%;
  height: 88%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.role-card__visual circle,
.role-card__visual rect {
  fill: rgba(255, 255, 255, 0.48);
}

.role-card--dark .role-card__visual {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.role-card--dark .role-card__visual circle {
  fill: var(--red);
}

.role-card__visual--market {
  color: var(--red-dark);
  background: #f1d6cd;
}

.role-card__visual--management {
  color: #24565d;
  background: #d8e4e2;
}

.role-card__visual--specialists {
  color: #625635;
  background: #e8e2c8;
}

.role-card h3 {
  margin: 24px 0 14px;
  font-size: 27px;
  letter-spacing: -1.2px;
}

.role-card p {
  min-height: 78px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.role-card--dark p {
  color: rgba(255, 255, 255, 0.55);
}

.role-card__cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 18px 0 0;
  cursor: pointer;
  color: inherit;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.role-card--dark .role-card__cta {
  border-color: rgba(255, 255, 255, 0.15);
}

.loss {
  overflow: hidden;
}

.loss__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 90px;
}

.loss h2 {
  margin: 20px 0 24px;
  font-size: clamp(42px, 4.5vw, 66px);
  font-weight: 600;
  letter-spacing: -3.7px;
  line-height: 1.02;
}

.loss__content > p {
  max-width: 650px;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.55);
}

.loss__controls {
  display: grid;
  max-width: 700px;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.loss__controls label {
  display: flex;
  flex-direction: column;
}

.loss__controls label > span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.loss__controls label > strong {
  margin: 8px 0 20px;
  font-size: 24px;
}

input[type="range"] {
  width: 100%;
  height: 32px;
  margin: 0;
  appearance: none;
  cursor: pointer;
  background: transparent;
  accent-color: var(--red);
  touch-action: pan-x;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}

input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -10px;
  border: 4px solid var(--red);
  border-radius: 50%;
  appearance: none;
  background: var(--white);
}

input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid var(--red);
  border-radius: 50%;
  background: var(--white);
}

.loss__total {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  border-radius: 22px;
  color: var(--ink);
  background: var(--red);
}

.loss__total > span {
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.loss__total > strong {
  margin-bottom: 14px;
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: -4px;
  line-height: 0.95;
}

.loss__explanation {
  margin-bottom: 34px;
  border-top: 1px solid rgba(17, 17, 17, 0.2);
  padding-top: 20px;
}

.loss__explanation p {
  margin-bottom: 9px;
  font-size: 15px;
  line-height: 1.55;
}

.loss__explanation p:last-child {
  margin-bottom: 0;
  color: rgba(17, 17, 17, 0.66);
  font-size: 13px;
  line-height: 1.65;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-step {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.process-step::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 2px;
  background: var(--red);
  content: "";
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.process-step.is-active {
  background: linear-gradient(90deg, rgba(237, 49, 29, 0.06), transparent 42%);
}

.process-step.is-active::before {
  transform: scaleY(1);
}

.process-step button {
  display: grid;
  width: 100%;
  min-height: 96px;
  grid-template-columns: 80px 1fr 180px 32px;
  align-items: center;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.process-step__index,
.process-step__time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.process-step button strong {
  font-size: 22px;
  letter-spacing: -0.6px;
}

.process-step__toggle {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.process-step.is-active .process-step__toggle {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
  transform: scale(1.06);
}

.process-step__body {
  display: grid;
  max-height: 0;
  grid-template-columns: 80px minmax(0, 610px);
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

.process-step__body p {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.7;
}

.process-step.is-active .process-step__body {
  max-height: 160px;
  padding: 0 0 32px;
  opacity: 1;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.case-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 34px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

.case-card__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border: 0;
  padding: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
  font-size: 0;
}

.case-card__details {
  display: none;
}

.case-card__more {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.case-card--feature .case-card__more {
  color: rgba(255, 255, 255, 0.72);
}

.case-card--accent .case-card__more {
  color: var(--ink);
}

.case-card--feature {
  color: var(--white);
  background: var(--ink);
}

.case-card--accent {
  color: var(--ink);
  background: var(--lime);
}

.case-card__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.case-card--feature .case-card__top {
  color: rgba(255, 255, 255, 0.45);
}

.case-card h3 {
  max-width: 560px;
  margin: 8px 0 20px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.12;
}

.case-card--feature h3 {
  font-size: clamp(34px, 3.4vw, 48px);
}

.case-card__story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
  border-top: 1px solid rgba(17, 17, 17, 0.15);
  padding-top: 22px;
}

.case-card--feature .case-card__story {
  border-color: rgba(255, 255, 255, 0.15);
}

.case-card__story span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.case-card__story p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.case-card--feature .case-card__story p {
  color: rgba(255, 255, 255, 0.58);
}

.case-card__metrics {
  display: flex;
  gap: 45px;
  margin-top: auto;
  margin-bottom: 0;
}

.case-card__metrics div {
  display: flex;
  flex-direction: column;
}

.case-card__metrics strong {
  font-size: 22px;
}

.case-card__metrics span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.case-card--feature .case-card__metrics span {
  color: rgba(255, 255, 255, 0.46);
}

.case-card blockquote {
  margin: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.6;
}

.case-card blockquote cite {
  display: none;
}

.review-slider {
  position: relative;
}

.review-slider__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-slider__viewport::-webkit-scrollbar {
  display: none;
}

.review-grid {
  display: grid;
  grid-auto-columns: calc((100% - 28px) / 3);
  grid-auto-flow: column;
  gap: 14px;
}

.review-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  scroll-snap-align: start;
}

.review-card__media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  background: #111;
  aspect-ratio: 16 / 10;
}

.review-card__media picture {
  display: contents;
}

.review-card__media img,
.review-card__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.review-card__media video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.review-card__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: rgba(8, 8, 8, 0.28);
  transition: opacity 0.2s ease;
}

.review-card__play::before {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(237, 49, 29, 0.18);
  content: "";
}

.review-card__play::after {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #fff;
  margin-left: 3px;
  content: "";
}

.review-card.is-playing .review-card__play {
  opacity: 0;
  pointer-events: none;
}

.review-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  letter-spacing: -0.8px;
}

.review-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.review-card p strong {
  color: var(--ink);
}

.review-slider__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.review-slider__footer > span {
  color: var(--muted);
  font-size: 11px;
}

.review-slider__controls {
  display: flex;
  gap: 10px;
}

.review-slider__arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 20px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.review-slider__arrow:hover {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .review-grid {
    grid-auto-columns: calc((100% - 14px) / 2);
  }
}

@media (max-width: 620px) {
  .review-grid {
    grid-auto-columns: 100%;
  }

  .review-slider__footer > span {
    display: none;
  }

  .review-slider__footer {
    justify-content: flex-end;
  }
}

.price {
  background: var(--white);
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.price-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.price-card--dark {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.price-card__tag {
  display: inline-block;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 13px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.price-card--dark .price-card__tag {
  border-color: rgba(255, 255, 255, 0.2);
}

.price-card h3 {
  margin-bottom: 10px;
  font-size: 33px;
  letter-spacing: -1.5px;
}

.price-card p {
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.price-card--dark p {
  color: rgba(255, 255, 255, 0.5);
}

.price-card__value {
  margin: 46px 0 30px;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -3.5px;
  line-height: 1;
}

.price-card__value span {
  font-size: 14px;
  letter-spacing: 0;
}

.price-card ul {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 13px 0 13px 25px;
  font-size: 14px;
  line-height: 1.55;
}

.price-card--dark li {
  border-color: rgba(255, 255, 255, 0.12);
}

.price-card li::before {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--red);
  content: "✓";
  font-weight: 800;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.price-guarantee {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
  margin-top: 16px;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.price-guarantee h3 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -1.2px;
}

.price-guarantee p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.price-guarantee ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-guarantee li {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 13px 0 13px 25px;
  font-size: 15px;
  line-height: 1.55;
}

.price-guarantee li::before {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--red);
  content: "✓";
  font-weight: 800;
}

.price__note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.team {
  background: var(--paper);
}

.team__layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 80px;
}

.team__content {
  position: sticky;
  top: 120px;
}

.team h2 {
  margin-bottom: 28px;
}

.team__stats {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}

.team__stats div {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.team__stats strong {
  font-size: 22px;
}

.team__stats span {
  color: var(--muted);
  font-size: 12px;
}

.team__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.team-card {
  position: relative;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #ddd;
}

.team-card:nth-child(even) {
  transform: translateY(44px);
}

.team-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition: filter 0.25s ease, transform 0.4s ease;
}

.team-card:hover img {
  filter: saturate(1);
  transform: scale(1.03);
}

.team-card figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  padding: 14px 17px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.67);
  backdrop-filter: blur(10px);
}

.team-card figcaption strong {
  font-size: 13px;
}

.team-card figcaption span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.team-card figcaption p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.4;
}

.faq {
  background: var(--white);
}

.faq__layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 100px;
}

.faq h2 {
  margin-bottom: 28px;
}

.faq__phone {
  display: inline-block;
  margin-top: 30px;
  border-bottom: 1px solid;
  font-size: 18px;
  font-weight: 700;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: flex;
  width: 100%;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
}

.faq-item button i {
  display: grid;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.faq-item.is-open button i {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
  transform: scale(1.06);
}

.faq-item > div {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.faq-item > div p {
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.faq-item.is-open > div {
  max-height: 420px;
  opacity: 1;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  background: var(--ink);
}

.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: center;
  gap: 100px;
}

.cta h2 {
  margin-bottom: 26px;
}

.cta__content > p {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 17px;
  line-height: 1.7;
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 24px 26px 22px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
}

.lead-form label:not(.consent) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lead-form label:not(.consent) > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.lead-form label:not(.consent) > span small {
  margin-left: 5px;
  color: #aaa49b;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.35px;
  text-transform: none;
}

.lead-form input[type="text"],
.lead-form input[type="tel"] {
  width: 100%;
  height: 46px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.lead-form input[type="text"]:focus,
.lead-form input[type="tel"]:focus {
  border-color: var(--red);
}

.lead-form input[aria-invalid="true"] {
  border-color: var(--red);
}

.lead-form .button--large {
  min-height: 48px;
  padding: 12px 22px;
}

.field-error {
  display: none;
  margin: -9px 0 1px;
  color: #b42318;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.field-error:not(:empty) {
  display: block;
}

.consent {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  margin: 5px 0 2px;
  cursor: pointer;
}

.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent__box {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #aaa;
  border-radius: 5px;
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.consent input:checked + .consent__box {
  border-color: var(--red);
  background: var(--red);
}

.consent input:checked + .consent__box::after {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.consent input:focus-visible + .consent__box {
  outline: 3px solid rgba(237, 49, 29, 0.2);
  outline-offset: 2px;
}

.consent__text {
  color: #858585;
  font-size: 11px;
  line-height: 1.55;
}

.consent.has-error .consent__box {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 49, 29, 0.12);
}

.lead-form__success {
  min-height: 330px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.lead-form.is-success > :not(.lead-form__success) {
  display: none !important;
}

.lead-form.is-success .lead-form__success {
  display: grid;
}

.lead-form__success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 27px;
  font-weight: 800;
}

.lead-form__success strong {
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -1px;
  line-height: 1.08;
}

.lead-form__success p {
  max-width: 400px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.lead-form__success a {
  color: inherit;
  text-decoration: underline;
}

.lead-form__proof {
  margin: 12px 0 0;
  color: rgba(17, 17, 17, 0.48);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.lead-form--modal .lead-form__proof {
  margin-top: 6px;
  font-size: 11px;
}

.consent__text a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

.footer {
  padding: 55px 0 25px;
  color: var(--white);
  background: #080808;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 50px;
  padding-bottom: 52px;
}

.footer__contacts {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer__contacts span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.footer__contacts a {
  color: inherit;
  text-decoration: none;
}

.footer__entity {
  max-width: 280px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a,
.footer__max {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: inherit;
  font-size: 9px;
  font-weight: 800;
}

.footer__max {
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer__max:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

.footer__legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__credit {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 24px), 520px);
  max-height: calc(100dvh - 20px);
  overflow-y: auto;
  padding: 28px 28px 22px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal__dialog h2 {
  margin: 6px 0;
  font-size: 28px;
  letter-spacing: -1.4px;
  line-height: 1.12;
}

.modal__dialog > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  font-size: 24px;
}

.case-dialog {
  position: fixed;
  z-index: 210;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.case-dialog.is-open {
  visibility: visible;
  opacity: 1;
}

.case-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.case-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 760px);
  max-height: calc(100vh - 30px);
  overflow-y: auto;
  padding: 42px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.case-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
  font-size: 24px;
}

.case-dialog__content h2,
.case-dialog__content .case-dialog__title {
  margin: 10px 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.1;
}

.case-dialog__lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
}

.case-dialog__story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.case-dialog__story span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.case-dialog__story p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.case-dialog__content blockquote {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

.case-dialog__content blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.case-dialog__content .case-card__proof {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 14px;
}

.case-dialog__content .case-card__proof a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
}

@media (max-width: 720px) {
  .case-dialog__panel {
    padding: 28px 22px 32px;
  }

  .case-dialog__story {
    grid-template-columns: 1fr;
  }
}

.lead-form--modal {
  margin-top: 12px;
  padding: 0;
  gap: 8px;
  background: transparent;
}

.lead-form--modal label:not(.consent) {
  gap: 4px;
}

.lead-form--modal input[type="text"],
.lead-form--modal input[type="tel"] {
  height: 42px;
}

.lead-form--modal .button--large {
  min-height: 46px;
  padding: 12px 18px;
  font-size: 15px;
}

.lead-form--modal .consent {
  margin-top: 2px;
}

.modal__dialog .section-index {
  display: none;
}

@media (max-height: 820px) {
  .modal__dialog {
    padding: 18px 20px 14px;
  }

  .modal__dialog h2 {
    margin: 0 0 4px;
    font-size: 22px;
  }

  .modal__dialog > p {
    font-size: 12px;
  }

  .lead-form--modal {
    margin-top: 10px;
    gap: 6px;
  }

  .lead-form--modal input[type="text"],
  .lead-form--modal input[type="tel"] {
    height: 38px;
  }

  .lead-form--modal .button--large {
    min-height: 42px;
    padding: 10px 16px;
  }
}

.cookie-notice {
  position: fixed;
  z-index: 180;
  bottom: 22px;
  left: 22px;
  width: min(calc(100% - 44px), 470px);
  padding: 20px 56px 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  color: var(--white);
  background: var(--ink);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-notice.is-hidden {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.cookie-notice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.cookie-notice a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  background: transparent;
  font-size: 18px;
  line-height: 1;
}

.toast {
  position: fixed;
  z-index: 300;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(calc(100% - 40px), 620px);
  min-height: 230px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 42px;
  border-radius: 24px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.58), var(--shadow);
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.96);
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  text-align: center;
}

.toast__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  background: transparent;
  font-size: 24px;
  line-height: 1;
}

.toast::before {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 22px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  content: "✓";
  font-size: 25px;
  font-weight: 800;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.toast strong {
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -1px;
  line-height: 1.1;
}

.toast span {
  max-width: 470px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.toast a {
  color: inherit;
  text-decoration: underline;
}

.toast.is-error {
  background: #8f1f16;
}

.toast.is-error::before {
  content: "!";
}

.mobile-actions {
  display: none;
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr 0.8fr;
    gap: 20px;
  }

  .roles {
    grid-template-columns: 1fr 1fr;
  }

  .role-card {
    min-height: 420px;
  }

  .team__layout,
  .faq__layout {
    gap: 55px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card__story {
    grid-template-columns: 1fr 1fr;
  }

  .price-guarantee {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header__inner {
    min-height: 68px;
  }

  .header__contact .button,
  .header__phone {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .header.is-menu-open {
    color: var(--ink);
    background: var(--paper);
  }

  .header.is-menu-open .nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 20px 16px 30px;
    color: var(--ink);
    background: var(--paper);
  }

  .header.is-menu-open .nav a {
    width: 100%;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 600px;
    margin-top: 28px;
  }

  .hero__portrait {
    right: 7%;
    width: 86%;
  }

  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    padding: 24px 0;
  }

  .trust-strip__title {
    grid-column: 1 / -1;
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading,
  .loss__inner,
  .team__layout,
  .faq__layout,
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-heading {
    align-items: start;
    margin-bottom: 40px;
  }

  .section-heading--compact {
    margin-bottom: 32px;
  }

  .loss__total {
    min-height: 400px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card--feature {
    grid-row: auto;
  }

  .team__content {
    position: static;
  }

  .faq__layout {
    gap: 44px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 58px;
  }

  .header__inner {
    gap: 9px;
  }

  .header__contact {
    margin-left: auto;
    gap: 7px;
  }

  .header__messengers {
    gap: 6px;
  }

  .header__messenger {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .header__messenger svg {
    width: 20px;
    height: 20px;
  }

  .header__messenger--max img {
    width: 22px;
    height: 22px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 10px 9px;
  }

  .brand__name {
    font-size: 21px;
  }

  .brand__descriptor {
    margin-top: 5px;
    font-size: 7px;
    letter-spacing: 1.15px;
  }

  h1 {
    font-size: 43px;
    letter-spacing: -2.9px;
  }

  .hero__benefits {
    font-size: 17px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero__cta-note {
    max-width: 280px;
  }

  .text-link {
    align-self: flex-start;
  }

  .hero__proof {
    gap: 14px;
  }

  .hero__proof div {
    padding-right: 5px;
  }

  .hero__proof div + div {
    padding-left: 13px;
  }

  .hero__proof strong {
    font-size: 18px;
  }

  .hero__proof span {
    font-size: 8px;
  }

  .hero__visual {
    min-height: 510px;
  }

  .hero__portrait {
    right: 0;
    width: 100%;
    border-radius: 180px 180px 17px 17px;
  }

  .hero__portrait img {
    height: 500px;
  }

  .hero__result-card {
    top: 36%;
    left: -4px;
    width: 168px;
    padding: 16px;
  }

  .hero__result-card strong {
    font-size: 19px;
  }

  .hero__nameplate {
    right: 12px;
    bottom: 14px;
    min-width: 180px;
    padding: 14px 16px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
    font-size: 8px;
  }

  .section {
    padding: 50px 0;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 34px;
  }

  .section-heading--compact {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .team h2,
  .faq h2,
  .cta h2,
  .loss h2 {
    font-size: 38px;
    letter-spacing: -2.3px;
  }

  .roles,
  .price-grid,
  .team__gallery,
  .loss__controls {
    grid-template-columns: 1fr;
  }

  .role-card {
    min-height: 365px;
  }

  .loss__total {
    min-height: 350px;
    padding: 30px;
  }

  .loss__total > strong {
    font-size: 50px;
    letter-spacing: -3px;
  }

  .process-step button {
    min-height: 78px;
    grid-template-columns: 40px 1fr 32px;
  }

  .process-step__time {
    display: none;
  }

  .process-step button strong {
    padding-right: 12px;
    font-size: 16px;
  }

  .process-step__body {
    grid-template-columns: 40px 1fr;
  }

  .case-card,
  .price-card {
    padding: 22px;
  }

  .case-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-card__metrics {
    gap: 25px;
  }

  .case-card__story {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .price-guarantee {
    padding: 24px;
  }

  .team-card {
    min-height: 375px;
  }

  .team-card:nth-child(even) {
    transform: none;
  }

  .cta {
    padding: 54px 0;
  }

  .lead-form {
    padding: 20px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal__dialog {
    width: calc(100% - 16px);
    padding: 20px 18px 16px;
  }

  .modal__dialog h2 {
    font-size: 24px;
  }

  .lead-form__success {
    min-height: 285px;
  }

  .toast {
    width: calc(100% - 32px);
    min-height: 200px;
    padding: 30px 22px;
  }

  .toast::before {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    font-size: 22px;
  }

  .toast strong {
    font-size: 25px;
  }

  .toast span {
    font-size: 13px;
  }

  .cookie-notice {
    right: 16px;
    bottom: 74px;
    left: 16px;
    width: auto;
    padding: 11px 44px 11px 14px;
    border-radius: 12px;
  }

  .cookie-notice p {
    font-size: 10px;
    line-height: 1.45;
  }

  .cookie-notice__close {
    top: 50%;
    right: 9px;
    width: 26px;
    height: 26px;
    font-size: 16px;
    transform: translateY(-50%);
  }

  .mobile-actions {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: 58px;
    grid-template-columns: 1fr 1fr;
    color: var(--white);
    background: var(--ink);
  }

  .mobile-actions a,
  .mobile-actions button {
    display: grid;
    place-items: center;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    cursor: pointer;
    color: inherit;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
  }

  .mobile-actions > :last-child {
    background: var(--red);
  }
}

.button > span:last-child,
.role-card__cta > span:last-child,
.text-link > span:last-child {
  display: inline-block;
  transition: transform 0.2s ease;
}

@media (min-width: 821px) {
  .hero {
    min-height: 840px;
    padding-top: 126px;
  }

  .hero::before {
    top: 92px;
  }

  .hero__inner {
    gap: clamp(24px, 3.5vw, 50px);
  }

  .hero__visual {
    min-height: 560px;
  }

  .hero__portrait img {
    height: 550px;
  }

  .hero__result-card {
    top: 43%;
    left: -10px;
  }

  .trust-strip {
    min-height: 88px;
    margin-top: 34px;
  }

  .role-card {
    min-height: 400px;
    padding: 24px;
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease, background 0.24s ease;
  }

  .role-card__visual {
    height: 104px;
  }

  .role-card h3 {
    margin: 20px 0 12px;
  }

  .role-card p {
    min-height: 68px;
    margin-bottom: 20px;
  }

  .role-card__cta {
    padding-top: 15px;
  }

  .case-card {
    padding: 28px;
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
  }

  .case-card__top {
    margin-bottom: 16px;
  }

  .case-card h3 {
    margin: 6px 0 16px;
  }

  .case-card__story {
    margin-bottom: 22px;
    padding-top: 18px;
  }

  .case-card__more {
    margin-top: 18px;
  }

  .case-card blockquote {
    margin-top: 22px;
    padding-top: 22px;
  }

  .price-card {
    padding: 36px;
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
  }

  .price-card__tag {
    margin-bottom: 20px;
  }

  .price-card__value {
    margin: 34px 0 24px;
  }

  .price-card ul {
    margin-bottom: 28px;
  }

  .price-guarantee {
    padding: 30px 34px;
  }

  .team__layout {
    gap: clamp(44px, 5vw, 64px);
  }

  .team__stats {
    margin-top: 32px;
  }

  .team-card {
    min-height: 344px;
  }

  .team-card:nth-child(even) {
    transform: translateY(24px);
  }

  .faq__layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(44px, 5.6vw, 72px);
  }

  .faq h2 {
    margin-bottom: 22px;
  }

  .faq__phone {
    margin-top: 24px;
  }

  .faq-item button {
    min-height: 78px;
  }

  .faq-item > div p {
    margin-bottom: 24px;
  }

  .cta__inner {
    gap: clamp(44px, 5.6vw, 72px);
  }

  .cta h2 {
    margin-bottom: 22px;
  }

  .lead-form {
    padding: 22px;
  }
}

@media (min-width: 821px) and (hover: hover) and (pointer: fine) {
  .role-card:hover,
  .case-card:hover,
  .price-card:hover {
    border-color: rgba(237, 49, 29, 0.42);
    box-shadow: 0 18px 42px rgba(17, 17, 17, 0.1);
    transform: translateY(-5px);
  }

  .role-card--dark:hover,
  .price-card--dark:hover {
    box-shadow: 0 20px 46px rgba(17, 17, 17, 0.2);
  }

  .process-step button:hover strong {
    color: var(--red);
  }

  .faq-item button:hover i {
    border-color: var(--red);
    color: var(--red);
  }

  .faq-item.is-open button:hover i {
    color: var(--white);
  }

  .button:hover > span:last-child,
  .role-card__cta:hover > span:last-child {
    transform: translate(3px, -3px);
  }

  .text-link:hover > span:last-child {
    transform: translateY(3px);
  }
}

@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  html.has-reveal .reveal-item {
    opacity: 0;
    translate: 0 14px;
    transition: opacity 0.5s ease, translate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  html.has-reveal .reveal-item.is-revealed {
    opacity: 1;
    translate: 0 0;
  }
}

/* Компактные карточки для ноутбуков с небольшой высотой экрана. */
@media (min-width: 821px) and (max-height: 900px) {
  .team-card {
    display: grid;
    min-height: 210px;
    height: 210px;
    grid-template-columns: 44% 56%;
    background: #1d1c1b;
  }

  .team-card picture {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .team-card figcaption {
    position: static;
    min-width: 0;
    justify-content: center;
    padding: 14px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: #1d1c1b;
    backdrop-filter: none;
  }
}

.utility-page {
  padding: 148px 0 100px;
}

.utility-page h1 {
  max-width: 16ch;
  margin: 0 0 18px;
}

.utility-page__grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: start;
}

.utility-page__intro > p,
.brief-form__lead {
  max-width: 540px;
  color: var(--muted);
}

.utility-page__role {
  margin: 0 0 12px;
  font-weight: 700;
}

.thanks-steps {
  margin: 28px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.thanks-steps li {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.thanks-steps strong {
  font-size: 15px;
}

.thanks-steps span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.brief-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.brief-fieldset legend {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.brief-option {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  font-size: 15px;
}

.brief-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

.utility-page--error {
  min-height: 70vh;
}

.utility-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.utility-page__contacts {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .utility-page__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
