*,
*::after,
*::before {
  box-sizing: border-box;
}

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

li {
  list-style-type: none;
}

ul {
  margin-left: 0;
  padding-left: 0;
}

.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 10px;
}

body {
    font-family: 'EB Garamond', serif;
    color: #000;
    font-size: 20px;
    line-height: 1em;
    background-image: linear-gradient(to left bottom, #b4b4bf, #c2c2cb, #d0d0d7, #dedee3, #ececef, #ececef, #ececef, #ececef, #dedee3, #d0d0d7, #c2c2cb, #b4b4bf);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
section, div {
  position: relative;
}
.header__top {
  min-height: 100px;
  position: static;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
}
.logo__img{
  width: 70px;
  display: none;
}
.header__top-wrapper {
  max-width: 1780px;
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  align-items: center;
  padding: 8px 0px;
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  min-height: 90px;
}
.menu__list {
  display: flex;
  margin: 0 0;
}
.menu__item {
  margin-left: 32px;
}
.menu__link {
	color: #fff; /* Цвет обычной ссылки */
    position: relative;
    cursor: pointer;
    text-decoration: none; /* Убираем подчеркивание */
}
.menu__link:after {
	content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: -3px;
    width: 0;
    height: 4px; /* Высота линии */
    background-color: #ebd290 ; /* Цвет подчеркивания при исчезании линии*/
    transition: width 0.5s; /* Время эффекта */
}
.menu__link:hover:after {
	content: "";
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 4px; /* Высота линии */
    background-color: #985a17; /* Цвет подчеркивания при появлении линии*/
    transition: width 0.5s;  
}
.menu__btn {
  display: none;
}
#languageButton{
  border: none;
  background: transparent;
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  padding-top: 0;
}
.button__language {
  position: relative;
}
.languageButton-down {
  position: absolute;
  top: 40px;
}
.language-link{
  margin-bottom: 10px;
  color: #fff;
}
.language-link:hover {
  color: #ebd290;
}
#languageDropdown ul {
  list-style: none;
  padding: 0;
}

#languageDropdown li {
  margin-bottom: 15px;
}
.ua-link,
eng-link{
  display: inline-block;
}

.ua-link{
  margin-bottom: 7px;
}

.header{
  margin-bottom: 70px;
  position: relative;
  overflow: hidden;
  background-image: url(../img/bg-header1.jpg);
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  border-radius: 0 0 1% 1%;
}

.header__main{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.header__text{
  max-width: 1000px;
  margin-left: 5%;
}

.header__title{
  font-size: clamp(42px, 5vw, 86px);
  font-weight: 800;
  margin-bottom: 50px;
  color: #000;
}
.title-1{
  padding-top: 11%;
  padding-left: 30px;
  color: #cdc9c9;
  -webkit-text-shadow: -31px -29px 8px rgba(12, 1, 1, 0.54);
  -moz-text-shadow: -31px -29px 8px rgba(12,  1,  1, 0.54);
  text-shadow: -31px -29px 8px rgba(12,  1,  1, 0.54);
}
.header__line {
  margin-top: 30px;
  margin-left: 120px;
  width: 500px;
  height: 3px;
  background: rgba(24, 21, 21, 0.7);
}
.title-2 {
  padding-top: 5%;
  -webkit-text-shadow: -31px -29px 8px rgba(255,  252,  252, 0.54);
  -moz-text-shadow: -31px -29px 8px rgba(255,  252,  252, 0.54);
  text-shadow: -31px -29px 8px rgba(255,  252,  252, 0.54);
}
.header__p{
  max-width: 820px;
  padding: 0 15px;
  padding-left: 30px;
  font-size: 38px;
  line-height: 0.9em;
  color: #000;
  font-weight: 700;
}
.header__quote{
  background: rgba(39, 38, 38, 0.4);
  box-shadow: 0 8px 32px 0 rgba(99, 105, 189, 0.3);
  backdrop-filter: blur( 11.5px );
  -webkit-backdrop-filter: blur( 3.5px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
  max-width: 700px;
  max-height: 400px;
  margin-left: 220px;
  margin-top: 170px;
  text-align: center;
  justify-content: center;
  color: #fff;
}
.header__quote h3 {
  padding: 10px 30px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 28px;
  line-height: 1em;
}
.header__quote-line{
  width: 80%;
  height: 2px;
  margin: 0 10%;
  background-color: #fff;
  opacity: .3;
}
.header__quote-name{
  padding-top: 15px;
  margin-bottom: 30px;
  font-size: 24px;
}
.header__social {
  position: absolute;
  top: 35%;
  right: 5%;
  z-index: 5;
}
.header__social-list {
  display: flex;
  flex-direction: column;
}
.header__social-img {
  width: 40px;
  padding-top: 15px;
  padding-left: 5px;
}

.why {
  position: relative;
  margin-bottom: 10px;

}
.h2-title{
  font-size: 64px;
  font-weight: 800;
  -webkit-text-shadow: -22px -23px 1px rgba(158,  110,  64, 0.1);
-moz-text-shadow: -22px -23px 1px rgba(158,  110,  64, 0.1);
text-shadow: -22px -23px 1px rgba(158,  110,  64, 0.1);
 line-height: 1;
}
.why__title {
  text-align: center;
  margin-bottom: 80px;
  padding-top: 30px;
}
.why__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.why__item-title {
  font-size: 32px;
  margin-bottom: 15px;
}
.why__item-text {
  font-size: 24px;
  padding-left: 30px;
  margin-left: 7px;
  border-left: 3px solid  rgba(24, 21, 21, 0.5);
}
.leader {
  padding-top: 70px;
  margin-bottom: 120px;
  position: relative;
}
.leader__main {
  display: flex;
}
.leader__left-top {
  width: 50%;
  text-align: left;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.leader__subtitle{
  padding-top: 10px;
  font-size: 32px;
  margin-bottom: 20px;
  color: #9e6e40;
  line-height: 1;
}
.leader__title{
  line-height: 1em;
  padding-left: 20px;
  margin-bottom: 30px;
  font-size: 52px;
}
.leader__text{
  font-size: 28px;
  margin-bottom: 0;
  line-height: 1;
}
.leader__text span {
 font-weight: 600;
}
.leader__right-top {
  
  padding-top: 120px;
  width: 50%;
  padding-left: 50px;
}
.leader__quote {
  position: absolute;
  bottom: 15%;
  right: 40%;
  background: rgba(39, 38, 38, 0.4);
  box-shadow: 0 8px 32px 0 rgba(99, 105, 189, 0.3);
  backdrop-filter: blur( 11.5px );
  -webkit-backdrop-filter: blur( 3.5px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
  max-width: 600px;
  max-height: 300px;
  margin-left: 100px;
  margin-top: 70px;
  text-align: center;
  justify-content: center;
  color: #fff;
}
.leader__quote h3 {
  padding: 10px 30px;
  margin-top: 10px;
  font-weight: 500;
  font-size: 22px;
  line-height: 1em;
}
.leader__quote-line{
  width: 80%;
  height: 2px;
  margin: 0 10%;
  background-color: #fff;
  opacity: .3;
}
.leader__quote-name{
  padding-top: 10px;
  margin-bottom: 20px;
  font-size: 24px;
}
.leader__btn {
  margin-left: 80%;
  padding-bottom: 5px;
}
.btn-info{
  display: inline-block;
  color: #9e6e40;
  font-size: 24px;
  text-decoration: none;
  font-weight: 500;
  padding-top: 10px;
  margin-left: 5%;
  padding-bottom: 20px;
  width: 120px;
}
.btn-info:hover{
  border-bottom: 3px solid rgba(24, 21, 21, 0.5);
}
.team {
  margin-bottom: 90px;
}
.team__title {
  text-align: center;
  margin-bottom: 90px;
}

.team__list{
  display: flex;
  flex-direction: column;
}
.team__list-item{
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.team__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 5%;
}
.team__item-title {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1;
}
.team__item-subtitile{
  font-size: 26px;
  opacity: 0.65;
  padding-left: 10px;
  margin-bottom: 10px;
}
.team__item-text{
  font-size: 24px;
  padding-left: 30px;
  margin-left: 12px;
  border-left: 4px solid rgba(24, 21, 21, 0.5);
}
.team__item-who{
  font-weight: 600;
}
.directions {
  margin-bottom: 25px;
}
.directions__list{
  color: #555;
  text-align: center;
  font-family: 'Roboto Mono';
  padding: 1em;
}
.flip {
  position: relative;
  display: inline-block;
  margin-right: 2px;
  margin-bottom: 1em;
  width: 320px;
}
.flip > .front,
.flip > .back {
    display: block;
    color: white;
    width: inherit;
    background-size: cover!important;
    background-position: center!important;
    height: 220px;
    padding: 0.7em 1.8em;
    background: rgb(209,208,207);
    background: linear-gradient(315deg, rgba(209,208,207,0.9528186274509804) 0%, rgba(78,78,80,0.865983893557423) 17%, rgba(148,144,144,1) 86%, rgba(227,227,227,0.9248074229691877) 100%);
    border-radius: 10px;
}
.flip > .front {
  transform: rotateY(0deg);
  transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
  transition-duration: .8s;
  transition-property: transform, opacity;
  font-size: 30px;
  line-height: 0.8;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.flip .front img {
  margin: 0 auto;
  padding-bottom: 15px;
}

.flip > .back {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transform: rotateY(-180deg);
  transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
  transition-duration: .8s;
  transition-property: transform, opacity;
}

.flip:hover > .front {
  transform: rotateY(180deg);
}

.flip:hover > .back {
  opacity: 1;
  transform: rotateY(0deg);
  color: #fef9f9;
  font-size: 19px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  
}

.flip.flip-vertical > .back {
  transform: rotateX(-180deg);
}

.flip.flip-vertical:hover > .front {
  transform: rotateX(180deg);
}

.flip.flip-vertical:hover > .back {
  transform: rotateX(0deg);
}

/* Додаткові стилі */
.flip > .front p {
  font-size: 0.92rem;
  line-height: 160%;
}
.directions__title{
  padding-top: 30px;
  margin-bottom: 100px;
  text-align: center;
}
.directions__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.back h2 {
  color: #9e6e40;
  font-size: 22px;
  background-color: #dedee3;
  border-radius: 10px;
  padding: 4px 0;
}
.forms {
  background-image: url("../img/contacts-bg.jpg");
  background-size: cover;
  background-position: 50% 25%;
  min-height: 85vh;
  border-radius: 5%;
  margin-bottom: 100px;
}
.forms__wrapper{
  border-radius: 5%;
}
.forms__title {
  margin-bottom: 45px;
  text-align: center;
  padding-top: 80px;
  color: #fff;
  -webkit-text-shadow: -22px -23px 1px rgba(240, 206, 174, 0.1);
  -moz-text-shadow: -22px -23px 1px rgba(240, 206, 174, 0.1);
  text-shadow: -22px -23px 1px rgba(240, 206, 174, 0.1);
}
.forms__wrapper {
  margin-bottom: 15px;
  background: rgba(1, 1, 1, .3);
  border-radius: 5%;
  min-height: 85vh;
}
.forms__items {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.forms__inner {
  background: rgba(39, 38, 38, 0.4);
  box-shadow: 0 8px 32px 0 rgba(145, 148, 187, 0.3);
  backdrop-filter: blur( 11.5px );
  -webkit-backdrop-filter: blur( 3.5px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
  max-width: 365px;
  max-height: 345px;
  margin-left: 10%;
  margin-top: 50px;
  text-align: center;
  justify-content: center;
  color: #fff;
  padding: 30px 0;
  display: flex;
  flex-wrap: wrap;
}
.forms__inner input{
  border: 2px solid rgba(12,  1,  1, 0.6);
  background: rgba(223,222,222, 0.85);
  border-radius: 5px;
  height: 35px;
  min-width: 300px;
  font-size: 22px;
  color: #000;
  font-weight: 700;
  padding: 0 5px;
  margin-bottom: 8px;
}
.forms__inner input::placeholder {
  color: #222121;
  font-weight: 500;
  font-size: 22px;
}
.forms__inner textarea::placeholder {
  color: #222121;
  font-weight: 500;
  font-size: 22px;
}
.forms__inner textarea{
  border: 2px solid rgba(12,  1,  1, 0.6);
  background: rgba(223, 222, 222, 0.85);
  border-radius: 5px;
  height: 115px;
  min-width: 303px;
  font-size: 22px;
  color: #000;
  font-weight: 700;
  padding: 5px 5px;
  margin-bottom: 15px;
}
.form__btn {
  background: #000;
  color: #ececef;
  border-radius: 5px;
  padding: 10px;
  font-weight: 500;
  font-size: 22px;
  cursor: pointer;
}
.form__btn:hover {
  color: #9e6e40;
}
.map__frame {
  text-align: center;
  margin-top: 50px;
}
.map {
  border-radius: 10px;
}
.form__set {
  margin-bottom: 35px;
}
.forms__frame {
  background-color:#1f1f1f;
  border: 2px solid #aba9aa;
  width: 50%;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 15px;
}
.forms__contacts {
  display: block;
  text-align: center;
  font-size: 28px;
  color: #fff;
  font-weight: 500;
  line-height: 1;
}
.forms__contacts span:hover {
  color: #9e6e40;
}
.clients__title {
  text-align: center;
  margin-bottom: 70px;
  color: #000;
}
.clients {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
}
.swiper {
  width: 100%;
  position: relative;
  height: 100%;
  margin-bottom: 100px;
  padding-bottom: 70px;
  margin-left: auto;
  margin-right: auto;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30vh;
}
.swiper-slide img {
  display: block;
  height: 100%;
  object-fit: cover;
}
.swiper-pagination {
  position: relative;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: -70px;
  width: 100%;
}
.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,35px));
  height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));
  display: inline-block;
  border-radius: 2px;
  background: var(--swiper-pagination-bullet-inactive-color,#000);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, .2);
}
.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: #9e6e40;
}
.swiper__next {
  position: absolute;
  right: 35%;
  bottom: 0;
  width: 50px;
  height: 50px;
  background-image: url(../img/arrow-next.png);
  background-size: cover;
  background-position: center;
}
.swiper__prev {
  position: absolute;
  left: 35%;
  bottom: 0;
  width: 50px;
  height: 50px;
  background-image: url(../img/arrow-prev.png);
  background-size: cover;
  background-position: center;
}
.footer {
  background: #1f1f1f;
  border-radius: 5% 5% 0 0;
  color: #fff;
}
.footer__top {
  display: flex;
  justify-content: space-around;
}
.footer__top__title {
  font-size: 42px;
  font-weight: 700;
  padding-top: 40px;
}
.footer__main {
  display: flex;
  justify-content: space-between;
}
.footer__main__left {
  padding-top: 50px;
  width: 30%;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 50px;
}
.footer__main-link:hover {
  color: #9e6e40;
}
.footer__map__frame {
  padding-top: 50px;
}
.map-footer {
  border-radius: 15px;
}
.footer__main__right {
  display: flex;
    justify-content: center;
    align-items: center;
  width: 60%;
  text-align: left;
  color: #ececef;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
}
.footer__main__allright {
  padding-top: 5px;
  width: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.footer__main__allright img {
  width: 40px;
  padding-top: 10px;
}
.footer__main__allright a {
  cursor: pointer;
}
.image-container {
  position: relative;
}
.image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 31, 31, 0.15);
  pointer-events: none; 
}
.footer__main-item {
  padding-left: 8%;
}
.footer__forms__frame {
  border: 2px solid #aba9aa;
  padding: 10px 0;
  border-radius: 15px;
}
.footer__forms__frame:hover {
  border: 2px solid #9e6e40;
}
.footer__bottom {
  text-align: center;
  padding-bottom: 10px;
}
.footer__bottom-reserved:hover {
  color: #9e6e40;
}
/* Чистякова Тетяна */
.header-reserved__title {
  padding-top: 50px;
  margin-bottom: 65px;
}
.header-reserved__ul {
  font-size: 30px;
}
.header-reserved__text {
  padding-left: 30px;
}
.header-reserved__text,
.header-reserved__ul,
.header-reserved__text-l {
  margin-bottom: 15px;
}
.header-reserved__text-l:last-child {
  margin-bottom: 60px;
}

.header-reserved__text span {
  font-weight: 700;
}
.leader-team1__info {
  padding-top: 50px;
}
.leader-team1-img {
  justify-content: flex-end;
}
.leader__text span {
  font-weight: 700;
}
.leader__left-top {
  float: right;
  margin-right: 10px;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.leader-team1__title {
  padding-left: 10px;
}
.leader__text:last-child {
  margin-bottom: 50px;
}
/* Новіков Володимир */
.leader-novikov {
  margin-bottom: 40px;
  position: relative;
}
.novikov {
  padding-top: 50px;
}
/* directions */
.directions__title {
  padding-top: 50px;
  text-align: center;
  margin-bottom: 40px;
}
.directions__img {
  float: right;
  border-radius: 10px;
  margin-top: 10px;
  margin-left: 15px;
  margin-right: 15px;
}
/* reklama */
.my_reklama {
  background: #1f1f1f;
  padding-bottom: 5px;
}
.my_reklama-line {
  width: 40%;
  height: 2px;
  opacity: 0.6;
  background-color: #fff;
  margin-left: 30%;
}
#typewriter {
  display: block;
  width: 250px;
  font-size: 20px;
  font-weight: 700;
  background-color: #1f1f1f;
  margin: 5px auto; 
  white-space: nowrap;
  overflow: hidden;
  animation: typewriter 3s steps(35, end) 1 forwards;
  color: #fff;
}
@keyframes typewriter {
  from {
    width: 0;
  }
}
#typewriter:hover {
  color: #9e6e40;
}

/* media */

@media (max-width: 1800px) {
  .menu__list:last-child {
    margin-right: 20px;
  }
  .header__social {
    right: 2%;
  }
  .header__p {
    font-size: 32px;
  }
  .header__quote {
    transform: scale(1.3);
    margin-left: 400px;
  }
}
@media (max-width: 1600px) {
  .header__top-wrapper {
    font-size: 25px;
  }
  .title-2 {
    padding-top: 3%;
  }
  .header__p {
    font-size: 30px;
  }
  .header__quote {
    transform: scale(1.1);
    margin-left: 15%;
  }
  .header__line {
    display: none;
  }
}
@media (max-width: 1400px) {
  .header__quote {
    transform: scale(1);
    margin-top: 130px;
  }
  .menu__btn {
    display: block;
    z-index: 10;
  }
  .menu__btn {
    display: inline-block;
    width: 40px;
    height: 30px;
    border: none;
    padding: 0;
    background-color: transparent;
    position: absolute;
    right: 10px;
    top: 26px;
  }
  .menu__btn::after,
  .menu__btn::before {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    height: 2px;
    background-color: #fff;
  }
  .menu__btn::after {
    top: 0;
  }
  .menu__btn::before {
    bottom: 0;
  }
  .menu__btn span {
    display: block;
    height: 2px;
    background-color: #fff;
  }
  .menu__list {
    transform: translateY(-200%);
    display: inline-block;
    background-color: rgba(5, 5, 5, 0.8);
    border-radius: 0 0 10px 10px;
    padding: 70px 35%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transition: all .3s;
    z-index: 2;
    font-size: 36px;
    text-align: center;
  }  
  .menu__link:after {
    display: none;
  }
  .menu__link:hover:after {
    display: none;
  }
  .menu__item {
    margin-bottom: 25px;
  }
  li {
    margin-bottom: 20px;
  }
  .menu__list--active a {
    display: block;
    cursor: pointer;
    width: 200px;
  }
  .menu__list.menu__list--active {
    transform: translateY(0%);
  }
  .menu__list:last-child {
    margin-right: 0;
  }
  .swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,26px));
    height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,6px));
  }
}
@media (max-width: 1300px) {
  .header__quote {
    margin-top: 95px;
  }
  .header__p {
    font-size: 26px;
    max-width: 730px;
  }
  .title-1 {
    margin-bottom: 30px;
  }

}
@media (max-width: 1200px) {
  .header__p {
    max-width: 600px;
  }
  .header__quote {
    transform: scale(0.8);
  }
  .leader__right-top {
    padding-top: 30px;
  }
  .leader__title {
    font-size: 50px;
  }
  .leader__subtitle {
    font-size: 30px;
  }
  .leader__text {
    font-size: 25px;
  }
  .leader__left-top .leader__img {
    max-width: 500px !important; 
  }
  .forms__inner {
    margin-left: 5%;
  }
  .map {
    max-width: 500px !important;
  }
  .map__frame {
    margin-right: 4%;
  }
  .swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,22px));
    height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,6px));
  }
}
@media (max-width: 1070px) {
  .directions__list {
    gap: 10px;
  }
  .flip {
    margin-bottom: 0;
  }
}
@media (max-width: 1000px) {
  .header__p {
    max-width: 500px;
    font-size: 22px;
    color: #fdfaf6;
    font-weight: 500;
  }
  .header__quote {
    transform: scale(0.75);
    margin-top: 20px;
  }
  .leader__left-top .leader__img {
    max-width: 450px !important;
  }
  .leader__subtitle {
    font-size: 26px;
  }
  .leader__title {
    font-size: 40px;
  }
  .leader__text {
    font-size: 22px;
  }
  .leader__right-top {
    padding-left: 20px;
  }
  .leader__quote {
    bottom: 10%;
  }
  .team {
    margin-bottom: 20px;
  }
  .team__list-item {
    margin-bottom: 20px;
  }
  .team__item-left img {
    max-width: 320px !important;
  }
  .team__item-right img {
    max-width: 300px !important;
  }
  .team__item-subtitile {
    font-size: 20px;
    margin-bottom: 5px;
  }
  .team__item-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .team__item-text {
    font-size: 20px;
  }
  .team__item-right {
    margin: auto;
  }
  .team__item-left {
    margin: auto;
  }
  .directions__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .flip {
    margin: 0 auto;
  }
  .forms__title {
    margin-bottom: 0;
  }
  .forms__inner {
    margin-left: 2%;
    transform: scale(0.8);
  }
  .map {
    max-width: 440px !important;
    max-height: 260px !important;
  }
  .map__frame {
    margin-top: 92px;
  }
  .forms__frame {
    width: 70%;
  }
  .forms__items {
    margin-bottom: 0;
  }
  .forms__contacts {
    font-size: 22px;
  }
  .forms {
    margin-bottom: 65px;
  }
  .swiper-slide img {
    height: 80%;
  }
  .swiper {
    padding-bottom: 40px;
    margin-bottom: 70px;
  }
  .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: -40px;
  }
  .swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,15px));
    height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,5px));
  }
  .swiper__prev  {
    width: 45px;
    height: 35px;
    bottom: 10px;
  }
  .swiper__next {
    width: 45px;
    height: 35px;
    bottom: 10px;
  }
  .footer__main__left {
    margin-bottom: 10px;
  }
  .footer__main-item {
    font-size: 22px;
  }
  .directions__items .directions__img-civil {
    max-width: 430px !important;
  }
  .directions__items .directions__img-crime {
    max-width: 430px !important;
  }
}

@media (max-width: 880px) {
  .leader__main {
    position: relative;
    flex-direction: column;
    align-items: center;
  }
  .leader__right-top {
    width: 80%;
  }
  .leader__subtitle {
    font-size: 35px;
  }
  .leader__title {
    font-size: 53px;
    margin-bottom: 370px;
  }
  .leader__text {
    font-size: 25px;
  }
  .leader__left-top {
    position: absolute;
    right: 13%;
  }
  .leader__left-top .leader__img {
    max-width: 310px !important;
    padding-top: 200px;
    transform: scale(-1, 1);
  }
  .leader__left-bottom {
    width: 80%;
  }
  .leader__right-bottom {
    position: absolute;
    right: 5%;
  }
  .leader__right-bottom .leader__img {
    max-width: 310px !important;
    padding-top: 165px;
  }
  .leader__quote {
    bottom: 25%;
    z-index: 3;
  }
  .leader {
    margin-bottom: 50px;
  }
  .forms__inner {
    transform: scale(0.7);
    max-width: 345px;
  }
  .map__frame {
    margin-top: 103px;
    margin-right: 3%;
  }
  .map {
    max-width: 380px !important;
    max-height: 236px !important;
  }
  h2.header-reserved__title.h2-title {
    font-size: 50px;
  }
  .header-reserved__ul {
    font-size: 27px;
  }
  .leader__left-top .leader__img-site {
    padding-top: 162px;
    transform: scale(1, 1);
  }
  .leader-team1-img {
    right: 30%;
  }
  .leader__left-top .leader__img-site2 {
    max-width: 400px !important;
    padding-top: 180px;
  }
  .leader__left-top .leader__img-site3 {
    padding-top: 150px;
  }
  .leader__left-top .leader__img-site4 {
    max-width: 370px !important;
    padding-top: 220px !important;
  }
  .leader__left-top .leader__img-site5 {
    max-width: 360px !important;
    padding-top: 195px !important;
  }
}
@media (max-width: 860px) {
  .header__quote {
    transform: scale(1);
    margin-top: 30%;
  }
  .header__social-list {
    transform: scale(1.3);
  }
  .header__title {
    font-size: 60px;
  }
  .title-2 {
    margin-bottom: 90px;
  }
  .header__p {
    max-width: 600px;
    font-size: 28px;
  }
  .menu__list--active {
    padding: 85px 35%;
  }
  .directions__items .directions__img-crime {
    max-width: 360px !important;
  }
}
@media (max-width: 830px) {
  .leader__left-top .leader__img-site3 {
    padding-top: 176px;
  }
}
@media (max-width: 800px) {
  .header__title {
    font-size: 50px;
  }
  .header__p {
    max-width: 550px;
  }
  .header__quote {
    transform: scale(.9);
    margin-left: 10%;
  }
  .forms__items {
    flex-direction: column;
    align-items: center;
  }
  .map__frame {
    margin-top: 0;
    margin-right: 0;
  }
  .forms__inner {
    transform: scale(0.9);
    margin-left: 0;
    max-width: 350px;
    margin-top: 40px;
  }
  .swiper__prev  {
    left: 34%;
    width: 35px;
    height: 35px;
    bottom: 10px;
  }
  .swiper__next {
    width: 35px;
    height: 35px;
    bottom: 10px;
  }
  .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap,2px);
  }
  .swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,12px));
    height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,4px));
  }
  .leader__left-top .leader__img-site {
    padding-top: 220px;
  }
  .leader__left-top .leader__img-site4 {
    padding-top: 280px !important;
  }
  .leader__left-top  .leader__img-site4-new {
    padding-top: 230px !important;
  }
  .leader__left-top .leader__img-site5 {
    max-width: 325px !important;
    padding-top: 240px !important;
  }
  .directions__items .directions__img-civil {
    max-width: 360px !important;
  }
}
@media (max-width: 780px) {
  .leader__left-top .leader__img-site2 {
    padding-top: 235px;
  }
}
@media (max-width: 750px) {
  .leader__left-bottom .leader__quote {
    transform: scale(0.8);
    bottom: 30%;
  }
  .leader__left-bottom .leader__right-bottom .leader__img {
    max-width: 260px !important;
    padding-top: 170px;
  }
  .leader__quote {
    margin-left: 40px;
  }
  .leader__quote h3 {
    font-size: 20px;
  }
  .leader__quote-name {
    font-size: 18px;
  }
}
@media (max-width: 740px) {
  .header {
    margin-bottom: 40px;
  }
  .h2-title {
    font-size: 55px;
  }
  .why__title {
    margin-bottom: 60px;
  }
  .why__list {
    gap: 20px;
  }
  .why__item-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .why__item-text {
    font-size: 20px;
  }
}
@media (max-width: 720px) {
  .flip {
    width: 270px;
  }
  .flip > .front, .flip > .back {
    height: 200px;
  }
  .flip > .front {
    font-size: 24px;
  }
  .flip > .back {
    font-size: 14px !important;
  }
  .directions__items .directions__img-crime {
    max-width: 320px !important;
  }
}
@media (max-width: 655px) {
  .leader__left-top .leader__img-site3 {
    padding-top: 230px;
  }
  .directions__items .directions__img-civil {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 15px !important;
    max-width: 450px !important;
    float: none !important;
  }
  .leader__left-top .leader__img-site4-new {
    padding-top: 255px !important;
  }
}
@media (max-width: 640px) {
  .forms__contacts {
    font-size: 18px;
  }
  .footer__bottom {
    font-size: 18px;
    padding-bottom: 8px;
  }
  #typewriter {
    font-size: 18px;
    margin: 3px auto;
    width: 213px;
  }
  .footer__main {
    position: relative;
  }
  .footer__main__right {
    justify-content: flex-end
  }
  .footer__main__allright {
    position: absolute;
    flex-direction: row;
    right: 75px;
    bottom: 30px;
  }
  .footer__main__allright img {
    width: 60px;
    padding: 10px;
  }
  .footer__forms__frame .forms__contacts {
    font-size: 18px;
  }
  h2.header-reserved__title.h2-title {
    font-size: 42px;
  }
  .header-reserved__title {
    margin-bottom: 40px;
  }
  .header-reserved__ul {
    font-size: 22px;
  }
  .header-reserved__text {
    font-size: 16px;
  }
  .header-reserved__text-l {
    font-size: 16px;
  }
}
@media (max-width: 620px) {
  .title-1 {
    text-shadow: -12px -23px 7px rgba(12, 1, 1, 0.54);
  }
  .title-2{
    text-shadow: -12px -23px 7px rgba(255,  252,  252, 0.54);  
  }
  .header__title {
    font-size: 41px;
  }
  .header__p {
    max-width: 390px;
    font-size: 25px;
  }
  .header__quote {
    transform: scale(.7);
    margin-left: 2%;
    max-width: 545px;
    max-height: 180px;
  }
  .header__quote h3 {
    font-size: 19px;
    margin-top: 10px;
  }
  .header__quote-name {
    margin-bottom: 30px;
  }
  .why__item-title {
    font-size: 23px;
  }
  .why__item-text {
    font-size: 17px;
  }
  .leader__subtitle {
    font-size: 32px;
  }
  .leader__title {
    font-size: 40px;
    margin-bottom: 290px;
  }
  .leader__left-top .leader__img {
    max-width: 240px !important;
    padding-top: 170px;
    transform: scale(-1, 1);
  }
  .leader__text {
    font-size: 22px;
  }
  .leader__right-bottom .leader__img {
    max-width: 230px !important;
    padding-top: 140px;
  }
  .leader__quote {
    bottom: 30%;
    margin-left: 35px;
    right: 35%;
  }
  .leader__quote h3 {
    font-size: 15px;
  }
  .leader__quote-name {
    font-size: 15px;
  }
  .btn-info {
    font-size: 22px;
  }
  .team {
    margin-bottom: 0;
  }
  .team__list-item {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .team__item-left img {
    position: relative;
    
    right: 20%;
  }
  .team__item-right img {
    position: relative;
    
    right: 20%;
  }
  .team__item-title {
    margin-bottom: 30px;
  }
  .exlusive-param {
    margin-bottom: 380px;
  }
  .team__list-item {
    margin-bottom: 50px;
  }
  .team__title {
    margin-bottom: 50px;
  }
  .team__item-subtitile {
    max-width: 300px;
  }
  .team__item-right .team__item-serhiy {
    top: 80px;
  }
  .directions__list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .forms__contacts {
    font-size: 16px;
  }
  .swiper {
    margin-bottom: 30px;
    padding-bottom: 65px;
  }
  .swiper-pagination {
    display: none;
  }
  .leader__left-top .leader__img-site {
    padding-top: 155px;
    transform: scale(1, 1);
  }
  .directions__items .directions__img-crime {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 15px !important;
    max-width: 450px !important;
    float: none !important;
  }
}
@media (max-width: 610px) {
  .leader__left-top .leader__img-site {
    padding-top: 195px;
  }
}
@media (max-width: 600px) {
  .leader__left-top .leader__img-site2 {
    max-width: 280px !important;
    padding-top: 210px;
  }
  .leader__left-top .leader__img-site4 {
    max-width: 290px !important;
    padding-top: 250px !important;
  }
  .leader__left-top .leader__img-site4-new {
    padding-top: 210px !important;
  }
}
@media (max-width: 550px) {
  .title-1 {
    padding-top: 14%;
  }
  .header__title {
    font-size: 34px;
  }
  .header__p {
    max-width: 322px;
    font-size: 20px;
  }
  .menu__list--active {
    padding: 85px 20%;
  }
  .header {
    margin-bottom: 20px;
  }
  .h2-title {
    font-size: 45px;
  }
  .why__title {
    margin-bottom: 40px;
  }
  .footer__main-item {
    font-size: 19px;
  }
  .footer__main__right {
    width: 70%;
  }
  .footer__forms__frame .forms__contacts {
    font-size: 16px;
  }
  h2.header-reserved__title.h2-title {
    font-size: 38px;
  }
  .header-reserved__title {
    margin-bottom: 30px;
  }
  .header-reserved__ul {
    font-size: 20px;
  }
  .directions__items .directions__img-civil {
    max-width: 400px !important;
  }
  .directions__items .directions__img-crime {
    max-width: 400px !important;
  }
}
@media (max-width: 490px) {
  .leader__subtitle {
    font-size: 28px;
  }
  .leader__title {
    font-size: 32px;
    margin-bottom: 260px;
  }
  .leader__left-top .leader__img {
    max-width: 200px !important;
    padding-top: 160px;
    transform: scale(-1, 1);
  }
  
  .leader__text {
    font-size: 18px;
  }  
  .leader {
    margin-bottom: 25px;
  }
  .leader__right-bottom .leader__img {
    max-width: 180px !important;
    padding-top: 150px;
  }
  .leader__quote {
    margin-left: 0;
  }
  .leader__right-top {
    width: 90%;
  }
  .leader__quote-site {
    bottom: 25% !important;
  }
  .leader__left-top .leader__img-site {
    padding-top: 185px;
    transform: scale(1, 1);
  }
  .leader__left-top .leader__img-site4 {
    max-width: 250px !important;
    padding-top: 225px !important;
  }
  .leader__left-top .leader__img-site4-new {
    padding-top: 200px !important;
  }
}
@media (max-width: 480px) {
  .leader__left-top .leader__img-site2 {
    max-width: 250px !important;
    padding-top: 190px;
  }
}
@media (max-width: 450px) {
  .team__item-left .exlusive-param2 {
    top: 1px;
  }
  .team__item-right .exlusive-param2 {
    top: 85px;
  }
  .forms__inner {
    transform: scale(0.7);
    margin-top: 0px;
  }
  .map__frame {
    margin-top: -10px;
  }
  .map {
    max-width: 300px !important;
    max-height: 180px !important;
  }
  h2.header-reserved__title.h2-title {
    font-size: 32px;
  }
  .header-reserved__title {
    padding-top: 35px;
  }
  .header-reserved__ul {
    font-size: 18px;
  }
  .header-reserved__text {
    font-size: 15px;
    padding-left: 18px;
  }
  .header-reserved__text-l {
    font-size: 15px;
  }
  .directions__items .directions__img-civil {
    max-width: 320px !important;
  }
  .directions__items .directions__img-crime {
    max-width: 320px !important;
  }
}
@media (max-width: 440px) {
  .menu__btn {
    width: 30px;
    right: 15px;
  }
  .header__social-list {
    transform: scale(1);
  }
  .header__title {
    font-size: 28px;
  }
  .title-1 {
    text-shadow: -9px -17px 5px rgba(12, 1, 1, 0.54);
  }
  .title-2 {
    padding-top: 0;
    text-shadow: -9px -17px 5px rgba(255, 252, 252, 0.54);
  }
  .header__p {
    padding: 0 0;
    padding-left: 10px;
    max-width: 240px;
    font-size: 19px;
  }
  .header__quote {
    transform: scale(.6);
    margin-left: 0;
    max-width: 360px;
    max-height: 180px;
  }
  .why__list {    
    grid-template-columns: repeat(1, 1fr);
  }
  .h2-title {
    font-size: 37px;
  }
}

@media (max-width: 423px) {
    .team__item-right .exlusive-param2 {
      top: 110px;
  }
}
@media (max-width: 420px) {
  .team__item-right img {
    right: 12%;
  }
  .team__item-left img {
    right: 12%;
  }
  .forms__frame {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .forms__contacts {
    font-size: 13px;
  }
  .footer__main__allright {
    right: 75px;
  }
  .leader__left-top .leader__img-site4 {
    max-width: 250px !important;
    padding-top: 245px !important;
  }
  .leader__left-top .leader__img-site4-new {
    padding-top: 200px !important;
  }
}
@media (max-width: 400px) {
  .leader__right-top {
    width: 95%;
  }
  .leader__subtitle {
    font-size: 24px;
  }
  .leader__title {
    font-size: 25px;
    margin-bottom: 215px;
  }
  .leader__left-top .leader__img {
    max-width: 165px !important;
    padding-top: 140px;
    transform: scale(-1, 1);
  }
  .leader__right-bottom .leader__img {
    max-width: 162px !important;
    padding-top: 106px;
  }
  .leader__text {
    font-size: 16px;
  }
  .leader__left-bottom .leader__quote {
    transform: scale(0.6);
    bottom: 22%;
    right: 30%;
  }
  .footer__forms__frame .forms__contacts {
    font-size: 14px;
  }
  .footer__main-item {
    font-size: 17px;
  }
  h2.header-reserved__title.h2-title {
    font-size: 26px;
  }
  .header-reserved__ul {
    font-size: 17px;
  }
  .header-reserved__text {
    font-size: 14px;
  }
  .header-reserved__text-l {
    font-size: 14px;
  }
  .leader__left-top .leader__img-site {
    transform: scale(1, 1);
    padding-top: 150px;
  }
  .leader__left-top .leader__img-site2 {
    max-width: 215px !important;
    padding-top: 160px;
  }
  .leader__left-top .leader__img-site4 {
    max-width: 210px !important;
    padding-top: 200px !important;
  }
  .leader__left-top .leader__img-site5 {
    max-width: 180px !important;
    padding-top: 180px !important;
  }
  .leader__left-top .leader__img-site4-new {
    padding-top: 180px !important;
  }
}
@media (max-width: 390px) {
  .leader__quote-site {
    bottom: 20% !important;
    right: 23% !important;
  }
  .leader__left-top .leader__img-site {
    padding-top: 165px;
  }
}
@media (max-width: 375px) {
  .leader__left-top .leader__img-site5 {
    padding-top: 206px !important;
  }
}
@media (max-width: 370px) {
  .header__title {
    font-size: 25px;
  }
  .header__quote {
    max-width: 300px;
    max-height: 200px;
  }
  .header__p {
    font-size: 18px;
  }
  .h2-title {
    font-size: 33px;
  }
  .why__item-title {
    font-size: 22px;
  }
  .why__item-text {
    font-size: 16px;
  }
  .team__item-subtitile {
    font-size: 17px;
    margin-bottom: 1px;
  }
  .forms__contacts {
    font-size: 12px;
  }
  .team__item-title {
    font-size: 25px;
  }
  .team__item-text {
    font-size: 16px;
  }
  .team__item-right img {
    max-width: 250px !important;
  }
  .team__item-left img {
    max-width: 250px !important;
  }
  .team__item-title {
    margin-bottom: 250px;
  }
  .team__item-right .exlusive-param-img {
    max-width: 200px !important;
  }
  .team__item-right .exlusive-param2 {
    top: 85px;
    right: 12%;
  }
  .team__item-right img {
    right: 20%;
  }
  .footer__forms__frame .forms__contacts {
    font-size: 12px;
  }
  .footer__bottom {
    font-size: 15px;
    padding-bottom: 6px;
  }
  #typewriter {
    font-size: 15px;
    margin: 2px auto;
    width: 212px;
  }
}
@media (max-width: 355px) {
  .leader__left-top .leader__img-site4 {
    padding-top: 220px !important;
  }
  .directions__items .directions__img-civil {
    max-width: 300px !important;
  }
  .directions__items .directions__img-crime {
    max-width: 300px !important;
  }
  .leader__left-top .leader__img-site4-new {
    padding-top: 185px !important;
  }
}
@media (max-width: 340px) {
  .leader__left-top .leader__img-site3 {
    padding-top: 170px;
  }
}