:root {
  --ink: #313131;
  --muted: #717171;
  --navy: #152f70;
  --navy-deep: #041233;
  --navy-hero: #05226c;
  --blue: #3561ce;
  --blue-hover: #1e45a8;
  --accent: #ba0623;
  --accent-hover: #8a091e;
  --accent-edge: #8d0319;
  --nav-bg: #f5f8ff;
  --invalid: #db422c;
  --focus: #3561ce;
  --font: "Gilroy", system-ui, sans-serif;
  --max: 1140px;
  /* Скругление: промышленный B2B, без «пилюль» на всём */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  /* Единая шкала заголовков (тег → один размер) */
  --fs-h1: 49px;
  --fs-h2: 34px;
  --fs-h3: 24px;
}

@media (max-width: 767px) {
  :root {
    --fs-h1: 36px;
    --fs-h2: 30px;
    --fs-h3: 22px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.027em;
  color: var(--ink);
  background: #fff;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

body.nav-open {
  overflow: hidden;
}

img,
iframe {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1 {
  font-family: var(--font);
  font-size: var(--fs-h1);
  line-height: 1.15;
}

h2 {
  font-family: var(--font);
  font-size: var(--fs-h2);
  line-height: 1.2;
}

h3 {
  font-family: var(--font);
  font-size: var(--fs-h3);
  line-height: 1.25;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-container {
  width: min(100% - 30px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
}

.site-header__top {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
}

.site-header__top-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 50px;
  padding: 15px 0;
}

.site-city {
  grid-column: 1;
  justify-self: start;
  position: relative;
  z-index: 5;
}

.site-city__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: min(240px, 42vw);
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: inherit;
  cursor: pointer;
  text-align: left;
}

.site-city__btn:hover,
.site-city__btn:hover .site-city__pin {
  color: #ba0623;
}

.site-city__pin {
  flex: 0 0 auto;
  display: inline-flex;
  color: #ba0623;
}

.site-city__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-toplinks {
  grid-column: 2;
  display: flex;
  gap: 0 20px;
}

.site-toplinks__link {
  color: #fff;
}

.site-toplinks__link:hover,
.site-toplinks__link.is-active {
  color: #ba0623;
}

.site-nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  margin: auto;
}

.site-nav-toggle__bars span {
  display: block;
  height: 2px;
  background: #fff;
  transition: transform 0.2s, opacity 0.2s;
}

body.nav-open .site-nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .site-nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

body.nav-open .site-nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__main {
  background: #fff;
  padding: 25px 0;
}

.site-header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-logo__img {
  width: 65px;
  height: 56px;
  flex-shrink: 0;
}

.site-logo__img--light {
  filter: brightness(0) invert(1);
}

.site-logo__descr {
  font-size: 14px;
  line-height: 1.35;
  max-width: 280px;
  text-align: left;
}

.site-header__contacts {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 25px;
}

.head-contact {
  position: relative;
  min-width: 0;
  min-height: 42px;
  padding-left: 55px;
}

.head-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(21, 47, 112, 0.2);
  background-repeat: no-repeat;
  background-position: center;
}

.head-contact--phone::before {
  background-image: url("../img/icon-phone.svg");
}

.head-contact--mail::before {
  background-image: url("../img/icon-mail.svg");
}

.head-contact:hover::before {
  border-color: #4e74d4;
}

.head-contact__value {
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: 0;
}

.head-contact__value a {
  color: inherit;
}

.head-contact__value a:hover {
  color: var(--blue);
}

.head-contact__meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 19.5px;
}

.head-contact__meta--copy {
  position: relative;
}

.head-contact__copy {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.head-contact__copy:hover {
  color: var(--blue);
}

.head-contact__copied {
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  z-index: 30;
  transform: translateY(-50%);
  padding: 2px 6px;
  border: 1px solid rgba(21, 47, 112, 0.12);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font: 400 10px/1.2 var(--font);
  color: var(--navy);
  white-space: nowrap;
  pointer-events: none;
}

.head-contact__copied[hidden] {
  display: none !important;
}

.site-header__nav {
  background: var(--nav-bg);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.site-header__nav-inner {
  display: flex;
  align-items: stretch;
}

.site-logo--drawer,
.site-toplinks--drawer,
.site-header__contacts--drawer {
  display: none;
}

.site-nav {
  display: flex;
  flex: 1;
}

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--navy);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  background: var(--blue);
  color: #fff;
}

.btn.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  margin-left: auto;
  height: 62px;
  min-height: 62px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1;
  overflow: hidden;
}

.site-header__cta-icon {
  display: block;
  width: 17px;
  height: 20px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 4px 24px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font: 700 14px/1.4 var(--font);
  letter-spacing: -0.027em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.btn--blue {
  background: var(--blue);
  border-color: var(--blue);
}

.btn--blue:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.btn--wide {
  width: 100%;
  max-width: 100%;
  min-height: 58px;
}

.btn--hero {
  display: inline-block;
  min-height: 0;
  padding: 4px 24px;
  overflow: hidden;
}

.btn--hero > span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

.btn--hero img {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 616px;
  padding: 110px 0;
  color: #fff;
  background: var(--navy-hero);
  overflow: hidden;
}

.hero__inner {
  max-width: 653px;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, #05226c 0%, transparent 100%);
  opacity: 0.8;
}

.hero h1 {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.hero__lead {
  margin: 20px 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.hero__actions {
  margin-top: 75px;
}

.home-stats {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  margin-bottom: 40px;
}

.home-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px 40px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.home-stats__item {
  position: relative;
  display: flex;
  align-items: center;
  margin: 20px 0;
  padding: 0 25px;
}

.home-stats__item:first-child {
  padding-left: 0;
}

.home-stats__item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #e6e6e6;
}

.home-stats__icon {
  flex-shrink: 0;
  margin-right: 20px;
}

.home-stats__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.home-stats__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.home-stats__value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.home-videos {
  position: relative;
  isolation: isolate;
  margin-top: 8px;
  padding: 36px 0 40px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 360px at 12% -20%, rgba(53, 97, 206, 0.26), transparent 62%),
    linear-gradient(160deg, #07153a 0%, #041233 48%, #0a1c4a 100%);
}

.home-videos__glow {
  position: absolute;
  right: -10%;
  top: 10%;
  z-index: -1;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 6, 35, 0.2), transparent 68%);
  pointer-events: none;
}

.home-videos__inner {
  position: relative;
}

.home-videos__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.home-videos__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.home-videos__title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #fff;
}

.home-videos__lead {
  max-width: 36rem;
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.68);
}

.home-videos__controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.home-videos__nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.home-videos__nav:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.home-videos__nav:active {
  transform: scale(0.96);
}

.home-videos__nav img {
  display: block;
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.home-videos__nav--next img {
  transform: scaleX(-1);
}

.home-videos__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 300px);
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-videos__rail::-webkit-scrollbar {
  display: none;
}

.home-videos__rail:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.home-videos__card {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.home-videos__card:hover,
.home-videos__card:focus-visible {
  transform: translateY(-3px);
}

.home-videos__card:focus-visible {
  outline: none;
}

.home-videos__card:focus-visible .home-videos__media {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.home-videos__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1a42;
}

.home-videos__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(4, 18, 51, 0.88) 100%);
  opacity: 0.95;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.home-videos__card:hover .home-videos__media::after,
.home-videos__card:focus-visible .home-videos__media::after {
  opacity: 1;
}

.home-videos__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.home-videos__card:hover .home-videos__media img,
.home-videos__card:focus-visible .home-videos__media img {
  transform: scale(1.06);
}

.home-videos__play {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(4, 18, 51, 0.45);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.home-videos__card:hover .home-videos__play,
.home-videos__card:focus-visible .home-videos__play {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.05);
}

.home-videos__play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

.home-videos__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 12px 14px;
  pointer-events: none;
}

.home-videos__index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}

.home-videos__caption {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.home-videos__card.is-featured .home-videos__media {
  box-shadow: inset 0 0 0 1px rgba(186, 6, 35, 0.55);
}

.video-modal {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(1040px, calc(100vw - 32px));
  width: 100%;
}

.video-modal::backdrop {
  background: rgba(2, 8, 24, 0.82);
  backdrop-filter: blur(4px);
}

.video-modal__panel {
  position: relative;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: rgba(4, 18, 51, 0.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.video-modal__close:hover {
  background: var(--accent);
}

.video-modal__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .home-videos__card,
  .home-videos__media img,
  .home-videos__play,
  .home-videos__nav {
    transition: none !important;
  }

  .home-videos__rail {
    scroll-behavior: auto;
  }

  .home-videos__card:hover,
  .home-videos__card:focus-visible {
    transform: none;
  }

  .home-videos__card:hover .home-videos__media img,
  .home-videos__card:focus-visible .home-videos__media img {
    transform: none;
  }
}

@media (min-width: 992px) {
  .home-videos__rail {
    grid-auto-columns: minmax(280px, 320px);
  }
}

.home-gallery {
  padding: 85px 0 40px;
}

.home-gallery__title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  color: var(--ink);
}

.home-gallery__title b {
  font-weight: 800;
}

.home-gallery__carousel,
.photo-modal__carousel,
.letter-modal__carousel {
  position: relative;
  margin-top: 30px;
}

.photo-modal__carousel,
.letter-modal__carousel {
  margin-top: 0;
}

.home-gallery__viewport,
.photo-modal__viewport,
.letter-modal__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.home-gallery__viewport::-webkit-scrollbar,
.photo-modal__viewport::-webkit-scrollbar,
.letter-modal__viewport::-webkit-scrollbar {
  display: none;
}

.home-gallery__track,
.photo-modal__track,
.letter-modal__track {
  display: flex;
}

.home-gallery__slide,
.photo-modal__slide,
.letter-modal__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.home-gallery__slide {
  height: 616px;
  display: flex;
  flex-direction: column;
}

.home-gallery__slide--lead {
  height: 616px;
}

.home-gallery__photo {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #1a1a1a;
  color: inherit;
  font: inherit;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
}

.home-gallery__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.home-gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.home-gallery__nav {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: auto 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(186, 6, 35, 0.8);
  cursor: pointer;
  transition: background-color 0.3s;
}

.home-gallery__nav:hover {
  background: rgba(186, 6, 35, 1);
}

.home-gallery__nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.home-gallery__nav img {
  display: block;
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.home-gallery__nav--prev {
  left: 15px;
}

.home-gallery__nav--next {
  right: 15px;
}

.home-gallery__nav--next img {
  transform: scaleX(-1);
}

.home-gallery__slide--lead {
  overflow: hidden;
}

.home-gallery__lead {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding-bottom: 30px;
}

.home-gallery__lead-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.home-gallery__lead-bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: blur(10px);
  transform: scale(1.08);
}

.home-gallery__lead-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.home-gallery__offer-title {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 25px 16px 0;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  color: #fff;
}

.home-gallery__offer-title b {
  font-weight: 800;
}

.home-gallery__mob-cta {
  display: none;
  position: relative;
  z-index: 1;
  margin: 30px auto 0;
}

.home-gallery__lead-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 56px;
  margin: 24px auto 0;
}

.home-gallery__form {
  flex: 0 0 auto;
  width: 100%;
  max-width: 535px;
  padding: 36px;
  background: #fff;
  touch-action: pan-y;
}

.home-gallery__form-title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.home-gallery__field {
  display: block;
  margin: 0 0 20px;
}

.lead-form > .home-gallery__field {
  margin: 0;
}

.home-gallery__control {
  display: block;
  position: relative;
}

.home-gallery__control::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 20px;
  height: 20px;
  margin: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.home-gallery__field--name .home-gallery__control::before {
  background-image: url("../img/gallery/icon-input-name.webp");
}

.home-gallery__field--phone .home-gallery__control::before {
  background-image: url("../img/gallery/icon-input-phone.webp");
}

.home-gallery__field input {
  width: 100%;
  height: 55px;
  padding: 0 10px 0 60px;
  border: 1px solid rgba(21, 47, 112, 0.2);
  border-radius: 2px;
  background: rgba(206, 206, 206, 0.2);
  color: var(--ink);
  font: 300 14px/1.5 var(--font);
  letter-spacing: -0.027em;
  box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, 0.2);
}

.home-gallery__field input:focus {
  border-color: #4e74d4;
  outline: none;
}

.home-gallery__field input.field-invalid {
  border-color: var(--invalid);
  background: #ffeaea;
}

.home-gallery__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 7px;
  align-items: flex-start;
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.home-gallery__consent input {
  margin-top: 3px;
}

.home-gallery__consent .field-error {
  grid-column: 1 / -1;
}

.home-gallery__consent a {
  color: var(--blue);
  text-decoration: underline;
}

.home-gallery__form .btn {
  margin-top: 10px;
}

.home-gallery__form .lead-form__error,
.home-gallery__form .field-error {
  display: block;
  margin-top: 6px;
}

.home-gallery__form .lead-form__error[hidden],
.home-gallery__form .field-error[hidden] {
  display: none;
}

.home-gallery__catalog {
  position: relative;
  flex: 0 0 auto;
  width: 425px;
}

.home-gallery__catalog img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-gallery__pdf {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 3px solid #8ac1ff;
  background: #edf4fc;
  color: #0058a9;
  font-size: 18px;
  line-height: 27px;
  box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, 0.2);
}

.home-gallery__pdf svg {
  display: block;
  flex-shrink: 0;
}

.home-gallery-modal,
.photo-modal {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(600px, calc(100vw - 32px));
  width: 100%;
}

.photo-modal {
  inset: 0;
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 16px;
  overflow: visible;
}

.photo-modal[open] {
  display: grid;
  place-items: center;
}

.home-gallery-modal::backdrop,
.photo-modal::backdrop {
  background: rgba(2, 8, 24, 0.82);
  backdrop-filter: blur(4px);
}

.home-gallery-modal__panel {
  position: relative;
  background: #fff;
}

.home-gallery-modal .home-gallery__form {
  max-width: none;
  padding: 48px 36px 36px;
}

.photo-modal__carousel {
  position: relative;
  width: min(1140px, 100%);
  margin: 0;
  background: transparent;
}

.photo-modal__stage {
  position: relative;
}

.photo-modal__slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent;
}

.photo-modal__slide img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 8rem);
  object-fit: contain;
  background: transparent;
}

.photo-modal__meta {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 14px 16px 0;
  color: #fff;
}

.photo-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.photo-modal__text {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.photo-modal__title[hidden],
.photo-modal__text[hidden] {
  display: none;
}

.home-gallery-modal__close,
.letter-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(4, 18, 51, 0.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.photo-modal__close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(4, 18, 51, 0.72);
  color: #fff;
  cursor: pointer;
}

.photo-modal__close svg {
  display: block;
}

.home-gallery-modal__close:hover,
.letter-modal__close:hover {
  background: var(--accent);
}

.photo-modal__close:hover {
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery__viewport,
  .photo-modal__viewport,
  .home-gallery__nav {
    scroll-behavior: auto;
    transition: none;
  }
}

@media (max-width: 1199px) {
  .home-gallery__catalog {
    display: none;
  }

  .home-gallery__form {
    max-width: 455px;
  }
}

@media (max-width: 991px) {
  .home-gallery__title,
  .home-gallery__offer-title {
    font-size: var(--fs-h2);
  }
}

@media (max-width: 767px) {
  .home-gallery {
    padding: 36px 0 32px;
  }

  .home-gallery__title,
  .home-gallery__offer-title {
    font-size: var(--fs-h2);
  }

  .home-gallery__carousel {
    margin-top: 14px;
  }

  .home-gallery__scroll-hint:not([hidden]),
  .photo-modal__scroll-hint:not([hidden]) {
    display: block;
  }

  .photo-modal__scroll-hint {
    margin: 0 0 14px;
  }

  .home-gallery__carousel > .home-gallery__nav,
  .photo-modal .home-gallery__nav {
    display: none;
  }

  .home-gallery__viewport {
    margin-inline: -15px;
    padding: 0 15px;
    scroll-padding-inline: 15px;
    -webkit-overflow-scrolling: touch;
  }

  .home-gallery__track {
    gap: 12px;
    align-items: flex-start;
  }

  .home-gallery__slide {
    flex: 0 0 calc(100% - 48px);
    width: calc(100% - 48px);
    min-width: 0;
    min-height: 0;
    height: auto;
  }

  .home-gallery__photo {
    flex: 0 0 auto;
    height: auto;
    aspect-ratio: 1200 / 649;
  }

  .home-gallery__slide--lead {
    height: auto;
    min-height: 0;
  }

  .home-gallery__slide--lead .home-gallery__lead {
    height: auto;
    min-height: 0;
    aspect-ratio: 1200 / 649;
    padding: 20px 16px;
  }

  .home-gallery__caption {
    position: static;
    margin: 8px 0 0;
    padding: 0 2px;
    background: none;
    color: #6a7385;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.01em;
    text-align: left;
  }

  .home-gallery__lead {
    justify-content: center;
  }

  .home-gallery__offer-title {
    margin: 0;
    font-size: 22px;
  }

  .home-gallery__lead-body {
    display: none;
  }

  .home-gallery__mob-cta {
    display: inline-flex;
    margin-top: 16px;
  }

  .photo-modal {
    padding: 12px 12px 20px;
    align-content: center;
  }

  .photo-modal__slide img {
    max-height: calc(100dvh - 11rem);
  }
}

@media (max-width: 575px) {
  .home-gallery__title,
  .home-gallery__offer-title {
    font-size: var(--fs-h2);
  }
}

.home-offer-calc {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(720px 280px at 8% 0%, rgba(53, 97, 206, 0.28), transparent 60%),
    linear-gradient(145deg, #06143a 0%, #041233 52%, #0a1f52 100%);
}

.home-offer-calc__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.home-offer-calc__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.home-offer-calc__glow {
  position: absolute;
  right: -8%;
  top: 18%;
  z-index: -1;
  width: min(48vw, 480px);
  height: min(48vw, 480px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 6, 35, 0.22), transparent 68%);
  pointer-events: none;
}

.home-offer-calc__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px 48px;
  align-items: center;
}

.home-offer-calc__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.home-offer-calc__title {
  margin: 0;
  max-width: 18em;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #fff;
}

.home-offer-calc__title b {
  font-weight: 800;
}

.home-offer-calc__lead {
  max-width: 34rem;
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.home-offer-calc__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.home-offer-calc__steps li {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.home-offer-calc__steps li:first-child {
  border-color: rgba(186, 6, 35, 0.7);
  background: rgba(186, 6, 35, 0.18);
  color: #fff;
}

.home-offer-calc:hover .home-offer-calc__steps li:nth-child(2),
.home-offer-calc:focus-within .home-offer-calc__steps li:nth-child(2) {
  border-color: rgba(186, 6, 35, 0.45);
  background: rgba(186, 6, 35, 0.1);
}

.home-offer-calc__actions {
  margin-top: 28px;
}

.home-offer-calc__cta {
  gap: 12px;
  min-height: 56px;
  padding: 8px 28px;
  box-shadow: 0 10px 28px rgba(186, 6, 35, 0.28);
  transition: background-color 0.2s, border-color 0.2s, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-offer-calc__cta img {
  display: block;
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.home-offer-calc__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(186, 6, 35, 0.36);
}

.home-offer-calc__cta:active {
  transform: translateY(0);
}

.home-offer-calc__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
}

.home-offer-calc__visual::before {
  content: "";
  position: absolute;
  inset: 12% 8% 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  filter: blur(8px);
}

.home-offer-calc__tank {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
  animation: home-offer-calc-float 6.5s ease-in-out infinite;
}

@keyframes home-offer-calc-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-offer-calc__tank,
  .home-offer-calc__cta {
    animation: none;
    transition: none;
  }

  .home-offer-calc__cta:hover {
    transform: none;
  }
}

.home-about {
  padding: 100px 0;
  background: var(--nav-bg);
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 40px;
  align-items: start;
}

.home-about__title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.5px;
  text-align: left;
  color: var(--ink);
}

.home-about__title b {
  font-weight: 700;
}

.home-about__title-sub {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-h3);
  font-weight: 300;
  line-height: 1.2;
}

.home-about__title-break {
  display: none;
}

.home-about__descr {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.5;
}

.home-about__descr p {
  margin: 0 0 1em;
}

.home-about__descr p:last-child {
  margin-bottom: 0;
}

.home-about__video {
  display: block;
  position: relative;
  width: 100%;
  margin-top: 17px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.home-about__video img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.3s;
}

.home-about__video:hover img {
  opacity: 0.85;
}

.home-about__video::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  border-radius: 10px;
  background: rgba(186, 6, 35, 0.88);
}

.home-about__video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  margin: -8px 0 0 -4px;
  border: 8px solid transparent;
  border-left: 14px solid #fff;
}

.home-about__facts {
  max-width: 285px;
  margin: 0 auto;
}

.home-about__fact {
  padding: 30px 20px;
  border: 1px solid #cecece;
  border-top: none;
  text-align: center;
}

.home-about__fact:first-child {
  border-top: 1px solid #cecece;
}

.home-about__fact-num {
  margin-top: 10px;
  font-size: 45px;
  font-weight: 800;
  line-height: 1;
  color: #c40927;
  font-variant-numeric: tabular-nums lining-nums;
}

.home-about__fact-num--stack {
  line-height: 0.6;
}

.home-about__fact-small {
  font-size: 20px;
  font-weight: 800;
}

.home-about__fact-num--stack .home-about__fact-small {
  display: block;
  line-height: 2;
}

.home-about__fact-text {
  max-width: 160px;
  margin: 8px auto 0;
  font-size: 16px;
  line-height: 1.35;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1rem;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
}

.prose a:hover {
  color: #061846;
}

.prose h2 {
  margin: 1.6rem 0 0.8rem;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.1;
}

.prose h3 {
  margin: 1.2rem 0 0.6rem;
  font-size: var(--fs-h3);
  font-weight: 300;
}

.prose--article {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.prose--article > *:first-child {
  margin-top: 0;
}

.prose--article p,
.prose--article ul,
.prose--article ol {
  margin: 0 0 32px;
}

.prose--article p + ul,
.prose--article p + ol {
  margin-top: -20px;
}

.prose--article h2 {
  margin: 0 0 32px;
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.2;
}

.prose--article h3 {
  margin: 0 0 24px;
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.2;
}

.prose--article ul,
.prose--article ol {
  padding-left: 24px;
}

.prose--article ul {
  list-style: disc;
}

.prose--article ol {
  list-style: decimal;
  padding-left: 20px;
}

.prose--article li {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.6;
}

.prose--article li:last-child {
  margin-bottom: 0;
}

.prose--article aside {
  margin: 32px 0;
  padding: 16px;
  border-left: 3px solid var(--blue);
  background: rgba(61, 100, 199, 0.1);
  color: var(--ink);
}

.prose--article aside strong {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.2;
}

.prose--article aside p {
  margin-bottom: 0;
  line-height: 1.4;
}

.prose--article blockquote {
  margin: 0 0 32px;
  padding: 16px;
  border-left: 3px solid var(--blue);
  background: #f3f5fa;
  color: var(--ink);
}

.prose--article blockquote p {
  margin-bottom: 10px;
  line-height: 1.4;
}

.prose--article blockquote span {
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.prose--article img,
.article-cover img {
  display: block;
  max-width: min(100%, 480px);
  width: 100%;
  height: auto;
  margin: 0 0 16px;
}

.prose--article .prose-figure,
.article-cover {
  margin: 0 0 32px;
}

.prose--article figcaption {
  margin-top: -8px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 40px;
  align-items: start;
}

.article-layout__main {
  min-width: 0;
}

.article-layout__aside {
  position: sticky;
  top: 24px;
}

.article-offer {
  position: relative;
  overflow: hidden;
  max-width: 330px;
  margin-left: auto;
  min-height: 516px;
  padding: 50px 20px 0;
  color: #fff;
  background-color: var(--navy);
  background-image: var(--article-offer-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.article-offer__content {
  position: relative;
  z-index: 2;
  max-width: 220px;
  margin: 0 auto;
}

.article-offer__title {
  margin: 0;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.4;
}

.article-offer__title b {
  font-weight: 700;
}

.article-offer__btn-wrap {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.article-offer__btn-wrap .btn {
  min-width: 190px;
  min-height: 60px;
}

.article-offer__visual {
  position: absolute;
  z-index: 1;
  left: -10px;
  bottom: -30px;
  width: 443px;
  height: 357px;
  margin: 0;
  pointer-events: none;
}

.article-offer__visual img {
  display: block;
  width: 443px;
  max-width: none;
  height: auto;
}

.article-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0;
  max-width: 330px;
  margin: 0 0 0 auto;
}

.article-sections__item {
  display: inline-block;
  margin: 20px 15px 0 0;
  padding: 10px 20px;
  border: 1px solid #000;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  background: transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.article-sections__item:hover,
.article-sections__item.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.article-author {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr) auto;
  gap: 16px 20px;
  align-items: center;
  margin-top: 30px;
  padding: 20px;
  background: #f0f0f0;
  box-shadow: 4px 4px 8px 0 rgba(34, 60, 80, 0.2);
}

.article-author__photo img {
  display: block;
  width: 95px;
  height: 95px;
  border-radius: 100px;
  object-fit: cover;
}

.article-author__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.article-author__role {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}

.article-author__action .btn {
  min-height: 60px;
  white-space: nowrap;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 15px;
  margin-top: 35px;
}

.article-share__label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.article-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-share__link {
  display: block;
  width: 30px;
  height: 30px;
}

.article-share__link img {
  display: block;
  width: 30px;
  height: 30px;
}

.article-share__link:hover {
  opacity: 0.85;
}

@media (max-width: 991px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-layout__aside {
    position: static;
  }

  .article-offer {
    max-width: 100%;
    margin: 0;
  }

  .article-sections {
    max-width: none;
    margin: 0;
  }

  .article-author {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .article-author__photo img {
    width: 72px;
    height: 72px;
  }

  .article-author__action {
    grid-column: 1 / -1;
  }

  .article-author__action .btn {
    width: 100%;
  }

  .prose--article h2 {
    font-size: var(--fs-h2);
  }

  .prose--article h3 {
    font-size: var(--fs-h3);
  }
}

@media (max-width: 575px) {
  .prose--article h2 {
    font-size: var(--fs-h2);
  }

  .article-offer {
    padding-top: 30px;
  }

  .article-offer__title {
    font-size: 26px;
  }
}

.info-page {
  padding: 0 0 56px;
}

.info-page h1 {
  margin: 28px 0 20px;
  font-family: var(--font);
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.faq h2,
.lead-block h2 {
  margin: 28px 0 20px;
  font-family: var(--font);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.info-page__lead {
  max-width: 46rem;
  margin: 0 0 28px;
  color: var(--muted);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 300;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 5px;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.faq {
  padding: 8px 0 24px;
}

.faq__item {
  margin-bottom: 8px;
  padding: 14px 18px;
  background: var(--nav-bg);
}

.faq__answer {
  padding-top: 8px;
  color: var(--muted);
}

.lead-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 24px 0 56px;
  padding: 36px 32px;
  background: var(--nav-bg);
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form__field,
.lead-form__consent {
  display: grid;
  gap: 6px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7deea;
  border-radius: 0;
  background: #fff;
  font: 400 16px/1.5 var(--font);
}

.lead-form .home-gallery__field input {
  height: 55px;
  padding: 0 10px 0 60px;
  border: 1px solid rgba(21, 47, 112, 0.2);
  border-radius: 2px;
  background: #fff;
  font: 300 14px/1.5 var(--font);
  letter-spacing: -0.027em;
  box-shadow: none;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  outline: none;
}

.lead-form .home-gallery__field input:focus {
  border-color: #4e74d4;
  outline: none;
}

.lead-form .field-invalid {
  border-color: var(--invalid);
  background: #ffeaea;
}

.field-error,
.lead-form__error {
  color: var(--invalid);
  font-size: 0.85rem;
}

.lead-form__hp {
  position: absolute;
  left: -9999px;
}

.lead-form__consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-size: 13px;
  color: var(--muted);
}

.lead-form__consent .field-error {
  grid-column: 1 / -1;
}

.lead-form__consent a {
  color: var(--blue);
  text-decoration: underline;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 32px;
  margin: 8px 0 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid rgba(21, 47, 112, 0.2);
  color: var(--blue);
}

.contact-item__label {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
}

.contact-item__value {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.contact-item__value--sm {
  font-weight: 500;
  line-height: 1.45;
}

.contact-item a.contact-item__value:hover {
  color: var(--blue);
}

.contacts-map {
  margin: 24px 0;
}

.contacts-map iframe {
  display: block;
  border: 0;
}

.site-footer {
  padding: 35px 0;
  background: var(--navy-deep);
  color: #abb9da;
  font-size: 13px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__label {
  margin-bottom: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.site-footer__nav,
.site-footer__contacts,
.site-footer__legal-col {
  display: grid;
  gap: 7px;
  align-content: start;
}

.site-footer__tagline {
  max-width: 240px;
  margin: 12px 0 0;
}

.site-footer__copy {
  margin: 12px 0 0;
  color: #abb9da;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.site-footer a[href^="tel"] {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.site-logo--foot {
  display: inline-flex;
}

@media (max-width: 1200px) {
  .btn.site-header__cta {
    padding: 0 10px;
    gap: 0;
  }

  .site-header__cta-icon {
    display: none;
  }
}

@media (max-width: 1199px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 100px 0;
  }

  .hero h1 {
    font-size: var(--fs-h1);
  }

  .hero__actions {
    margin-top: 60px;
  }
}

@media (max-width: 991px) {
  .site-header__top {
    position: sticky;
    top: 0;
    z-index: 41;
  }

  .site-header__top-inner {
    grid-template-columns: 1fr auto;
    padding: 8px 0;
    min-height: 48px;
  }

  .site-city {
    grid-column: 1;
  }

  .site-city__btn {
    font-size: 12px;
  }

  .site-nav-toggle {
    display: inline-flex;
    grid-column: 2;
  }

  .site-toplinks:not(.site-toplinks--drawer),
  .site-header__main,
  .site-header__nav {
    display: none;
  }

  body.nav-open .site-header__nav {
    display: block;
    position: fixed;
    top: 48px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    padding: 16px 0 32px;
    overflow: auto;
    background: var(--navy);
  }

  body.nav-open .site-header__nav-inner,
  body.nav-open .site-nav,
  body.nav-open .site-toplinks--drawer,
  body.nav-open .site-header__contacts--drawer,
  body.nav-open .site-logo--drawer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  body.nav-open .site-logo--drawer {
    margin-bottom: 16px;
  }

  body.nav-open .site-nav__link,
  body.nav-open .site-toplinks--drawer .site-toplinks__link {
    justify-content: flex-start;
    min-height: 48px;
    height: auto;
    color: #fff;
  }

  body.nav-open .site-nav__link:hover,
  body.nav-open .site-nav__link.is-active {
    background: var(--blue);
  }

  body.nav-open .btn.site-header__cta {
    width: max-content;
    height: auto;
    min-height: 48px;
    margin: 16px 0 24px;
    padding: 14px 18px;
    gap: 11px;
  }

  body.nav-open .site-header__cta-icon {
    display: block;
  }

  body.nav-open .site-header__contacts--drawer {
    gap: 20px;
    color: #fff;
  }

  body.nav-open .head-contact__value,
  body.nav-open .head-contact__value a,
  body.nav-open .head-contact__meta {
    color: #fff;
  }

  body.nav-open .head-contact::before {
    border-color: rgba(255, 255, 255, 0.25);
    filter: brightness(0) invert(1);
  }

  .home-stats__grid,
  .contacts-grid,
  .lead-block,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .home-stats__item {
    display: block;
    text-align: center;
    padding: 0;
  }

  .home-stats__item::before {
    display: none;
  }

  .home-stats__icon {
    display: block;
    margin: 0 auto 15px;
  }

  .hero {
    min-height: 0;
    padding: 90px 0 150px;
    text-align: center;
  }

  .hero__inner {
    max-width: none;
  }

  .hero::before {
    background-color: #05226c;
    background-image: none;
    opacity: 0.65;
  }

  .hero h1 {
    font-size: var(--fs-h1);
  }

  .hero__lead {
    font-size: 18px;
    margin-top: 10px;
  }

  .hero__actions {
    margin-top: 50px;
  }

  .info-page h1 {
    font-size: var(--fs-h1);
  }

  .faq h2,
  .lead-block h2 {
    font-size: var(--fs-h2);
  }

  .btn--hero {
    width: 100%;
  }
}

@media (max-width: 1199px) {
  .home-offer-calc {
    padding: 60px 0;
  }

  .home-offer-calc__inner {
    gap: 28px 32px;
  }

  .home-offer-calc__visual {
    width: min(100%, 360px);
  }

  .home-about {
    padding: 70px 0;
  }

  .home-about__video {
    margin-top: 40px;
  }
}

@media (max-width: 991px) {
  .home-offer-calc__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-offer-calc__visual {
    justify-self: center;
    order: -1;
    width: min(100%, 340px);
  }

  .home-offer-calc__title {
    max-width: none;
  }

  .home-about__grid {
    grid-template-columns: 1fr;
  }

  .home-about__video {
    margin-top: 30px;
  }

  .home-about__facts {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: var(--fs-h1);
  }

  .hero__lead {
    margin-top: 15px;
  }

  .hero__actions {
    margin-top: 40px;
  }

  .home-stats__grid {
    padding: 20px;
  }

  .home-stats__item {
    display: flex;
    text-align: left;
    padding: 0;
    margin: 12px 0;
  }

  .home-stats__icon {
    margin: 0 15px 0 0;
  }

  .home-stats__icon img {
    width: 54px;
    height: auto;
  }

  .home-offer-calc {
    padding: 40px 0;
  }

  .home-offer-calc__lead {
    font-size: 15px;
  }

  .home-offer-calc__actions {
    margin-top: 22px;
  }

  .home-offer-calc__cta {
    width: 100%;
  }

  .home-offer-calc__visual {
    width: min(100%, 300px);
  }

  .home-videos {
    margin-top: 4px;
    padding: 28px 0 32px;
  }

  .home-videos__head {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
  }

  .home-videos__controls {
    display: none;
  }

  .home-videos__scroll-hint:not([hidden]) {
    display: block;
  }

  .home-videos__lead {
    display: none;
  }

  .home-videos__rail {
    grid-auto-columns: minmax(220px, calc(100% - 48px));
    gap: 12px;
    margin-inline: calc(50% - 50vw);
    padding-inline: max(15px, calc((100vw - min(100vw - 30px, var(--max))) / 2));
    padding-bottom: 6px;
    scroll-padding-inline: max(15px, calc((100vw - min(100vw - 30px, var(--max))) / 2));
    scroll-behavior: auto;
    overscroll-behavior-x: contain;
  }

  .home-videos__caption {
    font-size: 14px;
  }

  .home-videos__play {
    width: 40px;
    height: 40px;
  }

  .video-modal__close {
    top: 8px;
    right: 8px;
  }

  .home-about {
    padding: 40px 0 36px;
  }

  .home-about__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .home-about__main {
    display: contents;
  }

  .home-about__title {
    order: 1;
    font-size: var(--fs-h2);
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .home-about__title-break {
    display: block;
  }

  .home-about__title-sub {
    margin-top: 8px;
    font-size: var(--fs-h3);
    line-height: 1.35;
    color: var(--muted);
    text-wrap: balance;
  }

  .home-about__video {
    order: 2;
    margin-top: 4px;
  }

  .home-about__video::before {
    width: 56px;
    height: 40px;
    margin: -20px 0 0 -28px;
  }

  .home-about__facts {
    order: 3;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 8px;
  }

  .home-about__fact,
  .home-about__fact:first-child,
  .home-about__fact:nth-child(2n),
  .home-about__fact:nth-child(n + 3) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    margin: 0;
    padding: 14px 12px 16px;
    border: 0;
    background: #fff;
    box-shadow: 0 1px 0 rgba(21, 47, 112, 0.06);
  }

  .home-about__fact-num {
    margin-top: 0;
    font-size: 26px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .home-about__fact-small {
    font-size: 14px;
  }

  .home-about__fact-num--stack {
    line-height: 1.15;
    white-space: normal;
  }

  .home-about__fact:first-child .home-about__fact-num {
    font-size: 20px;
    font-weight: 800;
  }

  .home-about__fact:first-child .home-about__fact-small {
    display: inline;
    font-size: inherit;
    line-height: inherit;
  }

  .home-about__fact:last-child .home-about__fact-small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .home-about__fact-text {
    max-width: none;
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.3;
    color: var(--muted);
    text-wrap: balance;
  }

  .home-about__descr {
    order: 4;
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.45;
  }

  .home-about__descr p {
    margin-bottom: 0.7em;
  }
}

@media (max-width: 575px) {
  .hero {
    padding: 70px 0 120px;
  }

  .hero h1 {
    font-size: var(--fs-h1);
  }

  .lead-block {
    padding: 24px 16px;
  }
}

@media (max-width: 359px) {
  .home-about__title {
    font-size: var(--fs-h2);
  }

  .home-about__fact-num {
    font-size: 22px;
  }

  .home-about__fact:first-child .home-about__fact-num {
    font-size: 17px;
  }
}

.info-page img {
  max-width: 100%;
  height: auto;
}

.info-page--article .info-page__lead {
  max-width: none;
}

.info-page--article h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.2;
  margin: 28px 0 24px;
}

.info-page__meta {
  margin: -8px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.media-grid,
.review-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 8px;
}

.media-card {
  background: var(--nav-bg);
}

.media-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.media-card__img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.media-card__img--empty {
  background: #ddd;
}

.media-card__body {
  padding: 16px 18px 20px;
}

.media-card__meta {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.media-card__title {
  margin: 0 0 8px;
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.25;
}

.media-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.project-page h1 {
  margin: 20px 0 28px;
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px 48px;
  align-items: start;
}

.project-gallery {
  min-width: 0;
}

.project-stage {
  position: relative;
  background: #e8eef8;
}

.project-stage__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.project-stage__viewport::-webkit-scrollbar {
  display: none;
}

.project-stage__track {
  display: flex;
}

.project-stage__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.project-stage__open {
  display: block;
  width: 100%;
  height: 416px;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e8eef8;
  cursor: zoom-in;
}

.project-page .project-stage__open img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.project-stage .home-gallery__nav:disabled {
  opacity: 0;
  pointer-events: none;
}

.project-stage__counter {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 5;
  margin: 0;
  padding: 4px 10px;
  background: rgba(4, 18, 51, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
}

.project-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.project-thumbs__item {
  flex: 0 0 96px;
  width: 96px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  background: #e8eef8;
  cursor: pointer;
}

.project-thumbs__item.is-active {
  border-color: var(--navy);
}

.project-thumbs__item:hover {
  border-color: var(--blue);
}

.project-page .project-thumbs__item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.project-aside {
  min-width: 0;
}

.project-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-specs li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.project-page .project-specs img,
.project-page .project-desc__label img {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.project-specs p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.project-specs span {
  color: var(--muted);
}

.project-specs b {
  font-weight: 700;
  color: var(--ink);
}

.project-desc {
  margin-top: 22px;
}

.project-desc__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.project-page .project-desc__label img {
  margin-top: 0;
}

.project-desc__text {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.4;
}

.project-aside__cta {
  margin-top: 28px;
}

.project-share {
  margin-top: 32px;
}

.project-body {
  margin-top: 36px;
}

.project-related {
  margin-top: 56px;
}

.project-page > .home-offer-kp {
  margin-top: 48px;
}

.project-related__title {
  margin: 0 0 24px;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.25;
}

.project-related__title b {
  font-weight: 800;
}

@media (max-width: 991px) {
  .project-page h1 {
    font-size: var(--fs-h1);
    margin: 16px 0 20px;
  }

  .project-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-stage__open {
    height: 240px;
  }

  .project-page .project-stage__open img {
    height: 100%;
  }

  .project-thumbs__item {
    flex-basis: 80px;
    width: 80px;
    height: 56px;
  }

  .project-related {
    margin-top: 40px;
  }

  .project-related__title {
    font-size: var(--fs-h2);
  }

  .project-aside__cta .btn {
    width: 100%;
  }
}

.review-card {
  background: var(--nav-bg);
  padding: 12px;
}

.review-card__photo {
  display: block;
  width: 100%;
  height: auto;
}

.review-card__meta {
  padding: 12px 4px 4px;
}

.review-card__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 8px;
}

.review-card__name {
  font-weight: 600;
}

.review-card__rating {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 991px) {
  .media-grid,
  .review-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .media-grid,
  .review-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.info-page .media-card__img,
.info-page .gallery-grid img {
  height: 200px;
  object-fit: cover;
}

.info-page .gallery-grid img {
  height: 220px;
}

.blog-page .info-page__lead {
  max-width: 46rem;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}

.blog-tags__item {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid rgba(21, 47, 112, 0.18);
  background: #fff;
  color: var(--ink);
  font: 700 14px/1.3 var(--font);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-tags__item:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.blog-tags__item.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 8px;
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(21, 47, 112, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  border-color: rgba(53, 97, 206, 0.35);
  box-shadow: 0 16px 40px rgba(4, 18, 51, 0.08);
}

.blog-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8eef8;
}

.info-page .blog-card__media img,
.blog-card__media-empty {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__media-empty {
  background: linear-gradient(135deg, #d9e3f7, #f0f4fb 50%, #c9d6ef);
}

.blog-card__plachka {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  max-width: calc(100% - 28px);
  padding: 6px 12px;
  background: #fff;
  color: var(--ink);
  font: 700 12px/1.2 var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(4, 18, 51, 0.12);
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
}

.blog-card__date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.blog-card__title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.blog-card__title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__title a:hover {
  color: var(--blue);
}

.blog-card__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.blog-card__more:hover {
  color: var(--blue-hover);
}

@media (prefers-reduced-motion: reduce) {
  .blog-card:hover .blog-card__media img {
    transform: none;
  }
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 575px) {
  .blog-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -16px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .blog-tags__item {
    flex-shrink: 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.home-projects {
  padding: 72px 0 64px;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(53, 97, 206, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 48%);
}

.home-projects__head {
  margin-bottom: 28px;
}

.home-head-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 10px;
}

.home-head-eyebrow > .home-projects__eyebrow,
.home-head-eyebrow > .home-reviews__eyebrow,
.home-head-eyebrow > .home-articles__eyebrow {
  margin-bottom: 0;
}

.home-reviews__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 12px;
}

.home-reviews__title-row > .home-reviews__title {
  margin-bottom: 0;
  min-width: 0;
}

.home-head-all {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.home-head-all:hover,
.home-head-all:focus-visible {
  color: var(--blue-hover);
}

.home-projects__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.home-projects__title {
  margin: 0 0 12px;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.home-projects__title b {
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.home-projects__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: var(--muted);
}

.home-projects__quiz {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-projects__quiz img {
  flex-shrink: 0;
}

.projects-board__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.projects-board__filter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(21, 47, 112, 0.18);
  background: #fff;
  color: var(--ink);
  font: 700 14px/1.3 var(--font);
  letter-spacing: -0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.projects-board__filter:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.projects-board__filter.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.projects-board__filter:active {
  transform: translateY(1px);
}

.projects-board__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.projects-board__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(21, 47, 112, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.projects-board__card:hover {
  border-color: rgba(53, 97, 206, 0.35);
  box-shadow: 0 16px 40px rgba(4, 18, 51, 0.08);
}

.projects-board__card:has(.projects-board__name-link:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.projects-board__card.is-hidden {
  display: none;
}

.projects-board__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 180px;
  background: #e8eef8;
}

.projects-board__media img,
.projects-board__media-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.projects-board__card:hover .projects-board__media img {
  transform: scale(1.04);
}

.projects-board__media-empty {
  background:
    linear-gradient(135deg, #d9e3f7, #f0f4fb 50%, #c9d6ef);
}

.projects-board__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(4, 18, 51, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.projects-board__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 16px;
}

.projects-board__name {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h2.projects-board__name {
  font-size: var(--fs-h2);
}

h3.projects-board__name {
  font-size: var(--fs-h3);
}

.projects-board__name-link {
  color: inherit;
  text-decoration: none;
}

.projects-board__name-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.projects-board__name-link:hover {
  color: var(--blue);
}

.projects-board__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.projects-board__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.projects-board__facts img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.projects-board__facts p {
  margin: 0;
  min-width: 0;
  font-size: 15px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.projects-board__facts span {
  color: var(--muted);
  font-weight: 500;
}

.projects-board__facts b {
  font-weight: 700;
  color: var(--ink);
}

.projects-board__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.projects-board__actions {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.35fr);
  gap: 8px;
  margin-top: auto;
}

.projects-board__more,
.projects-board__cta {
  width: 100%;
  min-height: 44px;
  padding: 4px 10px;
  font: 700 13px/1.3 var(--font);
  letter-spacing: -0.02em;
  gap: 6px;
}

.projects-board__more {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
  box-shadow: none;
  pointer-events: none;
}

.projects-board__more-icon {
  display: none;
}

.projects-board__more-icon svg {
  display: block;
}

.projects-board__card:hover .projects-board__more,
.projects-board__card:has(.projects-board__name-link:focus-visible) .projects-board__more {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.projects-board__cta {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.projects-board__cta img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.projects-board__empty {
  margin: 8px 0 0;
  color: var(--muted);
}

.projects-board__card.projects-board__card--more,
.home-articles__card.home-articles__card--more,
.home-reviews__card.home-reviews__card--more {
  display: none;
}

.projects-board__more-title,
.home-articles__more-title,
.home-reviews__more-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.projects-board__more-text,
.home-articles__more-text,
.home-reviews__more-text {
  font-size: 15px;
  line-height: 1.4;
  opacity: 0.78;
}

.projects-board__more-arrow,
.home-articles__more-arrow,
.home-reviews__more-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: auto;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
}

.projects-board__more-arrow svg,
.home-articles__more-arrow svg,
.home-reviews__more-arrow svg {
  display: block;
  transform: rotate(180deg);
}

.projects-board__scroll-hint,
.home-videos__scroll-hint,
.home-articles__scroll-hint,
.home-reviews__scroll-hint,
.home-gallery__scroll-hint,
.photo-modal__scroll-hint {
  display: none;
  margin: 0 0 14px;
}

.projects-board__scroll-track,
.home-videos__scroll-track,
.home-articles__scroll-track,
.home-reviews__scroll-track,
.home-gallery__scroll-track,
.photo-modal__scroll-track {
  position: relative;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.projects-board__scroll-track::before,
.home-videos__scroll-track::before,
.home-articles__scroll-track::before,
.home-reviews__scroll-track::before,
.home-gallery__scroll-track::before,
.photo-modal__scroll-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(21, 47, 112, 0.16);
  pointer-events: none;
}

.home-videos__scroll-track::before,
.photo-modal__scroll-track::before {
  background: rgba(255, 255, 255, 0.28);
}

.projects-board__scroll-track:active,
.home-videos__scroll-track:active,
.home-articles__scroll-track:active,
.home-reviews__scroll-track:active,
.home-gallery__scroll-track:active,
.photo-modal__scroll-track:active {
  cursor: grabbing;
}

.projects-board__scroll-thumb,
.home-videos__scroll-thumb,
.home-articles__scroll-thumb,
.home-reviews__scroll-thumb,
.home-gallery__scroll-thumb,
.photo-modal__scroll-thumb {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 28%;
  height: 2px;
  border-radius: 0;
  background: var(--blue);
  pointer-events: none;
}

.home-videos__scroll-thumb,
.photo-modal__scroll-thumb {
  background: #fff;
}

.projects-board__scroll-label,
.home-videos__scroll-label,
.home-articles__scroll-label,
.home-reviews__scroll-label,
.home-gallery__scroll-label,
.photo-modal__scroll-label {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  color: var(--blue);
  font: 700 12px/1.3 var(--font);
  letter-spacing: -0.02em;
  text-transform: none;
  pointer-events: none;
  white-space: nowrap;
}

.home-videos__scroll-label,
.photo-modal__scroll-label {
  color: rgba(255, 255, 255, 0.92);
}

.projects-page .projects-board {
  margin-top: 8px;
}

.pager {
  margin-top: 28px;
}

.pager__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pager__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(21, 47, 112, 0.18);
  background: #fff;
  color: var(--ink);
  font: 700 14px/1 var(--font);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

a.pager__link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pager__link.is-current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.pager__link--prev,
.pager__link--next {
  min-width: auto;
}

@media (max-width: 991px) {
  .home-projects {
    padding: 56px 0 48px;
  }

  .home-projects__title {
    font-size: var(--fs-h2);
  }

  .projects-board__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .projects-board__media {
    max-height: 160px;
  }
}

@media (max-width: 767px) {
  .home-projects {
    padding: 44px 0 40px;
  }

  .home-projects__title {
    font-size: var(--fs-h2);
  }

  .home-projects__lead {
    font-size: 15px;
  }

  .home-projects__quiz {
    width: 100%;
    justify-content: center;
  }

  .projects-board__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -15px;
    padding-inline: 15px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .projects-board__filters::-webkit-scrollbar {
    display: none;
  }

  .projects-board__filter {
    flex: 0 0 auto;
    padding: 9px 14px;
    font-size: 13px;
  }

  .projects-board__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .projects-board__media {
    max-height: 200px;
  }

  .projects-board__name {
    font-size: 18px;
  }

  .projects-board__facts span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .projects-board__actions {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .projects-board__cta {
    order: 1;
  }

  .projects-board__more {
    order: 2;
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  .projects-board__more-label {
    display: none;
  }

  .projects-board__more-icon {
    display: flex;
  }

  .projects-board--slider .projects-board__scroll-hint:not([hidden]) {
    display: block;
  }

  .projects-board--slider .projects-board__grid {
    display: flex;
    align-items: stretch;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-inline: -15px;
    padding: 2px 15px 6px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 15px;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .projects-board--slider .projects-board__grid::-webkit-scrollbar {
    display: none;
  }

  .projects-board--slider .projects-board__grid:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
  }

  .projects-board--slider .projects-board__card {
    flex: 0 0 calc(100% - 48px);
    scroll-snap-align: start;
  }
}

.home-offer-kp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(640px 260px at 88% 20%, rgba(186, 6, 35, 0.2), transparent 62%),
    linear-gradient(145deg, #06143a 0%, #041233 55%, #0a1f52 100%);
}

.home-offer-kp__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.home-offer-kp__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.72;
}

.home-offer-kp__glow {
  position: absolute;
  left: -6%;
  bottom: -20%;
  z-index: -1;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 97, 206, 0.28), transparent 68%);
  pointer-events: none;
}

.home-offer-kp__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 36px 48px;
  align-items: center;
}

.home-offer-kp__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.home-offer-kp__title {
  margin: 0;
  max-width: 16em;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #fff;
}

.home-offer-kp__title b {
  font-weight: 800;
}

.home-offer-kp__lead {
  max-width: 34rem;
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.home-offer-kp__actions {
  margin-top: 28px;
}

.home-offer-kp__cta {
  gap: 12px;
  min-height: 56px;
  padding: 8px 28px;
  box-shadow: 0 10px 28px rgba(186, 6, 35, 0.28);
  transition: background-color 0.2s, border-color 0.2s, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-offer-kp__cta img {
  display: block;
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.home-offer-kp__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(186, 6, 35, 0.36);
}

.home-offer-kp__cta:active {
  transform: translateY(0);
}

.home-offer-kp__visual {
  position: relative;
  justify-self: end;
}

.home-offer-kp__visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% -4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  filter: blur(10px);
}

.home-offer-kp__doc {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4));
  animation: home-offer-kp-float 6.5s ease-in-out infinite;
}

@keyframes home-offer-kp-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.home-people {
  padding: 88px 0;
  background: #fff;
}

.home-people__title {
  margin: 0 0 28px;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.home-people__title b {
  font-weight: 800;
}

.home-people__media {
  margin: 0 0 8px;
  overflow: hidden;
  background: #e8eef8;
}

.home-people__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1139 / 320;
  object-fit: cover;
  object-position: center;
}

.home-people__lines {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(21, 47, 112, 0.12);
}

.home-people__line {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(21, 47, 112, 0.12);
}

.home-people__num {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.home-people__line p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
}

.home-people__line b {
  font-weight: 700;
}

.home-advantages {
  padding: 88px 0 96px;
  background:
    radial-gradient(720px 280px at 100% 0%, rgba(53, 97, 206, 0.12), transparent 60%),
    linear-gradient(180deg, #f5f8ff 0%, #eef3fc 100%);
}

.home-advantages__head {
  max-width: 36rem;
  margin-bottom: 40px;
}

.home-advantages__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.home-advantages__heading {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.home-advantages__rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-advantages__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-advantages__shot {
  position: relative;
  overflow: hidden;
  background: #d7e0f2;
  aspect-ratio: 4 / 3;
}

.home-advantages__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-advantages__panel:hover .home-advantages__shot img {
  transform: scale(1.04);
}

.home-advantages__index {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(4, 18, 51, 0.45);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.home-advantages__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 0 0;
}

.home-advantages__tag {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.home-advantages__title {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.home-advantages__points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.home-advantages__points li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}

.home-advantages__points li:first-child {
  margin-top: 0;
}

.home-advantages__points img {
  width: 12px;
  height: 9px;
  margin-top: 6px;
}

.home-advantages__footer {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.home-advantages__cta {
  gap: 10px;
  min-height: 52px;
  padding: 8px 28px;
  box-shadow: 0 10px 24px rgba(186, 6, 35, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-advantages__cta img {
  display: block;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.home-advantages__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(186, 6, 35, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .home-offer-kp__doc,
  .home-offer-kp__cta,
  .home-advantages__cta,
  .home-advantages__shot img {
    animation: none;
    transition: none;
  }

  .home-offer-kp__cta:hover,
  .home-advantages__cta:hover,
  .home-advantages__panel:hover .home-advantages__shot img {
    transform: none;
  }
}

@media (max-width: 1199px) {
  .home-offer-kp {
    padding: 60px 0;
  }

  .home-offer-kp__inner {
    gap: 28px 32px;
  }

  .home-offer-kp__visual {
    width: min(100%, 340px);
  }

  .home-people,
  .home-advantages {
    padding: 72px 0;
  }

  .home-advantages__rail {
    gap: 16px;
  }

  .home-advantages__title {
    font-size: var(--fs-h3);
  }
}

@media (max-width: 991px) {
  .home-offer-kp__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-offer-kp__visual {
    justify-self: center;
    order: -1;
    width: min(100%, 320px);
  }

  .home-people__line {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .home-people__line p {
    font-size: 16px;
  }

  .home-advantages__rail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-advantages__shot {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  .home-offer-kp {
    padding: 48px 0;
  }

  .home-offer-kp__lead {
    font-size: 15px;
  }

  .home-offer-kp__actions {
    margin-top: 22px;
  }

  .home-offer-kp__cta {
    width: 100%;
    justify-content: center;
  }

  .home-offer-kp__visual {
    width: min(100%, 280px);
  }

  .home-people,
  .home-advantages {
    padding: 52px 0;
  }

  .home-people__title {
    margin-bottom: 20px;
    white-space: normal;
  }

  .home-people__line p {
    font-size: 15px;
  }

  .home-advantages__head {
    margin-bottom: 28px;
  }

  .home-advantages__footer {
    margin-top: 28px;
  }

  .home-advantages__cta {
    width: 100%;
    justify-content: center;
  }
}

.home-skel {
  padding: 24px 0 56px;
}

.home-skel__item {
  padding: 8px 0;
}

.home-skel__box {
  padding: 22px 24px;
  border: 1px dashed rgba(21, 47, 112, 0.35);
  background: var(--nav-bg);
}

.home-skel__item:nth-child(even) .home-skel__box {
  background: #fff;
}

.home-skel__num {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.home-skel__title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--ink);
}

.home-skel__name {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.home-skel__text {
  max-width: 46rem;
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 767px) {
  .home-skel__title {
    font-size: var(--fs-h2);
  }
}

.home-clients {
  padding: 80px 0 36px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(53, 97, 206, 0.07), transparent 55%),
    #fff;
}

.home-clients__head {
  margin-bottom: 28px;
}

.home-clients__eyebrow,
.home-reviews__eyebrow,
.home-visit__eyebrow,
.home-faq__eyebrow,
.home-articles__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.home-clients__title,
.home-reviews__title,
.home-faq__title,
.home-articles__title {
  margin: 0 0 12px;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.home-clients__title b,
.home-reviews__title b,
.home-faq__title b,
.home-articles__title b {
  font-weight: 800;
}

.home-clients__lead,
.home-reviews__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 17px;
  line-height: 1.45;
  color: var(--muted);
}

.home-clients__marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-clients__track {
  display: flex;
  gap: 16px;
  padding: 8px 15px 24px;
  width: max-content;
}

.home-clients__marquee.is-animated .home-clients__track {
  animation: home-clients-marquee 42s linear infinite;
}

.home-clients__marquee.is-animated:hover .home-clients__track,
.home-clients__marquee.is-animated:focus-within .home-clients__track {
  animation-play-state: paused;
}

@keyframes home-clients-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-clients__card {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 220px;
  width: 220px;
  height: 120px;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid rgba(21, 47, 112, 0.1);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

div.home-clients__card {
  cursor: default;
}

.home-clients__card:hover,
.home-clients__card:focus-visible {
  border-color: rgba(53, 97, 206, 0.4);
  box-shadow: 0 14px 32px rgba(4, 18, 51, 0.08);
  transform: translateY(-2px);
}

.home-clients__card img {
  display: block;
  max-width: 100%;
  max-height: 84px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.home-clients__fallback {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.home-reviews {
  padding: 56px 0 72px;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(53, 97, 206, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 55%);
}

.home-reviews__head {
  margin-bottom: 28px;
}

.home-articles__head {
  margin-bottom: 28px;
}

.home-reviews__controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.home-reviews__nav {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(21, 47, 112, 0.18);
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-reviews__nav:hover {
  border-color: var(--blue);
  background: #eef3ff;
}

.home-reviews__nav img {
  display: block;
  width: 16px;
  height: 16px;
}

.home-reviews__nav--next img {
  transform: rotate(180deg);
}

.home-reviews__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, calc((100% - 36px) / 3));
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.home-reviews__rail::-webkit-scrollbar {
  display: none;
}

.home-reviews__rail:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.home-reviews__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(21, 47, 112, 0.1);
  scroll-snap-align: start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-reviews__card:hover {
  border-color: rgba(53, 97, 206, 0.35);
  box-shadow: 0 16px 40px rgba(4, 18, 51, 0.08);
}

.home-reviews__photo {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #e8eef8;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.home-reviews__photo img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: top center;
  transition: transform 0.45s ease;
}

.home-reviews__card:hover .home-reviews__photo img {
  transform: scale(1.04);
}

.home-reviews__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}

.home-reviews__stars {
  display: flex;
  gap: 3px;
}

.home-reviews__star {
  width: 12px;
  height: 12px;
  background: #d5dcea;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.home-reviews__star.is-on {
  background: #e2b007;
}

.home-reviews__name {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-reviews__city {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.home-reviews__text {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.letter-modal {
  width: min(560px, calc(100vw - 48px));
  max-width: min(560px, calc(100vw - 48px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}

.letter-modal::backdrop {
  background: rgba(2, 8, 24, 0.86);
  backdrop-filter: blur(4px);
}

.letter-modal__carousel {
  position: relative;
  overflow: visible;
  background: transparent;
}

.letter-modal__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent;
}

.letter-modal__slide img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 24px);
  object-fit: contain;
  background: transparent;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.home-visit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 0;
  color: #fff;
  background:
    radial-gradient(640px 260px at 88% 12%, rgba(186, 6, 35, 0.18), transparent 62%),
    linear-gradient(145deg, #06143a 0%, #041233 55%, #0a1f52 100%);
}

.home-visit__glow {
  position: absolute;
  left: -8%;
  top: -20%;
  z-index: -1;
  width: min(48vw, 460px);
  height: min(48vw, 460px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 97, 206, 0.28), transparent 68%);
  pointer-events: none;
}

.home-visit__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px 48px;
  align-items: start;
  padding-bottom: 48px;
}

.home-visit__eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.home-visit__title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #fff;
}

.home-visit__title b {
  font-weight: 800;
}

.home-visit__lead {
  max-width: 34rem;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.home-visit__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.home-visit__facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.home-visit__facts img {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.home-visit__facts span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.home-visit__facts a,
.home-visit__facts b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.home-visit__facts a:hover {
  color: #d6e2ff;
}

.home-visit__form .lead-block {
  display: block;
  margin: 0;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-visit__form .lead-block__copy p:first-child {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.home-visit__form .lead-block__copy p:last-child {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.home-visit__form .lead-form input,
.home-visit__form .lead-form textarea {
  background: #fff;
  border-color: transparent;
}

.home-visit__form .home-gallery__field input {
  background: #fff;
  border-color: rgba(21, 47, 112, 0.15);
  box-shadow: none;
}

.home-visit__form .lead-form__consent {
  color: rgba(255, 255, 255, 0.62);
}

.home-visit__form .lead-form__consent a {
  color: #fff;
}

.home-visit__map {
  position: relative;
  height: 360px;
  background: #0a1638;
}

.home-visit__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  filter: grayscale(0.15) saturate(0.9);
  pointer-events: none;
}

.home-visit__map.is-active iframe {
  pointer-events: auto;
}

.home-visit__map-cover {
  appearance: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  touch-action: pan-y;
}

.home-visit__map-cover span {
  opacity: 0;
  padding: 10px 16px;
  background: rgba(4, 18, 51, 0.82);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.home-visit__map-cover:hover,
.home-visit__map-cover:focus-visible {
  background: rgba(4, 18, 51, 0.18);
}

.home-visit__map-cover:hover span,
.home-visit__map-cover:focus-visible span {
  opacity: 1;
}

.home-visit__map.is-active .home-visit__map-cover {
  display: none;
}

.home-faq {
  padding: 80px 0;
  background: #fff;
}

.home-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
  gap: 40px 48px;
  align-items: start;
}

.home-faq__list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.home-faq__item {
  border: 1px solid rgba(21, 47, 112, 0.12);
  background: var(--nav-bg);
}

.home-faq__item[open] {
  background: #fff;
  border-color: rgba(53, 97, 206, 0.28);
}

.home-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.home-faq__item summary::-webkit-details-marker {
  display: none;
}

.home-faq__mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.home-faq__mark::before,
.home-faq__mark::after {
  content: "";
  position: absolute;
  background: var(--blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-faq__mark::before {
  top: 10px;
  left: 4px;
  width: 14px;
  height: 2px;
}

.home-faq__mark::after {
  top: 4px;
  left: 10px;
  width: 2px;
  height: 14px;
}

.home-faq__item[open] .home-faq__mark::after {
  opacity: 0;
  transform: rotate(90deg);
}

.home-faq__answer {
  padding: 0 18px 18px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.home-faq__aside {
  margin-top: 48px;
  padding: 0 24px 32px;
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
}

.home-faq__man {
  width: 159px;
  margin: -48px auto 8px;
}

.home-faq__man img {
  display: block;
  width: 159px;
  height: 159px;
  border-radius: 50%;
  object-fit: cover;
}

.home-faq__man-name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
}

.home-faq__man-job {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.62);
}

.home-faq__aside-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-faq__aside-note {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.home-faq__aside-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.home-faq__phone {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.home-faq__phone:hover {
  color: #d6e2ff;
}

.home-faq__cta {
  width: 100%;
}

.home-articles {
  padding: 24px 0 88px;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(53, 97, 206, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 48%);
}

.home-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-articles__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(21, 47, 112, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-articles__card:hover {
  border-color: rgba(53, 97, 206, 0.35);
  box-shadow: 0 16px 40px rgba(4, 18, 51, 0.08);
}

.home-articles__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8eef8;
}

.home-articles__media img,
.home-articles__media-empty {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-articles__card:hover .home-articles__media img {
  transform: scale(1.04);
}

.home-articles__media-empty {
  background: linear-gradient(135deg, #d9e3f7, #f0f4fb 50%, #c9d6ef);
}

.home-articles__plachka {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  max-width: calc(100% - 28px);
  padding: 6px 12px;
  background: #fff;
  color: var(--ink);
  font: 700 12px/1.2 var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(4, 18, 51, 0.12);
}

.home-articles__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 18px;
}

.home-articles__date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.home-articles__name {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.home-articles__name a:hover {
  color: var(--blue);
}

.home-articles__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-articles__more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.home-articles__more:hover {
  color: var(--blue-hover);
}

@media (prefers-reduced-motion: reduce) {
  .home-clients__marquee.is-animated .home-clients__track {
    animation: none;
  }

  .home-reviews__photo img,
  .home-articles__media img {
    transition: none;
  }
}

@media (max-width: 1199px) {
  .home-reviews__rail {
    grid-auto-columns: minmax(260px, calc((100% - 18px) / 2));
  }
}

@media (max-width: 991px) {
  .home-clients,
  .home-faq {
    padding: 64px 0 40px;
  }

  .home-reviews {
    padding: 40px 0 56px;
  }

  .home-visit__inner,
  .home-faq__grid,
  .home-articles__grid {
    grid-template-columns: 1fr;
  }

  .home-visit__facts {
    grid-template-columns: 1fr;
  }

  .home-reviews__title-row {
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .home-clients,
  .home-faq {
    padding: 48px 0 32px;
  }

  .home-reviews,
  .home-articles {
    padding-bottom: 56px;
  }

  .home-clients__lead,
  .home-reviews__lead {
    font-size: 15px;
  }

  .home-clients__card {
    flex-basis: 180px;
    width: 180px;
    height: 100px;
  }

  .home-reviews__rail {
    grid-auto-columns: minmax(240px, 86%);
  }

  .home-visit {
    padding-top: 48px;
  }

  .home-visit__form .lead-block {
    padding: 22px 16px;
  }

  .home-visit__map {
    height: 260px;
  }

  .home-reviews__controls {
    display: none;
  }

  .home-articles__scroll-hint:not([hidden]),
  .home-reviews__scroll-hint:not([hidden]) {
    display: block;
  }

  .home-articles__grid {
    display: flex;
    align-items: stretch;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-inline: -15px;
    padding: 2px 15px 6px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 15px;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .home-articles__grid::-webkit-scrollbar {
    display: none;
  }

  .home-articles__grid:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
  }

  .home-articles__card {
    flex: 0 0 calc(100% - 48px);
    scroll-snap-align: start;
  }

  .projects-board--slider .projects-board__card.projects-board__card--more,
  .home-articles__card.home-articles__card--more,
  .home-reviews__card.home-reviews__card--more {
    display: flex;
    flex: 0 0 calc(100% - 24px);
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 12px;
    padding: 28px 24px 24px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    border: 0;
    box-shadow: none;
  }

  .home-reviews__card.home-reviews__card--more {
    min-width: calc(100vw - 54px);
  }

  .projects-board--slider .projects-board__card.projects-board__card--more:hover,
  .home-articles__card.home-articles__card--more:hover,
  .home-reviews__card.home-reviews__card--more:hover {
    background: var(--navy-hero);
    border-color: transparent;
    box-shadow: none;
    color: #fff;
  }

  .home-articles__card--more:hover .home-articles__media img,
  .home-reviews__card--more:hover .home-reviews__photo img {
    transform: none;
  }
}

/* --- City select --- */

.city-modal {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(960px, calc(100vw - 24px));
  width: 100%;
  max-height: min(80vh, 720px);
  height: min(80vh, 720px);
}

.city-modal::backdrop {
  background: rgba(2, 8, 24, 0.82);
  backdrop-filter: blur(4px);
}

.city-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 28px 20px;
  background: #fff;
  color: var(--ink);
}

.city-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: rgba(4, 18, 51, 0.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.city-modal__close:hover {
  background: var(--accent);
}

.city-modal__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 16px;
  padding-right: 44px;
}

.city-modal__label {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.city-modal__search {
  flex: 1 1 200px;
  max-width: 280px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d5dbe8;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}

.city-modal__search:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}

.city-modal__list {
  flex: 1 1 auto;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px 0;
  min-height: 0;
}

.city-modal__col {
  flex: 0 0 25%;
  max-width: 25%;
  padding-right: 12px;
  margin-bottom: 12px;
}

.city-modal__char {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.city-modal__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.city-modal__pick {
  display: block;
  width: 100%;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.city-modal__pick:hover,
.city-modal__pick.is-active {
  color: var(--accent);
}

.city-modal__item[hidden],
.city-modal__col[hidden] {
  display: none;
}

.city-modal__empty {
  width: 100%;
  margin: 24px 0;
  font-size: 15px;
  color: var(--muted);
}

.city-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: min(280px, calc(100vw - 40px));
  padding: 14px 36px 14px 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(4, 18, 51, 0.22);
  border: 1px solid #e4e8f2;
}

.city-suggest[hidden] {
  display: none;
}

.city-suggest__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.city-suggest__close:hover {
  color: var(--accent);
}

.city-suggest__text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.35;
}

.city-suggest__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-suggest__yes,
.city-suggest__other {
  height: 34px;
  padding: 0 12px;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.city-suggest__yes {
  background: var(--accent);
  color: #fff;
}

.city-suggest__yes:hover {
  background: var(--accent-hover);
}

.city-suggest__other {
  background: transparent;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.city-suggest__other:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .city-modal__col {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (max-width: 560px) {
  .city-modal {
    max-height: min(88vh, 100%);
    height: min(88vh, 100%);
  }

  .city-modal__panel {
    padding: 22px 16px 16px;
  }

  .city-modal__col {
    flex-basis: 100%;
    max-width: 100%;
  }

  .city-suggest {
    left: 0;
    right: auto;
  }
}

/* ——— UI kit (/ui/) ——— */

.ui-kit {
  padding: 0 0 72px;
}

.ui-kit__intro {
  padding: 28px 0 8px;
}

.ui-kit__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.ui-kit__page-title {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ui-kit__lead {
  margin: 0 0 20px;
  max-width: 48rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.ui-kit__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 700;
}

.ui-kit__toc a {
  color: var(--blue);
  text-decoration: underline;
}

.ui-kit__block {
  margin: 0 0 28px;
}

.ui-kit__h {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.ui-kit__meta {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.ui-kit__meta code,
.ui-kit__notes code,
.ui-kit__tag code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.ui-kit__notes {
  margin: 0;
  padding: 16px 18px;
  list-style: disc;
  background: #fff8f0;
  border: 1px solid rgba(186, 6, 35, 0.18);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.ui-kit__notes li + li {
  margin-top: 8px;
}

.ui-kit__swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ui-kit__swatch {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}

.ui-kit__swatch code {
  color: var(--ink);
  font-size: 12px;
}

.ui-kit__swatch-chip {
  display: block;
  height: 44px;
  border: 1px solid rgba(21, 47, 112, 0.12);
}

.ui-kit__surfaces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.ui-kit__surface {
  min-width: 0;
  padding: 24px 20px 32px;
  border: 1px solid rgba(21, 47, 112, 0.12);
}

.ui-kit__surface--white {
  background: #fff;
  color: var(--ink);
}

.ui-kit__surface--blue {
  background: var(--navy-hero);
  color: #fff;
  border-color: transparent;
}

.ui-kit__surface-head {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(21, 47, 112, 0.12);
}

.ui-kit__surface--blue .ui-kit__surface-head {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.ui-kit__surface-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.ui-kit__surface-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.75;
}

.ui-kit__surface .ui-kit__h {
  color: inherit;
}

.ui-kit__surface--blue .ui-kit__meta,
.ui-kit__surface--blue .ui-kit__tag,
.ui-kit__surface--blue .ui-kit__icon-label,
.ui-kit__surface--blue .ui-kit__icon-size,
.ui-kit__surface--blue .info-page__lead,
.ui-kit__surface--blue .breadcrumbs__list {
  color: rgba(255, 255, 255, 0.72);
}

.ui-kit__surface--blue .prose a,
.ui-kit__surface--blue .lead-form__consent a,
.ui-kit__surface--blue .home-gallery__consent a {
  color: #9db7ff;
}

.ui-kit__surface--blue .home-gallery__title,
.ui-kit__surface--blue .home-about__title,
.ui-kit__surface--blue .home-projects__title,
.ui-kit__surface--blue .home-faq__title,
.ui-kit__surface--blue .prose,
.ui-kit__surface--blue .ui-kit__demo-info-h1,
.ui-kit__surface--blue .ui-kit__body {
  color: #fff;
}

.ui-kit__surface--blue .home-projects__title b {
  color: #ff6b7f;
}

.ui-kit__surface .ui-kit__block + .ui-kit__block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(21, 47, 112, 0.1);
}

.ui-kit__surface--blue .ui-kit__block + .ui-kit__block {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.ui-kit__sample {
  margin: 0 0 18px;
}

.ui-kit__sample--grow {
  flex: 1 1 100%;
}

.ui-kit__tag {
  display: block;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.ui-kit__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: flex-end;
  margin-bottom: 8px;
}

.ui-kit__row > .ui-kit__sample {
  margin-bottom: 12px;
}

.ui-kit__body {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.ui-kit__reset-title {
  text-align: left !important;
}

.ui-kit__demo-info-h1 {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-h1);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.ui-kit__hero-fake {
  padding: 20px;
  background: var(--navy-hero);
  color: #fff;
}

.ui-kit__surface--blue .ui-kit__hero-fake {
  background: rgba(0, 0, 0, 0.25);
}

.ui-kit__demo-hero-h1 {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: #fff;
}

.ui-kit__filters {
  margin-bottom: 0;
}

.ui-kit__pager {
  margin-top: 0;
}

.ui-kit__nav-fake {
  display: flex;
  background: var(--nav-bg);
}

.ui-kit__surface--blue .ui-kit__nav-fake {
  background: rgba(255, 255, 255, 0.08);
}

.ui-kit__city-btn {
  color: inherit;
}

.ui-kit__surface--white .ui-kit__city-btn {
  color: var(--navy);
}

.ui-kit__gallery-form {
  max-width: 100%;
  margin: 0;
}

.ui-kit__surface--blue .home-gallery__form {
  background: #fff;
  color: var(--ink);
}

.ui-kit__surface--blue .lead-form input,
.ui-kit__surface--blue .lead-form textarea {
  background: #fff;
  color: var(--ink);
}

.ui-kit__surface--blue .lead-form__consent {
  color: rgba(255, 255, 255, 0.8);
}

.ui-kit__surface--blue .head-contact__value,
.ui-kit__surface--blue .contact-item__value {
  color: #fff;
}

.ui-kit__surface--blue .head-contact__meta,
.ui-kit__surface--blue .contact-item__label {
  color: rgba(255, 255, 255, 0.65);
}

.ui-kit__surface--blue .head-contact::before,
.ui-kit__surface--blue .contact-item__icon {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.06);
}

.ui-kit__surface--blue .head-contact--phone::before,
.ui-kit__surface--blue .head-contact--mail::before,
.ui-kit__surface--blue .contact-item__icon img {
  filter: brightness(0) invert(1);
}

.ui-kit__surface--blue .btn.site-header__cta {
  margin-left: 0;
}

.ui-kit__surface .btn.site-header__cta {
  margin-left: 0;
}

.ui-kit__icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ui-kit__icons--soc {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.ui-kit__icon {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.ui-kit__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(21, 47, 112, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.ui-kit__icon-box--soc {
  width: 72px;
  height: 72px;
}

.ui-kit__surface--white .ui-kit__icon-box {
  background: #f7f9ff;
}

.ui-kit__icon-label {
  font-size: 10px;
  line-height: 1.3;
  word-break: break-all;
}

.ui-kit__icon-size {
  font-size: 10px;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 991px) {
  .ui-kit__surfaces {
    grid-template-columns: 1fr;
  }

  .ui-kit__demo-info-h1,
  .ui-kit__demo-hero-h1 {
    font-size: var(--fs-h1);
  }
}

/* ==========================================================================
   Radius redesign — скруглённые поверхности витрины
   ========================================================================== */

.btn {
  border-radius: var(--radius-md);
}

/* Шапка: ссылки и CTA снова flush в полосе — «пилюли» там ломали композицию */
.btn.site-header__cta {
  border-radius: 0;
  height: 62px;
  min-height: 62px;
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: none;
}

.site-header__nav-inner {
  align-items: stretch;
  min-height: 0;
}

.site-nav__link {
  height: 62px;
  min-height: 0;
  margin: 0;
  border-radius: 0;
}

.head-contact::before,
.contact-item__icon,
.head-contact__copied {
  border-radius: var(--radius-sm);
}

.home-stats__grid {
  border-radius: var(--radius-xl);
}

.home-videos__card,
.home-videos__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.home-videos__play {
  border-radius: var(--radius-pill);
}

.home-videos__nav,
.home-gallery__nav,
.home-reviews__nav {
  border-radius: var(--radius-pill);
}

.home-gallery__viewport {
  border-radius: var(--radius-xl);
}

.home-skel__box {
  border-radius: var(--radius-lg);
}

.home-advantages__shot {
  border-radius: var(--radius-lg);
}

.home-people__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.home-people__media img {
  border-radius: inherit;
}

.home-clients__card {
  border-radius: var(--radius-lg);
}

.home-faq__aside {
  border-radius: var(--radius-xl);
}

.video-modal__panel,
.home-gallery-modal__panel,
.city-modal__panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.letter-modal__carousel {
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.letter-modal__slide,
.letter-modal__slide img {
  background: transparent;
}

.photo-modal__slide img {
  border-radius: var(--radius-lg);
}

.video-modal__close,
.home-gallery-modal__close,
.letter-modal__close,
.photo-modal__close,
.city-modal__close,
.city-suggest__close {
  border-radius: 50%;
}

.home-gallery__photo,
.home-gallery__slide--lead {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.home-gallery__form,
.home-gallery__pdf {
  border-radius: var(--radius-lg);
}

.home-gallery__field input,
.lead-form input,
.lead-form textarea,
.city-modal__search {
  border-radius: var(--radius-md);
}

.home-about__facts {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.home-about__fact:first-child {
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.home-about__fact:last-child {
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.home-about__video {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.home-about__video::before {
  border-radius: var(--radius-md);
}

.faq__item,
.home-faq__item,
.lead-block {
  border-radius: var(--radius-lg);
}

.blog-tags__item,
.projects-board__filter,
.article-sections__item,
.pager__link,
.city-suggest__yes,
.city-suggest__other {
  border-radius: var(--radius-pill);
}

.blog-card,
.projects-board__card,
.home-articles__card,
.home-reviews__card,
.media-card,
.gallery-grid figure,
.gallery-grid img,
.media-card__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-card__plachka,
.home-articles__plachka {
  border-radius: var(--radius-sm);
}

.article-author {
  border-radius: var(--radius-lg);
}

.city-suggest {
  border-radius: var(--radius-lg);
}

.city-modal__pick {
  border-radius: var(--radius-xs);
}

.ui-kit__icon-box,
.ui-kit__swatch-chip,
.ui-kit__surface,
.ui-kit__tag {
  border-radius: var(--radius-md);
}

@media (max-width: 991px) {
  body.nav-open .site-nav__link {
    margin: 4px 12px;
    height: auto;
    min-height: 48px;
    border-radius: var(--radius-sm);
  }

  body.nav-open .btn.site-header__cta {
    border-radius: var(--radius-md);
    height: auto;
    min-height: 48px;
  }
}

/* Preview bar: admin review of draft blog posts */
.article-preview-bar {
  position: fixed;
  z-index: 1200;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 28, 40, 0.94);
  color: #fff;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

.article-preview-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.article-preview-bar__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.article-preview-bar__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.article-preview-bar__btn {
  min-height: 44px;
}

.article-preview-bar__edit {
  min-height: 44px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.article-preview-bar__edit:hover {
  border-color: #fff;
}

body.page-blog--preview {
  padding-bottom: 88px;
}

