@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;800;900&display=swap');

* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:focus,
:active {
  outline: none;
}
a:focus,
a:active {
  outline: none;
  color: inherit;
}
nav,
footer,
header,
aside {
  display: block;
}
html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
input,
button,
textarea {
  font-family: inherit;
}
input::-ms-clear {
  display: none;
}
button {
  cursor: pointer;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
a,
a:visited {
  text-decoration: none;
  color: inherit;
}
a:hover {
  text-decoration: none;
  color: inherit;
}
ul li {
  list-style: none;
}
img {
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}
/*--------------------*/

html,
body {
  font-family: Roboto;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

.video {
  display: flex;
  position: relative;
  padding: 100px;
  padding-bottom: 60px;
}

.video__left {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  max-width: 553px;
}

.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video__title {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 38px;
  line-height: 46px;
  margin-bottom: 44px;
}

.video__img {
  position: absolute;
  right: 80px;
  bottom: 0;
  animation: hatter 6s infinite linear;
  -webkit-animation: hatter 6s infinite linear;
}

.video__right {
  margin-left: 50px;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video__description {
  margin-left: 70px;
  max-width: 400px;
}

p {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 19px;
  color: #434343;
}

.video__btn {
  background: #f07745;
  border-radius: 20px;
  width: 300px;
  height: 68px;
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #fff;
  margin-left: 40px;
  margin-top: 20px;
      display: flex;
    align-items: center;
    justify-content: center;
}

.locations__middle {
  background: #c1e2db;
  margin-top: -140px;
}

.locations__top {
  background: url('./img/Vector.png');
  width: 100%;
  height: 196px;
}

.locations__bottom {
  background: url('./img/Vector2.png');
  width: 100%;
  height: 196px;
}

.locations {
  position: relative;
  padding-right: 260px;
  padding-left: 260px;
}

.locations__img {
  position: absolute;
  top: 0;
  left: 60px;
  animation: rabbit 12s infinite linear;
  -webkit-animation: rabbit 12s infinite linear;
}

.locations__title {
  font-family: Roboto;
  font-style: normal;
  font-weight: 800;
  font-size: 40px;
  line-height: 48px;
  color: #434343;
  text-align: center;
  padding-top: 120px;
  margin-bottom: 85px;
}

.locations__tabs-items {
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 72px;
}

.locations__tabs-block {
  display: none;
  justify-content: space-between;
}

.locations__tabs-block.active {
  display: flex;
}

.locations__tabs-item {
  background: url('./img/Vector\ 15.png');
  min-height: 72px;
  width: 180px;
  padding-right: 15px;
  padding-left: 15px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  color: #434343;
}

.locations__location-head {
  border-radius: 5px;
  width: 220px;
  height: 162px;
}

.locations__location {
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}

.locations__location:hover {
  transform: scale(1.5);
}

.locations__location-body {
  min-height: 140px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 26px;
  line-height: 31px;
  color: #434343;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.locations__tabs-item svg {
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
  -webkit-transition: transform 0.3s ease-in-out;
  -moz-transition: transform 0.3s ease-in-out;
  -ms-transition: transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
}

.locations__tabs-item:hover svg {
  transform: translateX(0px) translateY(-10px) rotate(0deg) scale(1, 1);
}

.reviews {
  padding-right: 270px;
  padding-left: 270px;
  position: relative;
  margin-bottom: 77px;
}

.reviews .swiper-container {
  width: 100%;
  height: 361px;
  background: url('./img/Vector\ 9.png') no-repeat center center;
}

.reviews .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reviews__text {
  margin-bottom: 40px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 19px;
  color: #434343;
  margin-right: 100px;
  margin-left: 100px;
}

.reviews__author {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #434343;
}

.swiper-button-prev,
.swiper-button-next {
  width: 60px;
  height: 64px;
  background: url('./img/Vector\ 12.png');
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: '';
  position: absolute;
  background: url('./img/Vector\ 10.svg') no-repeat center center;
  width: 60px;
  height: 64px;
  right: 0;
  transition: right 0.3s ease-in-out;
  -webkit-transition: right 0.3s ease-in-out;
  -moz-transition: right 0.3s ease-in-out;
  -ms-transition: right 0.3s ease-in-out;
  -o-transition: right 0.3s ease-in-out;
}

.swiper-button-prev::after {
  left: 0;
  transition: left 0.3s ease-in-out;
  -webkit-transition: left 0.3s ease-in-out;
  -moz-transition: left 0.3s ease-in-out;
  -ms-transition: left 0.3s ease-in-out;
  -o-transition: left 0.3s ease-in-out;
}

.swiper-button-next:hover::after {
  right: -5px;
}

.swiper-button-prev:hover::after {
  left: -5px;
}

.swiper-button-prev::after {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}

.reviews__img {
  position: absolute;
  bottom: -150px;
  right: 378px;
  z-index: 1;
  animation: alice 8s infinite linear;
  -webkit-animation: alice 8s infinite linear;
}

.reviews__title {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 42px;
  line-height: 50px;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 100px;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 280px;
}

.footer__logo img {
  max-width: 220px;
}

.footer__logo-text {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 22px;
  color: #434343;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding-left: 60px;
  padding-right: 290px;
}

.footer__middle {
  background: #f7f1e5;
  margin-top: -50px;
  height: 200px;
}

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

.footer__col:not(:last-child) {
  margin-right: 86px;
}

.footer__links {
  display: flex;
}

footer {
  position: relative;
  z-index: 2;
}

.footer__top {
  background: url('./img/Vector-footer.png');
  height: 177px;
}

.footer__title-col {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 22px;
  color: #434343;
  margin-bottom: 16px;
}

.footer__item {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 22px;
  color: #434343;
}

.footer__item:not(:last-child) {
  margin-bottom: 7px;
}

.reviews__text-seo{
    text-align:justify;
    margin-right: 2%;
    margin-left: 2%;
    text-indent: 1.5em;
}

@keyframes hatter {
  0% {
    opacity: 1;
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    animation-timing-function: linear;
    -webkit-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    -moz-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    -ms-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    -o-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    opacity: 1;
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(0.9);
    animation-timing-function: linear;
    -webkit-transform: translateX(0px) translateY(0px) rotate(0deg) scale(0.9);
    -moz-transform: translateX(0px) translateY(0px) rotate(0deg) scale(0.9);
    -ms-transform: translateX(0px) translateY(0px) rotate(0deg) scale(0.9);
    -o-transform: translateX(0px) translateY(0px) rotate(0deg) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    animation-timing-function: linear;
    -webkit-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    -moz-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    -ms-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    -o-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
  }
  75% {
    opacity: 1;
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.1);
    animation-timing-function: linear;
    -webkit-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.1);
    -moz-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.1);
    -ms-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.1);
    -o-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    -webkit-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    -moz-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    -ms-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
    -o-transform: translateX(0px) translateY(0px) rotate(0deg) scale(1);
  }
}

@keyframes rabbit {
  0% {
    opacity: 1;
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1, 1);
    animation-timing-function: linear;
  }
  25% {
    opacity: 1;
    transform: translateX(0px) translateY(-70px) rotate(0deg) scale(1, 1);
    animation-timing-function: linear;
  }
  50% {
    opacity: 1;
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1, 1);
    animation-timing-function: linear;
  }
  75% {
    opacity: 1;
    transform: translateX(22px) translateY(70px) rotate(0deg) scale(1, 1);
    animation-timing-function: linear;
  }
  100% {
    opacity: 1;
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1, 1);
  }
}

@keyframes alice {
  0% {
    opacity: 1;
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1, 1);
    animation-timing-function: linear;
  }
  25% {
    opacity: 1;
    transform: translateX(-65px) translateY(-23px) rotate(0deg) scale(1, 1);
    animation-timing-function: linear;
  }
  50% {
    opacity: 1;
    transform: translateX(-3px) translateY(-29px) rotate(0deg) scale(1, 1);
    animation-timing-function: linear;
  }
  75% {
    opacity: 1;
    transform: translateX(95px) translateY(13px) rotate(0deg) scale(1, 1);
    animation-timing-function: linear;
  }
  100% {
    opacity: 1;
    transform: translateX(0px) translateY(3px) rotate(0deg) scale(1, 1);
  }
}

.locations__location{
    width: 220px;
}

.locations__location-body{
    text-align: center;
}

.reviews__text-seo {
    font-family: Cheshirskiy Cat Regular;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    color: #434343;
}

.seo-text{
    background: #F7F1E5;
    padding-top: 50px;
    padding-bottom: 50px;
}

.open .reviews__text-seo {
    max-height: 800px;
    margin-bottom: 24px;
}

.reviews__text-seo p:not(:last-child) {
    margin-bottom: 18px;
}

.reviews__text-seo ul {
    padding-left: 22px;
    list-style: unset;
}

.reviews__text-seo li {
    list-style: unset;
}

.reviews__text-seo ul>li:not(:last-child) {
    margin-bottom: 14px;
}

.open .reviews__arrow{
    transform: rotate(180deg);
}

.reviews__arrow{
    cursor: pointer;
    transition:transform 0.3s ease-out;
}

.reviews__arrow circle{
    stroke: #f07745
}

.reviews__text-block{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

.locations__tabs-body{
    min-height: 310px;
}

.locations__text-block {
  background: #fff;
  padding: 28px;
  font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    color: #434343;
    border-radius: 5px;
    width: 100%;
}

.locations__text-block p:not(:last-child) {
    margin-bottom: 18px;
}

.locations__text-block ul {
    padding-left: 22px;
    list-style: unset;
}

.locations__text-block li {
    list-style: unset;
}

.locations__text-block ul>li:not(:last-child) {
    margin-bottom: 14px;
}

.modal__block{
    display: flex;
    flex-direction: column;
    width: 290px;
    margin: 0 auto;
}

.modal{
        font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 26px;
    text-align: center;
    color: #434343;
}

.modal__block input{
    border: 1px solid #f07745;
    margin-bottom: 24px;
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 26px;
    text-align: center;
    color: #434343;
    border-radius: 5px;
    height: 40px;
}

.modal__btn {
        background: #f07745;
    border-radius: 20px;
    width: 300px;
    height: 68px;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .customvideo{
        width: 100%;
    }
    
.reviews__text {
    margin-right: 0px;
    margin-left: 0px;
}

.reviews__text-seo{
    padding-left: 20px;    
    padding-right: 20px;    
}

.header-right-block{
    margin-right: unset;
    padding-left: 20px;    
    padding-right: 20px;  
    
}

  .video {
          align-items: center;
    padding: 0;
    flex-direction: column;
    margin-bottom: 60px;
  }

  .video__left img {
    width: 100%;
  }

  .video__img,
  .locations__img {
    display: none;
  }

  .video__right {
    margin-left: 0;
    align-items: center;
  }

  .video__title {
    text-align: center;
  }

  .video__description {
    margin-left: 0;
    text-align: center;
  }

  .video__btn {
    margin-left: 0;
  }

  .locations {
    padding: 0;
  }

  .locations__tabs-items {
    margin-bottom: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
  }

  .locations__tabs-item {
    margin-bottom: 24px;
  }

  .locations__tabs-block {
    flex-wrap: wrap;
    justify-content: center;
  }

  .locations__location {
    margin-bottom: 24px;
  }

  .reviews {
    padding: 0;
  }

  .footer {
    padding: 0;
    flex-direction: column;
    align-items: center;
  }

  .footer__middle {
    height: unset;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
  }

  .footer__col {
    text-align: center;
  }

  .footer__logo {
    order: 2;
    margin-bottom: 40px;
  }

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