@font-face {
  font-family: "Involve_regular";
  src: url(../fonts/involve/Involve-Regular.woff2) format("woff2"),
  url(../fonts/involve/Involve-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Involve_medium";
  src: url(../fonts/involve/Involve-Medium.woff2) format("woff2"),
  url(../fonts/involve/Involve-Medium.woff) format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Unused now */
/* @font-face {
  font-family: "Prettywise";
  src: url(../fonts/prettywise/prettywise-light.woff2) format("woff2"),
  url(../fonts/prettywise/prettywise-light.woff) format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
} */

/**
  Нормализация блочной модели
 */
*,
*::before,
*::after {
  box-sizing: inherit;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure):where([class]) {
  margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  margin-left: 0;
  padding: 0;
  border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
  margin-block: 0;
}

/**
  Упрощаем работу с изображениями
 */
img {
  display: block;
  max-width: 100%;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html,
body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  box-sizing: border-box;
  height: 100%;
}

html {
  scroll-behavior: auto;
}

html:has(:target) {
  scroll-behavior: smooth;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  transition-property: fill, stroke;
}

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

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --color-dark: #1b1b1b;
  --color-light: #ffffff;
  --color-soft-light: #f5f5f7;
  --color-red: #a71f2d;
  --color-light-red: #d73a4a;
  --color-light-gray: #c4c4c4;
  --color-dark-alternativ: #131619;
  --color-gray: #787878;

  --border-radius: 60px;
  --border: 1px solid var(--color-light);

  h1 {
    font-family: "Involve_medium", sans-serif;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.1rem;
  }

  h2 {
    font-size: 2.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.09rem;
    text-transform: uppercase;
  }

  .text-24 {
    font-family: "Involve_regular", sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.06rem;
  }

  .text-18 {
    font-family: "Involve_regular", sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.045rem;
  }

  .text-14 {
    font-family: "Involve_regular", sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.035rem;
  }
}

body {
  background-color: var(--color-dark);
  overflow: scroll;
  font-family: "Involve_regular", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.035;
  height: 100%;
  margin: 0;
  padding: 0;
}

body > * {
  display: flex;
  flex-direction: column;
}

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

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1000;
}

.header__inner {
  padding-top: 40px;
  padding-bottom: 25px;
  display: flex;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
  align-items: center;
  background-color: transparent;
  position: fixed;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.header__inner.scrolled {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.header__logo {
  position: absolute;
  width: 8.2rem;
  left: 9vw;
  top: 50%;
  transform: translateY(-50%);
}

#logo_white,
#logo_red {
  transition: opacity 0.3s ease-in-out;
  position: absolute;
}

#logo_white {
  opacity: 1;
}

#logo_red {
  opacity: 0;
}

.scrolled #logo_white {
  opacity: 0;
}

.scrolled #logo_red {
  opacity: 1;
}

.header-main {
  background-color: transparent;
  margin-top: 0;
  padding-top: 0;
}

.header-main > .swiper {
  border-radius: 0 0 6vh 6vh;
}

.menu__list-link.scrolled-text-color {
  color: #1c1c1c;
}

.menu__list-link.scrolled-text-color:hover {
  color: var(--color-gray);
}

.menu__list {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.menu__links-item {
  color: var(--color-gray);
}

.menu__links {
  display: none;
}

.menu__list-link {
  color: var(--color-light);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  transition: color 0.3s ease-in-out;
}

.menu__list-link:hover {
  color: var(--color-light-gray);
}

/* Dropdown Menu Styles */
.menu__list-item--dropdown {
  position: relative;
}

.dropdown-arrow {
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
  font-size: 8px;
  transition: transform 0.3s ease;
}

.menu__list-item--dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 4px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.menu__list-item--dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
}

.header__burger-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  row-gap: 8px;
  background-color: transparent;
  border: none;
  color: var(--color-light);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.header__burger-button-line {
  border-radius: 50px;
  width: 2rem;
  height: 3px;
  background-color: currentColor;
}

.swiper__scroll__label {
  display: flex;
  pointer-events: none;
}

.header__slider {
  max-width: 100%;
  max-height: 100%;
  opacity: 0.7;
  aspect-ratio: 90/43.75;
}

.header__slider * {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__background {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
  border-radius: 0 0 3.75rem 3.75rem;
  aspect-ratio: 90/43.75;
  width: 100%;
  height: 100%;
}

.swiper-slide picture {
  width: 100%;
  height: 100%;
  display: block;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  position: absolute;
}

.scroll__label {
  z-index: 100;
  color: var(--color-light);
  display: flex;
  gap: 3.75rem;
  position: absolute;
  top: 82%;
  right: 17%;
  cursor: pointer;
}

.scroll__label-item {
  font-family: "Involve_regular", sans-serif;
  /*font-size: 0.875rem; <<<<< ПО МАКЕТУ */
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.035rem;

  /*opacity: 0.4; <<<< ПО МАКЕТУ*/
  opacity: 0.5;
  transition: opacity 0.8s ease, transform 0.8s ease;
  padding-bottom: 10px;
  pointer-events: auto;
}

.scroll__label-item:hover {
  transform: scale(110%);
  transition: opacity 0.1s ease-out;
  opacity: 0.75;
}

.scroll__label-item.active {
  transform: scale(110%);
  opacity: 1;
}

.scroll__label-item.active::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 1px;
  background-color: #fff;
  width: 0;
  transition: width 5s linear;
  animation: fillBar 5s linear forwards;
}

.scroll__label {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

.scroll__label-item {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

/* Keyframes for progress bar */
@keyframes fillBar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.main {
  flex-grow: 1;
}

.tenets__container {
  display: flex;
  flex-direction: column;
  color: var(--color-light);
  box-sizing: border-box;
  padding: 6.25rem 6.25rem 8.75rem 6.25rem;
}

.tenets__container.light {
  color: var(--color-dark);
  background-color: var(--color-light);
}

.tenets__item {
  border-radius: 1.25rem;
  border: 1px solid var(--color-gray);
  padding: 1.56rem 2.19rem 3.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  max-width: 36rem;
  min-height: 17.3rem;
  gap: 4.5rem;
}

.tenets__show-scroll {
  z-index: 100;
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(15rem);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.tenets__container.in-view .tenets__show-scroll {
  opacity: 1;
  transform: translateY(0);
}

.tenets__show__text-thirst {
  color: var(--color-light-gray);
  max-width: 10rem;
}

.tenets__show__text-second {
  max-width: 31.5rem;
}

.tenets__card {
  z-index: 200;
  display: flex;
  margin-top: 4rem;
  justify-content: center;
  gap: 1.15rem;
}

.tenets__card > * {
  flex: 1;
}

.tenets--title {
  color: var(--color-light-gray);
}

.tenets__text {
  color: #fff;

  /* Text_18 */
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.045rem;
}

/* rates block start */
.rate__container {
  height: 53.5rem;
  width: 100%;
  background-color: var(--color-soft-light);
  border-radius: 3.75rem;
  padding: 6.25rem;
}

.rate__offer {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3.75rem;
}

.offer__text {
  width: 23.8rem;
  color: var(--color-light-gray);
}

/* rate cards */
.rate__cards {
  overflow-x: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.rate__card {
  flex: 1;
  height: 31.25rem;
  border-radius: 3vh;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  min-width: 18rem;
}

.rate__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  /*width: 100%;*/
  /*height: 100%;*/
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  transition: filter 0.3s ease-in-out;
  width: 105%;
  height: 105%;
  transform: translate(-5px, -5px);
}

.rate__card:hover::before {
  filter: blur(5px) brightness(0.75);
}

.card__number {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  color: var(--color-light-gray);
  font-size: 24px;
  font-weight: 400;
  font-family: "Involve_regular", sans-serif;
  letter-spacing: -0.96px;
  line-height: normal;
  transition: transform 0.3s ease-in-out;
}

.rate__card:hover .card__number {
  transform: scale(2) translate(5px, 5px);
}

.card__text {
  color: white;
  margin-bottom: 2.5rem;
  margin-left: 1.25rem;
  transition: transform 0.3s ease-in-out;
}

.rate__card:hover .card__text {
  transform: translateY(-10px);
}

.card__title {
  position: relative;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: -2.5rem;
  letter-spacing: -0.96px;
  transition: transform 0.3s ease-in-out, margin 0.3s ease-in-out;
}

.card__description {
  font-size: 14px;
  letter-spacing: -0.56px;
  max-width: 16rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.rate__card:hover .card__description {
  opacity: 1;
  transform: translateY(0);
}

.rate__card:hover .card__title {
  margin-bottom: 0.5rem;
}

.rate__card--1 {
  background-image: url('../images/index/rate_1_desktop.webp');
  background-image: -webkit-image-set(
          url('../images/index/rate_1_desktop.webp') 1x
  );
  background-image: image-set(
          url('../images/index/rate_1_desktop.webp') 1x
  );
}

.rate__card--2 {
  background-image: url('../images/index/rate_2_desktop.webp');
  background-image: -webkit-image-set(
          url('../images/index/rate_2_desktop.webp') 1x
  );
  background-image: image-set(
          url('../images/index/rate_2_desktop.webp') 1x
  );
}

.rate__card--3 {
  background-image: url('../images/index/rate_3_desktop.webp');
  background-image: -webkit-image-set(
          url('../images/index/rate_3_desktop.webp') 1x
  );
  background-image: image-set(
          url('../images/index/rate_3_desktop.webp') 1x
  );
}

/* Tablet backgrounds */
@media screen and (max-width: 900px) {
  .rate__card--1 {
    background-image: url('../images/index/rate_1_tablet.webp');
    background-image: -webkit-image-set(
            url('../images/index/rate_1_tablet.webp') 1x,
            url('../images/index/rate_1_tablet.webp') 2x
    );
    background-image: image-set(
            url('../images/index/rate_1_tablet.webp') 1x,
            url('../images/index/rate_1_tablet.webp') 2x
    );
  }

  .rate__card--2 {
    background-image: url('../images/index/rate_2_tablet.webp');
    background-image: -webkit-image-set(
            url('../images/index/rate_2_tablet.webp') 1x,
            url('../images/index/rate_2_tablet.webp') 2x
    );
    background-image: image-set(
            url('../images/index/rate_2_tablet.webp') 1x,
            url('../images/index/rate_2_tablet.webp') 2x
    );
  }

  .rate__card--3 {
    background-image: url('../images/index/rate_3_tablet.webp');
    background-image: -webkit-image-set(
            url('../images/index/rate_3_tablet.webp') 1x,
            url('../images/index/rate_3_tablet.webp') 2x
    );
    background-image: image-set(
            url('../images/index/rate_3_tablet.webp') 1x,
            url('../images/index/rate_3_tablet.webp') 2x
    );
  }
}

/* Mobile backgrounds */
@media screen and (max-width: 655px) {
  .rate__card--1 {
    background-image: url('../images/index/rate_1_mobile.webp');
    background-image: -webkit-image-set(
            url('../images/index/rate_1_mobile.webp') 1x,
            url('../images/index/rate_1_mobile.webp') 2x
    );
    background-image: image-set(
            url('../images/index/rate_1_mobile.webp') 1x,
            url('../images/index/rate_1_mobile.webp') 2x
    );
  }

  .rate__card--2 {
    background-image: url('../images/index/rate_2_mobile.webp');
    background-image: -webkit-image-set(
            url('../images/index/rate_2_mobile.webp') 1x,
            url('../images/index/rate_2_mobile.webp') 2x
    );
    background-image: image-set(
            url('../images/index/rate_2_mobile.webp') 1x,
            url('../images/index/rate_2_mobile.webp') 2x
    );
  }

  .rate__card--3 {
    background-image: url('../images/index/rate_3_mobile.webp');
    background-image: -webkit-image-set(
            url('../images/index/rate_3_mobile.webp') 1x,
            url('../images/index/rate_3_mobile.webp') 2x
    );
    background-image: image-set(
            url('../images/index/rate_3_mobile.webp') 1x,
            url('../images/index/rate_3_mobile.webp') 2x
    );
  }
}

/* rate cards end */

.project__container {
  margin: 0 6.944vw 0 6.944vw;
  height: 50rem;
  color: var(--color-dark);
  padding: 6.25rem 0 11.25rem 0;
  overflow: hidden;
}

.project_description {
  position: relative;
  top: 3.13rem;
  display: flex;
  row-gap: 41rem;
  justify-content: space-between;
}

.project__title {
  color: var(--color-gray);
  max-width: 11.3rem;
}

.project__text {
  color: var(--color-light-gray);
  max-width: 15rem;
  margin-left: 30rem;
}

.project__show-up {
  z-index: -100;
  opacity: 0;
  transform: translateY(20rem);
  transition: opacity 1s ease-out, transform 1s ease-out;
  display: flex;
  margin-left: 36%;
}

.project__show_text {
  color: var(--color-light);
  max-width: 17rem;
}

.project__container.in-view .project__show-up {
  opacity: 1;
  transform: translateY(0);
}

.project__scroll {
  background-color: var(--color-dark);
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 1rem 1rem 2.5rem 1rem;
  white-space: nowrap;
  justify-content: space-evenly;
  scroll-behavior: smooth;
}

.project__scroll__box,
.project__scroll__card {
  z-index: 200;
  background-color: var(--color-dark);
  flex: 0 0 auto;
  max-width: 18.43rem;
  scroll-snap-align: start;
}

.project__scroll::-webkit-scrollbar {
  height: 10px;
  border-radius: 10px;
}

.project__scroll::-webkit-scrollbar-track {
  background: var(--color-gray);
  border-radius: 10px;
  margin: 0 25.5rem;
}

.project__scroll::-webkit-scrollbar-thumb {
  background: var(--color-light-gray);
  border-radius: 10px;
  width: 6.5rem; /* НЕ работает, но используем трюк */
  min-width: 6.5rem;
  max-width: 6.5rem;
}

.project__scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.project__scroll__box {
  margin-top: 5.3rem;
  width: 18.4375rem;
  height: 14.0625rem;
  border-radius: 2vh;
  border: 1px solid var(--color-light);
}

.project__scroll__box-title {
  margin-left: 1.25rem;
  margin-top: 1.27rem;
  color: var(--color-light-gray);
}

.project__scroll__box-head {
  margin-top: 3.34rem;
  margin-left: 1.25rem;
  color: var(--color-light);
  text-transform: uppercase;
}

.project__scroll__box-p {
  max-width: 15.9rem;
  margin-left: 1.25rem;
  white-space: normal;
  word-wrap: break-word;
  color: var(--color-light);
}

.project__scroll__card {
  margin-top: 2rem;
  position: relative;
}

.project__card-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.arrow-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 41px;
  height: 41px;
  background-image: url('data:image/svg+xml;utf8,<svg width="41" height="41" viewBox="0 0 41 41" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="20.5" cy="20.5" r="20.5" fill="white"/><path d="M13 19.25C12.5858 19.25 12.25 19.5858 12.25 20C12.25 20.4142 12.5858 20.75 13 20.75L13 19.25ZM29.5303 20.5303C29.8232 20.2374 29.8232 19.7626 29.5303 19.4697L24.7574 14.6967C24.4645 14.4038 23.9896 14.4038 23.6967 14.6967C23.4038 14.9896 23.4038 15.4645 23.6967 15.7574L27.9393 20L23.6967 24.2426C23.4038 24.5355 23.4038 25.0104 23.6967 25.3033C23.9896 25.5962 24.4645 25.5962 24.7574 25.3033L29.5303 20.5303ZM13 20.75L29 20.75L29 19.25L13 19.25L13 20.75Z" fill="%231D1D1F"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease-in-out;
  z-index: 2;
}

.project__card-link:hover .arrow-icon {
  transform: rotate(-15deg);
  background-image: url('data:image/svg+xml;utf8,<svg width="41" height="41" viewBox="0 0 41 41" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="20.5" cy="20.5" r="20.5" fill="%23a71f2d"/><path d="M13 19.25C12.5858 19.25 12.25 19.5858 12.25 20C12.25 20.4142 12.5858 20.75 13 20.75L13 19.25ZM29.5303 20.5303C29.8232 20.2374 29.8232 19.7626 29.5303 19.4697L24.7574 14.6967C24.4645 14.4038 23.9896 14.4038 23.6967 14.6967C23.4038 14.9896 23.4038 15.4645 23.6967 15.7574L27.9393 20L23.6967 24.2426C23.4038 24.5355 23.4038 25.0104 23.6967 25.3033C23.9896 25.5962 24.4645 25.5962 24.7574 25.3033L29.5303 20.5303ZM13 20.75L29 20.75L29 19.25L13 19.25L13 20.75Z" fill="white"/></svg>');
}

.project__scroll-img {
  width: 18.4rem;
  height: 17.31rem;
  border-radius: 2vh;
}

footer {
  display: flex;
  flex-direction: column;
  background-color: var(--color-soft-light);
  padding: 6.25rem 6.25rem 3.3rem 6.25rem;
  color: var(--color-light-gray);
  border-radius: 3.75rem 3.75rem 0 0;
  margin-bottom: 0;
}

.footer__photo {
  margin-left: auto;
  margin-right: auto;
  width: unset;
  margin-bottom: 6.4rem;
}

.contact-section {
  font-family: "Involve_regular", sans-serif;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #f5f5f5;
  align-items: flex-end;
  margin-bottom: 4.5rem;
}

.contact__form-text {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.035rem;
  max-width: 19.5vw;
}

.contact__form-inputs {
  display: flex;
  gap: 1.125rem;
}

.contact__form-input-item {
  border: none;
  border-bottom: 1px solid var(--color-gray);
  background: transparent;
  padding: 5px;
  font-size: 0.87em;
  max-width: 10vw;
}

.contact__form-submit {
  width: 11.1vw;
  min-width: 7rem;
  height: 3rem;
  background-color: var(--color-red);
  color: var(--color-light);
  border: none;
  border-radius: 6.25rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  padding: 0.75rem 0;
  text-align: center;
}

.contact__form-submit:hover {
  background-color: var(--color-light-red);
}

.contact__form-heading {
  font-family: "Involve_medium", sans-serif;
  color: #1b1b1b;
  text-align: right;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.09rem;
  text-transform: uppercase;
  min-width: 20rem;
  transform: translateY(10px);
  text-indent: -0.5rem;
}

#contact_heading_upper {
  display: none;
}

.contact__form-heading::after {
  content: " ";
  white-space: pre-line;
  margin: -0.3rem;
}

/* FOOTER SOCIAL ROW */
.social-row {
  margin: 0;
  color: var(--color-gray);
  font-family: "Involve_regular", sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.035rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.social-row-part {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

/*АДАПТИВ*/
@media (min-width: 2400px) {
  .tenets__item {
    gap: 7rem;
    padding-bottom: 2.75rem;
  }
}

@media (min-width: 1800px) {
  .contact__form-text {
    max-width: 26rem;
    font-size: 1.25rem;
  }

  .contact__form-input-item {
    width: 15rem;
  }
}

@media (max-width: 1440px) {
  .tenets__card {
    gap: 1.15rem;
  }
}

@media (max-width: 1300px) {
  .card__text {
    margin-left: 0;
  }
}

@media (max-width: 1150px) {
  footer {
    padding: 6.25rem 2rem 3.3rem 2rem;
  }

  .contact__form-submit {
    width: 10rem;
    min-width: 7rem;
  }

  .project__container {
    padding-top: 3.25rem;
  }

  .project__show-up {
    margin-left: 29%;
  }

  .project__text {
    margin-left: 27rem;
  }
}

@media (max-width: 1000px) {
  .contact-section {
    flex-wrap: wrap;
  }

  .contact__form-input-item {
    max-width: unset;
  }

  .contact__form-heading {
    order: -1;
    width: 100%;
    text-align: right;
    margin-bottom: 20px;
  }

  .contact__form-text {
    width: 14.5rem;
    max-width: unset;
  }
}

@media (max-width: 900px) {
  .social-row {
    font-size: 0.75rem;
    letter-spacing: -0.03rem;
  }

  footer {
    padding: 4.25rem 2rem 3.3rem 2rem;
  }
}

@media (max-width: 850px) {
  .contact__form-input-item {
    max-width: 8.5rem;
  }

  .header__logo {
    left: 3rem;
  }

  .project__text {
    margin-left: 24rem;
  }
}

@media (max-width: 767px) {
  /* MENU AND BURGER */
  .menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-dark);
    padding: 50px 20px;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
  }

  /* Show menu when active */
  .menu.active {
    transform: translateY(0);
  }

  /* Hide original inline menu */
  .menu__list {
    flex-direction: column;
    gap: 1.88rem;
    align-items: center;
    margin-top: 105px;
  }

  .menu__list-link {
    font-size: 20px;
    color: white;
  }

  .menu__list-link.scrolled-text-color {
    color: white;
  }

  .menu__list-link.scrolled-text-color:hover {
    color: white;
  }

  /* Overlay: Hidden by default */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darker background */
    pointer-events: all;
    transition: background 0.3s ease-in-out;
    z-index: -1;
  }

  /* Make burger button visible */
  .header__burger-button {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 8px;
    background-color: transparent;
    border: none;
    color: var(--color-light);
    cursor: pointer;
    position: absolute;
    right: 32px;
    top: 25px;
  }

  .header__inner.scrolled span.header__burger-button-line {
    background-color: var(--color-dark);
  }

  .header__burger-button-line {
    width: 30px;
    height: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .header__burger-button.active .header__burger-button-line {
    background-color: var(--color-light) !important;
  }

  .header__burger-button.active .header__burger-button-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .header__burger-button.active .header__burger-button-line:nth-child(2) {
    opacity: 0;
  }

  .header__burger-button.active .header__burger-button-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .dropdown-arrow {
    display: none;
  }

  .menu__list-item--dropdown:hover .dropdown-menu {
    /* To disable hover action */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
  }

  .main {
    overflow: hidden;
  }

  .header__burger-button {
    position: absolute;
    display: inline-flex;
    left: auto;
    right: 32px;
    top: 25px;
  }

  .menu__links {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 60px 0 0 0;
  }

  .menu__links-item a {
    text-decoration: none;
    color: var(--color-gray);
    font-size: 16px;
    transition: color 0.3s ease-in-out;
  }

  .header__logo {
    width: 20%;
  }

  .header__background {
    aspect-ratio: 48/31.3;
  }

  .scroll__label {
    top: 82%;
    right: 10%;
  }

  .scroll__label-item {
    font-size: 0.875rem;
  }

  .tenets__show-scroll {
    gap: 10rem;
  }

  .tenets__show__text-thirst {
    width: 10rem;
  }

  .tenets__container {
    padding: 4.25rem 2rem 5rem 2rem;
  }

  .tenets__show__text-second {
    font-size: 0.875rem;
    letter-spacing: -0.035rem;
    max-width: 22rem;
  }

  .tenets__card {
    margin-top: 3.2rem;
  }

  .tenets__text {
    font-size: 0.75rem;
    letter-spacing: -0.03rem;
  }

  .tenets__item {
    padding: 1.56rem 1.19rem 2.5rem 0.7rem;
  }

  .rate__container {
    padding: 6.25rem 2rem 6.25rem 2rem;
  }

  .rate__offer {
    padding-inline: 2rem;
  }

  .rate_text {
    font-size: 1.75rem;
    letter-spacing: -0.07rem;
    text-transform: uppercase;
  }

  .rate__cards {
    /*padding-left: 2rem;*/
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 10px;
  }

  .rate__card {
    scroll-snap-align: center;
  }

  .project__container {
    height: 43rem;
    margin: 0;
    padding: 5vh 3vw 5vh 3vw;
  }

  .project_description {
    row-gap: 20rem;
    max-height: 3rem;
  }

  .project__text.text-14 {
    max-width: 11rem;
    margin-left: 0;
    font-size: 0.75rem;
    letter-spacing: -0.03rem;
  }

  .project__show-up {
    margin-left: 0;
    justify-content: center;
  }

  .project__show_text {
    font-size: 1.75rem !important;
    letter-spacing: -0.07rem !important;
    text-transform: uppercase;
  }

  .footer__photo {
    margin-bottom: 2.5rem;
  }

  .contact__form-text {
    width: 12rem;
    font-size: 0.75rem;
  }

  .contact__form-submit {
    width: unset;
  }

  .contact__form-input-item {
    width: 40%;
  }

  .contact-section {
    margin-bottom: 1.375rem;
  }

  footer {
    border-radius: 3.75rem 3.75rem 0 0;
    padding: 3.75rem 2rem 3.75rem 2rem;
  }
}

@media (max-width: 730px) {
  .footer__photo {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 700px) {
  .social-row {
    font-size: 0.7rem;
  }

  .social-row-part {
    gap: 0.6rem;
  }

  .project_description {
    transform: scale(0.8);
  }

  .project__show_text {
    transform: scale(0.6);
  }
}

@media (max-width: 670px) {
  .contact__form-text {
    width: 7.5rem;
  }

  .contact__form-inputs {
    width: 50%;
  }

  .rate__card::before {
    filter: blur(5px) brightness(0.75);
  }

  .card__number {
    transform: scale(1.5) translate(5px, 5px);
  }

  .card__title {
    font-size: 1.75rem;
  }

  .card__text {
    transform: translateY(-10px);
    margin-bottom: 0.5rem;
    margin-left: 0;
  }

  .card__description {
    opacity: 1;
  }

  .card__title {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 2.25rem 1rem 2.25rem 1rem;
  }

  .social-row {
    letter-spacing: -0.03rem;
    font-size: 0.75rem;
    gap: 1.87rem;
    flex-direction: column-reverse;
  }

  .social-row-part {
    justify-content: space-between;
  }

  .scroll__label {
    top: 78%;
    right: 12%;
  }
}

@media (max-width: 627px) {
  .project_description {
    transform: scale(0.85);
    row-gap: 20rem;
  }

  .project__show_text {
    transform: scale(0.75);
    margin-top: 60px;
  }
}

@media (max-width: 600px) {
  #contact_heading_upper {
    display: block;
  }

  #contact_heading_lower {
    display: none;
  }

  .contact-section {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2.4rem;
  }

  .first-row-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-bottom: 1.9rem;
    align-items: flex-end;
  }

  .contact__form-text {
    width: unset;
    font-size: 1rem;
  }

  .contact__form-heading {
    text-align: right;
    font-size: 1.5rem;
    margin-bottom: 0;
    min-width: 5rem;
    text-wrap: nowrap;
  }

  .contact__form-inputs {
    width: 100%;
    order: 2;
  }

  .contact__form-submit {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    height: 3rem;
    width: 100%;
    order: 3;
  }

  .contact__form-input-item {
    font-size: 1.125rem;
    max-width: unset;
    width: 48%;
  }
}

@media (max-width: 520px) {
  .header__background {
    aspect-ratio: 23.44/21.25;
    border-radius: 0 0 1.875rem 1.875rem;
  }

  .menu__links-item a {
    font-size: 0.75rem;
  }

  .scroll__label {
    top: 81%;
    right: 12%;
  }

  .scroll__label-item {
    font-size: 0.75rem;
  }

  .header__burger-button {
    transform: scale(0.9);
    right: 1rem;
  }

  .header__logo {
    left: 1rem;
  }
}

@media (max-width: 490px) {
  .contact__form-text {
    font-size: 0.75rem;
    color: var(--color-gray);
  }

  .contact__form-heading {
    font-size: 1rem;
    transform: none;
  }

  .contact__form-input-item {
    font-size: 1.125rem;
  }

  footer {
    border-radius: 1.875rem 1.875rem 0 0;
    padding: 2.5rem 1.5rem 1.5rem 1rem;
  }

  .tenets__container {
    padding: 4.25rem 1rem 5rem 1rem;
  }
}

@media (max-width: 430px) {
  .tenets__show-scroll {
    flex-direction: column;
    gap: 20px;
  }

  .tenets__card {
    flex-direction: column;
    margin-top: 2.5rem;
  }

  .tenets__text {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.04rem;
  }

  .tenets__item {
    width: 100%;
    padding: 1.25rem 1.75rem 1.25rem 1.25rem;
    min-height: 14.3rem;
  }

  .rate_text {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
  }

  .rate__offer {
    padding-inline: 5%;
    flex-direction: column-reverse;
    margin-bottom: 20px;
  }

  .offer__text {
    width: auto;
  }

  .rate__container {
    padding: 2.5rem 0.75rem 2.5rem 0.75rem;
    height: 1178px;
    border-radius: 30px 30px 30px 30px;
  }

  .rate__cards {
    /*padding-left: 15px;*/
    flex-direction: column;
    height: 900px;
  }

  .rate__card:hover .card__number {
    transform: scale(1.5) translate(5px, 5px);
  }

  .project__container {
    padding-top: 0;
    height: auto;
  }

  .project__show-up {
    position: relative;
    top: 6px;
    /*right: 5%;*/
    margin-left: 10px;
    justify-content: start;
    transform: unset;
  }

  .project__show_text {
    margin-top: 40px;
    position: relative;
    bottom: 53px;
    transform: unset;
  }

  .project__text {
    margin-top: 10px;
    min-width: 254px;
  }

  .project_description {
    margin-top: 30px;
    margin-bottom: 40px;
    margin-left: 10px;
    flex-direction: column;
    gap: 70px;
    transform: unset;
    top: 30px;
    /*left: 10px;*/
  }

  .project__scroll {
    padding: 0;
    flex-direction: column;
    gap: 0;
  }

  .project__scroll__box {
    margin-top: 20px;
    min-width: 100%;
    width: 100%;
  }

  .project__scroll-img {
    width: 100%;
    height: 212px;
    object-fit: cover;
  }

  .project__scroll__card {
    min-width: 100%;
    margin-top: 8px;
    position: relative;
  }

  .footer__photo {
    margin-bottom: 1.9rem;
  }

  .menu__links {
    flex-direction: column;
    gap: 10px;
  }

  .menu__links-item a {
    font-size: 0.9rem;
  }

  .scroll__label {
    gap: 2.75rem;
  }
}

@media (max-width: 400px) {
  .social-row {
    font-size: 0.65rem;
  }

  .social-row-part {
    gap: 0.2rem;
  }
}

@media (max-width: 380px) {
  h2.tiles__block-text {
    font-size: 1.8rem;
  }

  .tiles__block-header {
    gap: 0.25rem;
  }
}

@media (max-width: 370px) {
  .header__logo {
    width: 30%;
  }

  .tenets__item {
    width: 100%;
  }

  .rate__cards {
    /*padding-left: 10px;*/
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 330px) {
  .social-row {
    gap: 1rem;
  }

  .social-row-part {
    font-size: 0.6rem;
  }

  footer {
    padding-bottom: 1rem;
  }
}

@media (max-width: 310px) {
  .social-row-part {
    flex-direction: column;
    font-size: 1rem;
  }

  .social-row {
    margin-left: auto;
    margin-right: auto;
    gap: 1.5rem;
    text-align: center;
    line-height: 1.75rem;
  }
}

/* Preloader styles */
#preloader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1B1B1B;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1);
}
#preloader.hide {
  opacity: 0;
  pointer-events: none;
}
.spinner-box {
  width: 90px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

@media (max-width: 768px) {
  .spinner-box {
    width: 56px;
    height: 56px;
  }
  .pulse-bubble {
    width: 9px;
    height: 9px;
  }
  .pulse-container {
    gap: 16px;
  }
}

.pulse-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.pulse-bubble {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #A71F2D;
}
.pulse-bubble-1 {
  animation: pulse .4s ease 0s infinite alternate;
}
.pulse-bubble-2 {
  animation: pulse .4s ease .2s infinite alternate;
}
.pulse-bubble-3 {
  animation: pulse .4s ease .4s infinite alternate;
}
@keyframes pulse {
  100% {
    transform: scale(1.5);
    opacity: 0.6;
  }
}
