@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  background-color: #000;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

.menu-toggle {
  display: none;
}

.burger {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99;
}

.mobile-menu.is-open {
  display: block;
}

.burger span,
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #fff;
  left: calc(50% - 12px);
  transition: 0.3s ease;
}

.burger span {
  top: 15px;
}

.burger span::before {
  top: -8px;
}

.burger span::after {
  top: 8px;
}

.menu-toggle:checked + .burger span {
  background-color: transparent;
}

.menu-toggle:checked + .burger span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle:checked + .burger span::after {
  top: 0;
  transform: rotate(-45deg);
}

.header {
  box-sizing: border-box;
  background-color: #000;
  z-index: 100;
  padding-top: 24px;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  padding-bottom: 8px;
}

.logo img {
  display: block;
  height: 30px;
  width: 39px;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__list {
  display: flex;
  gap: 23px;
  list-style: none;
}

.nav__link {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6a6a6c;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.nav__link:hover {
  color: #fff;
}

.burger {
  display: none;
}

.hero {
  padding-top: 118px;
}

.hero__layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__left {
  max-width: 900px;
}

.hero__title {
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__line {
  font-size: 64px;
  line-height: 1.2;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.hero__line--top {
  margin-left: 225px;
}

.hero__line--bottom {
  margin-left: 145px;
}

.hero__subtitle {
  margin-left: 24px;
  max-width: 190px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  color: #bdbec1;
}

.hero__right {
  display: flex;
  align-items: center;
}

.hero__cta {
  width: 398px;
  height: 56px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ebebec;
  background-color: #1b63e8;
  border: none;
  cursor: pointer;
}

.hero__cta:hover {
  background: #3474ec;
}

@keyframes hero-left-reveal {
  from {
    opacity: 0;
    transform: translateX(-48px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-right-reveal {
  from {
    opacity: 0;
    transform: translateX(48px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero__left {
  opacity: 0;
  animation: hero-left-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.15s;
}

.hero__right {
  opacity: 0;
  animation: hero-right-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.45s;
}

.hero__left,
.hero__right {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .hero__left,
  .hero__right {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.about {
  padding-top: 150px;
  padding-bottom: 150px;
}

.about__title {
  padding-top: 120px;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about__info {
  margin-bottom: 48px;
}

.about__subtitle {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #acacb1;
  margin-bottom: 64px;
}

.about__cards {
  display: flex;
  gap: 20px;
}

.about__card {
  flex: 1;
  padding: 110px 72px;
  border: 1px solid #ebebec;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about__card.animate {
  opacity: 1;
  transform: translateY(0);
}

.about__card--center {
  flex: 0 0 538px;
  width: 538px;
  padding: 110px 72px;
  background: #ebebec;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition-delay: 0.2s;
}

.about__card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  color: #ffffff;
}

.about__card-text {
  font-size: 16px;
  font-weight: 500;
  color: #acacb1;
}

.about__card--center .about__card-title {
  color: #000000;
}

.about__card--center .about__card-text {
  color: #323438;
}

.about__card:nth-child(3) {
  transition-delay: 0.4s;
}

.cases__title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 68px;
}

.cases {
  padding: 150px 0;
}

.cases__title {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.cases__title.animate {
  opacity: 1;
  transform: translateY(0);
}

.gallery {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: stretch;
  perspective: 1200px;
}

.central {
  display: grid;
  gap: 20px;
}

.first,
.last {
  height: 457px;
}

.central .top,
.central .bottom {
  height: 220px;
  flex: 1;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #0b0b0d;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  isolation: isolate;

  opacity: 0;
  --shift-x: 0px;
  --shift-y: 28px;
  --tilt: -1deg;
  --scale: 0.96;
  --anim-delay: 0ms;

  transform: translate3d(var(--shift-x), var(--shift-y), 0) scale(var(--scale))
    rotate(var(--tilt));
  filter: saturate(0.6) blur(1px);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.95s ease,
    filter 1s ease;
  transition-delay: var(--anim-delay);
  will-change: transform, opacity;
}

.case-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0) 45%
  );
  mix-blend-mode: screen;
  opacity: 0.35;
  transform: translateY(8%);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}

.case-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-tile[data-anim="left"] {
  --shift-x: -42px;
  --tilt: -1.5deg;
}

.case-tile[data-anim="right"] {
  --shift-x: 42px;
  --tilt: 1.5deg;
}

.case-tile[data-anim="up"] {
  --shift-y: 42px;
  --tilt: 0deg;
}

.case-tile.animate {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: saturate(1) blur(0);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.42);
}

.case-tile.animate::after {
  opacity: 0;
  transform: translateY(-6%);
}

.case-tile.animate img {
  transform: scale(1.02);
}

.case-tile:hover img {
  transform: scale(1.06);
}

@media (max-width: 1024px) {
  .case-tile {
    border-radius: 14px;
    --shift-x: 0px;
    --shift-y: 22px;
  }

  .case-tile:hover img {
    transform: scale(1.03);
  }
}

@media (max-width: 768px) {
  .case-tile {
    border-radius: 12px;
    --shift-x: 0px;
    --shift-y: 20px;
    --tilt: 0deg;
  }

  .case-tile[data-anim="left"],
  .case-tile[data-anim="right"],
  .case-tile[data-anim="up"] {
    --shift-x: 0px;
    --shift-y: 20px;
    --tilt: 0deg;
  }

  .central {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cases__title,
  .case-tile {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

.reviews {
  padding: 150px 0;
}

.reviews {
  padding: 150px 0;
}

.reviews__title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 96px;
}

.reviews__layout {
  display: grid;
  grid-template-columns: 1fr 327px;
  column-gap: 130px;
  align-items: start;
}

.reviews__content {
  display: grid;
  grid-template-columns: 396px 396px;
  column-gap: 130px;
  row-gap: 96px;
}

.reviews__item {
  max-width: 396px;
}

.reviews__item[data-column="left"]:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
}

.reviews__item[data-column="left"]:nth-of-type(2) {
  grid-column: 1;
  grid-row: 2;
}

.reviews__item[data-column="center"] {
  grid-column: 2;
  grid-row: 1;
}

.reviews__text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #ebebec;
  margin-bottom: 24px;
}

.reviews__author {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #acacb1;
  opacity: 0.6;
  font-style: normal;
}

.reviews__aside {
  display: flex;
  justify-content: flex-end;
}

.traits-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.traits-item {
  position: relative;
  height: 40px;
}

.traits-link {
  position: absolute;
  right: 0;
  top: 0;

  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;

  color: #ffffff;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.traits-link:hover,
.traits-link--active {
  opacity: 1;
}

.traits-item--top .traits-link,
.traits-item--offset-1 .traits-link,
.traits-item--offset-2 .traits-link,
.traits-item--bottom .traits-link {
  transform: translateX(0);
}

.traits-item--accent .traits-link {
  transform: translateX(-120px);
}

.traits-item--offset-3 .traits-link {
  transform: translateX(-70px);
}

.traits-item--offset-4 .traits-link {
  transform: translateX(-95px);
}

.business-promo {
  background-color: #000;
  padding: 60px 0;
  color: #fff;
  font-family: sans-serif;
}

.business-promo__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.business-promo__title {
  display: flex;
  flex-direction: column;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
  flex: 1;
  text-align: right;
}

.business-promo__line {
  display: block;
  font-weight: 700;
  font-size: 64px;
  white-space: nowrap;
}

.business-promo__line--end {
  align-self: flex-end;
}

.business-promo__line--start {
  align-self: flex-start;
  margin-right: auto;
  margin-left: 89px;
}

.business-promo__line[data-animate],
.business-promo__action[data-animate],
.hero__cta--business[data-animate] {
  --bp-x: 0px;
  --bp-y: 22px;
  --anim-delay: var(--anim-delay, 0ms);

  opacity: 0;
  transform: translate3d(var(--bp-x), var(--bp-y), 0);
  filter: blur(8px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
  transition-delay: var(--anim-delay);
  will-change: transform, opacity;
}

.business-promo__line[data-anim="left"] {
  --bp-x: -32px;
}

.business-promo__line[data-anim="right"] {
  --bp-x: 32px;
}

.business-promo__line[data-anim="up"],
.business-promo__action[data-anim="up"],
.hero__cta--business[data-anim="up"] {
  --bp-y: 28px;
}

.business-promo__line.animate,
.business-promo__action.animate,
.hero__cta--business.animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (max-width: 1024px) {
  .business-promo__line[data-animate],
  .business-promo__action[data-animate],
  .hero__cta--business[data-animate] {
    --bp-x: 0px;
    --bp-y: 18px;
  }
}

@media (max-width: 768px) {
  .business-promo__line[data-animate],
  .business-promo__action[data-animate],
  .hero__cta--business[data-animate] {
    --bp-y: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .business-promo__line[data-animate],
  .business-promo__action[data-animate],
  .hero__cta--business[data-animate] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

.footer {
  position: relative;
  padding-top: 242px;
  padding-bottom: 24px;
}

.footer__top {
  display: flex;
  align-items: center;
  gap: 189px;
}

.footer__container {
  display: flex;
  column-gap: 89px;
}

.footer__form {
  width: 469px;
}

.footer__title {
  font-size: 64px;
  font-weight: 700;
}

.footer__subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #acacb1;
  margin: 0;
}

.footer__intro {
  display: flex;
  flex-direction: column;
  justify-content: center; /* вертикально по центру секції */
  align-items: center; /* горизонтально по центру */
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #bdbec1;
}

.form-group input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background-color: transparent;
  border: 1px solid #bdbec1;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.form-group input::placeholder {
  color: #bdbec1;
}

.form-group input:focus {
  color: #030303;
  background: #ebebec;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

input.form-input--light {
  font-weight: 500;
  background-color: #030303;
  border: 1px solid #ebebec;
}

input.form-input--light::placeholder {
  color: #ebebec;
  font-size: 16px;
  font-weight: 500;
}

.footer__button {
  width: 100%;
  height: 56px;
  background-color: #1b63e8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  border: none;
  cursor: pointer;
}

.footer__button:hover {
  background: #3474ec;
}

.footer__middle {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 104px;
  position: relative;
}

.footer__divider-full {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  width: 100vw;
  background: rgba(255, 255, 255, 0.12);
  margin: 104px 0 0 0;
}

.footer__divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  margin: 0;
}

.footer__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__info-title {
  padding-top: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
}

.footer__contact {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #fff;
  text-decoration: none;
}

.footer__socials {
  display: flex;
  gap: 16px;
  margin: 0;
  align-items: center;
  position: absolute;
  right: 32px;
  top: 50%;
}

.social-link img {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 52px;
  width: 100%;
  min-width: 100%;
}

.footer__policy {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer__copyright {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .footer__contact {
    color: #acacb1;
  }

  .hero {
    padding-top: 45px;
    padding-right: 0;
  }

  .hero__layout {
    display: flex;
    align-items: center;
    gap: 48px;
  }

  .hero__right {
    width: 100%;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__cta {
    width: 100%;
  }

  /* ABOUT */
  .about {
    padding: 140px 0;
  }

  .about__title {
    font-size: 32px;
  }

  .about__card {
    flex: 1 1 36%;
    padding: 50px 24px;
  }

  .about__card--center {
    flex: 1 1 28%;
    width: 100%;
  }

  /* cases */
  .gallery {
    gap: 14px;
  }

  .central {
    gap: 14px;
  }

  .first,
  .last {
    height: 360px;
  }

  .central .top,
  .central .bottom {
    height: 173px;
  }

  .reviews__layout {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 0;
    overflow: visible;
  }

  .reviews__content {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 48px;

    animation: none !important;
    transform: none !important;
    will-change: auto;
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 calc((100vw - 360px) / 2);

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .reviews__content::-webkit-scrollbar {
    display: none;
  }

  .reviews__item {
    flex: 0 0 360px;
    max-width: 360px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .reviews__aside {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .business-promo__body {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 40px;
  }

  .business-promo__title {
    text-align: right;
    max-width: 720px;
  }

  .business-promo__line {
    display: block;
    font-size: 48px;
    line-height: 1.15;
    white-space: normal;
    padding-bottom: 8px;
  }

  .business-promo__line--start {
    margin: -5px 0;
    transform: translateX(-50px);
  }

  .business-promo__action {
    margin-right: 48px;
  }

  .hero__cta--business {
    font-weight: 600;
    font-size: 14px;
    padding: 16px 8px;
    width: 348px;
    height: 53px;
  }

  .footer__intro {
    display: block;
    text-align: center;
  }

  .footer__title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
  }

  .footer__subtitle {
    padding-top: 8px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
  }

  .footer__contacts {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__info-title {
    font-size: 18px;
  }

  .footer__socials {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    margin: 0;
    padding-top: 32px;
    align-items: center;
    position: static;
    transform: none;
  }

  .social-link img {
    width: 32px;
    height: 32px;
  }

  .footer__container {
    display: flex;
    gap: 32px;
  }

  .footer__form {
    width: 399px;
  }

  .footer__bottom {
    display: flex;
    gap: 8px;
    flex-direction: column;
  }

  .footer__policy {
    color: #acacb1;
    font-size: 16px;
    order: 1;
  }

  .footer__copyright {
    color: #acacb1;
    font-size: 16px;
    order: 2;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .nav {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 220ms ease, visibility 0s linear 220ms;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition: opacity 220ms ease, visibility 0s linear 0s;
  }

  body.menu-open {
    overflow: hidden;
  }

  .mobile-menu__header {
    position: fixed;
    top: 24px;
    left: 24px;
    right: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 1002;
    pointer-events: none;
  }

  .mobile-menu__header img {
    height: 24px;
    width: auto;
    display: block;
    pointer-events: auto;
  }

  .mobile-menu__close {
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
  }

  .mobile-menu__close::before,
  .mobile-menu__close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 23px;
    height: 2px;
    background: #fff;
    transform-origin: center;
  }

  .mobile-menu__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-menu__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-menu__inner {
    position: relative;
    z-index: 1001;

    width: calc(100% - 48px);
    max-width: 327px;
    margin: 75px auto 0;

    background: #ebebec;
    color: #000;

    transform-origin: top center;
  }

  .mobile-menu__sections {
    padding: 24px;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.1;
    text-transform: uppercase;
  }

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

  .mobile-menu__list li {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ebebec;
  }

  .mobile-menu__link,
  .mobile-menu__link:visited {
    color: inherit;
    text-decoration: none;
  }

  .mobile-menu__link {
    width: 100%;
    display: flex;
    align-items: baseline;
    gap: 12px;

    padding: 22px 24px;
    box-sizing: border-box;

    background: #ebebec;
    color: #000;

    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
  }

  .mobile-menu__link span {
    font-weight: 600;
    font-size: 16px;
    opacity: 0.9;
  }

  .mobile-menu__link small {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.65;
    white-space: nowrap;
  }

  .mobile-menu__list li.is-active .mobile-menu__link,
  .mobile-menu__list li:hover .mobile-menu__link,
  .mobile-menu__link:focus-visible {
    background: #000;
    color: #ebebec;
    outline: none;
  }

  .mobile-menu__list li.is-active .mobile-menu__link small,
  .mobile-menu__list li:hover .mobile-menu__link small,
  .mobile-menu__link:focus-visible small {
    opacity: 1;
  }

  .mobile-menu.is-open {
    animation: mmOverlayIn 220ms ease-out both;
  }

  .mobile-menu.is-open .mobile-menu__inner {
    will-change: transform, opacity;
    animation: mmPanelIn 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .mobile-menu.is-open .mobile-menu__header img,
  .mobile-menu.is-open .mobile-menu__close {
    animation: mmFade 260ms ease both;
    animation-delay: 120ms;
  }

  .mobile-menu.is-open .mobile-menu__sections {
    will-change: transform, opacity;
    animation: mmFadeUp 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 140ms;
  }

  .mobile-menu.is-open .mobile-menu__list li {
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(14px);
    animation: mmItemIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .mobile-menu.is-open .mobile-menu__list li:nth-child(1) {
    animation-delay: 180ms;
  }

  .mobile-menu.is-open .mobile-menu__list li:nth-child(2) {
    animation-delay: 240ms;
  }

  .mobile-menu.is-open .mobile-menu__list li:nth-child(3) {
    animation-delay: 300ms;
  }

  .mobile-menu.is-open .mobile-menu__list li:nth-child(4) {
    animation-delay: 360ms;
  }

  @keyframes mmOverlayIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes mmPanelIn {
    from {
      opacity: 0;
      transform: translateY(18px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes mmFadeUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes mmItemIn {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes mmFade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu.is-open,
    .mobile-menu.is-open .mobile-menu__inner,
    .mobile-menu.is-open .mobile-menu__sections,
    .mobile-menu.is-open .mobile-menu__list li,
    .mobile-menu.is-open .mobile-menu__header img,
    .mobile-menu.is-open .mobile-menu__close {
      animation: none !important;
      transform: none !important;
      opacity: 1 !important;
      transition: none !important;
    }
  }

  .hero {
    padding-top: 45px;
  }

  .hero__title {
    margin: 0;
    font-weight: 700;
    font-size: 32px;
    position: relative;
    gap: 14px;
    padding-bottom: 120px;
  }

  .hero__layout {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  .hero__left {
    max-width: 100%;
  }

  .hero__line {
    font-size: 32px;
    line-height: 1.08;
  }

  .hero__line--top {
    margin-left: 60px;
  }

  .hero__line--bottom {
    margin-left: 60px;
  }

  .hero__line--main {
    display: block;
  }

  .hero__subtitle {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-left: 0;
    max-width: 190px;
    text-align: right;
    font-size: 12px;
    line-height: 1.5;
  }

  .hero__right {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-bottom: 40px;
  }

  .hero__cta {
    width: 100%;
    max-width: 327px;
    height: 53px;
    padding: 16px 8px;
    font-size: 18px;
  }

  .about {
    padding-top: 130px;
  }

  .about__title {
    font-size: 20px;
  }

  .about__subtitle {
    font-size: 12px;
  }

  .about__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .cases__title {
    font-size: 20px;
  }

  .gallery {
    flex-direction: column;
  }

  .central {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .reviews__aside {
    display: flex;
    width: 100%;
    justify-content: flex-end;
  }

  .traits-list {
    gap: 12px;
  }

  .traits-item {
    height: 32px;
  }

  .traits-link {
    font-size: 24px;
  }

  .traits-item--accent .traits-link {
    transform: translateX(-60px);
  }

  .traits-item--offset-3 .traits-link {
    transform: translateX(-35px);
  }

  .traits-item--offset-4 .traits-link {
    transform: translateX(-47px);
  }

  .business-promo {
    padding: 48px 0;
  }

  .business-promo__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .business-promo__title {
    order: 1;
    margin: 0;
    max-width: 100%;
  }

  .business-promo__action {
    order: 2;
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
  }

  .business-promo__line {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    padding-bottom: 8px;
    margin: 0;
    transform: none;
  }

  .business-promo__line--end:not(.business-promo__line--single) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }

  .business-promo__line--end:not(.business-promo__line--single)
    .business-promo__word {
    display: block;
    white-space: nowrap;
  }

  .business-promo__line--start {
    align-self: flex-start;
    text-align: left;
    white-space: nowrap;
    margin: 0;
    transform: none;
  }

  .business-promo__line--single {
    align-self: flex-end;
    text-align: right;
    white-space: nowrap;
    margin: 0;
    transform: none;
  }

  .hero__cta--business {
    width: 100%;
    max-width: 100%;
    height: 56px;
    font-size: 14px;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    gap: 56px;
  }

  .footer__top {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .footer__intro {
    order: 0;
    text-align: left;
    align-items: flex-start;
  }

  .footer__form {
    order: 1;
    width: 100%;
    max-width: none;
  }

  .footer__title {
    font-size: 24px;
    font-weight: 700;
  }

  .footer__subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #acacb1;
  }

  .contact-form {
    width: 100%;
    gap: 24px;
  }

  .form-group {
    width: 100%;
  }

  .contact-form input {
    width: 100%;
    box-sizing: border-box;
  }

  .footer__button {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding-top: 10px;
  }

  .footer__info {
    margin-top: 0;
  }
}

@media (max-width: 320px) {
  .mobile-menu__inner {
    width: calc(100% - 48px);
    max-width: 327px;
    margin: 75px auto 0;
    overflow-x: hidden;
  }

  .mobile-menu__list {
    overflow-x: hidden;
    width: 100%;
  }

  .mobile-menu__link {
    padding: 12px 12px;
    gap: 8px;
    font-size: 15px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .mobile-menu__link span {
    min-width: 32px;
    font-size: 15px;
    flex-shrink: 0;
  }

  .mobile-menu__link small {
    font-size: 12px;
    flex-shrink: 0;
  }

  .mobile-menu__inner {
    padding-bottom: 32px;
  }
}
