* {
  box-sizing: border-box;
}

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

p {
  margin: 0;
  padding: 0;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}
.wpcf7-submit,
button {
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: white;
  border-radius: 30px;
  padding: 20px;
  font-weight: 800;
  font-size: 16px;
  line-height: 100%;
  transition: all 0.4s;
}

.wpcf7-submit.white,
button.white {
  background: white;
  color: black;
}
.wpcf7-submit.white:hover,
button.white:hover {
  background: #ffffffcc;
}
button.blur {
  background: #ffffff1f;
  backdrop-filter: blur(30px);
}
button.blur:hover {
  background: #ffffffcc;
  color: black;
}
button.red {
  background: #ff0000;
  color: white;
}
button.red:hover {
  color: #ff0000;
  background: none;
  border: 1px solid #ff0000;
}

.body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 30px;
  font-family: Inter, sans-serif;
  font-size: 20px;
  line-height: 30px;
  background-color: #141414;
  scroll-behavior: smooth;
}

.content {
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
  scrollbar-width: none;
}

.title_xl {
  font-weight: 700;
  font-size: 70px;
  line-height: 70px;
  letter-spacing: -2px;
}

.title_l,
title_mid {
  font-weight: 700;
  font-size: 60px;
  line-height: 65px;
  letter-spacing: -1px;
}

.title_m {
  font-weight: 700;
  font-size: 45px;
  line-height: 50px;
  letter-spacing: -1px;
}

.title_m {
  font-weight: 700;
  font-size: 50px;
  line-height: 50px;
  letter-spacing: -1px;
}

.title_s {
  font-weight: 700;
  font-size: 34px;
  line-height: 100%;
  letter-spacing: -1px;
}

/*  ---------  HEADER  ---------  */
.header {
  background: white;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 50px;
  z-index: 5000;
  border-radius: 20px;
  width: 1340px;
  font-size: 16px;
  font-weight: bolder;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header.header-dark {
  background-color: black;
  border: 1px solid #ffffff4d;
  color: white;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo__first {
  background-color: black;
  border-radius: 10px;
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  font-weight: 700;
}

.logo__second {
  font-size: 40px;
  line-height: 50px;
  color: black;
  font-weight: 700;
}
.header-dark .logo__first {
  background-color: white;
  color: black;
}

.header-dark .logo__second {
  color: white;
}

.relative {
  position: relative;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__select {
  position: relative;
  width: 180px;
  font-weight: 700;
}

.header__select-selected {
  background-color: #0000000d;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 20px;
  padding: 10px 16px;
}

.select-active .header__select-selected,
.header__select-selected:hover {
  border: 1px solid #0000004d;
}

.header__select-items {
  display: none;
  position: absolute;
  overflow: hidden;
  top: 75px;
  left: 0;
  right: 0;
  width: 180px;
  background: #ffffff4d;
  backdrop-filter: blur(30px);
  border: none;
  padding: 10px;
  border-radius: 16px;
  z-index: 100;
}
.header__select-items div {
  padding: 10px 15px;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

.header__select-items div:hover {
  background-color: #ffffff4d;
}

.select-active .header__select-items {
  display: block;
}

.select-active .header__select-selected:after {
  transform: translateY(-50%) rotate(180deg);
}

.header-dark .header__select-selected {
  background: #ffffff0d;
  color: white;
}

.header-dark .header__select-selected:after {
  background: url("./assets/icons/arrow-dn-w.svg") center;
}

.header__select:focus {
  outline: none;
  border: 1px solid #0000004d;
}

.header__select-selected:after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  background: url("./assets/icons/arrow-dn.svg") center;
  width: 20px;
  height: 20px;
}

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

.header__item {
  border-radius: 30px;
  padding: 10px 16px;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header__item.active,
.header__item:hover {
  background-color: #0000000d;
}

.header-dark .header__item:hover,
.header-dark .header__item.active {
  background: #ffffff0d;
  backdrop-filter: blur(30px);
}

.header__button {
  cursor: pointer;
  font-weight: 800;
  background-color: black;
  border: 1px solid black;
  color: white;
  padding: 16px;
  border-radius: 30px;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header__button:hover {
  background-color: transparent;
  border: 1px solid black;
  color: black;
}

.header-dark .header__button {
  background-color: white;
  border: 1px solid white;
  color: black;
}

.header-dark .header__button:hover {
  background: #ffffffcc;
  border: 1px solid #ffffffcc;
}

.header__burger {
  cursor: pointer;
  background-image: url("./assets/icons/menu.svg");
  width: 40px;
  height: 40px;
}

.header__burger:hover {
  background-image: url("./assets/icons/menu-g.svg");
}

.header-dark .header__burger {
  background-image: url("./assets/icons/menu-w.svg");
}
.header-dark .header__burger.active {
  background: url("./assets/icons/close-w.svg") center no-repeat;
  position: relative;
}

.header__burger-menu {
  display: none;
}
.header__burger-menu.active {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  background: black;
  border: 1px solid #ffffff4d;
  border-radius: 20px;
  position: fixed;
  top: 30px;
  width: 100%;
  max-width: 1380px;
  height: 760px;
  z-index: 1000;
  padding: 148px 20px 44px 44px;
  pointer-events: auto;
}
.header__burger-menu.active .wrap {
  display: flex;
  width: 100%;
  position: relative;
  justify-content: space-between;
}

.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 620px;
  width: 470px;
  border-radius: 20px;
  color: white;
  overflow: hidden;
  margin-top: -30px;
}
.banner__image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.banner__dots {
  margin-top: 30px;
}
.banner__teaser {
  margin-top: 30px;
  color: #ffffff80;
}
.banner__title {
  font-weight: 700;
  font-size: 55px;
  line-height: 45px;
  width: 390px;
  text-align: center;
  margin-top: 10px;
}
.banner__amount {
  font-weight: 700;
  font-size: 120px;
  line-height: 45px;
  margin-top: 140px;
}
.banner__description {
  font-weight: 500;
  text-align: center;
  width: 200px;
  margin-top: 48px;
}
.banner__button {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
}
.manager {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}
.manager__photo {
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  height: 70px;
  width: 70px;
}
.manager__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.manager__name {
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 10px;
}
.manager__description {
  color: #ffffff80;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  width: 330px;
}
.manager__contact {
  display: flex;
  gap: 10px;
  margin-left: 30px;
}
.manager__contact button {
  position: relative;
  display: flex;
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-position: center;
}
.manager__contact button::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 100px;
  background: #ffffff1a;
}
.mail {
  background-image: url("./assets/icons/mail.svg");
}
.phone {
  background-image: url("./assets/icons/phone.svg");
}
/*  ---------  END OF HEADER  ---------  */

.main-slider {
  position: relative;
  width: 1380px;
  height: 780px;
}

.main-slider__slide {
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 220px 40px 40px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  overflow: hidden;
}

.main-slider__slide.active {
  opacity: 1;
}

.inner .main-slider__slide {
  padding-top: 286px;
  border: 1px solid #ffffff4f;
  background: rgba(20, 20, 20, 0.45);
}
.inner.contacts .main-slider__slide {
  padding-top: 258px;
}

.slide__image {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  height: 100%;
  width: 100%;
  z-index: -2;
}

.slide__title {
  color: white;
  max-width: 620px;
  margin-bottom: 20px;
}

.slide__price {
  backdrop-filter: blur(30px);
  background: #ffffff1a;
  padding: 15px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 40px;
  line-height: 100%;
  color: white;
  width: max-content;
}

.slide__offer {
  position: absolute;
  backdrop-filter: blur(30px);
  background: #ffffff4d;
  width: 530px;
  height: 266px;
  bottom: 40px;
  right: 40px;
  border-radius: 20px;
  padding: 30px;
  font-weight: 700;
  overflow: hidden;
  color: white;
}
.slide__offer:after {
  position: absolute;
  content: "";
  background: url("./assets/icons/home.svg") center/cover no-repeat;
  width: 250px;
  height: 230px;
  bottom: -20px;
  opacity: 0.2;
  right: 30px;
}
.slide__offer-title {
  position: relative;
  font-weight: 800;
  font-size: 60px;
  line-height: 1;
  margin-bottom: 60px;
}
.slide__offer-description {
  max-width: 265px;
}

.main-slider__nav {
  position: absolute;
  bottom: 40px;
  left: 40px;
}

.main-slide__nav-title {
  color: white;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 16px;
}

.main-slider__areas {
  display: flex;
  gap: 16px;
}

.main-slider__area {
  cursor: pointer;
  padding: 13px 16px;
  backdrop-filter: blur(30px);
  background: #ffffff1a;
  font-weight: 700;
  border-radius: 10px;
  color: white;
  border: 1px solid transparent;
}

.main-slider__area:hover,
.main-slider__area.active {
  border: 1px solid white;
}

.dots {
  display: flex;
  gap: 9px;
}

.main-slider__dots {
  position: absolute;
  bottom: 60px;
  right: 60px;
}

.dot {
  width: 47px;
  height: 3px;
  border-radius: 6px;
  background-color: #ffffff4d;
}

.dot:hover,
.dot.active {
  background-color: white;
}

.info-block {
  position: relative;
  width: 100%;
  padding: 75px 40px 0;
  display: flex;
  color: white;
  justify-content: space-between;
  margin-bottom: 140px;
}

.info-block:after {
  position: absolute;
  content: "";
  background: url("./assets/icons/ellipse.svg") center/cover no-repeat;
  left: -40px;
  top: 210px;
  width: 727px;
  height: 1142px;
  z-index: -1;
}

.info-block__teams {
  display: flex;
  flex-direction: column;
}

.project-team {
  display: flex;
  margin-bottom: 140px;
}

.project-team__member {
  width: 83px;
  height: 83px;
  object-fit: cover;
  border-radius: 83px;
}

.project-team__count {
  background: #252525;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
}

.project-team__member + .project-team__member {
  margin-left: -40px;
}

.project-team__info {
  margin-left: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-team__name {
  color: white;
  margin-bottom: 4px;
  font-weight: 700;
}

.project-team__description {
  font-size: 14px;
  color: #ffffff80;
}

.connection {
  display: flex;
  flex-direction: column;
}

.connection__title {
  margin-left: 16px;
  margin-bottom: 10px;
}

.connection__socials {
  display: flex;
  gap: 10px;
}

.social {
  cursor: pointer;
  background: #ffffff1a;
  padding: 16px;
  border-radius: 100px;
}
.social:hover {
  background: white;
  color: black;
}

.info-block__texts {
  max-width: 680px;
}

.info-block__title {
  margin-bottom: 30px;
}

.info-block__description {
  color: #ffffff80;
  margin-bottom: 30px;
}

.info-block__actions {
  display: flex;
  gap: 16px;
}

.slider-container {
  margin: 0 auto;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.filter-buttons__select,
.reviews-buttons__select {
  display: none;
}

.filter-buttons {
  display: flex;
  background: #ffffff1a;
  border-radius: 16px;
  padding: 5px;
  gap: 6px;
}

.filter-btn {
  font-weight: 700;
  padding: 14px 16px;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #ffffff1a;
  color: white;
}
.slider-btns {
  position: relative;
  width: 116px;
  height: 60px;
  background: #ffffff1a;
  border-radius: 100px;
  padding: 5px;
}

.slider-btns:has(.swiper-button-lock) {
  display: none;
}

.slider-btn {
  padding: 12px;
  background: #ffffff1a;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 100px;
  cursor: pointer;
}
.slider-btns .prev {
  left: 5px;
  top: 27px;
}
.slider-btns .next {
  right: 5px;
  left: auto;
  top: 27px;
}

.slider-btns .next:after,
.prev:after {
  font-size: 16px;
}

.slider-with-controls.swiper {
  width: 100%;
  padding-bottom: 60px;
}

.slider-with-controls .swiper-slide, .projectWrap {
  width: 350px;
  height: 500px;
}

.slider-with-controls .swiper-slide.hidden {
  display: none;
}
.inner .slider-container .title {
  text-align: left;
}

.project {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.3s;
}

.project.hidden {
  opacity: 0;
  pointer-events: none;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project::before {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.5) 0%, rgba(20, 20, 20, 0) 57.46%);
}

.project-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
}

.project-title {
  font-size: 34px;
  line-height: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.project-city {
  font-size: 23px;
  line-height: 100%;
  font-weight: 400;
  color: white;
}

.project-common {
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.project-common div {
  color: white;
  background: #ffffff1a;
  backdrop-filter: blur(30px);
  border-radius: 30px;
  font-size: 16px;
  line-height: 100%;
  padding: 10px;
  width: fit-content;
}
.sup-small {
  font-size: 0.6em;
  vertical-align: top;
  line-height: 1;
}

.swiper-scrollbar {
  cursor: pointer;
  bottom: 0;
  background: #ffffff1a;
}

.swiper-scrollbar .swiper-scrollbar-drag {
  background: #ffffff80;
}

.word-rotator {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  margin-top: 140px;
  margin-bottom: 100px;
}

.word-rotator.disabled {
  margin-top: 100px;
  margin-bottom: 0;
}

.words {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s ease;
}
.words-disabled {
  margin-top: 30px;
}

.word-rotator div > div {
  height: 65px;
  font-size: 60px;
  font-weight: 700;
  line-height: 65px;
  text-align: center;
  color: white;
}

.word-rotator::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 260px;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.98) 9.81%,
    rgba(20, 20, 20, 0.03) 51.25%,
    rgba(20, 20, 20, 0.98) 92.69%
  );
}
.word-rotator.disabled::after {
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.98) 20%,
    rgba(20, 20, 20, 0.03) 51.25%,
    rgba(20, 20, 20, 0.98) 80.69%
  );
}
.tab-switcher {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.tab-buttons {
  display: flex;
  background: #ffffff1a;
  border-radius: 16px;
  padding: 5px;
  gap: 6px;
  width: fit-content;
  margin-bottom: 22px;
}

.tab-buttons button {
  font-weight: 700;
  padding: 14px 16px;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-buttons button.active,
.tab-buttons button:hover {
  background: #ffffff1a;
  color: white;
}

.tab-pane {
  position: relative;
  display: none;
}

.tab-pane.active {
  display: flex;
  width: 100%;
  gap: 50px;
  background: #ffffff1a;
  color: white;
  padding: 50px;
  border-radius: 16px;
}

.blocks {
  width: calc(50% - 25px);
}

.info {
  position: relative;
  width: calc(50% - 25px);
}

.info__block {
  display: none;
  position: relative;
  min-width: 610px;
  padding: 30px;
  height: 496px;
}
.info__block.active {
  display: block;
}

.info__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-radius: 16px;
  filter: brightness(30%);
}

.info__time {
  border-radius: 30px;
  padding: 10px;
  font-size: 16px;
  line-height: 100%;
  background: #ffffff1a;
  backdrop-filter: blur(30px);
  width: fit-content;
  margin-bottom: 40px;
}

.info__block::before {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  content: "AD";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  background-color: white;
  color: black;
  z-index: 2;
  border-radius: 10px;
}
.info__title {
  margin-bottom: 16px;
}

.info__description {
  font-weight: 400;
}

.info__action {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
}

.blocks__title {
  margin-top: 8px;
  margin-bottom: 30px;
}

.blocks__tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 60px;
}

.blocks__tile {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc((100% - 2 * 8px) / 3);
  background: #ffffff1a;
  border: 1px solid transparent;
  padding: 20px 0;
  text-align: center;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.blocks__tile:hover,
.blocks__tile.active {
  border: 1px solid #ffffff4d;
  background: #ffffff33;
}

.tile__title {
  max-width: 180px;
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  text-align: center;
  margin-bottom: 20px;
}

.tile__description {
  color: #ffffff80;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
}

.blocks__common {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  line-height: 100%;
}
.toggle-button {
  display: none;
}
.projects-gallery {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw; /* ширина на весь экран */
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: auto;
  margin-top: 150px;
}
.photo-scroller {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.photo-group {
  display: flex;
  flex-direction: row;
  scroll-snap-align: start;
  gap: 30px;
  flex-shrink: 0;
}

.photo-group img {
  width: 600px;
  height: 688px;
  object-fit: cover;
  border-radius: 16px;
}

.photo-group .column {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.photo-group .column img {
  width: 373px;
  height: 326px;
  object-fit: cover;
  border-radius: 16px;
}
.projects-gallery__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 50px;
}
.projects-gallery__description {
  font-weight: 500;
  max-width: 960px;
  color: #ffffff80;
}
.projects-gallery__action {
  width: 250px;
}

.steps {
  display: flex;
  gap: 30px;
  margin: 160px 0;
}
.step {
  position: relative;
  border-radius: 16px;
  background: #ffffff1a;
  padding: 30px;
  color: white;
  width: calc(33.33% - 20px);
}
.step__icon {
  position: absolute;
  top: 30px;
  right: 30px;
}
.step__title {
  margin-bottom: 65px;
}
.step__description {
  font-weight: 400;
}

.price-slider-container {
  width: 100%;
  max-width: 100%;
  color: white;
}

.slider-header {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.slide-indicator {
  font-weight: bold;
}
.slider-header__part {
  display: flex;
  width: calc(50% - 15px);
}
.slider-header__part.left {
  justify-content: flex-end;
  align-items: flex-end;
}
.slider-header__part.right {
  justify-content: space-between;
}
.slide-title {
  font-weight: 700;
  font-size: 60px;
  line-height: 65px;
}
.slide-indicator {
  font-weight: 500;
  font-size: 24px;
  line-height: 30px;
  color: #ffffff4d;
}
.slide-indicator .current-slide {
  color: white;
}

.price-swiper .swiper-slide {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  gap: 20px;
  padding: 0 20px;
  box-sizing: border-box;
}
.slider-btn.next:after {
  font-family: swiper-icons;
  content: "next";
}
.slider-btn.prev:after {
  font-family: swiper-icons;
  content: "prev";
}

.slider-next.swiper-button-disabled,
.slider-prev.swiper-button-disabled,
.slider-btn:disabled {
  opacity: 0.35;
  cursor: auto;
  pointer-events: none;
}
.price-swiper {
  padding-bottom: 50px;
}
.swiper-slide__block {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #ffffff1a;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 16px;
  height: 750px;
}
.slide-block__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.slide-block__info {
  position: relative;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  background: #ffffff;
  color: black;
  border-radius: 30px;
  padding: 10px;
  z-index: 10;
  width: fit-content;
}
.slide-block__action {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
}
.slide-block__title {
  margin-bottom: 30px;
}

.slide-block__title b {
  color: #a2a0a4;
  font-size: 26px;
  display: block;
  margin-top: -20px;
  font-weight: 300;
}
.slide-block__item {
  position: relative;
  padding-left: 45px;
  font-weight: 400;
  margin-bottom: 12px;
}
.more .slide-block__item {
  font-size: 16px;
  margin-bottom: 6px;
}
.slide-block__item::before {
  position: absolute;
  display: block;
  width: 30px;
  height: 30px;
  content: "";
  z-index: 10;
  background-image: url("./assets/icons/round-check.svg");
  top: 0;
  left: 0;
}
.slide-block__list {
  list-style: none;
  padding-left: 0;
}
.slide-block__price {
  font-weight: 700;
  font-size: 34px;
  line-height: 45px;
  position: absolute;
  bottom: 100px;
  left: 30px;
}

.blog-block {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.blog-block__title {
  color: white;
  text-align: center;
  padding-bottom: 40px;
  width: 800px;
}
.blog-block__items {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px;
}
.blog-block__item {
  width: 440px;
  height: 550px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-block__item:hover {
  outline: 1px solid rgba(255, 255, 255, 0.3);
}
.blog-block__item.active {
  cursor: default;
  background: rgba(255, 255, 255, 0.1);
}
.blog-block__item.active img {
  display: none;
}
.blog-block__item img {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}
.blog-block__item-top {
  display: flex;
  position: relative;
}
.blog-block__item:hover:not(.active) .blog-block__item-top::after {
  content: "";
  width: 26px;
  height: 26px;
  position: absolute;
  right: 0px;
  bottom: 6px;
  background: url("./assets/icons/arrow-dn-w.svg") center no-repeat;
  transform: rotate(-90deg);
}
.blog-block__item-date {
  font-size: 16px;
  font-weight: medium;
  padding: 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
}
.blog-block__item-view {
  font-size: 16px;
  font-weight: medium;
  padding: 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  margin-left: 10px;
  display: flex;
  align-items: center;
}
.blog-block__item-view::after {
  content: "";
  display: inline-flex;
  background: url("./assets/icons/eye.svg") center no-repeat;
  width: 19px;
  height: 19px;
  margin-left: 5px;
}
.blog-block__item-bottom {
  max-height: fit-content;
  transition: all 0.4s;
}
.blog-block__item.active .blog-block__item-bottom {
  padding-top: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  max-height: 550px;
}
.blog-block__item-desc {
  display: none;
}
.blog-block__item.active .blog-block__item-desc {
  display: block;
  padding-top: 16px;
}
.blog-block__item-btn {
  display: none;
}
.blog-block__item.active .blog-block__item-btn {
  display: block;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 1);
  padding: 20px;
  text-align: center;
  transition: all 0.4s;
  margin-top: auto;
}
.blog-block__item.active .blog-block__item-btn:hover {
  color: black;
  background: white;
}
.blog-block__actions {
  padding-top: 30px;
  width: 100%;
}
.blog-block__link {
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  border-radius: 30px;
  display: block;
  width: 100%;
  color: #000;
  background: white;
  padding: 20px;
  transition: all 0.4s;
}
.blog-block__link:hover {
  background: rgba(255, 255, 255, 0.8);
}

.accordion {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.accordion-item {
  width: 800px;
  padding: 20px;
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.accordion-item + .accordion-item {
  margin-top: 16px;
}
.accordion-header {
  font-weight: 800;
  position: relative;
  cursor: pointer;
}
.accordion-header::after {
  content: "";
  width: 26px;
  height: 26px;
  position: absolute;
  right: 0;
  top: -3px;
  background: url("./assets/icons/arrow-dn-w.svg") center no-repeat;
  transform: rotate(-90deg);
  transition: all 0.4s;
}
.accordion-open.accordion-header::after {
  transform: rotate(0deg);
}
.accordion-body {
  max-height: 0;
  opacity: 0;
  white-space: pre-line;
  transition: all 0.4s;
}
.accordion-open + .accordion-body {
  opacity: 1;
  max-height: max-content;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.6);
}
.accordion .sale-link {
  margin-top: 20px;
}
.sale-link {
  color: #aeff00;
  font-size: 14px;
  background: #aeff000f;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s;
}
.sale-link.active {
  opacity: 1;
  max-height: 150px;
}

.footer {
  padding-top: 80px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.footer__top-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding-bottom: 55px;
}

.footer__logo {
  width: 50%;
}

.footer__logo .logo__first {
  background-color: white;
  color: black;
}

.footer__logo .logo__second {
  color: white;
}

.footer__buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 50%;
}

.footer__buttons-text {
  display: none;
}

.footer__link-black {
  color: white;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  line-height: 1;
  margin-right: 10px;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s;
}

.footer__link-black:hover {
  outline: 1px solid rgba(255, 255, 255, 0.3);
}

.footer__text {
  font-size: 34px;
  color: white;
  width: 50%;
  padding-right: 100px;
  font-weight: 600;
}

.footer__text b {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.nav,
.footer__col {
  display: flex;
  gap: 80px;
}

.nav-items {
  display: flex;
  column-gap: 80px;
  flex-direction: column;
  font-weight: 400;
}

.nav-selected {
  color: white;
  font-weight: 600;
}

.nav-item {
  color: rgba(255, 255, 255, 0.5);
  padding-top: 10px;
  transition: all 0.4s;
}

.nav-item:hover {
  color: rgba(255, 255, 255, 1);
}

.footer__contacts {
  position: absolute;
  bottom: -20px;
  left: 0;
}

.footer__contacts a {
  padding: 20px 16px;
  border: 1px solid white;
  border-radius: 30px;
  font-weight: 400;
  color: white;
  transition: all 0.4s;
}

.footer__contacts a + a {
  margin-left: 20px;
}

.footer__contacts a:hover {
  color: #000;
  background: white;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  padding-top: 100px;
  justify-content: center;
}

.footer__name {
  font-size: 307px;
  color: white;
  font-weight: 800;
  letter-spacing: -16px;
  line-height: 1;
}

.footer__title {
  font-weight: 500;
  letter-spacing: -1px;
  color: white;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.footer__button-to-top {
  padding-top: 97px;
  width: 100%;
}

.button-to-top {
  padding: 30px 20px;
  font-weight: 600;
  font-size: 24px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s;
}

.button-to-top:hover {
  outline: 1px solid rgba(255, 255, 255, 0.3);
}

.button-to-top::after {
  content: "";
  width: 50px;
  height: 50px;
  border-radius: 50px;
  position: absolute;
  right: 20px;
  background: rgba(255, 255, 255, 0.1) url("./assets/icons/arrow-dn-w.svg") center no-repeat;
  transform: rotate(180deg);
  cursor: pointer;
}

.hide-md {
  display: none;
}

.reviews-container .swiper-scrollbar {
  display: none;
}
.reviews-container {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  color: white;
  position: relative;
}
.reviews-container .tab:first-child {
  padding-left: 32px;
  position: relative;
}
.reviews-container .tab:first-child:before {
  position: absolute;
  width: 13px;
  height: 14px;
  left: 16px;
  content: "";
  background-image: url("./assets/icons/star.svg");
  display: block;
}

.swiper-container {
  position: relative;
}

.review {
  width: 1000px;
  padding: 30px;
  background: #ffffff1a;
  border-radius: 16px;
  font-weight: 400;
}

.review__info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
  width: max-content;
}
.review__image {
  width: 64px;
  height: 64px;
  background: radial-gradient(50% 50% at 50% 50%, #999999 0%, #4b4b4b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
}
.review__col {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  line-height: 22px;
}
.review__theme {
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  margin-top: 4px;
}
.review__content {
  position: relative;
  white-space: pre-line;
  transition: height 0.3s ease;
}

.review__content.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews__action {
  width: 100%;
}

.contact {
  margin-top: 100px;
  position: relative;
}

.map {
  height: 800px;
  width: 100%;
  border-radius: 20px;
  background: #ccc;
  overflow: hidden;
  filter: grayscale(1) brightness(0.3);
}

.map > iframe {
  height: 800px;
  width: 120%;
}

.contact-block {
  position: absolute;
  top: 30px;
  left: 30px;
  background: #141414;
  border-radius: 16px;
  padding: 30px;
  color: white;
  width: 635px;
}

.contact-block__top {
  position: relative;
}

.contact__logo .logo__first {
  background-color: white;
  color: black;
}
.contact__logo .logo__second {
  color: white;
}

.contact__text {
  width: 400px;
  padding-top: 25px;
  font-weight: 500;
}

.contact__link {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
}

.contact__link a {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
}

.contact__link a + a {
  margin-left: 10px;
}

.contact-block__top {
  margin-bottom: 30px;
}

.contact-block__middle {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.department-name {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 9px;
  font-size: 14px;
  line-height: 100%;
  border-radius: 30px;
}

.department-phone {
  display: block;
  font-weight: 700;
  padding-top: 10px;
  font-size: 34px;
}

.department-mail {
  display: block;
  padding-top: 9px;
  font-size: 16px;
}

.department-collapse {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__collapse {
  display: none;
}

.contact-block__bottom {
  display: flex;
  padding-top: 45px;
}

.contact-block__bottom button {
  flex: 1;
}

.contact-block__bottom button + button {
  margin-left: 20px;
}

.show-more-btn {
  background: none;
  border: none;
  font-weight: 400;
  color: #ffffff80;
  cursor: pointer;
  padding: 5px 0;
  margin-top: 15px;
  font-size: 16px;
}

.navigation {
  position: absolute;
  right: 30px;
  top: 90px;
  z-index: 100;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.counter {
  color: #ffffff80;
}
.counter .white {
  color: white !important;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(30px);
  background: #00000099;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  pointer-events: none;
}

.popup {
  color: white;
  padding: 60px 20px 20px 20px;
  border-radius: 16px;
  width: 600px;
  opacity: 0;
  display: none;
  background: #ffffff1a;
  transition: all 0.3s ease;
  pointer-events: auto;
  position: relative;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-weight: 400;
}

.popup.active {
  opacity: 1;
  display: flex;
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  cursor: pointer;
  background: url("./assets/icons/close-w.svg") center no-repeat;
  transition: transform 0.2s ease;
}
.popup__teaser {
  background: #ffffff1a;
  border-radius: 30px;
  padding: 10px;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  width: max-content;
  justify-self: center;
  margin-bottom: 30px;
}
.popup__title {
  font-weight: 700;
  font-size: 50px;
  line-height: 45px;
  margin-bottom: 20px;
}
.popup__subtitle {
  max-width: 440px;
  margin-bottom: 30px;
  justify-self: center;
}
.popup__form > p,
.popup__form {
  display: flex;
  flex-direction: column;
  width: 380px;
  justify-self: center;
}
.popup__input {
  border-radius: 30px;
  margin-bottom: 30px;
  background: #ffffff1a;
  padding: 20px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  color: white;
  width: 100%;
}
textarea.popup__input {
  border-radius: 16px;
  height: 116px;
  line-height: 20px;
}
.popup__input::placeholder {
  color: white;
}
.popup a {
  text-decoration: underline;
}
.popup__info {
  margin-top: 20px;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: #ffffff80;
  margin-bottom: 40px;
}
.close-popup:hover {
  transform: scale(1.05);
}

body.popup-open {
  overflow: hidden;
}

.form-wrapeer {
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.form-block {
  width: 100%;
  max-width: 600px;
  padding: 60px 50px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 16px;
}

.form__time {
  border-radius: 30px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.form__title {
  padding-top: 20px;
  text-align: center;
  font-size: 50px;
  line-height: 120%;
  font-weight: bold;
}

.form__text {
  padding-top: 20px;
  padding-bottom: 30px;
  text-align: center;
  font-weight: 400;
}

.form-input {
  position: relative;
}

.form-input + .form-input {
  margin-top: 16px;
}

.form-input .label-text {
  position: absolute;
  top: 14px;
  left: 20px;
  transition: all 0.4s;
  font-weight: bold;
}

.form-input input {
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  border-radius: 30px;
  border: none;
  padding: 20px;
  color: white;
}
.form-input .form__select:hover,
.form-input input:hover {
  outline: 1px solid rgba(255, 255, 255, 0.4);
}
.form-input .form__select:focus,
.form-input input:focus {
  outline: none;
}
.form-input .active .label-text {
  top: -12px;
}

.form__select {
  border-radius: 30px;
  border: none;
}
.form__select-selected {
  background: #ffffff1a;
  width: 100%;
  border-radius: 30px;
  border: none;
  padding: 15px 20px;
  color: white;
}

.select-active .form__select-selected,
.form__select-selected:hover,
.form__select-selected:focus {
  outline: 1px solid rgba(255, 255, 255, 0.4);
}

.form__select-items {
  display: none;
  position: absolute;
  overflow: hidden;
  top: 76px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgb(75 75 75);
  border: none;
  padding: 5px;
  border-radius: 10px;
  z-index: 100;
}
.form__select-items div {
  padding: 14px 16px;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

.form__select-items div:hover {
  background: #ffffff1a;
}

.select-active .form__select-items {
  display: block;
}

.select-active .form__select-selected:after {
  transform: translateY(-50%) rotate(180deg);
}

.form__select:focus {
  outline: none;
  border: 1px solid #0000004d;
}

.form__select-selected:after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  background: url("./assets/icons/arrow-dn-w.svg") center;
  width: 20px;
  height: 20px;
}

.form-button {
  width: 100%;
  margin-top: 30px;
}

.form__feedback {
  color: rgba(255, 255, 255, 0.5);
  padding-top: 20px;
  text-align: center;
}

.form__feedback a {
  text-decoration: underline;
}

.form-wrapeer .sale-link {
  margin-top: 30px;
}

.inner .main-slider {
  margin-bottom: 140px;
}
.inner .breadcrumbs {
  position: absolute;
  display: flex;
  gap: 10px;
  top: 114px;
  left: 40px;
  z-index: 100;
}
.inner .breadcrumbs__item button {
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
}

.inner .project-team {
  position: absolute;
  left: 40px;
  bottom: 40px;
  margin-bottom: 0;
}
.inner .main-slider__actions {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  gap: 16px;
}
.inner.contacts .slide__title {
  max-width: 705px;
}
.inner .main-slider .manager {
  left: 40px;
  bottom: 40px;
}
.inner .main-slider .manager__name {
  margin-bottom: 4px;
}
.inner .main-slider .manager__description {
  width: max-content;
}
.inner .main-slider__actions button {
  width: 290px;
}

.inner .projects-gallery__title {
  color: white;
  font-weight: 700;
  font-size: 60px;
  line-height: 65px;
  text-align: center;
  max-width: 870px;
  justify-self: center;
  margin-bottom: 50px;
}

.inner .projects-gallery {
  position: relative;
  left: auto;
  right: auto;
  width: 100%;
  max-width: 100%;
  margin: 0 0 150px 0;
  padding: 0 40px;
  overflow-x: auto;
}

.inner .photo-group img {
  width: 469px;
}
.inner .photo-group img.half {
  width: 387px;
}

.inner .photo-group .column img {
  width: 387px;
}

.inner .projects-gallery__description {
  max-width: 800px;
}
.inner .projects-gallery__action {
  width: 387px;
}

.inner .slide-block__price {
  font-weight: 700;
  font-size: 34px;
  line-height: 45px;
}

.inner .card {
  width: 100%;
  height: 100%;
  perspective: 1000px;
  cursor: pointer;
}

.inner .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
}

/*.inner .card:hover .card-inner {*/
/*  transform: rotateY(180deg);*/
/*}*/

.inner .card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.inner .card-front {
  background-color: #fff;
}

.inner .card-back {
  background: #ffffff1a;
  transform: rotateY(180deg);
  text-align: left;
}
.inner .project-button {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}
.inner .title {
  color: white;
  font-weight: 700;
  font-size: 60px;
  line-height: 65px;
  margin-bottom: 40px;
  text-align: center;
}
.inner .slider-btns {
  position: absolute;
  right: 0;
  top: 70px;
}
.inner .slider-container {
  margin-bottom: 160px;
}

.inner .about-reviews {
  position: relative;
  background: #ffffff1a;
  border-radius: 16px;
  margin-bottom: 210px;
  width: 100%;
  height: 540px;
  color: white;
  padding: 40px;
  margin-top: 150px;
}
.inner .about-reviews::before {
  position: absolute;
  content: "";
  width: 698px;
  height: 330px;
  background-image: url("./assets/icons/circle-dn.svg");
  background-repeat: no-repeat;
  bottom: 210px;
  left: 0;
}
.inner .about-reviews::after {
  position: absolute;
  content: "";
  width: 678px;
  height: 472px;
  background-image: url("./assets/icons/circle-up.svg");
  background-repeat: no-repeat;
  bottom: 0;
  right: 0;
}
.inner .about-reviews__image {
  position: absolute;
  right: 70px;
  top: -40px;
  width: 470px;
  height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 60px;
}
.inner .about-reviews__overlay {
  position: absolute;
  right: 0;
  top: 0;
  width: 470px;
  height: 620px;
  background-image: url("./assets/images/golf20.jpg");
  background-size: 220%;
  background-position: left;
  filter: grayscale(0.2) brightness(0.5);
  border-radius: 16px;
  z-index: 1;
}
.projects.inner .about-reviews__overlay {
  background-image: url("./assets/images/room.png");
  background-size: 111%;
  background-position: center;
  filter: brightness(0.9);
}

.inner .about-reviews__image-spoiler {
  position: relative;
  z-index: 2;
  font-weight: 500;
  text-align: center;
  color: #ffffff80;
  margin-bottom: 10px;
}
.inner .about-reviews__image-title {
  position: relative;
  z-index: 2;
  font-weight: 700;
  font-size: 55px;
  line-height: 45px;
  text-align: center;
  max-width: 250px;
  margin-bottom: 270px;
}
.inner .about-reviews__logo {
  position: relative;
  z-index: 2;
}
.inner .about-reviews__logo .logo__first {
  background-color: white;
  color: black;
}

.inner .about-reviews__logo .logo__second {
  color: white;
}

.inner .about-reviews__title {
  font-weight: 700;
  font-size: 50px;
  line-height: 50px;
  margin-bottom: 24px;
  max-width: 600px;
}
.inner .about-reviews__description {
  font-weight: 400;
  max-width: 630px;
}
.inner .about-reviews__actions {
  position: absolute;
  left: 40px;
  bottom: 40px;
  display: flex;
  gap: 16px;
}
.inner .about-reviews__actions button {
  width: 240px;
}
.inner .tab-switcher .title {
  text-align: center;
}
.inner .tab-buttons {
  margin-bottom: 50px;
}
.inner .tab-content {
  width: 100%;
}
.inner .services {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.inner .services__photo {
  margin: -10px;
  width: 610px;
  height: 496px;
  border-radius: 16px;
  object-fit: cover;
  filter: brightness(0.7);
}
.inner .services__info {
  position: relative;
}
.inner .services__info::before {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  content: "AD";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  background-color: white;
  color: black;
  z-index: 2;
  border-radius: 10px;
}
.inner .services__col {
  display: flex;
  flex-direction: column;
  position: relative;
}
.inner .services__button {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
}
.inner .services__title {
  font-weight: 700;
  font-size: 50px;
  line-height: 50px;
  margin-bottom: 20px;
}
.inner .services__description {
  font-weight: 500;
  color: #ffffff80;
}
.inner .services__action {
  position: absolute;
  bottom: 0;
  left: 0;
  font-weight: 400;
  line-height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.inner .details,
.inner .contact {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 140px;
  color: white;
}
.inner .contact .title {
  max-width: max-content;
  text-align: center;
}
.inner .contact .map {
  height: 600px;
}
.inner .contact .contact-block {
  top: auto;
  left: auto;
  right: 30px;
  bottom: 30px;
}
.details__list {
  display: flex;
  gap: 28px;
  width: 100%;
}
.details__block {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #ffffff1a;
  padding: 40px;
  box-sizing: border-box;
  border-radius: 16px;
  height: 668px;
  width: 50%;
}
.details__block-actions {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  gap: 20px;
  display: flex;
}
.details__block-title {
  font-weight: 700;
  font-size: 45px;
  line-height: 45px;
  letter-spacing: -1px;
  margin-bottom: 30px;
}
.details__block-description {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -1px;
  color: #ffffff80;
}

.full {
  width: 100%;
}
.half {
  width: 50%;
}

article.page {
  color: white;
  padding-top: 100px;
}

.hide {
  display: none;
}

/* for test */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(410px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.project-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  width: 400px;
  height: 500px;
}

.project-card__image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  position: relative;
  z-index: -1;
}
.project-card::before {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.5) 0%, rgba(20, 20, 20, 0) 57.46%);
}
.project-card:hover::before {
  display: none;
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card__title {
  font-size: 34px;
  line-height: 48px;
  font-weight: 700;
  color: white;
  position: absolute;
  margin: 30px 30px 10px 30px;
}

/* <- for test */

.error-404 {
  height: 900px;
  background-image: url("./assets/images/404bg.png");
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 40px;
  background-position: center;
}

.error-404__header {
  align-self: baseline;
}

.error-404__header .categories-link {
  font-size: 16px;
  font-weight: 500;
  padding: 9px;
}

.error-404__header .categories-link + .categories-link {
  margin-left: 10px;
}

.error-404__title {
  padding-top: 140px;
  font-size: 80px;
  font-weight: bold;
  max-width: 600px;
  color: white;
  line-height: 0.9;
  text-align: center;
}

.error-404__description {
  color: white;
  padding-top: 30px;
  font-size: 20px;
}

.search-form {
  width: 900px;
  padding: 10px;
  border-radius: 20px;
  background: white;
  display: flex;
  margin-top: 60px;
}

.search-form__input {
  padding: 19px 16px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  width: 100%;
  border: none;
  font-size: 16px;
  transition: all 0.4s;
  border: 1px solid rgba(0, 0, 0, 0);
}

.search-form__input:hover {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-form__input:focus {
  outline: none;
}

.search-form__action {
  width: 165px;
  background: #000;
  color: white;
  border-radius: 16px;
  margin-left: 16px;
  text-align: center;
  transition: all 0.4s;
  border: 1px solid #000;
}

.search-form__action:hover {
  border: 1px solid #000;
  color: #000;
  background: none;
}

.error-404__categories {
  padding-top: 16px;
}

.categories-link {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 18px;
  transition: all 0.4s;
  padding: 13px;
  font-weight: bold;
  display: inline-flex;
  line-height: 1.2;
  outline: none;
}

.categories-link:hover {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.categories-link + .categories-link {
  margin-left: 16px;
}

/* Ноутбуки (1024–1440px) */
@media (max-width: 1439.98px) {
  .content {
    max-width: 100%;
  }

  .header {
    width: calc(100% - 100px);
  }

  .header__menu {
    display: none;
  }

  .header__burger-menu.active {
    left: 30px;
    max-width: calc(100% - 60px);
  }

  .banner {
    height: 490px;
    width: 370px;
  }
  .banner__dots {
    margin-top: 30px;
  }
  .banner__teaser {
    margin-top: 30px;
    color: #ffffff80;
  }
  .banner__title {
    font-size: 45px;
    line-height: 45px;
    width: 300px;
  }
  .banner__amount {
    font-size: 80px;
    margin-top: 48px;
  }
  .banner__description {
    margin-top: 20px;
  }

  .footer__col {
    flex-direction: column;
    gap: 30px;
  }
  .header__burger-menu .nav {
    gap: 60px;
  }

  .main-slider {
    width: 100%;
    height: 760px;
  }

  .slide__title {
    max-width: 520px;
    margin-bottom: 30px;
  }
  .title_xl {
    font-size: 60px;
    line-height: 60px;
  }

  .slide__price {
    font-size: 34px;
  }

  .slide__offer {
    width: 420px;
  }

  .slide__offer:after {
    width: 270px;
    height: 250px;
    right: 0;
  }

  .slide__offer-description {
    max-width: 300px;
  }
  .info-block {
    padding: 90px 0 0;
  }
  .info-block__title {
    margin-bottom: 30px;
  }
  .info-block__texts {
    max-width: 500px;
  }
  .word-rotator {
    margin-top: 120px;
    margin-bottom: 120px;
  }
  .info__block {
    min-width: 450px;
  }
  .tab-pane.active {
    gap: 30px;
    padding: 40px;
  }

  .blocks {
    width: calc(50% - 15px);
  }

  .info {
    width: calc(50% - 15px);
  }

  .info__block {
    min-width: 450px;
  }

  .info__time {
    margin-bottom: 30px;
  }

  .blocks__tile:hover,
  .blocks__tile.active {
    border: 1px solid #ffffff4d;
    background: #ffffff33;
  }

  .blocks__common {
    font-size: 16px;
  }

  .projects-gallery {
    margin-top: 140px;
  }

  .photo-group {
    gap: 30px;
  }

  .photo-group img {
    width: 500px;
    height: 555px;
    object-fit: cover;
    border-radius: 16px;
  }

  .photo-group .column {
    gap: 30px;
  }

  .photo-group .column img {
    width: 310px;
    height: 263px;
  }

  .projects-gallery__description {
    font-size: 18px;
    line-height: 26px;
    max-width: 685px;
  }
  .projects-gallery__action {
    width: 250px;
  }
  .steps {
    margin: 100px 0 140px;
  }

  .slider-header__part {
    width: max-content;
  }

  .slider-header__part.right {
    flex-grow: 1;
    justify-content: space-between;
  }

  .slide-indicator .current-slide {
    color: white;
  }
  .price-swiper .swiper-slide {
    padding: 0;
  }

  .swiper-slide__block {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #ffffff1a;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 16px;
  }

  .slide-block__info {
    position: relative;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    background: #ffffff;
    color: black;
    border-radius: 30px;
    padding: 10px;
    z-index: 10;
    width: fit-content;
  }
  .slide-block__action {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
  }
  .slide-block__title {
    margin-bottom: 30px;
  }
  .slide-block__item {
    position: relative;
    padding-left: 45px;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .slide-block__item::before {
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    content: "";
    z-index: 10;
    background-image: url("./assets/icons/round-check.svg");
    top: 0;
    left: 0;
  }
  .slide-block__list {
    margin-bottom: 130px;
  }
  .slide-block__price {
    font-weight: 700;
    font-size: 34px;
    line-height: 45px;
  }

  .blog-block__item {
    width: calc((100% - 18px) / 2);
  }

  .blog-block__item:last-of-type {
    display: none;
  }

  .footer__logo {
    width: 30%;
  }

  .footer__buttons {
    width: 70%;
  }

  .footer__text {
    font-size: 24px;
    width: 50%;
    padding-right: 40px;
  }

  .nav {
    column-gap: 40px;
  }

  .footer__contacts {
    bottom: 20px;
  }
  .footer__contacts a + a {
    margin-left: 16px;
  }

  .footer__name {
    font-size: 228px;
  }

  .footer__title {
    font-weight: 600;
  }

  .footer__button-to-top {
    padding-top: 60px;
  }

  .reviews-container {
    max-width: 100%;
  }

  .review {
    width: 100%;
  }

  .inner .main-slider__actions button {
    width: 190px;
    font-size: 16px;
  }

  .inner .projects-gallery__title {
    margin-bottom: 40px;
  }

  .inner .projects-gallery {
    margin-bottom: 140px;
    padding: 0;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .inner .photo-group img {
    width: 300px;
  }
  .inner .photo-group img.half {
    width: 300px;
  }

  .inner .photo-group .column img {
    width: 300px;
  }

  .inner .projects-gallery__description {
    max-width: 620px;
  }
  .inner .projects-gallery__action {
    width: 300px;
  }
  .inner .slider-container {
    margin-bottom: 140px;
  }

  .inner .about-reviews {
    width: calc(100% - 80px);
    margin: 0 40px 180px 40px;
  }
  .inner .about-reviews::before {
    background-size: 50%;
    bottom: 100px;
  }
  .inner .about-reviews::after {
    background-size: 80%;
    bottom: -94px;
    right: -136px;
  }
  .inner .about-reviews__image {
    right: 40px;
    width: 390px;
  }
  .inner .about-reviews__overlay {
    width: 390px;
  }

  .inner .about-reviews__title {
    font-size: 45px;
    line-height: 45px;
    max-width: 400px;
  }
  .inner .about-reviews__description {
    max-width: 380px;
  }
  .inner .about-reviews__actions {
    flex-direction: column;
  }
  .inner .about-reviews__actions button {
    width: 374px;
  }

  .inner .tab-buttons {
    margin-bottom: 40px;
  }

  .inner .services__photo {
    width: 450px;
  }

  .inner .services__title {
    font-size: 34px;
    line-height: 34px;
  }

  .inner .services__action {
    font-size: 16px;
  }
}

/* Планшеты (768–1024px) */
@media (max-width: 1023.98px) {
  .body {
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
  }

  button {
    font-size: 14px;
    padding: 14px 20px;
  }

  .title_xl,
  .title_l {
    font-size: 45px;
    line-height: 45px;
    letter-spacing: -1px;
  }

  .title_m,
  .title_mid,
  .title_sm {
    font-size: 34px;
    line-height: 44px;
  }

  .title_s {
    font-size: 30px;
  }

  .header {
    top: 32px;
    width: calc(100% - 64px);
    border-radius: 16px;
    padding: 10px 14px;
  }

  .header__right {
    gap: 16px;
  }

  .logo__first {
    height: 40px;
    width: 40px;
    font-size: 24px;
  }

  .logo__second {
    font-size: 30px;
    line-height: 40px;
  }

  .header__select {
    position: fixed;
    top: 70px;
    left: 0;
  }

  .header__select-selected {
    background: #ffffff1a;
    backdrop-filter: blur(30px);
    border-radius: 30px;
    color: white;
    width: 150px;
  }

  .header__select-selected:after {
    background: url("./assets/icons/arrow-dn-w.svg") center;
  }

  .header__select-items {
    top: 50px;
  }

  .header__menu {
    display: none;
  }

  .header__button {
    font-size: 14px;
    padding: 11px 16px;
  }
  .header__burger-menu.active {
    max-width: calc(100% - 32px);
    top: 16px;
    left: 16px;
    height: 700px;
    padding: 146px 20px 20px 30px;
  }

  .banner {
    height: 458px;
    width: 300px;
    margin-top: -54px;
  }

  .banner__teaser {
    margin-top: 25px;
  }
  .banner__title {
    font-size: 34px;
    line-height: 34px;
    width: 250px;
  }
  .banner__amount {
    font-size: 50px;
    line-height: 45px;
    margin-top: 80px;
  }
  .banner__description {
    line-height: 20px;
    width: 200px;
    margin-top: 11px;
  }
  .banner__button {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
  .manager {
    right: 0;
  }

  .manager__contact {
    position: absolute;
    right: 0;
  }
  .header__burger-menu .nav {
    gap: 50px;
  }
  .main-slider {
    height: 570px;
  }

  .main-slider__slide {
    padding: 220px 30px 30px;
  }

  .slide__title {
    max-width: none;
  }

  .slide__price {
    font-size: 28px;
  }

  .slide__offer {
    width: 274px;
    height: 180px;
    bottom: 30px;
    right: 30px;
    padding: 16px;
    font-size: 14px;
    overflow: hidden;
  }
  .slide__offer:after {
    width: 176px;
    height: 170px;
    bottom: 0;
    right: -20px;
  }
  .slide__offer-title {
    font-size: 35px;
    margin-bottom: 30px;
  }

  .main-slider__nav {
    bottom: 30px;
    left: 30px;
  }

  .main-slider__areas {
    gap: 10px;
  }

  .main-slider__area {
    padding: 10px 16px;
  }

  .dots {
    bottom: 46px;
    right: 46px;
  }

  .info-block {
    padding: 50px 0;
    flex-direction: column;
  }

  .info-block:after {
    left: -340px;
  }

  .info-block__teams {
    flex-direction: row;
    justify-content: space-between;
  }

  .project-team {
    margin-bottom: 60px;
  }

  .project-team__member {
    width: 60px;
    height: 60px;
    border-radius: 60px;
  }

  .project-team__count {
    font-size: 24px;
  }

  .project-team__member + .project-team__member {
    margin-left: -20px;
  }

  .connection__title {
    margin-left: 0;
  }

  .social {
    padding: 10px 16px;
  }

  .info-block__texts {
    max-width: none;
  }

  .info-block__title {
    margin-bottom: 16px;
  }

  .info-block__description {
    line-height: 24px;
  }

  .info-block__actions {
    display: flex;
    gap: 16px;
  }
  .info-block__count {
    width: 100%;
  }
  .info-block__ask {
    background: #ffffff1a;
    width: 100%;
  }

  .filter-btn {
    font-size: 14px;
    padding: 11px 16px;
  }

  .slider-btns {
    width: 96px;
    height: 50px;
  }

  .slider-btn {
    padding: 10px;
    width: 40px;
    height: 40px;
  }

  .slider-btns .next:after,
  .prev:after {
    font-size: 14px;
  }

  .swiper {
    padding-bottom: 30px;
  }

  .swiper-slide {
    width: 350px;
    height: 400px;
  }

  .project-info {
    padding: 16px;
  }

  .project-title {
    font-size: 30px;
    line-height: 30px;
  }

  .project-category {
    font-size: 14px;
    bottom: 16px;
    left: 16px;
  }
  .word-rotator {
    height: 176px;
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .word-rotator div > div {
    height: 44px;
    font-size: 40px;
    line-height: 44px;
  }

  .word-rotator::after {
    height: 176px;
  }

  .tab-pane.active {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .blocks {
    width: 100%;
  }

  .info {
    width: 100%;
  }

  .info__block {
    min-width: auto;
    padding: 16px;
    height: 320px;
  }

  .info__time {
    font-size: 14px;
    margin-bottom: 80px;
  }

  .info__action {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }

  .blocks__title {
    margin-top: 0;
    margin-bottom: 20px;
    max-width: 300px;
  }

  .blocks__tiles {
    gap: 16px;
    margin-bottom: 0;
  }

  .blocks__tile {
    flex: 1 1 calc((100% - 2 * 16px) / 3);
    padding: 20px;
  }

  .tile__title {
    max-width: max-content;
    line-height: 100%;
  }

  .blocks__common {
    position: absolute;
    top: 16px;
    right: 16px;
    gap: 12px;
    font-size: 14px;
    max-width: 210px;
  }

  .projects-gallery {
    margin-top: 100px;
  }

  .photo-group {
    gap: 18px;
  }

  .photo-group img {
    width: 350px;
    height: 407px;
  }

  .photo-group .column {
    gap: 21px;
  }

  .photo-group .column img {
    width: 227px;
    height: 192px;
  }
  .projects-gallery__info {
    flex-direction: column;
    margin-top: 30px;
    padding: 0 30px;
  }
  .projects-gallery__description {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .projects-gallery__action {
    width: 100%;
  }
  .steps {
    flex-direction: column;
    gap: 16px;
    margin: 80px 0 100px;
  }
  .step {
    width: 100%;
  }

  .step__title {
    margin-bottom: 30px;
  }
  .step__description {
    font-size: 18px;
    line-height: 28px;
  }

  .slider-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 14px;
    margin-bottom: 38px;
  }

  .slide-title {
    font-size: 34px;
    line-height: 44px;
  }

  .price-swiper {
    padding-bottom: 60px;
  }
  .swiper-slide__block {
    height: 426px;
  }
  .swiper-slide__block + .swiper-slide__block {
    height: 291px;
    width: 246px;
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 16px;
  }

  .slide-block__info {
    font-size: 12px;
  }
  .slide-block__action {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    font-size: 14px;
  }
  .slide-block__title {
    margin-bottom: 20px;
  }
  .slide-block__item {
    display: flex;
    font-size: 14px;
    align-items: center;
    height: 30px;
  }

  .slide-block__list {
    margin-bottom: 60px;
  }
  .slide-block__price {
    font-weight: 700;
    font-size: 24px;
    line-height: 34px;
  }
  .blog-block__title {
    width: auto;
  }
  .blog-block__item {
    height: 400px;
    padding: 16px;
  }
  .blog-block__item-date,
  .blog-block__item-view {
    font-size: 14px;
  }
  .blog-block__item.active .blog-block__item-btn {
    padding: 14px;
    font-size: 14px;
  }
  .blog-block__link {
    font-size: 14px;
    padding: 14px;
  }
  .footer__top {
    display: flex;
    flex-wrap: wrap;
    position: relative;
  }
  .hide-md {
    display: none;
  }
  .show-md {
    display: block;
  }
  .accordion {
    padding: 80px 0;
  }
  .accordion-item {
    width: 100%;
  }
  .accordion-header {
    font-size: 14px;
  }
  .accordion-body {
    font-size: 14px;
  }
  .footer {
    padding: 0 14px;
  }

  .footer__logo {
    margin-bottom: 50px;
  }

  .footer__top-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
    padding-bottom: 70px;
  }

  .footer__buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .footer__buttons-text {
    display: block;
    color: white;
    margin-bottom: 10px;
  }

  .footer__text {
    font-size: 18px;
    padding-right: 0;
  }
  .footer__buttons-first {
    display: flex;
  }
  .footer__buttons-second {
    position: absolute;
    right: -228px;
    width: 228px;
    bottom: 70px;
  }
  .footer__button {
    width: 100%;
  }

  .footer__link-black {
    padding: 10px 16px;
  }

  .nav {
    column-gap: 90px;
    margin-bottom: 70px;
  }

  .footer__contacts {
    display: flex;
    gap: 16px;
    position: absolute;
    bottom: -70px;
    left: 0;
    width: 100%;
  }

  .footer__contacts a {
    padding: 14px;
    font-size: 14px;
    text-align: center;
    width: calc(50% - 8px);
  }

  .footer__contacts a + a {
    margin-left: 0;
  }

  .footer__name {
    font-size: 168px;
  }

  .footer__title {
    font-size: 14px;
  }

  .footer__button-to-top {
    padding-top: 70px;
  }

  .button-to-top {
    padding: 20px;
  }

  .button-to-top::after {
    width: 40px;
    height: 40px;
  }

  .contact-block {
    width: calc(100% - 60px);
  }

  .map {
    height: 700px;
  }

  .contact-block__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .contact__text {
    padding-top: 0;
    padding-left: 30px;
    font-size: 14px;
  }

  .contact__link a {
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
  }

  .contact__collapse {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.1);
    text-align: center;
    padding-top: 15px;
  }

  .collapse-hide + .contact__collapse .contact__collapse-hide {
    display: none;
  }

  .department-collapse:not(.collapse-hide) + .contact__collapse .contact__collapse-show {
    display: none;
  }

  .collapse-hide {
    display: none;
  }

  .department-phone {
    font-size: 30px;
  }

  .contact-block__bottom {
    padding-top: 30px;
  }

  .form-block {
    padding: 40px 50px;
  }

  .form__title {
    font-size: 40px;
    padding-top: 15px;
  }
  .form__text {
    padding-top: 10px;
  }
  .form-input select,
  .form-input input {
    padding: 15px 20px;
  }

  .popup-content {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .popup__title {
    font-size: 40px;
    max-width: 300px;
    line-height: 45px;
  }
  .popup__subtitle {
    max-width: 280px;
  }
  .popup__input {
    margin-bottom: 25px;
    padding: 16px;
  }
  textarea.popup__input {
    border-radius: 16px;
    height: 116px;
    line-height: 20px;
  }
  .inner .header__select {
    display: none;
  }
  .inner .main-slider {
    margin-bottom: 70px;
  }
  .inner .breadcrumbs {
    top: 86px;
    left: 30px;
  }

  .inner .main-slider__slide {
    padding-top: 218px;
  }
  .inner .slide__title {
    max-width: 400px;
  }

  .inner .project-team {
    left: 30px;
    bottom: 30px;
  }
  .inner .main-slider__actions {
    right: 30px;
    bottom: 30px;
  }
  .inner .main-slider__actions button {
    width: 160px;
    font-size: 14px;
  }
  .inner .project-team__member {
    width: 34px;
    height: 34px;
  }
  .inner .project-team__info {
    margin-left: 10px;
  }
  .inner .project-team__member + .project-team__member {
    margin-left: -13px;
  }
  .inner .project-team__count {
    font-size: 14px;
    line-height: 14px;
  }
  .inner .project-team__name {
    margin-bottom: 0;
  }
  .inner .project-team__description {
    font-size: 12px;
  }

  .inner .projects-gallery__title {
    font-size: 34px;
    line-height: 44px;
    max-width: 600px;
    margin-bottom: 30px;
  }

  .inner .projects-gallery {
    margin-bottom: 100px;
    padding: 0 12px;
  }

  .inner .photo-group img {
    width: 225px;
  }
  .inner .photo-group img.half {
    width: 225px;
  }

  .inner .photo-group .column img {
    width: 225px;
  }

  .inner .projects-gallery__description {
    max-width: 460px;
    font-size: 14px;
    line-height: 20px;
  }
  .inner .projects-gallery__info {
    flex-direction: row;
  }
  .inner .projects-gallery__action {
    width: 225px;
  }

  .inner .slide-block__price {
    font-weight: 700;
    font-size: 34px;
    line-height: 45px;
  }

  .inner .title {
    font-size: 34px;
    line-height: 44px;
    max-width: 450px;
    margin-bottom: 30px;
  }
  .inner .slider-btns {
    position: absolute;
    right: 0;
    top: 40px;
  }
  .inner .slider-container {
    margin-bottom: 100px;
  }
  .inner .slider-with-controls .swiper-slide {
    width: 300px;
    height: 400px;
  }
  .inner .slider-with-controls.swiper {
    padding-bottom: 30px;
  }

  .inner .about-reviews {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    color: white;
    padding: 30px;
    margin: 0 0 100px 0;
  }
  .inner .about-reviews::before {
    display: none;
  }
  .inner .about-reviews::after {
    display: none;
  }
  .inner .about-reviews__image {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 328px;
    padding: 30px;
  }
  .inner .about-reviews__overlay {
    width: 100%;
    height: 328px;
    background-size: 100%;
  }
  .inner .about-reviews__image-spoiler {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 4px;
  }
  .inner .about-reviews__image-title {
    font-size: 34px;
    line-height: 34px;
    max-width: max-content;
    margin-bottom: 178px;
  }

  .inner .about-reviews__title {
    font-size: 34px;
    line-height: 40px;
    margin-bottom: 20px;
  }
  .inner .about-reviews__description {
    max-width: 500px;
    margin-bottom: 30px;
  }
  .inner .about-reviews__actions {
    position: relative;
    left: auto;
    bottom: auto;
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-bottom: 30px;
  }
  .inner .about-reviews__actions button {
    width: 50%;
  }

  .inner .tab-buttons {
    margin-bottom: 30px;
  }
  .inner .services {
    display: flex;
    flex-direction: column;
  }
  .inner .services__photo {
    margin: 0;
    width: 100%;
    height: 320px;
  }

  .inner .services__info::before {
    top: 16px;
    right: 16px;
  }
  .inner .services__button {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
  .inner .services__title {
    font-size: 34px;
    line-height: 34px;
    margin-bottom: 10px;
  }
  .inner .services__description {
    margin-bottom: 90px;
  }
  .inner .services__action {
    bottom: auto;
    left: auto;
    top: 14px;
    right: 14px;
    font-size: 14px;
    max-width: 180px;
  }

  .search-form {
    width: 100%;
  }
}

/* Мобильные (320–768px) */
@media (max-width: 767.98px) {
  html,
  body {
    overflow-x: hidden; /* Блокирует горизонтальный скролл */
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    line-height: 20px;
  }

  .title_xl,
  .title_l {
    font-size: 30px;
    line-height: 30px;
  }

  .title_m,
  .title_mid {
    font-size: 28px;
    line-height: 30px;
  }

  .title_s,
  .title_sm {
    font-size: 24px;
    line-height: 28px;
  }

  .header {
    top: 26px;
    border-radius: 16px;
    padding: 10px;
    width: calc(100% - 52px);
  }

  .header__button,
  .main-slider__nav,
  .header__phone,
  .header__menu {
    display: none;
  }
  .header__burger-menu.active {
    position: fixed;
    top: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    height: calc(100% - 32px);
    padding: 148px 20px 20px 20px;
  }

  .header__burger-menu.active .wrap {
    flex-direction: column;
    display: flex;

    height: max-content;
  }

  .banner {
    height: 385px;
    width: 100%;
    margin-top: 190px;
  }

  .banner__amount {
    font-size: 50px;
    line-height: 45px;
    margin-top: 40px;
  }

  .manager {
    position: absolute;
    left: 0;
    top: 620px;
    bottom: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
  }
  .manager__photo {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .manager__info {
    min-width: 180px;
  }
  .manager__name {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .manager__description {
    font-size: 11px;
    line-height: 100%;
    width: 100%;
  }
  .manager__contact {
    display: flex;
    flex-direction: column;
    left: 0;
    bottom: -140px;
    margin-left: 0;
  }
  .manager__contact button {
    width: 100%;
    height: 45px;
  }
  .manager__contact button.mail {
    background: white;
    color: black;
  }
  .manager__contact button.phone {
    background: #ffffff1a;
  }
  .manager__contact button::before {
    position: absolute;
    content: "";
    top: 13px;
    left: 0;
    width: 100%;
    text-align: center;
    height: 45px;
    background: none;
  }
  .manager__contact button.mail::before {
    content: "Оставить заявку";
  }
  .manager__contact button.phone::before {
    content: "Позвонить";
  }

  .header__burger-menu .nav {
    gap: 30px;
  }
  .main-slider {
    height: 630px;
  }

  .main-slider__slide {
    padding: 150px 16px 16px;
  }

  .slide__title {
    margin-bottom: 10px;
  }

  .slide__price {
    padding: 10px;
    font-size: 20px;
  }

  .slide__offer {
    width: calc(100% - 32px);
    height: 140px;
    bottom: 16px;
    right: 16px;
    left: 16px;
    padding: 10px 16px;
  }
  .slide__offer:after {
    position: absolute;
    content: "";
    background: url("./assets/icons/home.svg") center/cover no-repeat;
    width: 158px;
    height: 156px;
    bottom: -24px;
    right: -20px;
  }
  .slide__offer-title {
    font-size: 45px;
    margin-bottom: 10px;
  }
  .slide__offer-description {
    max-width: none;
  }

  .main-slider__dots {
    display: flex;
    gap: 9px;
    position: absolute;
    bottom: -30px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .dot {
    width: 47px;
    height: 3px;
    border-radius: 6px;
    background-color: #ffffff4d;
  }

  .info-block {
    padding: 63px 0;
    flex-direction: column;
  }

  .info-block:after {
    display: none;
  }

  .info-block__teams {
    flex-direction: column;
  }

  .project-team {
    margin-bottom: 30px;
  }

  .project-team__member {
    width: 34px;
    height: 34px;
    border-radius: 34px;
  }

  .project-team__count {
    font-size: 15px;
  }

  .project-team__member + .project-team__member {
    margin-left: -10px;
  }
  .project-team__name {
    font-size: 16px;
    margin-bottom: 0;
  }
  .project-team__description {
    font-size: 12px;
  }
  .connection {
    position: absolute;
    top: 370px;
  }

  .social {
    padding: 10px;
  }

  .info-block {
    margin-bottom: 17px;
  }
  .info-block__texts {
    max-width: 500px;
  }

  .info-block__title {
    max-width: 350px;
  }
  .info-block__description {
    max-width: 350px;
  }

  .info-block__actions {
    display: flex;
    flex-direction: column;
    margin-top: 110px;
  }

  .slider-controls {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .filter-buttons,
  .slider-btns {
    display: none;
  }

  .filter-buttons__select {
    display: block;
    position: relative;
  }

  [class$="buttons__select-selected"] {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    cursor: pointer;
    font-weight: 700;
    color: white;
    border-radius: 16px;
    padding: 15px 21px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  [class$="buttons__select-selected"]:after {
    content: "";
    position: absolute;
    right: 21px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    background: url("./assets/icons/arrow-dn-w.svg") center;
    width: 20px;
    height: 20px;
  }

  [class$="buttons__select-items"] {
    display: none;
    position: absolute;
    overflow: hidden;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
    border: none;
    padding: 10px;
    border-radius: 16px;
    z-index: 100;
  }
  [class$="buttons__select-items"] div {
    padding: 16px 15px;
    border-radius: 10px;
    display: flex;
    gap: 6px;
    color: white;
    cursor: pointer;
  }

  [class$="buttons__select-items"] div:hover {
    background-color: #ffffff4d;
  }

  .select-active [class*="buttons__select-items"] {
    display: block;
  }

  .select-active [class*="buttons__select-selected"]:after {
    transform: translateY(-50%) rotate(180deg);
  }

  .swiper {
    width: 100%;
    padding-bottom: 30px;
  }

  .slider-with-controls .swiper-slide {
    width: 100%;
    height: 500px;
  }

  .slider-with-controls .swiper-wrapper {
    gap: 0;
  }

  .word-rotator {
    height: 120px;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .word-rotator div > div {
    height: 30px;
    font-size: 28px;
    line-height: 30px;
  }

  .word-rotator::after {
    height: 120px;
  }
  .tab-pane.active {
    gap: 20px;
    padding-bottom: 62px;
  }

  .info__block {
    height: 370px;
  }

  .info__time {
    margin-bottom: 16px;
  }

  .info__logo {
    top: 16px;
    right: 16px;
    font-size: 20px;
    height: 37px;
    width: 37px;
  }
  .info__title {
    margin-bottom: 10px;
  }

  .info__description {
    line-height: 20px;
  }

  .info__action {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }

  .blocks__title {
    margin-bottom: 20px;
  }

  .blocks__tiles {
    gap: 10px;
  }
  .collapsible {
    overflow: hidden;
    transition: max-height 0.4s ease;
    max-height: 350px;
  }

  .collapsible.collapsed {
    max-height: 350px;
  }

  .blocks.collapsed .collapsible {
    max-height: 145px;
  }

  .blocks__tile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1 1 100%;
    padding: 10px 16px;
  }

  .blocks__tile.hidden {
    display: none;
  }

  .tile__title {
    max-width: max-content;
    line-height: 120%;
    text-align: left;
    margin-bottom: 0;
  }

  .blocks__common {
    bottom: 16px;
    left: 16px;
    right: auto;
    font-size: 12px;
    top: auto;
    line-height: 130%;
  }
  .toggle-button {
    display: block;
    width: 100%;
    font-weight: 500;
    color: #ffffff80;
    padding: 10px;
  }

  .projects-gallery {
    right: auto;
    left: auto;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
  }

  .photo-group {
    gap: 10px;
    width: 100%;
    flex-direction: column;
  }

  .photo-group img {
    width: 100%;
    height: 200px;
  }

  .photo-group .column {
    flex-direction: row;
    gap: 10px;
  }

  .photo-group .column img {
    width: calc(50% - 5px);
    height: 200px;
  }
  .projects-gallery__info {
    margin-top: 20px;
    padding: 0;
  }
  .projects-gallery__description {
    margin-bottom: 20px;
  }
  .steps {
    flex-direction: row;
    overflow: scroll;
    gap: 16px;
    padding-bottom: 30px;
    margin-bottom: 80px;
  }
  /* Chrome, Edge, Safari */
  .steps::-webkit-scrollbar {
    height: 2px; /* горизонтальный */
    width: 0; /* вертикальный */
  }

  .steps::-webkit-scrollbar-track {
    background: #ffffff1a;
  }

  .steps::-webkit-scrollbar-thumb {
    background-color: #ffffff80;
    border-radius: 100px;
  }

  .step {
    padding: 16px;
    width: 100%;
    min-width: 100%;
  }
  .step__icon {
    top: 16px;
    right: 16px;
  }
  .step__title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .step__description {
    font-size: 16px;
    line-height: 24px;
  }

  .slider-header {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 20px;
    padding: 0;
  }

  .slider-header__part {
    width: max-content;
  }
  .slide-title {
    font-size: 28px;
    line-height: 30px;
  }
  .slide-indicator {
    display: none;
  }
  .slider-btns {
    display: none;
  }

  .price-swiper {
    padding-bottom: 30px;
  }
  .swiper-wrapper {
    display: flex;
    gap: 16px;
  }
  .price-swiper {
    overflow: scroll;
  }
  .price-swiper .swiper-slide {
    min-width: 100%;
    height: 632px;
    position: relative;
    gap: 0;
  }
  .swiper-slide__block {
    padding: 16px;
    height: 100%;
  }

  .swiper-slide__block + .swiper-slide__block {
    height: 202px;
    width: calc(100% - 32px);
    position: absolute;
    bottom: 16px;
    top: auto;
    right: 16px;
    left: 16px;
    border: 1px solid #ffffff4d;
  }
  .slide-block__image {
    object-position: center;
  }

  .slide-block__title b {
    font-size: 20px;
    margin-top: 0;
  }
  .slide-block__action.white {
    position: relative;
    margin-top: 20px;
    left: 0;
    width: 100%;
    bottom: auto;
  }
  .slide-block__list {
    padding-right: 0;
    gap: 0 10px;
  }
  .slide-block__list.sm {
    gap: 0;
    flex-direction: column;
  }

  .slide-block__list.col {
    gap: 12px 10px;
  }
  .swiper-slide__block,
  .price-swiper .swiper-slide {
    height: 710px;
    margin: 0 5px 0 0 !important;
  }
  .slide-block__list .slide-block__item {
    width: 47%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .slide-block__list.sm .slide-block__item {
    width: 100%;
    flex-direction: column;
    line-height: 24px;
    font-size: 16px;
    align-items: flex-start;
    justify-content: center;
  }
  .slide-block__list {
    display: flex;
    flex-wrap: wrap;
  }
  .slide-block__item {
    padding-left: 35px;
    font-size: 13px;
    line-height: 14px;
    height: 24px;
  }
  .more .slide-block__item {
    font-size: 12px;
  }
  .slide-block__item::before {
    width: 24px;
    height: 24px;
    background-size: cover;
  }
  .slide-block__list {
    margin-bottom: 20px;
    height: 240px;
    overflow: hidden;
  }
  .slide-block__price {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    font-size: 14px;
    background: #ffffff1a;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    line-height: 100%;
    color: #ffffff80;
    text-align: right;
  }
  .slide-block__price::before {
    content: "Стоимость";
    color: white;
    font-size: 14px;
    position: absolute;
    left: 10px;
    top: 12px;
  }
  .blog-block__items {
    overflow-x: scroll;
  }
  .blog-block__item {
    min-width: calc(100vw - 34px);
  }
  .blog-block__item + .blog-block__item {
    margin-left: 16px;
  }
  .blog-block__item:last-of-type {
    display: flex;
  }
  .blog-block__item.active .blog-block__item-btn {
    padding: 14px;
  }
  .accordion {
    padding: 40px 0;
  }
  .accordion-item {
    padding: 16px;
  }
  .accordion-item + .accordion-item {
    margin-top: 10px;
  }
  .accordion-header {
    width: calc(100% - 26px);
  }
  .accordion-header::after {
    right: -26px;
  }
  .accordion-open + .accordion-body {
    padding-top: 10px;
  }
  .sale-link {
    font-size: 12px;
  }
  .footer {
    padding: 0;
    margin-top: 80px;
  }
  .hide-md {
    display: block;
  }
  .show-md {
    display: none;
  }

  .footer__top-button {
    display: flex;
    width: 100%;
    padding-bottom: 60px;
  }

  .footer__logo {
    width: 100%;
    margin-bottom: 30px;
  }

  .footer__link-black {
    padding: 10px;
  }
  .footer__buttons-second {
    position: relative;
    right: 0;
    width: 100%;
    left: 0;
    top: 30px;
  }
  .footer__text {
    font-size: 15px;
    line-height: 24px;
    width: 100%;
    margin-bottom: 30px;
  }

  .nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .nav-items {
    font-size: 16px;
  }

  .footer__contacts {
    flex-direction: column;
    bottom: -100px;
  }

  .footer__contacts a {
    width: 100%;
  }

  .footer__contacts a + a {
    margin-left: 0;
  }

  .footer__bottom {
    display: flex;
    flex-wrap: wrap;
    padding-top: 150px;
    justify-content: center;
  }

  .footer__name {
    font-size: 68px;
    letter-spacing: -4px;
    margin-bottom: 30px;
  }

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

  .footer__button-to-top {
    padding-top: 50px;
  }

  .button-to-top {
    padding: 20px 16px;
    font-size: 16px;
  }

  .button-to-top::after {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    right: 16px;
  }
  .price-swiper .swiper-scrollbar {
    display: none;
  }

  .photo-scroller {
    padding-bottom: 30px;
  }
  .projects-gallery__photos::-webkit-scrollbar,
  .price-swiper::-webkit-scrollbar {
    height: 2px; /* горизонтальный */
    width: 0; /* вертикальный */
  }

  .projects-gallery__photos::-webkit-scrollbar-track,
  .price-swiper::-webkit-scrollbar-track {
    background: #ffffff1a;
  }

  .projects-gallery__photos::-webkit-scrollbar-thumb,
  .price-swiper::-webkit-scrollbar-thumb {
    background-color: #ffffff80;
    border-radius: 100px;
  }
  .reviews-slider {
    padding-bottom: 30px;
  }
  .reviews-slider .swiper-wrapper {
    gap: 0;
  }
  .reviews-slider .swiper-slide {
    height: max-content;
  }
  .review {
    padding: 16px;
    color: white;
  }

  .review__info {
    max-width: 300px;
    margin-bottom: 20px;
  }
  .review__image {
    width: 40px;
    height: 40px;
  }
  .review__col {
    line-height: 14px;
  }
  .review__theme {
    font-size: 12px;
    max-width: 250px;
    line-height: 14px;
    margin-top: 4px;
  }
  .review__content {
    position: relative;
    white-space: pre-line;
    transition: height 0.3s ease;
  }

  .review__content.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .reviews-container {
    overflow: visible;
  }
  .reviews-container .swiper-scrollbar {
    display: block;
  }

  .navigation,
  .tab-switcher {
    display: none;
  }
  .reviews-buttons__select {
    display: block;
    position: relative;
    margin-bottom: 20px;
  }

  .contact {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
  }

  .map {
    height: 150px;
  }

  .map > iframe {
    height: 200px;
  }

  .contact-block {
    margin-top: 16px;
    width: 100%;
    position: static;
    padding: 16px;
  }

  .contact__text {
    padding-top: 16px;
    padding-left: 0;
  }

  .department {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 10px 16px;
  }

  .department-name {
    background: none;
    font-weight: bold;
    padding: 0;
  }

  .department-phone,
  .department-mail {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
  }

  .contact__collapse {
    border: none;
    margin-top: 0;
    padding-top: 0;
  }
  .contact .logo__first {
    width: 29px;
    height: 29px;
    font-size: 18px;
    border-radius: 6px;
    letter-spacing: -2px;
  }
  .contact .logo__second {
    font-size: 24px;
    letter-spacing: -1px;
  }

  .contact-block__bottom {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
  }

  .contact-block__bottom button + button {
    margin-left: 0;
    margin-top: 10px;
  }

  .form-block {
    padding: 16px;
  }

  .form__time {
    display: none;
  }

  .form__title {
    font-size: 28px;
  }

  .popup {
    padding: 30px 16px 16px 16px;
    border-radius: 16px;
    width: calc(100% - 32px);
  }

  .close-popup {
    top: 16px;
    right: 16px;
  }
  .popup__teaser {
    display: none;
  }
  .popup__title {
    font-size: 28px;
    line-height: 30px;
    margin-bottom: 16px;
  }
  .popup__subtitle {
    margin-bottom: 20px;
  }
  .popup__form > p,
  .popup__form {
    display: flex;
    flex-direction: column;
    width: calc(100% - 32px);
  }
  textarea.popup__input {
    height: 103px;
  }
  .popup__info {
    margin-bottom: 14px;
  }

  .inner .main-slider {
    margin-bottom: 60px;
    height: 570px;
  }
  .inner .breadcrumbs {
    display: none;
  }

  .inner .main-slider__slide {
    padding-top: 140px;
  }

  .inner .project-team {
    position: absolute;
    left: 10px;
    top: 290px;
    bottom: auto;
    margin-bottom: 0;
  }
  .inner .main-slider__actions {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }
  .inner .main-slider__actions button {
    width: 100%;
  }

  .inner .projects-gallery__title {
    font-size: 28px;
    line-height: 30px;
    margin-bottom: 20px;
  }

  .inner .projects-gallery {
    margin-bottom: 80px;
    padding: 0;
  }

  .inner .photo-group img {
    width: 100%;
  }
  .inner .photo-group img.half {
    width: 100%;
  }

  .inner .photo-group .column img {
    width: 50%;
  }

  .inner .projects-gallery__action,
  .inner .projects-gallery__description {
    width: 100%;
  }
  .inner .projects-gallery__info {
    flex-direction: column;
  }

  .inner .card {
    width: 100%;
    height: 100%;
    perspective: 1000px;
    cursor: pointer;
  }

  .inner .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
  }

  .inner .card:hover .card-inner {
    transform: rotateY(180deg);
  }

  .inner .card-front,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }

  .inner .card-front {
    background-color: #fff;
  }

  .inner .card-back {
    background: #ffffff1a;
    transform: rotateY(180deg);
    text-align: left;
  }
  .inner .project-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
  .inner .slider-container .swiper-slide {
    width: 100%;
    height: 400px;
  }
  .inner .title {
    font-size: 28px;
    line-height: 30px;
    margin-bottom: 30px;
  }

  .inner .slider-container {
    margin-bottom: 80px;
  }

  .inner .about-reviews {
    margin-bottom: 80px;
    width: 100%;
    padding: 16px;
  }

  .inner .about-reviews__image {
    height: 328px;
  }
  .inner .about-reviews__overlay {
    height: 328px;
  }

  .inner .about-reviews__image-spoiler {
    margin-bottom: 4px;
  }
  .inner .about-reviews__image-title {
    font-size: 30px;
    line-height: 28px;
    max-width: max-content;
    margin-bottom: 156px;
  }

  .inner .about-reviews__title {
    font-size: 24px;
    line-height: 26px;
    margin-bottom: 16px;
  }
  .inner .about-reviews__description {
    margin-bottom: 20px;
  }
  .inner .about-reviews__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .inner .about-reviews__actions button {
    width: 100%;
  }
  .inner .tab-switcher {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .inner .tab-buttons button {
    padding: 10px;
  }
  .inner .tab-buttons {
    margin-bottom: 20px;
  }

  .inner .services__photo {
    height: 256px;
  }
  .inner .services__info {
    margin-bottom: 40px;
  }
  .inner .tab-pane.active {
    padding-bottom: 16px;
  }
  .inner .services__info::before {
    top: 16px;
    right: 16px;
    width: 37px;
    height: 37px;
    font-size: 20px;
  }

  .inner .services__title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 10px;
  }
  .inner .services__description {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
  }
  .inner .services__action {
    bottom: -300px;
    left: 0;
    top: auto;
    right: auto;
    font-size: 12px;
  }
  .inner .services__action img {
    width: 24px;
    height: 24px;
  }

  .error-404 {
    padding: 20px;
    height: auto;
  }

  .error-404__logo {
    padding-top: 30px;
  }

  .error-404__title {
    padding-top: 50px;
    font-size: 36px;
  }

  .error-404__description {
    padding-top: 15px;
    font-size: 14px;
  }

  .search-form {
    padding: 5px;
    margin-top: 30px;
  }

  .search-form__input {
    padding: 9px;
    border-radius: 16px;
  }

  .search-form__action {
    width: 120px;
    margin-left: 9px;
  }

  .error-404__categories {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .error-404__header .categories-link,
  .categories-link {
    font-size: 14px;
    padding: 6px;
  }

  .categories-link + .categories-link {
    margin: 0;
    margin-top: 5px;
  }
}

/* Мобильные (320–350px) */
@media (max-width: 350px) {
  .connection {
    position: absolute;
    top: 440px;
  }

  .info-block__actions {
    margin-top: 140px;
  }
}
