@charset "UTF-8";

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.eot");
  src: url("../fonts/Montserrat-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/Montserrat-Light.woff") format("woff"), url("../fonts/Montserrat-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

/* NextPage layout stabilization: keep service and portfolio cards aligned
   after legacy responsive rules defined above. */
@media (max-width: 1200px) {
  .home-services__wrapper,
  .portfolio__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-services__item,
  .portfolio__item {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .home-services__wrapper,
  .portfolio__wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-left: 0;
    margin-right: 0;
  }

  .home-services__item,
  .portfolio__item {
    width: 100%;
    margin: 0;
  }

  .portfolio__img {
    height: 250px;
  }
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.eot");
  src: url("../fonts/Montserrat-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Montserrat-Regular.woff") format("woff"), url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.eot");
  src: url("../fonts/Montserrat-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/Montserrat-Medium.woff") format("woff"), url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.eot");
  src: url("../fonts/Montserrat-SemiBold.eot?#iefix") format("embedded-opentype"), url("../fonts/Montserrat-SemiBold.woff") format("woff"), url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBold.eot");
  src: url("../fonts/Montserrat-ExtraBold.eot?#iefix") format("embedded-opentype"), url("../fonts/Montserrat-ExtraBold.woff") format("woff"), url("../fonts/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBoldItalic.eot");
  src: url("../fonts/Montserrat-ExtraBoldItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Montserrat-ExtraBoldItalic.woff") format("woff"), url("../fonts/Montserrat-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Black.eot");
  src: url("../fonts/Montserrat-Black.eot?#iefix") format("embedded-opentype"), url("../fonts/Montserrat-Black.woff") format("woff"), url("../fonts/Montserrat-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul[class],
ol[class] {
  padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

a[class] {
  text-decoration: none;
}

button[class] {
  cursor: pointer;
}

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

/* Указываем понятную периодичность в потоке данных у article*/
article>*+* {
  margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: 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 {
  --body-bg: #fafafa;
  --body-bg-2: #e9e9e9;
  --text-color: #2C2C2C;
  --text-light-color: #575757;
  --header-fixed-color: rgba(247, 247, 247, 0.92);
  --header-fixed-border-color: #e2e2e2;
  --input-border-color: #ABABAB;
  --main-color-1: #FFF0A8;
  --main-color-2: #E93F38;
  --main-color-3: #fed500;
}

[dark] {
  --body-bg: #1D1D1D;
  --body-bg-2: #272727;
  --text-color: #fff;
  --text-light-color: #cccccc;
  --header-fixed-color: rgba(63, 63, 63, 0.92);
  --header-fixed-border-color: #464646;
  --input-border-color: #c7c7c7;
  --main-color-1: #FFF0A8;
  --main-color-2: #E93F38;
  --main-color-3: #fed500;
}

@keyframes BulletProgress {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes shake {
  0% {
    transform: rotateZ(0deg);
  }

  10% {
    transform: rotateZ(-10deg);
  }

  20% {
    transform: rotateZ(15deg);
  }

  30% {
    transform: rotateZ(-10deg);
  }

  40% {
    transform: rotateZ(7.5deg);
  }

  50% {
    transform: rotateZ(-6deg);
  }

  60% {
    transform: rotateZ(5deg);
  }

  70% {
    transform: rotateZ(-4.28571deg);
  }

  80% {
    transform: rotateZ(3.75deg);
  }

  90% {
    transform: rotateZ(-3.33333deg);
  }

  100% {
    transform: rotateZ(0deg);
  }
}

@keyframes show_header {
  0% {
    opacity: 0;
    top: -70px;
  }

  100% {
    opacity: 1;
    top: 0;
  }
}

.btn {
  padding: 20px 30px;
  min-height: 55px;
  background-color: var(--main-color-2);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  width: -moz-max-content;
  width: max-content;
  border-radius: 30px;
  transition: all 0.3s ease 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: none;
  letter-spacing: 0.3px;
  cursor: pointer;
  outline-width: 0;
}


.btn:after {
  content: "";
  width: 0%;
  height: 100%;
  background: var(--main-color-3);
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}

.btn:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}

.btn span {
  text-align: center;
  width: 100%;
  color: #fff;
  z-index: 1;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.btn:hover span {
  color: #1D1D1D;
  animation: scaleUp 0.3s ease-in-out;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

/* .btn span::before {
  box-sizing: border-box;
  position: absolute;
  content: "";
  background: inherit;
}

.btn:hover span::before, .btn:focus span::before {
  animation: chitchat linear both 1.2s;
}

@keyframes chitchat {
  0% {
    content: "#";
  }

  5% {
    content: ".";
  }

  10% {
    content: "^{";
  }

  15% {
    content: "-!";
  }

  20% {
    content: "#$_";
  }

  25% {
    content: "№:0";
  }

  30% {
    content: "#{+.";
  }

  35% {
    content: "@}-?";
  }

  40% {
    content: "?{4@%";
  }

  45% {
    content: "=.,^!";
  }

  50% {
    content: "?2@%";
  }

  55% {
    content: "\;1}]";
  }

  60% {
    content: "?{%:%";
    right: 0;
  }

  65% {
    content: "|{f[4";
    right: 0;
  }

  70% {
    content: "{4%0%";
    right: 0;
  }

  75% {
    content: "'1_0<";
    right: 0;
  }

  80% {
    content: "{0%";
    right: 0;
  }

  85% {
    content: "]>'";
    right: 0;
  }

  90% {
    content: "4";
    right: 0;
  }

  95% {
    content: "2";
    right: 0;
  }

  100% {
    content: "";
    right: 0;
  }
} */

/* .btn-arrow {
  position: relative;
  border: 0;
  vertical-align: middle;
  background: transparent;
  padding: 0;
  width: 250px;
}

.btn-arrow__circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  background: var(--text-color);
  border-radius: 30px;
}

.btn-arrow__icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 8px;
  width: 20px;
  height: 1px;
}

.btn-arrow__icon::before {
  position: absolute;
  content: "";
  top: -5px;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 0.125rem solid var(--main-color-2);
  border-right: 0.125rem solid var(--main-color-2);
  transform: rotate(45deg);
}

.btn-arrow__text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px 0;
  margin: 0 0 0 30px;
  color: var(--text-color);
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.btn-arrow:hover .btn-arrow__circle {
  width: 100%;
}

.btn-arrow:hover .btn-arrow__icon {
  background: var(--main-color-2);
  transform: translate(1rem, 0);
}

.btn-arrow:hover .btn-arrow__text {
  color: var(--main-color-2);
} */

.progress {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 300px;
  z-index: 3;
}

.progress__digits {
  font-size: 12px;
  font-weight: 500;
}

.progress__line {
  height: 100%;
  width: 2px;
  background: var(--header-fixed-border-color);
  position: relative;
  margin: 20px 0;
}

.progress__line-active {
  height: 0;
  width: 100%;
  background: var(--main-color-2);
  position: absolute;
  top: 0;
  left: 0;
}

.title,
.project-content h2,
.text__wrapper h2 {
  font-size: 30px;
  line-height: 40px;
  font-weight: 600;
  position: relative;
  padding-left: 30px;
  margin-left: -30px;
}

.title::before,
.project-content h2::before,
.text__wrapper h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--main-color-2);
}

.main-title {
  font-size: 36px;
  line-height: 46px;
  font-weight: 600;
  text-align: center;
}

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

.social__icon:not(:last-child) {
  margin-right: 30px;
}

.social__icon svg {
  width: 25px;
  height: 25px;
}

.social__icon svg path {
  fill: var(--text-color);
  transition: fill 0.3s ease 0s;
}

.social__icon:hover svg path {
  fill: var(--main-color-2);
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--body-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.loader {
  width: 150px;
  height: 150px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.loader:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: var(--main-color-3);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.loader:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: var(--main-color-2);
  border-radius: 50%;
  animation: spin 3s linear infinite;
}

.loader-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  height: 70%;
  color: var(--main-color-2);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 0;
}

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

.breadcrumbs__item {
  position: relative;
}

.breadcrumbs__item:not(:last-child) {
  margin-right: 10px;
}

.breadcrumbs__item:not(:last-child):after {
  content: "/";
  margin-left: 10px;
}

.breadcrumbs__link {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease 0s;
}

.breadcrumbs__link:hover {
  color: var(--main-color-2);
}

.breadcrumbs__text {
  color: var(--text-light-color);
}


#particles-js {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

.page-top {
  padding: 90px 0 30px 0;
  position: relative;
}

.page-top__title {
  font-size: 200px;
  line-height: 300px;
  text-align: center;
  letter-spacing: 1px;
  color: var(--header-fixed-border-color);
  position: relative;
}

.page-top__title::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 1px;
  top: auto;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--main-color-2);
}

.header {
  padding: 15px 0;
  z-index: 2;
}

.header_fixed {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  justify-content: center;
  background: var(--header-fixed-color);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  animation-name: show_header;
  animation-duration: 0.8s;
  z-index: 20;
  border-bottom: 1px solid var(--header-fixed-border-color);
}

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

.header__body {
  width: 75%;
}

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

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

.header__logo {
  display: flex;
  width: 250px;
  margin-right: 95px;
}

.header__logo_mob {
  display: none;
  padding: 0 20px;
  width: 230px;
}

.header__logo img {
  width: 100%;
  height: 100%;
}

.header__logo_mob img {
  width: 100%;
  height: 100%;
}

.header__list {
  display: flex;
}

.header__li {
  position: relative;
  transition: all 0.3s ease 0s;
}

.header__li--active .header__link {
  color: var(--main-color-2);
}

.header__li--active .header__link::before {
  transform: scaleX(1);
  transform-origin: left;
}

.header__li:not(:last-child) {
  margin-right: 50px;
}

.header__li span {
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease 0s;
  cursor: pointer;
  padding: 20px 0;
}

.header__li span:hover {
  color: var(--main-color-2);
}

.header__li:hover .header__sub-menu {
  visibility: visible;
  opacity: 1;
}

.header__link {
  font-size: 15px;
  font-weight: 400;
  transition: all 0.3s ease 0s;
  padding: 20px 0;
}

.header__link:hover {
  color: var(--main-color-2);
}

.header__link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.header__link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--main-color-2);
  transition: transform 0.2s ease 0s;
  transform: scaleX(0);
  transform-origin: right;
}

.header__sub-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 40px;
  background-color: var(--body-bg);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease 0s;
  border-radius: 10px;
  border: 1px solid var(--header-fixed-border-color);
  width: -moz-max-content;
  width: max-content;
  z-index: 1;
  padding: 20px 20px !important;
}

.header__sub-menu .header__li:not(:last-child) {
  margin-bottom: 15px;
}

.header__sub-link {
  transition: all 0.3s ease 0s;
}

.header__sub-link:hover {
  color: var(--main-color-2);
}

.language {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-right: 45px;
  cursor: pointer;
}

.language__native {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
}

.language__list {
  padding: 3px 0 !important;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--body-bg);
  border-radius: 10px;
  border: 1px solid var(--header-fixed-border-color);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease 0s;
  cursor: default;
}

.language__text {
  display: flex;
  align-items: center;
  padding: 12px 13px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

.language__text:hover {
  color: var(--main-color-2);
}

.language:hover .language__list {
  opacity: 1;
  visibility: visible;
}

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

.header__phone.active .header__tel {
  max-height: 15px;
  opacity: 1;
  visibility: visible;
}

.header__phone.active .header__tel a {
  max-width: 150px;
}

.header__phone.active .header__icon {
  animation-play-state: paused;
}

.header__phone.active svg path {
  fill: var(--main-color-2);
}

.header__icon {
  animation: 2000ms ease 0s infinite shake;
  display: block;
  width: 20px;
  height: 23px;
  cursor: pointer;
}

.header__icon:hover {
  animation-play-state: paused;
}

.header__icon:hover svg path {
  fill: var(--main-color-2);
}

.header__icon svg {
  width: 100%;
  height: 100%;
}

.header__icon svg path {
  transition: fill 0.2s ease 0s;
  fill: var(--text-color);
}

.header__tel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  margin-left: 15px;
  transition: opacity 0.3s ease 0.1s;
}

.header__tel a {
  text-decoration: none;
  font-weight: 600;
  display: block;
  line-height: 15px;
  transition: all 0.3s ease 0.1s;
  max-width: 0;
}

.header__tel a:hover {
  color: var(--main-color-2);
}

.header__btn {
  margin-left: 40px;
  background-color: var(--main-color-2);
  border-color: var(--main-color-2);
  color: #fff;
}

.header__btn:hover {
  background-color: var(--main-color-3);
  border-color: var(--main-color-3);
  color: var(--body-bg);
}

.toggle {
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
  margin-right: 45px;
}

.input {
  display: none;
}

.icon {
  grid-column: 1 / 1;
  grid-row: 1 / 1;
  transition: transform 500ms;
}

.icon svg {
  transition: fill 0.3s ease 0s;
}

.icon:hover svg {
  fill: var(--main-color-2);
  animation-play-state: paused;
}

.icon--moon {
  transition-delay: 200ms;
}

.icon--moon svg {
  animation: tilt 5s linear infinite;
}

@keyframes tilt {

  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.icon--sun {
  transform: scale(0);
}

.icon--sun svg {
  animation: rotate 15s linear infinite;
}

@keyframes rotate {

  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

#theme-switch:checked+.icon--moon {
  transform: rotate(360deg) scale(0);
}

#theme-switch:checked~.icon--sun {
  transition-delay: 200ms;
  transform: scale(1) rotate(360deg);
}

.header__social {
  display: none;
}

.hamburger {
  height: 18px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  cursor: pointer;
  z-index: 32;

  span {
    transition: all 0.2s ease 0s;
    background-color: var(--text-light-color);
    width: 26px;
    height: 2px;
  }

  span:nth-child(2) {
    width: 32px;
  }
}

.close {

  span {
    background-color: var(--main-color-2);
  }

  span:nth-child(1) {
    transform: translateY(8px) rotate(-45deg);
  }

  span:nth-child(2) {
    display: none;
  }

  span:nth-child(3) {
    transform: translateY(-8px) rotate(45deg);
  }
}

.footer {
  background-color: var(--header-fixed-color);
  border-top: 1px solid var(--header-fixed-border-color);
  padding: 75px 0;
}

.footer__wrapper {
  display: flex;
  justify-content: space-between;
}

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

.footer__item:first-child {
  justify-content: space-between;
}

.footer__logo {
  width: 250px;
}

.footer__logo img {
  width: 100%;
  height: 100%;
}

.footer__title {
  font-weight: 700;
  font-size: 16 px;
  line-height: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer__li:not(:last-child) {
  margin-right: 0;
  margin-bottom: 10px;
}

.footer__link {
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease 0s;
}

.footer__link:hover {
  color: var(--main-color-2);
}

.footer__email {
  margin-bottom: 10px;
}

.footer__social {
  margin-top: 20px;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 30px;
  overflow-x: hidden;
  color: var(--text-color);
  background-color: var(--body-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: default;
  transition: all 0.3s ease 0s;
}

a {
  color: var(--text-color);
}

.container {
  max-width: 1570px;
  padding: 0 15px;
  margin: 0 auto;
}

.wrapper {
  padding: 0 30px;
}

.no-scroll {
  overflow: hidden;
}

.home-top {
  padding: 60px 0 80px 0;
  position: relative;
}

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

.home-top__content {
  max-width: 400px;
  position: relative;
}

.home-top__subtitle {
  font-weight: 300;
  font-size: 13px;
  color: var(--main-color-2);
}

.home-top__title {
  margin-top: 10px;
  font-weight: 500;
  font-size: 35px;
  line-height: 145%;
}

.home-top__btn {
  margin-top: 50px;
}

.home-top__slider {
  max-width: 600px;
}

.main-slider {
  margin: 0;
}

.main-slider__item {
  position: relative;
  height: 580px;
}

.main-slider__descr {
  position: absolute;
  bottom: 0;
  border-left: 2px solid var(--main-color-2);
  padding-left: 20px;
}

.main-slider__number {
  font-weight: 300;
  font-size: 30px;
}

.main-slider__name {
  margin-top: 15px;
  font-size: 50px;
  line-height: 62px;
  letter-spacing: 0.05em;
}

.main-slider__img {
  width: 100%;
  max-height: 450px;
}

.main-slider__pag {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto !important;
  max-width: 100%;
  position: absolute;
  left: 2px !important;
  bottom: -120px !important;
}

.main-slider__bullet-custom {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  position: relative;
  cursor: pointer;
  box-shadow: inset 0 0 0 1.5px rgba(63, 63, 63, 0.226);
  border-radius: 50%;
}

.main-slider__bullet-custom::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--header-fixed-border-color);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.main-slider__bullet-custom:not(:last-child) {
  margin-right: 50px !important;
}

.main-slider__bullet-custom svg {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  box-shadow: inset 0 0 0 1.5px var(--header-fixed-border-color);
  border-radius: 50%;
}

.main-slider__bullet-custom_active svg {
  display: block;
}

.main-slider__bullet-custom_active svg circle {
  stroke-dasharray: 56.5563;
  stroke-dashoffset: 56.5563;
  animation: BulletProgress 6000ms cubic-bezier(0.3, 0, 0.3, 1) forwards;
}

.main-slider__bullet-custom_active::before {
  background-color: var(--main-color-2);
}

.swiper-paused .main-slider__bullet-custom_active svg circle {
  animation-play-state: paused;
}

.home-about {
  padding: 90px 0;
}

.home-about__wrapper {
  display: flex;
  justify-content: space-between;
}

.home-about__text {
  width: 75%;
  border-bottom: 1px solid var(--header-fixed-border-color);
  padding-bottom: 50px;
}

.home-about__subtitle {
  margin-top: 35px;
  font-weight: 600;
  font-size: 18px;
  line-height: 180%;
}

.home-about__descr {
  margin-top: 20px;
}

.home-about__item:not(:last-child) {
  margin-bottom: 50px;
}

.home-about__mean {
  font-size: 50px;
  font-weight: 600;
  color: var(--main-color-2);
}

.home-about__exp {
  margin-top: 15px;
}

.home-services {
  padding: 90px 0;
}

.home-services__wrapper {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.home-services__item {
  width: auto;
  padding: 28px;
  border: 1px solid var(--header-fixed-border-color);
  border-radius: 20px;
  background: var(--body-bg-2);
}

.home-services__name {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 23px;
  transition: color 0.3s ease 0s;
  color: var(--main-color-2);
}

.home-services__name img {
  margin-right: 20px;
}

/* .home-services__name:hover {
  color: var(--main-color-3);
} */

.home-services__descr {
  margin-top: 20px;
}

.home-services__list {
  margin-top: 20px !important;
}

.home-services__li {
  margin-bottom: 16px;
  line-height: 21px;
}

.home-services__all {
  display: inline-flex;
  margin-top: 10px;
  color: var(--main-color-3);
  font-weight: 500;
}

.home-services__li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s ease 0s;
}

.home-services__li svg {
  margin-left: 15px;
}

.home-services__li svg path {
  fill: var(--main-color-3);
}

.home-services__line {
  /* height: 1px;
  background: var(--header-fixed-border-color); */
  position: relative;
}

.home-services__line::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 1px;
  background-color: var(--main-color-3);
  top: 4px;
  left: 0;
  transition: width 0.5s ease 0s;
}

.home-services__li:hover a {
  color: var(--main-color-3);
}

.home-services__li:hover .home-services__line::before {
  width: 70px;
}

.portfolio {
  padding: 90px 0;
}

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

.portfolio__tab {
  font-weight: 400;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease 0s;
}

.portfolio__tab:not(:last-child) {
  margin-right: 40px;
}

.portfolio__tab::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--main-color-3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease 0s;
}

.portfolio__tab:hover {
  color: var(--main-color-3);
}

.portfolio__tab:hover::before {
  width: 100%;
  opacity: 1;
  visibility: visible;
}

.portfolio__tab.active {
  color: var(--main-color-3);
}

.portfolio__tab.active::before {
  width: 100%;
  opacity: 1;
  visibility: visible;
}

.portfolio__wrapper {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.portfolio__item {
  width: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.portfolio__item:hover .portfolio__img img {
  transform: scale(1.08);
}

.portfolio__item:hover .portfolio__line::before {
  width: 100px;
}

.portfolio__img {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--header-fixed-border-color);
  background: #202124;
  padding: 18px;
}

.portfolio__img img {
  border-radius: 20px;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  width: 100%;
  transition: transform 1.5s cubic-bezier(0.05, 0.66, 0.14, 0.86);
}

.portfolio__block {
  margin-top: 20px;
  display: flex;
  min-height: 100px;
  flex: 1;
}

.portfolio__category {
  line-height: 23px;
  font-weight: 300;
  width: 30%;
  padding-right: 20px;
  color: var(--main-color-2);
}

.portfolio__content {
  width: 70%;
  padding-left: 20px;
}

.portfolio__name {
  color: var(--text-color);
  font-size: 23px;
  line-height: 33px;
  font-weight: 500;
}

.portfolio__descr {
  margin-top: 7px;
  color: var(--text-color);
}

.portfolio__more {
  margin-top: 20px;
}

.portfolio__btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 14px;
  line-height: 20px;
  color: var(--main-color-3);
  margin-bottom: 15px;
}

.portfolio__btn svg {
  margin-left: 15px;
}

.portfolio__btn svg path {
  fill: var(--main-color-3);
}

.portfolio__line {
  height: 1px;
  background: var(--header-fixed-border-color);
  position: relative;
}

.portfolio__line::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 1px;
  background-color: var(--main-color-3);
  top: 0;
  right: 0;
  transition: width 0.7s ease 0s;
}

@media (max-width: 1200px) {
  .home-services__wrapper,
  .portfolio__wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-services__item,
  .portfolio__item {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .home-services__wrapper,
  .portfolio__wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-left: 0;
    margin-right: 0;
  }

  .home-services__item,
  .portfolio__item {
    width: 100%;
    margin: 0;
  }

  .portfolio__img {
    height: 250px;
  }
}

.home-portfolio {
  padding: 60px 0;
}

.home-portfolio__more {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.home-portfolio__btn {
  background-color: var(--main-color-2);
  border-color: var(--main-color-2);
  color: #fff;
}

.home-portfolio__btn:hover {
  background-color: var(--main-color-3);
  border-color: var(--main-color-3);
  color: var(--body-bg);
}

.home-reviews {
  padding: 90px 0;
}

.reviews__content {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.reviews__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews__rating {
  margin-left: 70px;
}

.reviews__est {
  padding: 0 3px;
  font-weight: 500;
  font-size: 18px;
  line-height: 23px;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-between;
}

.reviews__business {
  margin-top: 5px;
  height: 22px;
  position: relative;
}

.reviews__active {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  z-index: 2;
}

.reviews__stars {
  height: 22px;
  position: relative;
  display: inline-block;
}

.reviews__stars svg path {
  fill: #d3d3d3;
}

.reviews__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 150px;
}

.reviews__arrow {
  position: static;
  width: 40px;
  height: 40px;
  border: 1px solid var(--header-fixed-border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews__arrow::before {
  content: "";
  transform: rotate(45deg);
  border: solid var(--header-fixed-border-color);
  display: inline-block;
  padding: 4px;
  transition: all 0.3s ease 0s;
}

.reviews__arrow:hover {
  border-color: var(--main-color-2);
}

.reviews__arrow:hover::before {
  border-color: var(--main-color-2);
}

.reviews__arrow:hover::after {
  border-color: var(--main-color-2);
}

.reviews__arrow_left::before {
  border-width: 0 0 1px 1px;
  margin-right: -3px;
}

.reviews__arrow_right::before {
  border-width: 1px 1px 0 0;
  margin-left: -3px;
}

.reviews__slider {
  margin-top: 30px;
}

.reviews__item {
  border: 1px solid var(--header-fixed-border-color);
  background-color: var(--header-fixed-color);
  border-radius: 25px;
  padding: 30px;
  min-height: 220px;
}

.reviews__pag {
  display: flex;
  justify-content: center;
  margin: 0 15px;
  width: auto;
}

.reviews__pag span {
  color: var(--text-light-color);
}

.reviews__pag span:nth-child(1) {
  font-weight: 500;
  font-size: 18px;
  color: var(--text-color);
}

.reviews__pag span:nth-child(2) {
  color: var(--text-light-color);
}

.reviews__bullet-custom {
  width: 15px;
  height: 15px;
  margin: 0 12.5px !important;
  border-radius: 50%;
  background: #afb7c2;
  cursor: pointer;
}

.reviews__bullet-custom.swiper-pagination-bullet-active {
  background-color: var(--main-color-3);
}

.reviews__wrap {
  display: flex;
  justify-content: space-between;
}

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

.reviews__avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0097A7;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
}

.reviews__info {
  margin-left: 15px;
}

.reviews__name {
  font-weight: 500;
  font-size: 17px;
  line-height: 20px;
}

.reviews__date {
  margin-top: 8px;
  font-size: 12px;
  line-height: 15px;
  color: var(--text-light-color);
}

.reviews__icon img {
  width: 30px;
  height: 30px;
}

.reviews__text {
  margin-top: 15px;
}

.faq {
  padding: 90px 0;
}

.faq__wrapper {
  margin-top: 50px;
}

.faq__accordion {
  border: 1px solid var(--header-fixed-border-color);
  border-radius: 20px;
  transition: all 0.3s ease 0s;
}

.faq__accordion:not(:last-child) {
  margin-bottom: 20px;
}

.faq__accordion:hover {
  border: 1px solid var(--main-color-2);
}

.faq__accordion.active {
  border: 1px solid var(--main-color-2);
}

.faq__question {
  width: 100%;
  background: var(--body-bg);
  border: none;
  padding: 18px 60px 18px 30px;
  border-radius: 20px;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  cursor: pointer;
  user-select: none;
}

.faq__question.active {
  color: var(--main-color-2);
}

.faq__question::before {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
  border: solid var(--text-color);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transition: transform 0.2s ease 0s;
}

.faq__question.active::before {
  transform: translateY(-40%) rotate(-135deg);
}

.faq__answer {
  padding: 0 30px;
  line-height: 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.faq__answer p {
  margin-bottom: 25px;
}

.faq__answer ul {
  margin-top: 0;
  margin-bottom: 20px;
}

.text {
  padding: 90px 0;
}

.text__wrapper {
  margin-top: 40px;
  font-weight: 300;
}

.text__wrapper h2 {
  margin-bottom: 40px;
}

.text__wrapper h3 {
  margin-top: 20px;
  font-weight: 600;
  font-size: 19px;
  line-height: 30px;
}

.text__wrapper h4 {
  margin-top: 20px;
  font-weight: 600;
  font-size: 17px;
  line-height: 28px;
}

.text__wrapper p {
  margin: 15px 0;
}

.text__wrapper ul,
.text__wrapper ol {
  margin: 20px 0;
  padding-left: 30px;
}

.text__wrapper li {
  list-style: none;
  padding-left: 25px;
  position: relative;
  font-weight: 500;
  line-height: 25px;
}

.text__wrapper li::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #919191;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease 0s;
}

.text__wrapper li:not(:last-child) {
  margin-bottom: 10px;
}

.feedback {
  padding: 90px 0 120px 0;
}

.feedback__wrappper {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}

.feedback__left {
  width: calc(45% - 70px);
}

.feedback__descr {
  margin-top: 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
}

.feedback__img img {
  width: 100%;
}

.feedback__right {
  width: calc(55% - 70px);
}

.feedback__item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.feedback__item:not(:last-child) {
  margin-bottom: 35px;
}

.feedback__item:last-child {
  margin-top: 65px;
}

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

.feedback__block_jcfs {
  justify-content: flex-start
}

.feedback__label {
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
}

.feedback__input {
  margin-top: 2px;
  border: none;
  border-bottom: 1px solid var(--input-border-color);
  padding: 12px 0;
  outline-width: 0;
  background: none;
  font-weight: 500;
  color: var(--text-color);
  width: 100%;
}

.feedback__input:-webkit-autofill,
.feedback__input:-webkit-autofill:hover,
.feedback__input:-webkit-autofill:focus,
.feedback__input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: var(--text-color);
}

.feedback__input::-moz-placeholder {
  color: var(--input-border-color);
  font-weight: 400;
}

.feedback__input::placeholder {
  color: var(--input-border-color);
  font-weight: 400;
}

.feedback__input.wpcf7-not-valid {
  border-bottom: 1px solid red;
}

.wpcf7-not-valid-tip {
  display: none !important;
}

.wpcf7-spinner {
  display: none !important;
}

.feedback__input:focus {
  border-bottom: 1px solid var(--main-color-2);
}

.feedback__sub-item {
  display: flex;
  flex-direction: column;
  width: calc(50% - 25px);
}

.feedback__textarea {
  margin-top: 2px;
  border: none;
  border-bottom: 1px solid var(--input-border-color);
  padding: 12px 0;
  resize: none;
  height: 50px;
  outline-width: 0;
  background: none;
  font-weight: 500;
  overflow: hidden;
  color: var(--text-color);
  width: 100%;
}

.feedback__textarea::-moz-placeholder {
  color: var(--input-border-color);
  font-weight: 400;
}

.feedback__textarea::placeholder {
  color: var(--input-border-color);
  font-weight: 400;
}

.feedback__textarea:focus {
  border-bottom: 1px solid var(--main-color-2);
}

.feedback__btn {
  padding: 20px 50px;
  margin-right: 50px;
}

.feedback__personal {
  position: relative;
}

.feedback__checkbox {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.feedback__checkbox:checked+.wpcf7-list-item-label>.feedback__toggle {
  border-color: var(--main-color-2);
}

.feedback__checkbox:checked+.wpcf7-list-item-label>.feedback__toggle::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: var(--main-color-2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.feedback__toggle {
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--input-border-color);
  border-radius: 7px;
  transition: all 0.3s ease 0s;
  cursor: pointer;
}

.wpcf7-list-item {
  display: block !important;
  margin: 0 !important;
}

.wpcf7-list-item-label {
  font-size: 14px;
  line-height: 21px;
  display: flex;
  align-items: center;
  padding-left: 30px;
}

.wpcf7-response-output {
  border-radius: 20px !important;
  padding: 10px 20px !important;
  line-height: 24px !important;
  margin: 30px 0 0 0 !important;
  border-width: 1px !important;
}

.grecaptcha-badge {
  display: none !important;
}

.main-portfolio__top {
  position: relative;
}

.main-portfolio__scroll {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-portfolio__title {
  margin-top: 40px;
  padding-left: 0;
  padding-bottom: 20px;
  font-size: 36px;
  position: relative;
}

.main-portfolio__title::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 1px;
  top: auto;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--main-color-2);
}

.project-top {
  min-height: 700px;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.project-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1D1D1D;
  opacity: 0.7;
}

.project-top .breadcrumbs__item {
  color: #cccccc;
}

.project-top .breadcrumbs__link {
  color: #fff;
}

.project-top .breadcrumbs__text {
  color: #cccccc;
}

.project-top__title {
  margin-top: 70px;
  z-index: 1;
  position: relative;
  color: #fff;
}

.project-top__subtitle {
  margin-top: 20px;
  z-index: 1;
  position: relative;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  text-align: center;
  color: #fff;
}

.project-top__wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  z-index: 1;
  position: relative;
}

.project-top__item:not(:last-child) {
  margin-right: 80px;
}

.project-top__option {
  color: var(--main-color-3);
}

.project-top__value {
  margin-top: 5px;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

.project-top__line {
  margin: 80px auto 0 auto;
  height: 230px;
  width: 2px;
  background-color: var(--main-color-2);
  z-index: 1;
  position: relative;
}

.project-content {
  padding: 50px 0 80px 0;
  margin-top: 0 !important;
}

.project-content h2 {
  margin-bottom: 30px;
}

.project-content__main-text {
  margin-bottom: 40px;
}

.project-content__item:not(:last-child) {
  margin-bottom: 60px;
}

.project-content__img {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: auto;
}

.project-content__img img {
  border-radius: 25px;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.project-content__img_100 {
  padding-bottom: 57%;
}

.project-content__img_100 img {
  width: 100%;
}

.project-content__img_50 {
  padding-bottom: 28%;
}

.project-content__img_50 img {
  width: calc(50% - 15px);
}

.project-content__img_50 img:nth-child(2) {
  left: calc(50% + 15px);
}

.project-content__img_33 {
  padding-bottom: 52%;
}

.project-content__img_33 img {
  width: calc(33.3333% - 20px);
}

.project-content__img_33 img:nth-child(2) {
  left: calc(33.333% + 10px);
}

.project-content__img_33 img:nth-child(3) {
  left: calc(66.666% + 20px);
}

.project-content__descr {
  color: var(--main-color-2);
  font-weight: 400;
  max-width: 1000px;
  margin: 50px auto 0 auto;
  border-bottom: 1px solid var(--header-fixed-border-color);
}

.services-top {
  padding: 100px 0 80px 0;
  position: relative;
  min-height: 640px;
}

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

.services-top__wrapper .breadcrumbs {
  justify-content: flex-start;
  width: max-content;
}

.services-top__content {
  max-width: 450px;
  z-index: 1;
}

.services-top__title {
  margin-top: 40px;
  text-align: left;
}

.services-top__descr {
  margin-top: 30px;
}

.services-top__btn {
  margin-top: 40px;
}

.services-top__img {
  width: 600px;
  max-width: 100%;
  height: auto;
  z-index: 1;
}

.services-top__img img {
  width: 100%;
  height: 100%;
}

.services-ad {
  padding: 30px 0;
  position: relative;
}

.services-ad::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--main-color-1);
  height: 100%;
  width: 65%;
  z-index: -1;
}

.services-ad__text {
  color: #000;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.services-ad__ads {
  color: #000;
  margin-top: 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: 0.48px;
  text-transform: uppercase;
}

.services-main {
  padding: 120px 0 90px 0;
}

.services-main__all:not(:last-child) {
  margin-bottom: 100px;
}

.services-main__wrapper {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.services-main__item {
  min-height: 200px;
  padding: 30px;
  width: calc(33.33333% - 30px);
  margin-left: 15px;
  margin-right: 15px;
  border-radius: 20px;
  border: 1px solid var(--header-fixed-border-color);
  background-color: var(--header-fixed-color);
  margin-bottom: 30px;
  transition: all 0.3s ease 0s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.services-main__item:hover {
  border-color: var(--main-color-2);
  background-color: var(--header-fixed-color);
}

.services-main__item:hover .services-main__link {
  transform: translateX(5px);
  color: var(--main-color-2);
}

.services-main__item:hover .services-main__link svg path {
  fill: var(--main-color-2);
}

.services-main__item:hover .services-main__name {
  color: var(--main-color-2);
}

.services-main__item:hover .services-main__name::before {
  background: var(--main-color-2);
}

.services-main__item:hover .services-main__img {
  bottom: -20px;
  opacity: 1;
  z-index: 0;
}

.services-main__img {
  position: absolute;
  right: -20px;
  bottom: 100px;
  width: 170px;
  height: 170px;
  transition: all 0.5s ease 0.1s;
  opacity: 0;
}

.services-main__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.services-main__name {
  font-size: 22px;
  font-weight: 500;
  position: relative;
  padding-left: 20px;
  transition: all 0.3s ease 0s;
  max-width: 80%;
}

.services-main__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  height: 20px;
  width: 2px;
  background-color: var(--main-color-3);
  transition: background 0.3s ease 0s;
}

.services-main__descr {
  margin-top: 15px;
  z-index: 1;
  max-width: 80%;
}

.services-main__link {
  margin-top: 25px;
  border: none;
  background: none;
  color: var(--main-color-3);
  transition: all 0.3s ease 0s;
  display: flex;
  align-items: center;
  max-width: 80%;
}

.services-main__link svg {
  margin-left: 12px;
}

.services-main__link svg path {
  transition: all 0.3s ease 0s;
  fill: var(--main-color-3);
}

.services-algorithm {
  padding: 90px 0;
}

.services-algorithm__wrapper {
  margin-top: 50px;
  display: flex;
}

.services-algorithm__text {
  width: 65%;
  margin-right: 130px;
}

.services-algorithm__text p:not(:last-child) {
  margin-bottom: 20px;
}

.services-algorithm__img {
  width: 35%;
  height: auto;
}

.services-algorithm__img img {
  width: 100%;
}

.services-algorithm__q {
  margin-top: 50px;
  border-radius: 20px;
  background: var(--header-fixed-border-color);
  padding: 20px 30px;
}

.services-stages {
  padding: 90px 0;
}

.services-stages__wrapper {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.services-stages__item {
  width: calc(50% - 100px);
}

.services-stages__item:not(:nth-last-child(-n+2)) {
  margin-bottom: 50px;
}

.services-stages__number {
  position: relative;
  padding-left: 130px;
  font-size: 70px;
  font-weight: 900;
  line-height: 100px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--body-bg);
  text-shadow: 1px 0 1px var(--main-color-2), 0 1px 1px var(--main-color-2), -1px 0 1px var(--main-color-2), 0 -1px 1px var(--main-color-2);
  transition: color 0.3s ease 0s;
}

.services-stages__number::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  width: 95px;
  background-color: var(--main-color-2);
}

.services-stages__name {
  color: var(--main-color-3);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.4px;
}

.services-stages__descr {
  margin-top: 15px;
}

.contacts {
  padding: 70px 0;
}

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

.contacts__body {
  width: calc(35% - 70px);
}

.contacts__item {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--header-fixed-border-color);
}

.contacts__item:not(:last-child) {
  margin-bottom: 30px;
}

.contacts__name {
  font-size: 20px;
}

.contacts__content {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.contacts__content svg {
  margin-right: 15px;
  width: 25px;
  height: 20px;
}

.contacts__content svg path {
  fill: var(--main-color-2);
}

.contacts__content a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease 0s;
}

.contacts__content a:hover {
  color: var(--main-color-2);
}

.contacts__social {
  margin-top: 20px;
}

.contacts__social svg path {
  fill: var(--main-color-2);
}

.contacts__img {
  width: calc(45% - 70px);
}

.contacts__img img {
  width: 100%;
}

.page-404 {
  padding: 90px 0;
}

.page-404__wrapper {
  display: flex;
  align-items: center;
  margin: 0 auto;
  width: fit-content;
}

.page-404__body {
  max-width: 450px;
  margin-right: 80px;
}

.page-404__text {
  font-weight: 500;
  font-size: 42px;
  line-height: 55px;
}

.page-404__btn {
  margin-top: 50px;
}

.page-404__img {
  width: 50%;
  max-width: 500px;
}

.page-404__img img {
  width: 100%;
}


.popup-overlay {
  overflow: hidden;
  opacity: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--body-bg);
  z-index: -1;
  transition: all 0.3s ease 0s;
}

.popup-overlay.active {
  overflow: visible;
  opacity: 1;
  z-index: 150;
}

.popup {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.popup_feedback {
  width: 600px;
}

.popup.active {
  top: 50%;
  overflow: visible;
  opacity: 1;
}

.popup__form {
  margin-top: 70px;
  width: 100%;
}

.popup__close {
  position: absolute;
  top: -40px;
  right: -80px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}

.popup__close span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--text-color);
  border-radius: 4px;
}

.popup__close span:nth-child(1) {
  transform: rotate(45deg) translate(1px, 1px);
}

.popup__close span:nth-child(2) {
  transform: rotate(-45deg) translate(0, 0);
}

.popup__title {
  font-size: 40px;
  line-height: 50px;
  font-weight: 600;
  text-align: center;
}

.popup__descr {
  text-align: center;
  margin-top: 20px;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}

.popup__btn {
  margin-top: 50px;
  margin-right: 0;
}

.smooth-appearance {
  opacity: 0;
  transition: opacity 0.7s, transform 0.7s;
}

.smooth-appearance.active {
  opacity: 1;
}

.smooth-appearance-bottom {
  transform: translateY(70px);
}

.smooth-appearance-bottom.active {
  transform: translateY(0);
}

.smooth-appearance-left {
  transform: translateX(70px);
}

.smooth-appearance-left.active {
  transform: translateX(0);
}

.smooth-appearance-right {
  transform: translateX(-70px);
}

.smooth-appearance-right.active {
  transform: translateX(0);
}

@media (max-width: 1700px) {

  .container {
    max-width: 1370px;
  }

  .portfolio__img {
    height: 250px;
  }

  .portfolio__block {
    flex-direction: column;
    min-height: 165px;
  }

  .portfolio__category {
    width: 100%;
  }

  .portfolio__content {
    margin-top: 20px;
    padding-left: 0;
    width: 100%;
  }
}


@media (max-width: 1500px) {

  .header__btn {
    display: none;
  }

  .container {
    max-width: 1270px;
  }

  .home-top__slider {
    max-width: 500px;
  }

  .main-slider__name {
    font-size: 40px;
    line-height: 52px;
  }

  .home-top__title {
    font-size: 32px;
  }

  .header__logo {
    width: 220px;
    margin-right: 65px;
  }

  .home-services__item {
    width: calc(33.333% - 60px);
  }

  .wpcf7-list-item-label {
    font-size: 12px;
    line-height: 18px;
  }
}

@media (max-width: 1400px) {
  .container {
    max-width: 1170px;
  }

  .portfolio__img {
    height: 220px;
  }

  .services-top__img {
    width: 500px;
  }
}

@media (max-width: 1300px) {
  .progress {
    display: none;
  }
}


@media (max-width: 1169px) {
  .container {
    max-width: 960px;
  }

  .hamburger {
    display: flex;
  }

  .header {
    position: relative;
    z-index: 4;
  }

  .header__logo {
    margin-right: 0;
  }

  .header__logo_mob {
    display: flex;
  }

  .header__body {
    background: rgba(59, 59, 59, 0.527);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: all 0.5s ease 0s;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
  }

  .header__body.active {
    opacity: 1;
    visibility: visible;
  }

  .header__content {
    width: 300px;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: var(--body-bg-2);
    overflow-x: hidden;
    transition: all 0.3s ease 0.1s;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 0 80px 0;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
  }

  .header__content.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

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

  .header__list {
    flex-direction: column;
  }

  .header__list .header__li {
    border-top: 1px dotted var(--header-fixed-border-color);
    background-color: var(--body-bg-2);
  }

  .header__list .header__li:not(:last-child) {
    margin-right: 0;
  }

  .header__list .header__li:last-child {
    border-bottom: 1px dotted var(--header-fixed-border-color);
  }

  .header__li.menu-item-has-children::before {
    content: '...';
    position: absolute;
    right: 25px;
    top: 12px;
  }

  .header__li.menu-item-has-children.active {
    background-color: var(--body-bg);
  }

  .header__li:hover .header__sub-menu {
    opacity: 0;
    visibility: hidden;
  }

  .header__li--active .header__link {
    color: var(--text-light-color);
  }

  .header__link::before {
    content: none;
  }

  .header__li--active .header__link::before {
    transform: scaleX(0);
    transform-origin: right;
  }

  .header__link,
  .header__sub-link {
    display: block;
    padding: 15px 25px;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-light-color);
    width: 80%;
  }

  .header__sub-menu {
    position: static;
    max-height: 0;
    padding: 0 0 0 0 !important;
    border: none;
    transform: none;
    width: 100%;
    transition: all 0.6s ease 0s, opacity 0.3s ease 0.1s;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .header__sub-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .header__sub-menu.active .header__li {
    background-color: var(--body-bg);
  }

  .header__sub-menu .header__li:not(:last-child) {
    margin-bottom: 0;
  }

  .header__sub-menu .header__li:last-child {
    border-bottom: 0;
  }

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

  .header__btn {
    display: flex;
    width: 100%;
    border-radius: 0;
    margin-left: 0;
    order: 1;
  }

  .header__btn span {
    text-align: left;
  }

  .header__phone {
    margin-top: 50px;
    padding: 0 20px;
    order: 3;
  }

  .header__tel {
    max-height: none;
    opacity: 1;
    visibility: visible;
    margin-left: 0;
  }

  .header__tel a {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    max-width: none;
  }

  .header__icon {
    display: none;
  }

  .language {
    margin-right: 0;
    padding: 15px 25px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    order: 2;
    border-bottom: 1px dotted var(--header-fixed-border-color);
    height: auto;
  }

  .language__list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    opacity: 1;
    visibility: visible;
    position: static;
    background: none;
    border: none;
    transform: none;
    padding: 0 !important;
  }

  .language__native {
    margin-right: 30px;
    line-height: 28px;
  }

  .language__item:not(:last-child) {
    margin-right: 30px;
  }

  .language__text {
    padding: 0;
    line-height: 28px;
  }

  .toggle {
    margin-right: 0;
    position: absolute;
    right: 18px;
    top: 29px;
  }

  .header__social {
    margin-top: 50px;
    display: flex;
    padding: 0 20px;
  }

  .wrapper {
    padding: 0;
  }

  .home-top__slider {
    max-width: 450px;
  }

  .main-slider__item {
    height: 530px;
  }

  .main-slider__name {
    font-size: 38px;
    line-height: 50px;
  }

  .home-top__wrapper {
    padding: 0;
  }

  .home-about__wrapper {
    flex-direction: column;
  }

  .home-about__text {
    width: 100%;
    border-bottom: 0;
  }

  .home-about__bnf {
    display: flex;
    justify-content: space-between;
  }

  .home-about__item:not(:last-child) {
    margin-bottom: 0;
    margin-right: 50px;
  }

  .home-services__wrapper {
    flex-wrap: wrap;
  }

  .home-services__item {
    width: calc(50% - 60px);
  }

  .home-services__item:not(:last-child) {
    margin-bottom: 50px;
  }

  .portfolio__item {
    width: calc(50% - 40px);
  }

  .portfolio__img {
    height: 240px;
  }

  .feedback__right {
    width: calc(60% - 40px);
  }

  .feedback__left {
    width: calc(40% - 30px);
  }

  .services-top {
    min-height: auto;
  }

  .services-top__content {
    max-width: 400px;
  }

  .services-top__img {
    width: 450px;
  }

  .services-ad::before {
    width: 75%;
  }

  .services-main__item {
    width: calc(50% - 30px);
  }

  .services-algorithm__text {
    margin-right: 60px;
  }

  .services-stages__item {
    width: calc(50% - 60px);
  }

  .title,
  .project-content h2,
  .text__wrapper h2 {
    margin-left: 0;
  }

  .page-top__title {
    font-size: 160px;
    line-height: 260px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 760px;
  }

  .home-top__slider {
    max-width: 360px;
  }

  .main-slider__item {
    height: 430px;
  }

  .main-slider__name {
    font-size: 30px;
    line-height: 42px;
  }

  .main-slider__number {
    font-size: 25px;
  }

  .home-top__wrapper {
    align-items: flex-start;
  }

  .home-top__content {
    padding-top: 40px;
    max-width: 270px;
  }

  .main-slider__pag {
    bottom: 0;
  }

  .home-top__title {
    font-size: 28px;
  }

  .title,
  .project-content h2,
  .text__wrapper h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .home-about__subtitle {
    font-weight: 500;
  }

  .portfolio__img {
    height: 200px;
  }

  .faq__question {
    font-size: 16px;
    font-weight: 400;
  }

  .feedback__left {
    display: none;
  }

  .feedback__right {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .feedback__title {
    padding-left: 0;
    text-align: center;
  }

  .feedback__title::before {
    content: none;
  }

  .feedback__descr {
    text-align: center;
  }

  .footer__wrapper {
    flex-wrap: wrap-reverse;
  }

  .footer__item:first-child {
    margin-top: 30px;
    width: 100%;
  }

  .footer__copy {
    margin-top: 20px;
  }

  .page-top__title {
    font-size: 120px;
    line-height: 180px;
  }

  .contacts__img {
    width: calc(55% - 40px);
  }

  .contacts__body {
    width: calc(45% - 40px);
  }

  .services-top__content {
    max-width: 350px;
  }

  .services-top__img {
    width: 330px;
  }

  .services-main__name {
    font-size: 21px;
    line-height: 29px;
  }


  .services-ad {
    max-width: 600px;
  }

  .services-ad::before {
    width: 100%;
  }

  .services-ad__ads {
    max-width: 450px;
    font-size: 21px;
    line-height: 32px;
  }

  .main-title {
    font-size: 28px;
    line-height: 38px;
    padding-bottom: 20px;
  }

  .main-portfolio__title::before {
    width: 400px;
  }

  .breadcrumbs__link,
  .breadcrumbs__text {
    font-size: 13px;
  }

  .breadcrumbs__item:not(:last-child):after {
    font-size: 13px;
  }

  .services-algorithm__wrapper {
    flex-direction: column;
  }

  .services-algorithm__text {
    width: 100%;
  }

  .services-algorithm__img {
    margin-top: 20px;
    width: 60%;
  }

  .popup_feedback {
    width: 500px;
  }

  .popup__title {
    font-size: 35px;
  }

  .popup__descr {
    font-size: 16px;
    line-height: 25px;
  }

  .page-404 {
    padding: 50px 0;
  }

  .page-404__body {
    max-width: 320px;
  }

  .page-404__text {
    font-size: 30px;
    line-height: 45px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 10px 0;
  }

  .header__logo {
    width: 190px;
  }

  .home-top {
    padding: 40px 0 50px 0;
  }

  .home-top__wrapper {
    flex-direction: column;
  }

  .home-top__content {
    padding-top: 0;
    max-width: 350px;
    position: static;
  }

  .home-top__title {
    font-size: 21px;
    font-weight: 400;
  }

  .home-top__btn {
    display: none;
  }

  .home-top__slider {
    margin-top: 30px;
    max-width: 450px;
  }

  .main-slider__descr {
    position: static;
    padding-left: 15px;
  }

  .main-slider__img {
    margin-top: 40px;
    max-height: 350px;
  }

  .main-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .main-slider__pag {
    display: none;
  }

  .main-slider__name {
    margin-top: 0;
    font-size: 26px;
    line-height: 33px;
    font-weight: 600;
    color: var(--main-color-2);
  }

  .main-slider__number {
    display: none;
  }

  .home-about {
    padding: 50px 0;
  }

  .home-about__subtitle {
    font-size: 16px;
  }

  .home-about__mean {
    font-size: 40px;
  }

  .home-about__exp {
    line-height: 23px;
  }

  .home-about__item:not(:last-child) {
    margin-right: 120px;
  }

  .home-about__item:nth-child(1) .home-about__exp {
    max-width: 130px;
  }

  .home-about__item:nth-child(2) .home-about__exp {
    max-width: 110px;
  }

  .home-about__item:nth-child(3) .home-about__exp {
    max-width: 70px;
  }

  .title,
  .project-content h2,
  .text__wrapper h2 {
    font-size: 23px;
    line-height: 32px;
    font-weight: 500;
    padding-left: 20px;
  }

  .feedback__title {
    padding-left: 0;
  }

  .home-services {
    padding: 50px 0;
  }

  .home-services__item {
    width: 100%;
  }

  .home-services__name {
    font-size: 18px;
  }

  .portfolio {
    padding: 50px 0;
  }

  .portfolio__wrapper {
    margin-left: -15px;
    margin-right: -15px;
  }

  .portfolio__item {
    width: calc(50% - 30px);
    margin-left: 15px;
    margin-right: 15px;
  }

  .portfolio__category {
    width: 100%;
    font-size: 14px;
  }

  .portfolio__block {
    margin-top: 15px;
    min-height: 130px;
  }

  .portfolio__content {
    margin-top: 10px;
  }

  .portfolio__name {
    font-size: 17px;
    line-height: 28px;
  }

  .portfolio__descr {
    font-size: 14px;
    line-height: 25px;
  }

  .portfolio__img {
    position: relative;
    padding-bottom: 60%;
    height: auto;
    border-radius: 10px;
  }

  .portfolio__img img {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
  }

  .reviews {
    position: relative;
    padding: 50px 0 80px 0;
  }

  .reviews__rating {
    margin-right: 0;
  }

  .reviews__google {
    justify-content: space-between;
    width: 100%;
  }

  .reviews__nav {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .faq {
    padding: 60px 0 50px 0;
  }

  .faq__question {
    padding: 15px 50px 15px 20px;
    line-height: 27px;
  }

  .faq__question::before {
    right: 20px;
  }

  .faq__answer {
    padding: 0 20px;
  }

  .text {
    padding: 50px 0;
  }

  .text__wrapper {
    margin-top: 20px;
  }

  .feedback {
    padding: 50px 0 80px;
  }

  .footer {
    padding: 50px 0;
  }

  .page-top {
    padding: 50px 0 30px 0;
  }

  .page-top__title {
    font-size: 100px;
    line-height: 160px;
  }

  .contacts {
    padding: 50px 0;
  }

  .contacts__body {
    width: 100%;
  }

  .contacts__img {
    display: none;
  }

  .contacts__name {
    font-weight: 600;
  }

  .project-top {
    min-height: 630px;
  }

  .project-top__line {
    margin: 60px auto 0 auto;
    height: 180px;
  }

  .project-content {
    padding: 30px 0 50px 0;
  }

  .project-content__img img {
    border-radius: 10px;
  }

  .project-content__descr {
    margin: 30px auto 0 auto;
  }

  .services-main__item {
    padding: 20px;
  }

  .services-main__name {
    font-size: 18px;
    line-height: 24px;
  }

  .services-main__name::before {
    top: 3px;
  }

  .services-main {
    padding: 80px 0 30px 0;
  }

  .services-main__all:not(:last-child) {
    margin-bottom: 70px;
  }

  .services-main__descr {
    /* line-height: 26px;
    font-size: 14px; */
    display: none;
  }

  .services-main__img {
    margin-top: 20px;
    opacity: 1;
    position: static;
    order: 2;
  }

  .services-main__link {
    order: 3;
  }

  .services-top {
    padding: 60px 0 50px 0;
  }

  .services-top__wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-top__content {
    max-width: 100%;
  }

  .services-top__title {
    margin-top: 15px;
    padding-bottom: 0;
  }

  .services-top__descr {
    margin-top: 20px;
  }

  .services-top__img {
    margin-top: 50px;
  }

  .services-algorithm {
    padding: 70px 0 50px 0;
  }

  .services-algorithm__wrapper {
    margin-top: 35px;
  }

  .services-algorithm__q {
    padding: 20px;
  }

  .services-stages {
    padding: 50px 0;
  }

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

  .services-stages__name {
    font-size: 18px;
  }

  .popup__close {
    top: -70px;
    right: 0;
  }

  .page-404__body {
    max-width: 270px;
    margin-right: 60px;
  }

  .page-404__text {
    font-size: 25px;
    line-height: 40px;
  }

}

/* Final overrides for the redesigned home cards. */
@media (max-width: 1200px) {
  .home-services__wrapper,
  .portfolio__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-services__item,
  .portfolio__item {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .home-services__wrapper,
  .portfolio__wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-left: 0;
    margin-right: 0;
  }

  .home-services__item,
  .portfolio__item {
    width: 100%;
    margin: 0;
  }

  .portfolio__img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .home-about__item:not(:last-child) {
    margin-right: 45px;
  }

  .portfolio__wrapper {
    margin-left: 0;
    margin-right: 0;
  }

  .portfolio__item {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  .portfolio__item:not(:last-child) {
    margin-bottom: 40px;
  }

  .portfolio__block {
    min-height: 120px;
  }

  .home-portfolio__more {
    margin-top: 50px;
  }

  .reviews__item {
    padding: 20px;
  }

  .reviews__text {
    font-size: 14px;
    line-height: 27px;
  }

  .text__wrapper {
    font-size: 14px;
  }

  .text__wrapper ul,
  .text__wrapper ol {
    padding-left: 10px;
  }

  .feedback__input {
    font-size: 14px;
  }

  .footer__item {
    width: 100%;
  }

  .footer__item:not(:first-child) {
    margin-bottom: 40px;
  }

  .footer__item:first-child {
    margin-top: 0;
  }

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

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

  .page-top__title {
    font-size: 15vw;
    line-height: 23vw;
  }

  .main-portfolio__title {
    margin: 30px auto 0 auto;
  }

  .main-portfolio__title::before {
    width: 80vw;
  }

  .main-portfolio__scroll {
    align-items: flex-start;
    margin-top: 40px;
    overflow-x: scroll;
    margin-right: -15px;
    margin-left: -15px;
    /* padding-bottom: 15px; */
  }

  .main-portfolio__scroll::-webkit-scrollbar {
    height: 0;
  }

  .main-portfolio__scroll::-webkit-scrollbar-thumb {
    background-color: var(--header-fixed-border-color);
    border-radius: 20px;
  }

  .portfolio__tabs {
    width: fit-content;
    margin-right: 15px;
    margin-left: 15px;
  }

  .portfolio__tab {
    width: max-content;
  }

  .project-top__item:not(:last-child) {
    margin-right: 60px;
  }

  .project-content__item:not(:last-child) {
    margin-bottom: 40px;
  }

  /* .project-content__img_50 {
    padding-bottom: 120%;
  }

  .project-content__img_50 img {
    width: 100%;
    height: 48%;
    top: 0;
  }

  .project-content__img_50 img:nth-child(2) {
    left: 0;
    top: 52%;
  } */

  .project-content__img_50 {
    padding-bottom: 0;
    height: auto;
    flex-direction: column;
  }

  .project-content__img_50 img {
    width: 100%;
    height: auto;
    position: static;
  }

  .project-content__img_50 img:not(:last-child) {
    margin-bottom: 20px;
  }

  /* .project-content__img_33 {
    padding-bottom: 80%;
  }

  .project-content__img_33 img {
    width: calc(50% - 10px);
  }

  .project-content__img_33 img:nth-child(2) {
    left: calc(50% + 10px);
  } */

  .project-content__img_33 {
    padding-bottom: 0;
    height: auto;
  }

  .project-content__img_33 img {
    width: calc(50% - 10px);
    height: auto;
    position: static;
  }

  .project-content__img_33 img:nth-child(3) {
    display: none;
  }

  .services-main__item {
    width: 100%;
    margin-bottom: 0;
  }

  .services-main__item:not(:last-child) {
    margin-bottom: 20px;
  }

  .services-main__descr {
    display: block;
    font-size: 14px;
    line-height: 27px;
    max-width: 60%;
  }

  .services-main__img {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 150px;
    height: 150px;
  }

  .services-stages__item {
    width: 100%;
  }

  .services-stages__item:not(:last-child) {
    margin-bottom: 40px;
  }

  .page-404__wrapper {
    flex-direction: column;
    margin: 0;
    width: auto;
    align-items: flex-start;
  }

  .page-404__body {
    margin-right: 0;
  }

  .page-404__img {
    margin-top: 30px;
  }

  .page-404__btn {
    margin-top: 20px;
  }

  .page-404__img {
    width: auto;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .home-top {
    padding: 40px 0 35px 0;
  }

  .home-top__slider {
    max-width: 100%;
  }

  .home-about {
    padding: 35px 0;
  }

  .home-services {
    padding: 35px 0;
  }

  .main-slider__item {
    height: auto;
  }

  body {
    font-size: 14px;
    line-height: 29px;
  }

  .text__wrapper li {
    line-height: 22px;
  }

  .faq {
    padding: 60px 0 35px 0;
  }

  .faq__wrapper {
    margin-top: 40px;
  }

  .faq__question {
    line-height: 24px;
    font-size: 15px;
  }

  .home-about__bnf {
    flex-direction: column;
  }

  .home-about__item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .home-about__text {
    padding-bottom: 40px;
  }

  .home-about__exp {
    max-width: none !important;
  }

  .home-services__item:not(:last-child) {
    margin-bottom: 35px;
  }

  .portfolio {
    padding: 35px 0;
  }

  .portfolio__wrapper {
    margin-top: 40px;
  }

  .reviews {
    padding: 35px 0 70px 0;
  }

  .feedback {
    padding: 35px 0 50px;
  }

  .feedback__sub-item {
    width: 100%;
  }

  .feedback__sub-item:not(:last-child) {
    margin-bottom: 35px;
  }

  .feedback__block {
    flex-direction: column;
  }

  .feedback__block_jcfs {
    flex-direction: column-reverse;
  }

  .feedback__btn {
    margin-right: 0;
    margin-top: 40px;
  }

  .feedback__personal {
    width: 100%;
  }

  .feedback__item:last-child {
    margin-top: 40px;
  }

  .popup__title {
    font-size: 23px;
    line-height: 33px;
  }

  .project-top {
    min-height: auto;
  }

  .project-top__title {
    margin-top: 40px;
  }

  .project-top__subtitle {
    margin-top: 0;
  }

  .project-top__wrapper {
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 30px 80px;
  }

  .project-top__item {
    margin-right: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .project-top__line {
    margin: 40px auto 0 auto;
    height: 100px;
  }

  .services-main {
    padding: 50px 0 20px 0;
  }

  .services-main__all:not(:last-child) {
    margin-bottom: 40px;
  }

  .services-main__wrapper {
    margin-top: 40px;
  }

  .services-main__descr {
    display: none;
  }

  .services-main__img {
    /* position: static;
    width: 170px;
    height: 170px; */
    width: 100px;
    height: 100px;
  }

  .services-algorithm {
    padding: 50px 0 35px 0;
  }

  .services-algorithm__img {
    width: 80%;
  }

  .services-ad {
    padding: 20px 0;
  }

  .services-ad__ads {
    font-size: 19px;
    line-height: 27px;
  }

  .services-stages {
    padding: 35px 0;
  }

  .text {
    padding: 35px 0;
  }

  .contacts {
    padding: 35px 0;
  }

  .project-content {
    padding: 20px 0 35px 0;
  }

  .services-top {
    padding: 30px 0 40px 0;
  }

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

  .breadcrumbs__link,
  .breadcrumbs__text {
    font-size: 12px;
  }

  .breadcrumbs__item:not(:nth-last-child(2)) {
    display: none;
  }

  .breadcrumbs__item::after {
    content: none !important;
  }

  .breadcrumbs__item:nth-last-child(2)::before {
    content: '';
    margin-right: 5px;
    margin-left: 4px;
    transform: rotate(-45deg);
    border: solid var(--text-color);
    border-width: 1px 0 0 1px;
    display: inline-block;
    padding: 3px;
    transition: all 0.2s ease 0s;
  }

}

/* Final overrides for the redesigned home cards. */
@media (max-width: 1200px) {
  .home-services__wrapper,
  .portfolio__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-services__item,
  .portfolio__item {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .home-services__wrapper,
  .portfolio__wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-left: 0;
    margin-right: 0;
  }

  .home-services__item,
  .portfolio__item {
    width: 100%;
    margin: 0;
  }

  .portfolio__img {
    height: 250px;
  }
}
