:root {
  --blue: #123f7a;
  --blue-2: #0c2f5f;
  --red: #c42832;
  --ink: #16202d;
  --muted: #627084;
  --line: #dbe2ea;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --shadow: 0 18px 45px rgba(18, 63, 122, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans Condensed", "Roboto Condensed", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0;
  background: var(--paper);
}

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

button,
input,
textarea {
  font: inherit;
}

.flag-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("./assets/ribbon-bg.png");
  background-position: top center;
  background-size: max(1780px, 110vw) auto;
  background-repeat: no-repeat;
  opacity: 0.82;
  transform: none;
  animation: none;
}

@supports (background-image: image-set(url("./assets/ribbon-bg.webp") type("image/webp"))) {
  .flag-bg {
    background-image: image-set(
      url("./assets/ribbon-bg.webp") type("image/webp"),
      url("./assets/ribbon-bg.png") type("image/png")
    );
  }
}

.flag-bg::before,
.flag-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flag-bg::before {
  display: block;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0.24) 2.5%,
      rgba(255, 255, 255, 0.08) 5%,
      rgba(255, 255, 255, 0) 7.5%,
      rgba(255, 255, 255, 0) 92.5%,
      rgba(255, 255, 255, 0.08) 95%,
      rgba(255, 255, 255, 0.24) 97.5%,
      rgba(255, 255, 255, 0.42) 100%);
}

.flag-bg::after {
  display: none;
}

.page-side-fades {
  --page-width: min(1160px, calc(100vw - 40px));
  --page-gutter: max(0px, calc((100vw - var(--page-width)) / 2));
  --fade-width: min(clamp(86px, 8vw, 156px), var(--page-gutter));
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-side-fades::before,
.page-side-fades::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--fade-width);
  pointer-events: none;
}

.page-side-fades::before {
  right: calc(50% + (var(--page-width) / 2));
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 28%,
    rgba(255, 255, 255, 0.68) 72%,
    #fff 100%);
}

.page-side-fades::after {
  left: calc(50% + (var(--page-width) / 2));
  background: linear-gradient(90deg,
    #fff 0%,
    rgba(255, 255, 255, 0.68) 28%,
    rgba(255, 255, 255, 0.2) 72%,
    rgba(255, 255, 255, 0) 100%);
}

@keyframes flagFlow {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1.02) rotate(-1deg);
  }

  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.06) rotate(1deg);
  }
}

@keyframes ribbonDrift {
  from {
    transform: translateX(-3%) skewX(-3deg);
  }

  to {
    transform: translateX(3%) skewX(3deg);
  }
}

.section,
.site-header,
.footer {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  background: #fff;
}

.reveal-item {
  --reveal-x: 0;
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(var(--reveal-x), 26px, 0);
  transition:
    opacity 720ms ease var(--reveal-delay),
    transform 820ms cubic-bezier(0.2, 0.72, 0.18, 1) var(--reveal-delay);
  will-change: opacity, transform;
}

.reveal-left {
  --reveal-x: -82px;
}

.reveal-right {
  --reveal-x: 82px;
}

.reveal-item.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(238px, 0.54fr) minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 0;
  background: #fff;
  backdrop-filter: none;
}

.top-alert {
  position: relative;
  z-index: 9;
  display: grid;
  grid-template-columns: minmax(238px, 0.54fr) minmax(0, 1fr) max-content;
  gap: 18px;
  width: min(1160px, calc(100% - 40px));
  margin: -1px auto 0;
  padding-bottom: 14px;
  background: #fff;
}

.top-alert.is-collapsed {
  display: none;
}

.top-alert-line {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 30px;
  align-items: stretch;
}

.top-alert-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--red);
}

.top-alert-marquee {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  align-items: center;
  color: #526176;
  background: rgba(255, 255, 255, 0.96);
}

.top-alert-marquee::before,
.top-alert-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 19px;
  pointer-events: none;
  background: #fff;
}

.top-alert-marquee::before {
  left: 0;
}

.top-alert-marquee::after {
  right: 0;
}

.top-alert-marquee span {
  flex: 0 0 auto;
  padding-left: 38px;
  color: #526176;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  animation: topAlertMarquee 26s linear infinite;
}

.top-alert-marquee a {
  color: var(--blue);
  font-weight: 700;
}

.top-alert-marquee:hover span {
  animation-play-state: paused;
}

@keyframes topAlertMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.brand {
  display: grid;
  gap: 0;
  align-items: start;
}

.brand-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: var(--blue);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  max-width: 300px;
  color: var(--blue-2);
  font-size: 18px;
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.brand strong span {
  display: block;
}

.brand small {
  max-width: 470px;
  margin-top: 0;
  color: rgba(98, 112, 132, 0.46);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow: visible;
  align-items: center;
  justify-content: flex-end;
  color: #32435a;
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a {
  padding: 8px 0;
  transform: scaleX(0.96);
  transform-origin: center;
  transition: color 320ms ease;
}

.main-nav a:hover {
  color: var(--red);
}

.mobile-menu-toggle {
  display: none;
}

.header-phone {
  justify-self: end;
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}

.header-phone span {
  margin-right: 7px;
}

.header-phone strong {
  color: var(--red);
  font-size: 30px;
  line-height: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 640px;
  min-height: clamp(620px, calc(100svh - 92px), 720px);
  margin-top: 0;
  padding: 70px 0 0;
  background-image:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.86) 10%, rgba(255, 255, 255, 0.18) 28%, rgba(255, 255, 255, 0.22) 68%, rgba(255, 255, 255, 0.92) 91%, #fff 100%),
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.88) 11%, rgba(255, 255, 255, 0.42) 30%, rgba(255, 255, 255, 0.14) 62%, rgba(255, 255, 255, 0.82) 87%, #fff 100%),
    radial-gradient(ellipse 48% 62% at 64% 47%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 36%, rgba(255, 255, 255, 0.62) 72%, #fff 100%),
    url("./assets/hero-yard-original.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@supports (background-image: image-set(url("./assets/hero-yard-original.webp") type("image/webp"))) {
  .hero {
    background-image:
      linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.86) 10%, rgba(255, 255, 255, 0.18) 28%, rgba(255, 255, 255, 0.22) 68%, rgba(255, 255, 255, 0.92) 91%, #fff 100%),
      linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.88) 11%, rgba(255, 255, 255, 0.42) 30%, rgba(255, 255, 255, 0.14) 62%, rgba(255, 255, 255, 0.82) 87%, #fff 100%),
      radial-gradient(ellipse 48% 62% at 64% 47%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 36%, rgba(255, 255, 255, 0.62) 72%, #fff 100%),
      image-set(
      url("./assets/hero-yard-original.webp") type("image/webp"),
      url("./assets/hero-yard-original.png") type("image/png")
    );
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  z-index: 2;
  width: 24%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.78) 60%, #fff 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 640px;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-quote {
  position: absolute;
  top: 112px;
  right: 8px;
  z-index: 5;
  width: 258px;
  padding: 18px 20px 18px 22px;
  border-left: 4px solid var(--red);
  border-radius: 6px;
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(18, 63, 122, 0.08);
  backdrop-filter: blur(5px);
}

.ratings-section {
  padding: 0 0 48px;
  text-align: center;
}

.ratings-section h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.4vw, 46px);
  text-transform: uppercase;
}

.ratings-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  width: 100%;
}

.rating-badge {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(84px, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 5px;
  align-items: center;
  width: clamp(198px, 18vw, 238px);
  min-height: 72px;
  padding: 12px 16px 11px;
  color: var(--blue);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  transition: transform 180ms ease, filter 220ms ease;
}

.rating-badge:hover {
  filter: drop-shadow(0 12px 22px rgba(18, 63, 122, 0.14)) saturate(1.05);
  transform: translateY(-2px);
}

.rating-badge:active {
  transform: translateY(0);
}

.rating-service-mark {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.rating-badge-yandex .rating-service-mark {
  background: #fc3f1d;
}

.rating-badge-2gis .rating-service-mark {
  border-radius: 9px;
  background: #19a54a;
  font-size: 16px;
}

.rating-badge-irecommend .rating-service-mark {
  background: linear-gradient(135deg, #6266d9 0%, #1b8bdd 100%);
  font-size: 15px;
}

.rating-badge-otzovik .rating-service-mark {
  background: #f28b20;
  font-size: 15px;
}

.rating-badge-custom .rating-service-mark {
  background: var(--rating-color, #15457f);
  font-size: 15px;
}

.rating-service-copy {
  display: flex;
  flex-direction: column;
  align-self: end;
  font-family: Arial, sans-serif;
  text-align: left;
}

.rating-service-copy strong {
  color: #142b4b;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.rating-service-copy small {
  margin-top: 4px;
  color: #68768a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.rating-stars {
  grid-column: 2;
  align-self: start;
  color: #f5b400;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.5px;
  text-align: left;
}

.hero-quote::before {
  content: "“";
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 48px;
  line-height: 0.7;
}

.hero-person {
  position: absolute;
  left: calc(50% - 180px);
  bottom: 0;
  z-index: 6;
  width: 650px;
  margin: 0;
  isolation: isolate;
  pointer-events: none;
}

.hero-person img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 66%,
    rgba(0, 0, 0, 0.92) 74%,
    rgba(0, 0, 0, 0.58) 84%,
    rgba(0, 0, 0, 0.18) 94%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 66%,
    rgba(0, 0, 0, 0.92) 74%,
    rgba(0, 0, 0, 0.58) 84%,
    rgba(0, 0, 0, 0.18) 94%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-person::after {
  content: none;
}

.hero-person figcaption {
  position: absolute;
  right: -18px;
  bottom: 60px;
  z-index: 12;
  display: grid;
  gap: 5px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  transform: translateZ(0);
}

.hero.is-hero-replaying .hero-copy {
  animation: heroCopyEnter 880ms cubic-bezier(0.2, 0.72, 0.18, 1) 120ms both;
}

.hero.is-hero-replaying .hero-quote {
  animation: heroQuoteEnter 820ms cubic-bezier(0.2, 0.72, 0.18, 1) 460ms both;
}

.hero.is-hero-replaying .hero-person {
  animation: heroPersonEnter 980ms cubic-bezier(0.2, 0.72, 0.18, 1) 220ms both;
}

.hero.is-hero-replaying .hero-person figcaption {
  animation: heroCaptionEnter 760ms cubic-bezier(0.2, 0.72, 0.18, 1) 720ms both;
}

.hero-person strong,
.hero-person span {
  display: block;
}

.hero-person strong {
  position: relative;
  min-width: 0;
  width: 430px;
  padding: 13px 28px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  text-align: right;
  z-index: 2;
}

.hero-person span {
  position: relative;
  justify-self: end;
  margin-top: 0;
  padding: 10px 26px;
  color: #003293;
  font-size: 18px;
  font-weight: 700;
  z-index: 2;
}

.hero-person strong::before,
.hero-person span::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 10px;
  transform: skew(-15deg);
}

.hero-person strong::before {
  background: rgba(30, 55, 103, 0.96);
  backdrop-filter: blur(5.5px);
}

.hero-person span::before {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(2px);
}

.hero-mobile-face {
  display: none;
}

.hero-copy::after {
  content: none;
}

@keyframes heroCopyEnter {
  from {
    opacity: 0;
    transform: translate3d(-86px, 22px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroPersonEnter {
  from {
    opacity: 0;
    transform: translate3d(120px, 18px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroQuoteEnter {
  from {
    opacity: 0;
    transform: translate3d(68px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroCaptionEnter {
  from {
    opacity: 0;
    transform: translate3d(64px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

.hero-license {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(50, 67, 90, 0.58);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--blue-2);
  font-weight: 700;
  text-transform: uppercase;
}

.title-main,
.title-sub {
  display: block;
}

.title-main {
  color: var(--red);
  font-size: 92px;
  line-height: 0.98;
  background: linear-gradient(105deg, var(--red) 0%, var(--red) 36%, #17467e 48%, var(--red) 60%, var(--red) 100%);
  background-size: 260% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleWaveFlow 8.5s ease-in-out infinite alternate;
}

.title-sub {
  max-width: 620px;
  font-size: 49px;
  line-height: 1.08;
}

@keyframes titleWaveFlow {
  0% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 45% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-2);
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  color: var(--blue-2);
  font-size: 27px;
  line-height: 1.05;
}

.lead {
  position: static;
  display: grid;
  gap: 7px;
  max-width: 500px;
  margin-bottom: 0;
  color: var(--blue-2);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
}

.lead span {
  display: block;
}

.lead span:nth-child(2) {
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 86px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  isolation: isolate;
  box-shadow: none;
  transition:
    color 760ms ease,
    border-color 760ms ease,
    transform 160ms ease,
    box-shadow 760ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--blue), var(--red));
  opacity: 0;
  transform: translateX(-22%) scaleX(0.72);
  transform-origin: left center;
  transition: opacity 760ms ease, transform 760ms ease;
}

.button:hover {
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 26px rgba(196, 40, 50, 0.12);
}

.button:hover::before {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.button:active {
  transform: translateY(2px) scale(0.985);
  box-shadow: 0 5px 14px rgba(18, 63, 122, 0.12);
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover {
  color: #fff;
  border-color: var(--red);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.94);
}

.button.secondary::before {
  background: linear-gradient(90deg, rgba(18, 63, 122, 0.08), rgba(196, 40, 50, 0.10));
}

.hero-panel {
  display: block;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
}

.panel-label {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--red);
}

.hero-panel h2 {
  font-size: 34px;
}

.emergency-phone {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.hero-panel p,
.service-card p,
.text-column p,
.request p,
.contacts-section p,
.faq p,
blockquote p {
  color: #4f5e70;
}

.visual-strip {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 30px;
  align-items: center;
  padding: 18px 0 42px;
}

.priority-title {
  padding: 52px 0 14px;
}

.priority-title h2 {
  max-width: none;
  margin: 0 auto;
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.visual-copy {
  position: relative;
  min-height: 282px;
  padding-right: 10px;
}

.visual-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 620ms ease, transform 620ms ease;
}

.visual-text.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.visual-text.is-active.is-replaying {
  animation: sliderCopyReplay 820ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.visual-text.is-replaying .eyebrow,
.visual-text.is-replaying h2,
.visual-text.is-replaying p:not(.eyebrow) {
  animation: sliderTextReplay 780ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.visual-text.is-replaying h2 {
  animation-delay: 90ms;
}

.visual-text.is-replaying p:not(.eyebrow) {
  animation-delay: 180ms;
}

.visual-text h2 {
  max-width: 420px;
  margin-bottom: 18px;
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
}

.visual-text p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 12px;
  color: rgba(50, 67, 90, 0.72);
  font-size: 18px;
  line-height: 1.35;
}

.visual-text p:last-child {
  margin-bottom: 0;
}

.visual-slider {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 0;
  background: #fff;
  box-shadow: none;
}

.promo-slides,
.promo-slide {
  position: absolute;
  inset: 0;
}

.promo-slide {
  display: block;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.promo-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.promo-slide.is-active.is-replaying {
  animation: sliderImageReplay 900ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.promo-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

@keyframes sliderCopyReplay {
  from {
    opacity: 0;
    transform: translateX(-54px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes sliderTextReplay {
  from {
    opacity: 0;
    transform: translateX(-44px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes sliderImageReplay {
  from {
    opacity: 0;
    transform: translateX(78px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  color: var(--blue);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease, transform 160ms ease;
}

.slider-arrow:hover {
  color: var(--red);
  border-color: var(--red);
  background: #fff;
}

.slider-arrow:active {
  transform: translateY(calc(-50% + 2px)) scale(0.98);
}

.slider-arrow.prev {
  left: auto;
  right: 70px;
}

.slider-arrow.next {
  right: 18px;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 42px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(18, 63, 122, 0.24);
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease;
}

.slider-dots button.is-active {
  width: 44px;
  background: var(--red);
}

.change-title {
  padding: 58px 0 18px;
}

.change-title h2 {
  display: grid;
  gap: 8px;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.change-title h2 span {
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.change-title h2 strong {
  color: var(--red);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 0.96;
}

.change-steps {
  padding: 14px 0 54px;
}

.change-steps ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0;
  padding: 34px 0 0;
  list-style: none;
}

.change-steps ol::before {
  content: "";
  position: absolute;
  top: 67px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(18, 63, 122, 0.14), rgba(196, 40, 50, 0.36), rgba(18, 63, 122, 0.14));
  background-size: 220% 100%;
  animation: stepLineFlow 7s ease-in-out infinite alternate;
}

.change-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 245px;
  padding: 0 14px 22px;
  text-align: center;
  animation: stepFloat 5.5s ease-in-out infinite;
}

.change-steps li::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  z-index: 0;
  width: 92px;
  height: 78px;
  border-radius: 14px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.change-steps li:nth-child(2) {
  animation-delay: 0.35s;
}

.change-steps li:nth-child(3) {
  animation-delay: 0.7s;
}

.change-steps li:nth-child(4) {
  animation-delay: 1.05s;
}

.change-steps li:nth-child(5) {
  animation-delay: 1.4s;
}

.change-steps li::before {
  content: attr(data-step);
  position: absolute;
  top: -34px;
  left: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  background: var(--red);
  transform: translateX(-50%);
  z-index: 2;
}

.step-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.88);
  transition: color 260ms ease, background-color 260ms ease, transform 260ms ease;
}

.change-steps.is-lit li .step-icon {
  animation: stepIconPulse 11s ease-in-out infinite;
}

.change-steps.is-lit li:nth-child(2) .step-icon {
  animation-delay: 2.2s;
}

.change-steps.is-lit li:nth-child(3) .step-icon {
  animation-delay: 4.4s;
}

.change-steps.is-lit li:nth-child(4) .step-icon {
  animation-delay: 6.6s;
}

.change-steps.is-lit li:nth-child(5) .step-icon {
  animation-delay: 8.8s;
}

.step-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(18, 63, 122, 0.10), rgba(196, 40, 50, 0.10));
  opacity: 0.8;
  animation: stepGlow 4.5s ease-in-out infinite alternate;
}

.step-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-icon > svg {
  transition: opacity 260ms ease, transform 260ms ease;
}

.change-steps.is-lit li .step-icon > svg {
  animation: stepBaseIconFade 11s ease-in-out infinite;
}

.change-steps.is-lit li:nth-child(2) .step-icon > svg {
  animation-delay: 2.2s;
}

.change-steps.is-lit li:nth-child(3) .step-icon > svg {
  animation-delay: 4.4s;
}

.change-steps.is-lit li:nth-child(4) .step-icon > svg {
  animation-delay: 6.6s;
}

.change-steps.is-lit li:nth-child(5) .step-icon > svg {
  animation-delay: 8.8s;
}

.step-thumb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--blue);
  opacity: 0;
  transform: translateY(3px) scale(0.88);
  pointer-events: none;
}

.step-thumb svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.7;
}

.change-steps.is-lit li .step-thumb {
  animation: stepThumbReveal 11s ease-in-out infinite;
}

.change-steps.is-lit li:nth-child(2) .step-thumb {
  animation-delay: 2.2s;
}

.change-steps.is-lit li:nth-child(3) .step-thumb {
  animation-delay: 4.4s;
}

.change-steps.is-lit li:nth-child(4) .step-thumb {
  animation-delay: 6.6s;
}

.change-steps.is-lit li:nth-child(5) .step-thumb {
  animation-delay: 8.8s;
}

.change-steps strong {
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.change-steps .step-final {
  color: var(--red);
}

.change-steps p {
  max-width: 215px;
  margin: 0;
  color: rgba(50, 67, 90, 0.76);
  font-size: 16px;
  line-height: 1.28;
}

.step-phone {
  display: inline-block;
  color: var(--blue-2);
  font-weight: 800;
}

.roadmap-cta {
  padding: 0 0 36px;
  background: #fff;
}

.roadmap-cta div {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 104px;
  padding: 22px 34px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #b9222c 0%, var(--red) 48%, #a91d28 100%);
  box-shadow: 0 18px 42px rgba(196, 40, 50, 0.16);
}

.roadmap-cta div::before,
.roadmap-cta div::after {
  content: "\203A";
  position: absolute;
  top: 47%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.24);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 86px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%) scaleX(0.72);
  pointer-events: none;
}

.roadmap-cta div::before {
  left: 30px;
}

.roadmap-cta div::after {
  left: 58px;
  color: rgba(255, 255, 255, 0.34);
}

.roadmap-cta strong {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-left: 84px;
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: clamp(21px, 2.05vw, 27px);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.roadmap-cta strong span {
  white-space: nowrap;
}

.roadmap-cta-button {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border: 0;
  border-radius: 4px;
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #eaf1fb 100%);
  box-shadow: 0 12px 26px rgba(10, 22, 38, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: color 520ms ease, transform 180ms ease, box-shadow 260ms ease, background-position 420ms ease;
}

.roadmap-cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.72) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 620ms ease;
  pointer-events: none;
}

.roadmap-cta-button:hover {
  color: var(--red);
  box-shadow: 0 16px 34px rgba(10, 22, 38, 0.22), inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.roadmap-cta-button:hover::before {
  transform: translateX(120%);
}

.roadmap-cta-button:active {
  transform: translateY(0);
}

@keyframes stepLineFlow {
  from {
    background-position: 100% 50%;
  }

  to {
    background-position: 0% 50%;
  }
}

@keyframes stepFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes stepIconPulse {
  0%,
  18%,
  100% {
    color: var(--blue);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: none;
    transform: translateY(0) scale(1);
  }

  7% {
    color: #17467e;
    background: linear-gradient(135deg, rgba(18, 63, 122, 0.13), rgba(196, 40, 50, 0.10));
    box-shadow: 0 8px 18px rgba(18, 63, 122, 0.08);
    transform: translateY(-1px) scale(1.018);
  }

  12% {
    color: #123f7a;
    background: linear-gradient(135deg, rgba(196, 40, 50, 0.11), rgba(18, 63, 122, 0.11));
    box-shadow: 0 6px 16px rgba(196, 40, 50, 0.07);
    transform: translateY(-1px) scale(1.012);
  }
}

@keyframes stepBaseIconFade {
  0%,
  4%,
  18%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  8%,
  12% {
    opacity: 0;
    transform: scale(0.92);
  }
}

@keyframes stepThumbReveal {
  0%,
  4%,
  18%,
  100% {
    opacity: 0;
    transform: translateY(3px) scale(0.88);
  }

  8%,
  12% {
    opacity: 0.86;
    transform: translateY(0) scale(1);
  }
}

@keyframes stepGlow {
  from {
    opacity: 0.48;
    transform: scale(0.98);
  }

  to {
    opacity: 0.86;
    transform: scale(1.02);
  }
}

.alert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 20px 0 22px;
  border-bottom: 0;
  color: var(--muted);
}

.alert-strip .panel-label,
.alert-strip .emergency-phone {
  margin-bottom: 0;
}

.alert-strip .emergency-phone {
  font-size: 26px;
  white-space: nowrap;
}

.alert-strip p {
  max-width: 430px;
  margin-bottom: 0;
  color: #4f5e70;
  line-height: 1.25;
}

dl {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

dt {
  color: var(--muted);
  font-size: 15px;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--blue-2);
  font-weight: 700;
}

.metrics {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 62px;
  padding: 10px 0;
  border: 0;
  background: #fff;
  box-shadow: none;
}

.metrics div {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 26px 34px 24px;
  border-right: 0;
  text-align: center;
  outline: none;
}

.metrics div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(18, 63, 122, 0.22), transparent);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  color: var(--blue);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 0.88;
  font-variant-numeric: tabular-nums;
  transform-origin: center;
  transition: color 240ms ease, transform 240ms ease;
  will-change: transform;
}

.metrics strong.is-rolling {
  color: var(--red);
  transform: translateY(-2px);
}

.metrics strong.is-rolling {
  animation: metricNumberRoll 620ms cubic-bezier(0.2, 0.72, 0.22, 1);
}

.metrics div:last-child strong {
  font-size: 64px;
}

.metrics span {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.12;
  text-align: center;
}

@keyframes metricNumberRoll {
  0% {
    transform: translateY(0) rotateX(0deg);
  }

  42% {
    transform: translateY(-7px) rotateX(180deg);
  }

  100% {
    transform: translateY(-2px) rotateX(360deg);
  }
}

.split,
.request {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  padding: 78px 0;
}

#mission {
  align-items: start;
  gap: 46px;
  padding: 48px 0 34px;
}

.text-column {
  max-width: 720px;
  font-size: 22px;
}

#mission .text-column {
  display: grid;
  gap: 14px;
  font-size: 20px;
  line-height: 1.34;
}

#mission .text-column p {
  margin-bottom: 0;
}

.mission-title {
  max-width: 470px;
}

.mission-title span {
  display: block;
  margin-top: 2px;
  color: var(--red);
  font-size: 1.32em;
  line-height: 0.88;
}

.text-column .mission-callout {
  position: relative;
  margin-top: 6px;
  padding: 16px 22px 16px 26px;
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.18;
  background: rgba(245, 248, 252, 0.9);
}

.text-column .mission-callout::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 4px;
  background: var(--red);
}

.team-section {
  padding: 14px 0 clamp(86px, 10vh, 128px);
}

.team-intro {
  display: block;
  margin-bottom: 34px;
  text-align: center;
}

.team-intro h2 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(32px, 3.3vw, 43px);
  white-space: nowrap;
}

.team-title span {
  display: inline;
  color: var(--red);
}

.team-summary {
  color: #526176;
  font-size: 17px;
  line-height: 1.2;
}

.team-summary strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
  text-transform: uppercase;
}

.team-summary p {
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  border: 1px solid rgba(18, 63, 122, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--red), rgba(18, 63, 122, 0.25), transparent);
}

.team-card figure {
  position: relative;
  overflow: hidden;
  margin: 8px 8px 0;
  aspect-ratio: 900 / 520;
  min-height: 0;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(18, 63, 122, 0.04), rgba(255, 255, 255, 0.94)),
    #f4f7fa;
}

.team-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.96) contrast(1.02);
}

.team-card > div {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  padding: 18px 22px 22px;
}

.team-role {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 0 0 14px;
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 0.98;
  text-transform: none;
}

.team-card h3 span {
  display: block;
  text-transform: uppercase;
}

.team-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #526176;
  font-size: 15px;
  line-height: 1.22;
  list-style: none;
}

.team-card li {
  position: relative;
  padding-left: 16px;
}

.team-card li::before {
  content: "";
  position: absolute;
  top: 0.54em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
}

.team-card-featured {
  border-color: rgba(196, 40, 50, 0.24);
}

.community-reviews {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  padding: 0 0 38px;
}

.community-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  min-height: 0;
  padding: 24px;
  border: 1px solid rgba(18, 63, 122, 0.12);
  background: rgba(255, 255, 255, 0.90);
}

.community-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(196, 40, 50, 0.08), transparent 68%);
  pointer-events: none;
}

.max-card {
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 24px;
  gap: 0;
  align-items: stretch;
}

.max-join-button,
.yandex-review-button {
  justify-self: start;
  min-width: 240px;
  margin-top: 18px;
}

.yandex-review-button {
  grid-column: auto;
}

.max-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #1f69b7);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.community-card h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 3.7vw, 48px);
}

.community-card p {
  max-width: 560px;
  margin-bottom: 0;
  color: #5d6877;
  font-size: 20px;
  line-height: 1.28;
}

.max-channel-widget {
  position: relative;
  height: 392px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 122, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(18, 63, 122, 0.10) 0 112px, rgba(255, 255, 255, 0) 112px),
    radial-gradient(circle at 84% 18%, rgba(196, 40, 50, 0.11), transparent 34%),
    radial-gradient(circle at 22% 82%, rgba(18, 63, 122, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92));
}

.max-channel-widget::after {
  content: "MAX";
  position: absolute;
  right: 28px;
  bottom: 18px;
  z-index: 0;
  color: rgba(18, 63, 122, 0.055);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 124px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.max-channel-frame {
  position: absolute;
  top: -86px;
  left: 50%;
  z-index: 2;
  display: none;
  width: 106%;
  height: calc(100% + 170px);
  border: 0;
  background: transparent;
  transform: translateX(-50%) scale(0.98);
  transform-origin: top center;
}

.max-channel-card {
  position: relative;
  z-index: 4;
  display: grid;
  align-content: start;
  gap: 14px;
  height: 100%;
  padding: 42px 52px 36px 72px;
  color: var(--blue);
}

.max-channel-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}

.max-channel-card::after {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 34px;
  width: 4px;
  background: linear-gradient(180deg, var(--red), rgba(18, 63, 122, 0.24));
  pointer-events: none;
}

.max-channel-label {
  position: relative;
  z-index: 1;
  color: var(--red);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.max-channel-card strong {
  position: relative;
  z-index: 1;
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 0.95;
  text-transform: uppercase;
}

.max-channel-card p {
  position: relative;
  z-index: 1;
  max-width: 440px;
  color: #526176;
  font-size: 19px;
  line-height: 1.28;
}

.max-join-button {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 230px;
  min-height: 58px;
  padding: 16px 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #276fc4 55%, #c42832);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.max-join-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18, 63, 122, 0.18);
}

.reviews-head {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  margin-bottom: 16px;
}

.rating-pill {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--blue);
  background: rgba(18, 63, 122, 0.06);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.yandex-reviews-widget {
  position: relative;
  width: 100%;
  height: 392px;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 122, 0.13);
  border-radius: 8px;
  background: #fff;
}

.yandex-watermark {
  position: absolute;
  right: 18px;
  bottom: -4px;
  z-index: 3;
  color: rgba(18, 63, 122, 0.045);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.yandex-watermark span {
  color: rgba(196, 40, 50, 0.09);
  font-size: 1.18em;
}

.yandex-reviews-widget iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: calc(100% + 238px);
  border: 0;
  transform: translateY(-182px);
  transform-origin: top left;
  pointer-events: none;
}

.yandex-reviews-widget a {
  display: none;
}

.yandex-review-button {
  text-decoration: none;
}

.section-heading {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
  padding-top: 78px;
  border-top: 1px solid var(--line);
}

.service-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
blockquote,
.faq details,
.request-form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.service-card {
  min-height: 250px;
  padding: 26px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 63, 122, 0.34);
  box-shadow: var(--shadow);
}

.service-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--red);
  font-weight: 700;
}

.owners {
  padding-bottom: 0;
}

.owner-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}

.owner-links a {
  min-height: 112px;
  padding: 24px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  border-right: 1px solid var(--line);
  transition: color 240ms ease, background-color 240ms ease;
}

.owner-links a:last-child {
  border-right: 0;
}

.owner-links a:hover {
  color: var(--red);
  background: var(--soft);
}

.reviews-heading {
  grid-template-columns: 1fr;
  margin-bottom: 24px;
  padding-top: 30px;
  border-top: 0;
  text-align: center;
}

.reviews-heading > div {
  display: block;
}

.review-open-button {
  min-width: 190px;
}

.review-open-button::before {
  content: none;
}

blockquote {
  min-height: 250px;
  margin: 0;
  padding: 20px 22px;
}

blockquote img {
  display: block;
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.92);
}

blockquote p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.18;
}

cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
}

cite strong,
cite span {
  display: block;
}

cite strong {
  color: var(--blue-2);
  font-weight: 700;
}

cite span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.15;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.reviews-more {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 220ms ease, transform 180ms ease;
}

.reviews-more:hover {
  color: var(--red);
  transform: translateY(-1px);
}

.reviews-more[aria-expanded="true"] span:last-child {
  transform: rotate(180deg);
}

.reviews-more span:last-child {
  transition: transform 220ms ease;
}

.faq {
  min-height: calc(100svh - 132px);
  padding-top: 34px;
  padding-bottom: clamp(220px, 24vh, 280px);
  scroll-margin-top: 118px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-heading {
  margin-bottom: 38px;
  text-align: center;
}

.faq-heading h2 {
  margin: 0 auto;
  color: var(--blue-2);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.faq details {
  padding: 22px 26px;
}

.faq summary {
  color: var(--blue-2);
  font-size: 23px;
  font-weight: 700;
  cursor: pointer;
}

.faq p {
  max-width: 880px;
  margin: 14px 0 0;
}

.contacts-section {
  margin-top: 0;
  padding: 0;
  border-top: 0;
}

.contacts-heading {
  max-width: 780px;
  margin: 0 auto 22px;
  text-align: center;
}

.contacts-heading h2 {
  margin: 0;
}

.contacts-heading p {
  margin: 0;
  font-size: 21px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(610px, 1.14fr);
  gap: 20px;
  align-items: stretch;
}

.contacts-map {
  position: relative;
  height: clamp(360px, 29vw, 430px);
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 122, 0.14);
  border-radius: 8px;
  background: #f4f7fb;
  contain: layout paint;
}

.contacts-map > a {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 1px;
  height: 1px;
  overflow: hidden;
  color: transparent;
  font-size: 1px;
  pointer-events: none;
}

.contacts-map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  filter: saturate(0.82) contrast(0.98);
}

.contacts-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(18, 63, 122, 0.14);
  background: rgba(255, 255, 255, 0.94);
}

.contacts-list {
  display: grid;
  gap: 7px;
}

.contacts-list div {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(18, 63, 122, 0.09);
}

.contacts-list span {
  display: block;
  margin-bottom: 5px;
  color: #8b96a6;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.contacts-list strong,
.contacts-list a {
  color: var(--blue-2);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.18;
}

.contacts-list div:nth-child(-n+2) strong {
  display: block;
  overflow: visible;
  font-size: 19px;
  line-height: 1.12;
  white-space: nowrap;
}

.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.contacts-actions .button {
  min-height: 44px;
  padding-inline: 20px;
  font-size: 19px;
}

.contacts-consent {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.review-modal[hidden],
.appeal-modal[hidden] {
  display: none;
}

.review-modal,
.appeal-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.review-modal-backdrop,
.appeal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 38, 0.48);
  backdrop-filter: blur(5px);
}

.review-dialog,
.appeal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(18, 63, 122, 0.18);
  background: #fff;
  box-shadow: 0 28px 70px rgba(10, 22, 38, 0.24);
}

.review-dialog {
  width: min(860px, 100%);
  overflow: hidden;
  padding: 22px 28px 20px;
}

.appeal-dialog {
  width: min(900px, 100%);
  overflow: hidden;
  padding: 18px 24px 16px;
}

.review-dialog h2,
.appeal-dialog h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 48px);
}

.review-dialog h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 0.96;
}

.appeal-dialog h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 0.95;
}

.appeal-warning {
  margin: 0 48px 5px 0;
  color: var(--red);
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.review-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--blue);
  background: rgba(18, 63, 122, 0.06);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.review-modal-close:hover {
  color: var(--red);
  background: rgba(196, 40, 50, 0.08);
  transform: translateY(-1px);
}

.review-form,
.appeal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.review-form {
  gap: 10px 14px;
}

.appeal-form {
  gap: 8px 14px;
}

.review-form .wide,
.review-form button,
.review-error,
.review-success,
.appeal-form .wide,
.appeal-form button,
.appeal-urgency,
.appeal-error,
.appeal-success {
  grid-column: 1 / -1;
}

.review-form input[aria-invalid="true"],
.review-form textarea[aria-invalid="true"],
.appeal-form input[aria-invalid="true"],
.appeal-form textarea[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 40, 50, 0.10);
}

.appeal-urgency {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
}

[data-address-row][hidden],
[data-account-row][hidden],
[data-urgency-row][hidden] {
  display: none !important;
}

.appeal-urgency legend {
  width: 100%;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.appeal-urgency label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  cursor: pointer;
}

.appeal-urgency input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.appeal-urgency span {
  display: inline-flex;
  align-items: center;
  height: 34px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(18, 63, 122, 0.22);
  color: var(--blue);
  background: #fff;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.appeal-urgency input:checked + span {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.appeal-urgency label:last-child input:checked + span {
  border-color: var(--red);
  background: var(--red);
}

.captcha-field em {
  color: var(--blue);
  font-size: 14px;
}

.review-error,
.review-success,
.appeal-error,
.appeal-success {
  margin: 0;
  min-height: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.review-error,
.appeal-error {
  color: var(--red);
}

.review-success,
.appeal-success {
  color: var(--blue);
}

label em {
  display: block;
  margin-top: 2px;
  color: rgba(91, 104, 121, 0.72);
  font-style: normal;
  font-weight: 500;
  text-transform: none;
}

.field-note {
  margin-top: 4px;
  color: rgba(91, 104, 121, 0.55);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

body.is-modal-open {
  overflow: hidden;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 9px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input[type="file"] {
  min-height: 43px;
  padding: 7px 10px;
  color: rgba(42, 55, 72, 0.78);
  font-family: "IBM Plex Sans Condensed", "Roboto Condensed", Arial, sans-serif;
  font-size: 15px;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  padding: 8px 14px;
  border-radius: 3px;
  color: #fff;
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--blue);
  cursor: pointer;
  transition: background-color 240ms ease, transform 180ms ease;
}

input[type="file"]::file-selector-button:hover {
  background: var(--red);
  transform: translateY(-1px);
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 63, 122, 0.10);
}

textarea {
  min-height: 82px;
  resize: vertical;
}

.appeal-form textarea {
  height: 68px;
  resize: none;
}

.review-form textarea {
  height: 96px;
  resize: none;
}

.review-form .captcha-field input {
  max-width: 220px;
}

.review-form .button {
  min-height: 48px;
  padding: 12px 22px;
}

.appeal-form .button {
  min-height: 44px;
  padding: 10px 22px;
}

.footer {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 70px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
}

.footer strong,
.footer span,
.footer a {
  display: block;
}

.footer strong {
  color: var(--blue-2);
  font-size: 20px;
  text-transform: uppercase;
}

.footer span {
  color: var(--muted);
}

address {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}

.footer .footer-privacy-link {
  color: rgba(79, 94, 112, 0.68);
  font-weight: 300;
  text-transform: none;
}

.footer .footer-privacy-link:hover {
  color: var(--red);
}

.policy-page {
  min-height: 100vh;
}

.policy-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(238px, 0.48fr) minmax(0, 1fr) max-content;
  gap: 18px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  align-items: center;
  background: #fff;
}

.policy-header .brand {
  text-decoration: none;
}

.policy-header .brand-top {
  align-items: center;
}

.policy-nav {
  display: flex;
  min-width: 0;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  color: #32435a;
  font-family: "Roboto Condensed", "IBM Plex Sans Condensed", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.policy-nav a {
  padding: 8px 0;
  transform: scaleX(0.96);
  transform-origin: center;
  transition: color 320ms ease;
}

.policy-nav a:hover {
  color: var(--red);
}

.policy-header .header-phone {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.policy-document {
  width: min(980px, calc(100% - 40px));
  margin: 42px auto 72px;
  padding: 46px;
  border: 1px solid rgba(18, 63, 122, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.policy-document h1 {
  max-width: 860px;
  margin: 0 0 18px;
  color: var(--blue-2);
  font-size: clamp(44px, 6vw, 68px);
  line-height: 0.94;
}

.policy-document h2 {
  margin: 34px 0 12px;
  color: var(--blue-2);
  font-size: 28px;
  line-height: 1.05;
}

.policy-document p {
  margin: 0 0 12px;
  color: #4f5e70;
  font-size: 19px;
  line-height: 1.45;
}

.policy-document a:not(.button) {
  color: var(--blue);
  font-weight: 700;
}

.policy-lead {
  max-width: 780px;
}

.policy-back {
  margin-top: 24px;
}

@media (max-width: 1050px) {
  h1 {
    font-size: 52px;
    max-width: 500px;
  }

  h2 {
    font-size: 40px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-alert {
    grid-template-columns: 1fr;
  }

  .top-alert-line {
    grid-column: 1;
  }

  .main-nav {
    grid-column: 1 / -1;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 580px;
    padding: 52px 0 220px;
  }

  .hero-copy {
    max-width: 500px;
  }

  .title-main {
    font-size: 72px;
  }

  .title-sub {
    max-width: 500px;
    font-size: 45px;
  }

  .lead {
    max-width: 360px;
    font-size: 18px;
    line-height: 1.25;
  }

  .hero-quote {
    top: 152px;
    right: 28px;
    width: 250px;
    font-size: 21px;
  }

  .hero-person {
    left: calc(50% - 108px);
    width: 520px;
  }

  .hero-person figcaption {
    right: -20px;
    bottom: 62px;
  }

  .hero-person strong {
    min-width: 300px;
    font-size: 20px;
  }

  .hero-person span {
    font-size: 16px;
  }

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

  .visual-copy {
    min-height: 210px;
  }

  .visual-text {
    justify-content: flex-start;
  }

  .priority-title h2 {
    font-size: 34px;
  }

  .visual-slider {
    min-height: 320px;
  }

  .change-title h2 span {
    font-size: 34px;
  }

  .change-title h2 strong {
    font-size: 48px;
  }

  .change-steps ol {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 18px;
  }

  .change-steps ol::before,
  .change-steps ol::after {
    display: none;
  }

  .change-steps li {
    min-height: 210px;
  }

  .roadmap-cta div {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .roadmap-cta strong {
    max-width: 100%;
  }

  .metrics,
  .service-grid,
  .owner-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics div:nth-child(2n),
  .owner-links a:nth-child(2n) {
    border-right: 0;
  }

  .metrics div:nth-child(2n)::after {
    display: none;
  }

  .review-grid,
  .split,
  .community-reviews,
  .review-form,
  .contacts-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .community-reviews {
    padding-bottom: 44px;
  }

  .team-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .team-card {
    grid-template-columns: 0.48fr 0.52fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .team-card figure {
    min-height: 300px;
  }

  .ratings-badges {
    justify-content: flex-start;
  }

  .ratings-badges a {
    width: 190px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .reveal-left {
    --reveal-x: -34px;
  }

  .reveal-right {
    --reveal-x: 34px;
  }

  .section,
  .site-header,
  .top-alert,
  .footer {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .top-alert {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .top-alert-line {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .top-alert-label {
    justify-content: center;
    padding-block: 7px;
    font-size: 13px;
  }

  .top-alert-marquee {
    min-height: 28px;
  }

  .top-alert-marquee span {
    padding-left: 20px;
    font-size: 14px;
    animation-duration: 20s;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .header-phone {
    justify-self: start;
  }

  .hero {
    margin-top: 16px;
    min-height: 0;
    padding: 55px 0 0;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 52%, rgba(255, 255, 255, 0.76) 100%),
      url("./assets/hero-yard-white-edges.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  @supports (background-image: image-set(url("./assets/hero-yard-white-edges.webp") type("image/webp"))) {
    .hero {
      background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 52%, rgba(255, 255, 255, 0.76) 100%),
        image-set(
          url("./assets/hero-yard-white-edges.webp") type("image/webp"),
          url("./assets/hero-yard-white-edges.png") type("image/png")
        );
    }
  }

  .contacts-section {
    margin-top: 0;
    padding-top: 0;
  }

  .contacts-panel {
    padding: 22px;
  }

  .contacts-map {
    height: clamp(280px, 68vw, 340px);
    min-height: 0;
  }

  .contacts-map iframe {
    min-height: 0;
  }

  .hero-copy {
    max-width: 100%;
    width: 100%;
    padding: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76), transparent);
  }

  .lead {
    max-width: 300px;
    font-size: 16px;
    line-height: 1.25;
  }

  .lead span:nth-child(2) {
    white-space: normal;
  }

  .hero-quote {
    display: none;
  }

  .hero-person {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 126%;
    margin: 18px -8% 0;
    opacity: 1;
  }

  .hero-person figcaption {
    right: 16%;
    bottom: 30px;
    max-width: none;
  }

  .hero-person strong {
    min-width: 260px;
    padding: 7px 15px;
    font-size: 17px;
  }

  .hero-person span {
    padding: 7px 15px;
    font-size: 14px;
  }

  .visual-strip {
    padding: 34px 0 28px;
  }

  .visual-copy {
    min-height: 275px;
  }

  .visual-text h2 {
    font-size: 27px;
  }

  .visual-text p:not(.eyebrow) {
    font-size: 16px;
  }

  .priority-title {
    padding: 42px 0 8px;
  }

  .priority-title h2 {
    font-size: 27px;
    line-height: 1;
    white-space: normal;
  }

  .visual-slider {
    min-height: 230px;
  }

  .change-title {
    padding: 42px 0 12px;
  }

  .change-title h2 span {
    font-size: 26px;
    line-height: 1.05;
  }

  .change-title h2 strong {
    font-size: 38px;
    line-height: 0.98;
  }

  .change-steps {
    padding-bottom: 34px;
  }

  .change-steps ol {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 28px;
  }

  .change-steps li {
    min-height: 0;
    padding-inline: 8px;
  }

  .change-steps p {
    max-width: 330px;
  }

  .roadmap-cta {
    padding-bottom: 24px;
  }

  .roadmap-cta div {
    min-height: 0;
    padding: 22px 20px;
  }

  .roadmap-cta div::before {
    left: 18px;
    top: 33px;
    font-size: 58px;
  }

  .roadmap-cta div::after {
    left: 38px;
    top: 33px;
    font-size: 58px;
    transform: translateY(-50%) scaleX(0.72);
  }

  .roadmap-cta strong {
    padding-left: 0;
    font-size: 22px;
    line-height: 1.08;
  }

  .roadmap-cta strong span {
    white-space: normal;
  }

  .roadmap-cta-button {
    width: 100%;
    min-height: 46px;
    font-size: 18px;
  }

  .team-section {
    padding: 24px 0 42px;
  }

  .team-summary {
    font-size: 18px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card figure {
    min-height: 0;
    height: 280px;
  }

  .team-card > div {
    padding: 22px 22px 26px;
  }

  .team-card h3 {
    font-size: 28px;
  }

  .promo-slide {
    padding: 0;
  }

  .promo-slide img {
    object-position: 63% bottom;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .slider-arrow.prev {
    left: auto;
    right: 58px;
  }

  .slider-arrow.next {
    right: 10px;
  }

  .slider-dots {
    left: 22px;
    right: auto;
    bottom: 12px;
    gap: 6px;
  }

  .slider-dots button {
    width: 18px;
  }

  .slider-dots button.is-active {
    width: 30px;
  }

  .alert-strip {
    gap: 12px;
    padding: 18px 0 20px;
  }

  h1 {
    max-width: 330px;
  }

  .title-main {
    font-size: 46px;
  }

  .title-sub {
    max-width: 330px;
    font-size: 28px;
    line-height: 1;
  }

  h2 {
    font-size: 32px;
  }

  .text-column,
  blockquote p {
    font-size: 19px;
  }

  .lead {
    margin-bottom: 0;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    min-height: 48px;
    padding: 12px 20px;
  }

  .hero-actions,
  .footer,
  address {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .metrics,
  .service-grid,
  .owner-links,
  .review-grid,
  .community-reviews,
  .review-form,
  .request-form {
    grid-template-columns: 1fr;
  }

  .review-open-button {
    width: 100%;
  }

  .review-dialog {
    padding: 26px 20px;
  }

  .community-card {
    min-height: 0;
    padding: 24px;
  }

  .yandex-reviews-widget {
    height: 620px;
  }

  .ratings-badges {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .ratings-badges a {
    width: min(245px, 100%);
  }

  .max-card {
    grid-template-columns: 1fr;
  }

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

  .max-card .button,
  .yandex-review-button {
    grid-column: auto;
    width: 100%;
  }

  .reviews-head {
    display: grid;
  }

  .metrics div,
  .owner-links a {
    border-right: 0;
    border-bottom: 0;
  }

  .metrics div::after {
    display: none;
  }

  .metrics div:last-child,
  .owner-links a:last-child {
    border-bottom: 0;
  }

  .section-heading {
    padding-top: 54px;
  }
}

@media (max-width: 1180px) {
  .section,
  .site-header,
  .top-alert,
  .footer {
    width: min(100% - 32px, 1160px);
  }

  .site-header {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
    row-gap: 14px;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid rgba(18, 63, 122, 0.10);
    background: rgba(255, 255, 255, 0.72);
  }

  .header-phone {
    justify-self: end;
  }
}

@media (max-width: 900px) {
  body {
    overflow-x: hidden;
    font-size: 17px;
  }

  .flag-bg {
    opacity: 0.42;
    background-size: 1500px auto;
  }

  .page-side-fades {
    display: none;
  }

  .site-header {
    top: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: 12px;
  }

  .brand {
    width: 100%;
  }

  .brand-top {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    font-size: 17px;
  }

  .brand strong {
    max-width: 100%;
    font-size: clamp(19px, 3.8vw, 27px);
  }

  .header-phone {
    justify-self: stretch;
    display: flex;
    justify-content: center;
    gap: clamp(10px, 2.8vw, 16px);
    width: 100%;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid rgba(18, 63, 122, 0.10);
    background: rgba(255, 255, 255, 0.82);
  }

  .header-phone strong {
    font-size: clamp(38px, 10.2vw, 56px);
  }

  .top-alert {
    margin-bottom: 10px;
  }

  .top-alert-label {
    min-height: 34px;
  }

  .hero {
    display: grid;
    min-height: auto;
    padding: clamp(30px, 7vw, 56px) 0 0;
    background-position: center top;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    max-width: 620px;
    padding: 0;
  }

  h1 {
    gap: 8px;
    max-width: min(640px, 100%);
    margin-bottom: 18px;
  }

  .title-main {
    font-size: clamp(54px, 10vw, 84px);
  }

  .title-sub {
    max-width: min(560px, 100%);
    font-size: clamp(34px, 7.4vw, 54px);
  }

  .lead {
    max-width: 540px;
    font-size: clamp(18px, 3.8vw, 24px);
    line-height: 1.16;
  }

  .hero-license {
    max-width: 100%;
    white-space: normal;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-person {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(720px, 120%);
    margin: 14px auto 0;
  }

  .hero-person figcaption {
    right: max(16px, 8vw);
    bottom: clamp(24px, 7vw, 54px);
  }

  .hero-quote {
    display: none;
  }

  .ratings-section {
    padding-top: 18px;
  }

  .metrics {
    gap: 10px;
  }

  .metrics div {
    min-height: 118px;
    padding: 18px 14px;
    border: 1px solid rgba(18, 63, 122, 0.08);
    background: rgba(255, 255, 255, 0.86);
  }

  .metrics strong {
    font-size: clamp(48px, 10vw, 68px);
  }

  .visual-strip {
    gap: 22px;
  }

  .visual-copy {
    min-height: 240px;
  }

  .visual-text h2 {
    max-width: 100%;
    font-size: clamp(30px, 6vw, 40px);
  }

  .visual-slider {
    min-height: clamp(300px, 48vw, 430px);
  }

  .change-steps li,
  .team-card,
  .community-card,
  blockquote,
  .faq details,
  .contacts-panel {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
  }

  .split,
  .community-reviews,
  .contacts-layout {
    gap: 16px;
  }

  .contacts-panel {
    order: -1;
  }

  .contacts-map {
    height: clamp(300px, 46vw, 360px);
    min-height: 0;
  }

  .contacts-map iframe {
    min-height: 0;
  }

  .review-dialog,
  .appeal-dialog {
    max-height: calc(100svh - 24px);
  }
}

@media (max-width: 760px) {
  .section,
  .site-header,
  .top-alert,
  .footer {
    width: min(100% - 22px, 1160px);
  }

  .main-nav {
    margin-inline: -2px;
    padding-bottom: 6px;
  }

  .main-nav a {
    min-height: 38px;
    padding: 10px 12px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.88);
  }

  .top-alert {
    display: none;
  }

  .hero {
    margin-top: 12px;
    padding-top: 30px;
  }

  .hero-copy {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78) 72%, transparent);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    font-size: 17px;
  }

  .hero-person {
    width: min(620px, 132%);
    margin-left: -12%;
  }

  .hero-person figcaption {
    right: 8%;
    bottom: 24px;
  }

  .hero-person strong {
    width: auto;
    min-width: 0;
    max-width: min(310px, 82vw);
    font-size: 17px;
  }

  .hero-person span {
    width: fit-content;
    max-width: min(280px, 76vw);
    font-size: 14px;
  }

  .ratings-badges {
    justify-content: center;
  }

  .visual-copy {
    min-height: 300px;
  }

  .visual-text {
    justify-content: center;
  }

  .visual-text p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.3;
  }

  .visual-slider {
    min-height: 270px;
  }

  .change-title h2 span,
  .priority-title h2,
  .team-intro h2,
  .reviews-heading h2,
  .faq-heading h2,
  .contacts-heading h2 {
    overflow-wrap: anywhere;
  }

  .change-steps ol {
    gap: 18px;
  }

  .change-steps li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px 14px;
    align-items: center;
    padding: 18px;
    text-align: left;
  }

  .change-steps .step-icon {
    grid-row: 1 / span 2;
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .change-steps li::before {
    top: 12px;
    left: 12px;
  }

  .change-steps strong,
  .change-steps p {
    max-width: none;
    margin: 0;
  }

  .roadmap-cta div {
    padding: 24px;
  }

  .team-card figure {
    height: 320px;
  }

  .reviews-heading {
    padding-top: 16px;
  }

  .review-grid {
    gap: 12px;
  }

  blockquote {
    min-height: 0;
    padding: 20px;
  }

  blockquote p {
    font-size: 17px;
    line-height: 1.25;
  }

  .faq {
    min-height: auto;
    padding-bottom: 86px;
  }

  .faq-heading {
    margin-bottom: 22px;
  }

  .faq details {
    padding: 18px;
  }

  .faq summary {
    font-size: 20px;
    line-height: 1.14;
  }

  .contacts-list strong,
  .contacts-list a {
    font-size: 19px;
  }

  .contacts-list div:nth-child(-n+2) strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .review-dialog,
  .appeal-dialog {
    width: calc(100vw - 18px);
    padding: 24px 18px 20px;
    border-radius: 8px;
  }

  .review-form,
  .appeal-form {
    grid-template-columns: 1fr;
  }

  .appeal-urgency {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    gap: 14px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .section,
  .site-header,
  .footer {
    width: min(100% - 18px, 1160px);
  }

  .site-header {
    gap: 10px;
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .brand-top {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: clamp(18px, 6.2vw, 23px);
  }

  .header-phone {
    min-height: 40px;
  }

  .header-phone span {
    font-size: 17px;
  }

  .header-phone strong {
    font-size: 27px;
  }

  .main-nav a {
    min-height: 36px;
    padding: 9px 11px;
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    gap: 6px;
    margin-bottom: 14px;
  }

  .title-main {
    font-size: clamp(43px, 13.4vw, 60px);
  }

  .title-sub {
    font-size: clamp(27px, 8.6vw, 38px);
  }

  .lead {
    max-width: 310px;
    font-size: 16px;
  }

  .hero-license {
    margin-top: 8px;
    font-size: 11px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .hero-person {
    width: 138%;
    margin-top: 12px;
    margin-left: -20%;
  }

  .hero-person figcaption {
    right: 7%;
    bottom: 18px;
  }

  .hero-person strong,
  .hero-person span {
    padding: 6px 12px;
  }

  .hero-person strong {
    max-width: min(286px, 82vw);
    font-size: 15px;
  }

  .hero-person span {
    font-size: 13px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .metrics div {
    min-height: 104px;
    padding: 14px 10px;
  }

  .metrics strong {
    font-size: 44px;
  }

  .metrics span {
    font-size: 15px;
  }

  .priority-title {
    padding-top: 32px;
  }

  .visual-copy {
    min-height: 345px;
  }

  .visual-text h2 {
    font-size: 25px;
  }

  .visual-slider {
    min-height: 235px;
  }

  .slider-arrow {
    top: auto;
    bottom: 12px;
  }

  .change-title h2 strong {
    font-size: 34px;
  }

  .change-steps li {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 16px;
  }

  .change-steps .step-icon {
    width: 50px;
    height: 50px;
  }

  .roadmap-cta strong {
    font-size: 20px;
  }

  .team-card figure {
    height: 260px;
  }

  .team-card > div,
  .community-card,
  .contacts-panel {
    padding: 18px;
  }

  .community-card h2,
  .contacts-heading h2,
  .faq-heading h2 {
    font-size: 34px;
  }

  .yandex-reviews-widget {
    height: 520px;
  }

  .contacts-map {
    height: clamp(260px, 72vw, 320px);
    min-height: 0;
  }

  .contacts-map iframe {
    min-height: 0;
  }

  .contacts-actions .button {
    font-size: 17px;
  }

  .appeal-warning {
    font-size: 12px;
    line-height: 1.15;
  }

  .review-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 390px) {
  .section,
  .site-header,
  .footer {
    width: min(100% - 14px, 1160px);
  }

  .brand strong {
    font-size: 18px;
  }

  .header-phone strong {
    font-size: 24px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .title-main {
    font-size: 42px;
  }

  .title-sub {
    font-size: 26px;
  }

  .hero-person {
    width: 146%;
    margin-left: -25%;
  }

  .hero-person strong {
    max-width: 252px;
    font-size: 14px;
  }

  .hero-person span {
    font-size: 12px;
  }

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

  .visual-copy {
    min-height: 395px;
  }

  .visual-slider {
    min-height: 210px;
  }

  .faq summary {
    font-size: 18px;
  }

  .contacts-list strong,
  .contacts-list a {
    font-size: 17px;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .site-header {
    position: relative;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-person {
    width: min(540px, 92%);
    margin-left: auto;
  }

  .visual-copy {
    min-height: 220px;
  }

  .visual-slider {
    min-height: 260px;
  }

  .review-dialog,
  .appeal-dialog {
    max-height: calc(100svh - 12px);
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    position: relative;
  }

  .section,
  .site-header,
  .top-alert,
  .footer {
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
    margin-left: auto;
    margin-right: auto;
  }

  .site-header,
  .brand,
  .brand-top,
  .main-nav,
  .header-phone,
  .contacts-section,
  .contacts-layout,
  .contacts-panel,
  .contacts-map,
  .contacts-actions,
  .contacts-actions .button,
  .footer {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .main-nav a {
    display: grid;
    min-height: 34px;
    place-items: center;
    max-width: 100%;
    padding: 8px 6px;
    font-size: 12px;
    line-height: 1.05;
    text-align: center;
    transform: none;
    white-space: normal;
  }

  .contacts-section,
  .contacts-layout,
  .contacts-panel,
  .contacts-map {
    width: 100%;
    overflow: hidden;
  }

  .contacts-list,
  .contacts-list div,
  .contacts-list strong,
  .contacts-list a,
  .contacts-consent {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .change-steps ol {
    width: 100%;
    overflow: visible;
  }

  .change-steps li {
    grid-template-columns: 64px minmax(0, 1fr);
    justify-items: stretch;
    width: 100%;
    min-width: 0;
    overflow: visible;
    box-sizing: border-box;
  }

  .change-steps li::after {
    content: none;
  }

  .change-steps li::before {
    left: 0;
    transform: none;
  }

  .change-steps .step-icon {
    grid-row: 1 / span 2;
    grid-column: 1;
    justify-self: center;
  }

  .change-steps strong,
  .change-steps p {
    position: relative;
    z-index: 1;
    grid-column: 2;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    min-height: auto;
    margin-top: 10px;
    padding: 18px 0 16px;
    background-position: center top;
  }

  .hero-copy {
    position: relative;
    z-index: 8;
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
    padding: 0 0 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86) 78%, transparent);
  }

  .hero h1 {
    gap: 5px;
    max-width: 100%;
    margin: 0 0 10px;
  }

  .title-main {
    font-size: clamp(42px, 11.5vw, 62px);
    line-height: 0.92;
  }

  .title-sub {
    max-width: 100%;
    font-size: clamp(27px, 7.6vw, 42px);
    line-height: 0.94;
  }

  .lead {
    max-width: 360px;
    margin-bottom: 0;
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.16;
  }

  .hero-license {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.15;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 9px 8px;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.05;
  }

  .hero-person {
    display: none;
  }

  .hero-person img {
    width: 100%;
    max-height: min(46svh, 390px);
    object-fit: contain;
    object-position: center bottom;
  }

  .hero-person figcaption {
    right: 0;
    bottom: 6px;
    left: auto;
    justify-items: end;
    width: min(190px, 100%);
    max-width: 100%;
    overflow: hidden;
  }

  .hero-person strong,
  .hero-person span {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-person strong {
    width: auto;
    padding: 5px 8px;
    font-size: clamp(10px, 2.7vw, 13px);
    line-height: 1.05;
    text-align: right;
  }

  .hero-person span {
    width: auto;
    padding: 5px 8px;
    font-size: clamp(9px, 2.5vw, 12px);
    line-height: 1.05;
  }

  .team-intro {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
  }

  .team-intro h2 {
    max-width: 100%;
    font-size: clamp(27px, 7.2vw, 38px);
    line-height: 0.98;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .team-title span {
    display: block;
  }
}

@media (max-width: 520px) {
  .section,
  .site-header,
  .footer {
    width: calc(100vw - 18px);
    max-width: calc(100vw - 18px);
  }

  .main-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .main-nav a {
    min-height: 32px;
    padding: 7px 5px;
    font-size: 11px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 39vw);
    column-gap: 6px;
    padding-top: 12px;
  }

  .hero-license {
    display: none;
  }

  .hero-person {
    width: 100%;
    margin-top: 0;
  }

  .hero-person img {
    max-height: min(39svh, 330px);
  }

  .team-intro h2 {
    font-size: clamp(25px, 8.2vw, 32px);
  }
}

@media (max-width: 390px) {
  .section,
  .site-header,
  .footer {
    width: calc(100vw - 14px);
    max-width: calc(100vw - 14px);
  }

  .hero-actions {
    gap: 5px;
  }

  .hero-actions .button {
    min-height: 34px;
    padding-inline: 5px;
    font-size: 11px;
  }

  .hero-person {
    width: 100%;
  }

  .hero-person img {
    max-height: min(36svh, 300px);
  }

  .team-intro h2 {
    font-size: clamp(23px, 8vw, 29px);
  }
}

@media (max-width: 900px) {
  .policy-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #fff;
  }

  .policy-header {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding: max(14px, env(safe-area-inset-top)) 0 12px;
    box-sizing: border-box;
  }

  .policy-header .brand,
  .policy-header .brand-top,
  .policy-nav,
  .policy-header .header-phone {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .policy-header .brand-top {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .policy-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
    white-space: normal;
  }

  .policy-nav a {
    display: grid;
    min-height: 38px;
    place-items: center;
    padding: 9px 8px;
    border: 1px solid rgba(18, 63, 122, 0.10);
    color: var(--blue-2);
    font-size: 13px;
    line-height: 1.05;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    transform: none;
  }

  .policy-header .header-phone {
    justify-self: stretch;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgba(18, 63, 122, 0.10);
    background: rgba(255, 255, 255, 0.88);
  }

  .policy-document {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    margin: 18px auto 46px;
    padding: 30px 26px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .policy-document h1,
  .policy-document h2,
  .policy-document p,
  .policy-document a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .policy-document h1 {
    font-size: clamp(34px, 7.4vw, 48px);
    line-height: 0.96;
  }

  .policy-document h2 {
    margin-top: 28px;
    font-size: clamp(23px, 4.8vw, 28px);
  }

  .policy-document p {
    font-size: 18px;
    line-height: 1.38;
  }
}

@media (max-width: 620px) {
  .policy-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-document {
    padding: 24px 20px;
  }
}

@media (max-width: 520px) {
  .policy-header,
  .policy-document {
    width: calc(100vw - 18px);
    max-width: calc(100vw - 18px);
  }

  .policy-header .brand-top {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
  }

  .policy-nav {
    gap: 7px;
  }

  .policy-nav a {
    min-height: 36px;
    padding: 8px 6px;
    font-size: 12px;
  }

  .policy-header .header-phone span {
    font-size: 17px;
  }

  .policy-header .header-phone strong {
    font-size: 26px;
  }

  .policy-document {
    margin-top: 12px;
    padding: 22px 17px;
  }

  .policy-document .eyebrow {
    font-size: 13px;
  }

  .policy-document h1 {
    margin-bottom: 14px;
    font-size: clamp(28px, 8.2vw, 36px);
  }

  .policy-document h2 {
    margin: 24px 0 10px;
    font-size: clamp(21px, 6vw, 25px);
    line-height: 1.08;
  }

  .policy-document p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.34;
  }

  .policy-back {
    width: 100%;
    min-height: 44px;
    padding-inline: 12px;
  }
}

@media (max-width: 390px) {
  .policy-header,
  .policy-document {
    width: calc(100vw - 14px);
    max-width: calc(100vw - 14px);
  }

  .policy-nav a {
    font-size: 11px;
  }

  .policy-header .header-phone strong {
    font-size: 23px;
  }

  .policy-document {
    padding: 20px 14px;
  }

  .policy-document h1 {
    font-size: clamp(25px, 8vw, 31px);
  }

  .policy-document h2 {
    font-size: 20px;
  }
}

@media (max-width: 760px) {
  .yandex-reviews-widget::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 58px;
    border-radius: 8px 8px 0 0;
    background: #fff;
    pointer-events: none;
  }

  .yandex-reviews-widget iframe {
    height: calc(100% + 270px);
    transform: translateY(-198px);
  }
}

@media (max-width: 520px) {
  .yandex-reviews-widget::before {
    height: 64px;
  }

  .yandex-reviews-widget iframe {
    height: calc(100% + 292px);
    transform: translateY(-206px);
  }
}

@media (max-width: 900px) {
  html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
  }

  main > .section {
    scroll-snap-align: start;
    scroll-margin-top: calc(var(--header-offset, 0px) + 12px);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    align-items: start;
    gap: 10px;
    overflow: visible;
    padding-bottom: 10px;
  }

  .site-header .brand {
    grid-column: 1;
    min-width: 0;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 82;
    display: grid;
    grid-column: 2;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(18, 63, 122, 0.16);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(18, 63, 122, 0.08);
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 2px 0;
    background: var(--blue-2);
    transition: transform 220ms ease, opacity 180ms ease;
  }

  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    right: 0;
    z-index: 81;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px;
    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0 10px;
    overflow: hidden;
    border: 1px solid rgba(18, 63, 122, 0);
    border-radius: 0 0 8px 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 44px rgba(18, 63, 122, 0);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 260ms ease, padding 260ms ease, opacity 200ms ease, transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  }

  .site-header.is-menu-open .main-nav {
    max-height: 420px;
    padding: 10px;
    border-color: rgba(18, 63, 122, 0.13);
    box-shadow: 0 24px 44px rgba(18, 63, 122, 0.16);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    display: flex !important;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px !important;
    border: 1px solid rgba(18, 63, 122, 0.09);
    border-radius: 7px;
    color: var(--blue-2);
    font-size: 15px !important;
    line-height: 1;
    background: #fff;
    transform: none !important;
    white-space: normal;
  }

  .main-nav a::after {
    content: ">";
    color: rgba(196, 40, 50, 0.74);
    font-size: 16px;
    line-height: 1;
  }

  .header-phone {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    box-sizing: border-box;
  }

  .header-phone span {
    font-size: clamp(24px, 6.1vw, 34px);
  }

  .header-phone strong {
    font-size: clamp(42px, 11vw, 58px);
  }

  .hero .hero-person {
    display: none !important;
  }

  .hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: auto;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(18, 63, 122, 0.08);
    background-color: transparent !important;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.14) 42%, rgba(255, 255, 255, 0.72) 100%),
      url("./assets/ribbon-bg.png") !important;
    background-position: center -52px !important;
    background-size: max(820px, 168vw) auto !important;
    background-repeat: no-repeat !important;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 0 2px;
    text-align: left;
    background: none !important;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    gap: 2px;
    margin: 0 0 8px;
    text-wrap: balance;
  }

  .title-main {
    color: var(--red);
    font-size: clamp(56px, 15.7vw, 82px);
    line-height: 0.88;
    background: none;
    -webkit-text-fill-color: currentColor;
  }

  .title-sub {
    width: 100%;
    max-width: 100%;
    color: var(--blue-2);
    font-size: clamp(31px, 8.7vw, 46px);
    line-height: 0.94;
    background: none;
    -webkit-text-fill-color: currentColor;
  }

  .lead {
    max-width: 100%;
    margin: 0;
    color: var(--blue-2);
    font-size: clamp(19px, 5vw, 23px);
    line-height: 1.15;
    text-align: left;
  }

  .lead span {
    display: block;
  }

  .lead span:nth-child(2) {
    white-space: normal;
  }

  .hero-license {
    max-width: 100%;
    margin: 9px 0 0;
    color: rgba(50, 67, 90, 0.52);
    font-size: 11px;
    line-height: 1.2;
    text-align: left;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 9px;
    width: 100%;
    max-width: 100%;
    margin: 18px 0 0;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1;
  }
}

@media (max-width: 430px) {
  .header-phone {
    min-height: 52px;
  }

  .header-phone span {
    font-size: clamp(22px, 6vw, 28px);
  }

  .header-phone strong {
    font-size: clamp(40px, 11vw, 50px);
  }

  .title-main {
    font-size: clamp(42px, 11.2vw, 50px);
  }

  .title-sub {
    font-size: clamp(27px, 7.2vw, 34px);
  }

  .hero-actions {
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    display: inline-grid;
    width: 50px;
    height: 50px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), #0f3a72);
    box-shadow: 0 12px 24px rgba(18, 63, 122, 0.20);
  }

  .mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    margin: 0;
    background: #fff;
  }

  .mobile-menu-toggle span + span {
    margin-top: 6px;
  }

  .main-nav {
    position: fixed;
    top: calc(max(12px, env(safe-area-inset-top)) + 58px);
    left: 12px;
    right: 12px;
    width: auto;
    border-radius: 8px;
  }

  .hero {
    min-height: auto;
    align-content: start;
    padding: 18px 0 26px;
  }

  .hero-copy {
    position: relative;
    display: grid;
    grid-template-areas:
      "face"
      "title"
      "place"
      "actions";
    grid-template-rows: auto auto auto auto;
    min-height: 0;
    align-content: start;
    text-align: center;
    overflow: hidden;
  }

  .hero h1 {
    grid-area: title;
    position: relative;
    z-index: 4;
    margin: 0 0 10px;
    text-align: center;
  }

  .title-main,
  .title-sub {
    text-align: center;
  }

  .hero-mobile-face {
    position: relative;
    grid-area: face;
    left: auto;
    bottom: auto;
    display: block;
    z-index: 2;
    justify-self: center;
    align-self: start;
    width: clamp(254px, 66vw, 336px);
    aspect-ratio: 0.9;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
    opacity: 1;
    transform: none;
  }

  .hero-mobile-face::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3%;
    z-index: -1;
    width: 88%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(245, 249, 255, 0.82) 58%, rgba(255, 255, 255, 0) 72%);
    box-shadow: none;
    transform: translateX(-50%);
  }

  .hero-mobile-face img {
    display: block;
    width: 112%;
    height: 112%;
    margin: -6% 0 0 -6%;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0, 0, 0, 0.72) 90%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0, 0, 0, 0.72) 90%, rgba(0, 0, 0, 0) 100%);
  }

  .lead {
    grid-area: place;
    position: relative;
    z-index: 7;
    max-width: min(430px, 100%);
    margin: 0 auto;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    text-align: center;
    text-shadow: 0 1px 0 #fff, 0 8px 24px rgba(255, 255, 255, 0.86);
  }

  .hero-license {
    display: none;
  }

  .hero-actions {
    grid-area: actions;
    position: relative;
    z-index: 8;
    align-self: start;
    margin-top: 18px;
  }
}

@media (max-width: 600px) {
  .title-main {
    font-size: clamp(48px, 11vw, 58px);
  }

  .title-sub {
    font-size: clamp(29px, 7.2vw, 36px);
  }

  .lead {
    max-width: min(390px, 100%);
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: auto;
  }

  .hero-copy {
    min-height: 0;
    grid-template-rows: auto auto auto auto;
  }

  .hero-mobile-face {
    width: clamp(238px, 66vw, 286px);
    margin-top: 0;
    margin-bottom: 8px;
  }

  .title-main {
    font-size: clamp(51px, 15.1vw, 60px);
  }

  .title-sub {
    font-size: clamp(28px, 8.4vw, 36px);
  }
}

@media (max-width: 390px) {
  .header-phone {
    min-height: 50px;
    padding-inline: 10px;
  }

  .header-phone span {
    font-size: clamp(20px, 5.8vw, 24px);
  }

  .header-phone strong {
    font-size: clamp(36px, 10.8vw, 44px);
  }

  .title-main {
    font-size: clamp(40px, 12.4vw, 45px);
  }

  .title-sub {
    font-size: clamp(24px, 7.3vw, 28px);
  }

  .hero-mobile-face {
    width: clamp(224px, 65vw, 260px);
    margin-bottom: 8px;
  }
}

@media (max-width: 900px) and (max-height: 740px) {
  .site-header {
    padding-bottom: 10px;
  }

  .header-phone {
    min-height: 50px;
    padding-block: 8px;
  }

  .hero {
    padding-top: 14px;
  }

  .hero-copy {
    min-height: 0;
    grid-template-rows: auto auto auto auto;
  }

  .hero h1 {
    margin-bottom: 7px;
  }

  .title-main {
    font-size: clamp(48px, 14vw, 68px);
  }

  .title-sub {
    font-size: clamp(27px, 7.8vw, 40px);
  }

  .lead {
    font-size: clamp(17px, 4.5vw, 21px);
    line-height: 1.1;
  }

  .hero-actions {
    margin-top: 10px;
    gap: 7px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding-block: 10px;
  }

  .hero-mobile-face {
    width: clamp(212px, 60vw, 256px);
    margin-top: 0;
    margin-bottom: 8px;
  }
}

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

  .title-main {
    color: var(--red);
    background: none;
    -webkit-text-fill-color: currentColor;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .hero-copy,
  .hero-person,
  .hero-quote,
  .hero-person figcaption,
  .visual-text.is-active.is-replaying,
  .visual-text.is-replaying .eyebrow,
  .visual-text.is-replaying h2,
  .visual-text.is-replaying p:not(.eyebrow),
  .promo-slide.is-active.is-replaying {
    animation: none !important;
  }
}
