@charset "UTF-8";
:root {
  --main-bg: #F8334F;
  --grey-light: #E6E6E6;
  --grey: #858484;
  --white: #fff;
  --main: #000;
  --orange: #FF5757;
  --grey-secondary: #d8d8d8;
  --yellow: #f5d33c;
  --red: #e62626;
}

* {
  padding: 0;
  margin: 0;
  border: none;
}

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

a, a:hover {
  text-decoration: none;
}

/* Common */
nav,
footer,
header,
section,
ul,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
div,
p,
span {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/* Form */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

html,
body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Code Pro Bold";
  font-family: "Code Pro LC";
  font-family: "Montserrat";
  font-weight: 400;
  font-size: 16px;
  display: flex;
  line-height: 1;
  flex-direction: column;
  color: #000;
}

main {
  flex: 1;
}

footer {
  flex: 0;
}

a,
button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.ttf");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBold.ttf");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Code Pro Bold";
  src: url("../fonts/Code-Pro-Bold.woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Code Pro LC";
  src: url("../fonts/Code-Pro-LC.woff");
  font-weight: 400;
  font-style: normal;
}
.header {
  padding: 22px 0;
  width: 100%;
}
.header__row {
  display: flex;
  align-items: center;
  position: relative;
}
@media (max-width: 1200px) {
  .header__row {
    justify-content: space-between;
  }
}
.header__logo-wrapper {
  margin-left: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 100px;
}
@media (max-width: 1200px) {
  .header__logo-wrapper {
    margin-right: 50px;
  }
}
@media (max-width: 479px) {
  .header__logo-wrapper {
    margin-left: 0px;
    margin-right: 30px;
    gap: 6px;
  }
}
.header__logo {
  max-width: 110px;
}
@media (max-width: 479px) {
  .header__logo {
    max-width: 60px;
  }
}
.header__logo-text-wrapper {
  display: flex;
  flex-direction: column;
}
.header__logo-text {
  color: #373737;
  font-family: "Code Pro LC";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
@media (max-width: 479px) {
  .header__logo-text {
    font-size: 16px;
  }
}
.header__logo-text--last {
  margin-top: 2px;
  color: #F9D6BD;
  font-family: "Code Pro LC";
  font-size: 11px;
}
@media (max-width: 479px) {
  .header__logo-text--last {
    font-size: 8px;
  }
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 100px;
  position: relative;
}
@media (max-width: 1200px) {
  .header__nav {
    gap: 50px;
  }
}
@media (max-width: 940px) {
  .header__nav {
    display: none;
  }
}
.header__nav.active {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  height: 240px;
  background: #62605e;
  z-index: 1;
}
.header__nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  color: #fff;
}
@media (max-width: 940px) {
  .header__nav-close {
    display: block;
  }
}
.header__nav-list {
  display: flex;
  gap: 80px;
  list-style: none;
}
.header__nav-list.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 1100px) {
  .header__nav-list {
    gap: 40px;
  }
}
@media (max-width: 767px) {
  .header__nav-list {
    gap: 20px;
  }
}
@media (max-width: 479px) {
  .header__nav-list {
    gap: 10px;
    justify-content: space-between;
  }
}
.header__nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0);
}
.header__nav-link {
  color: #373737;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition: 0.3s ease;
}
@media (min-width: 940px) {
  .header__nav-link:hover {
    color: #fff;
  }
}
@media (max-width: 940px) {
  .header__nav-link {
    color: #fff;
    font-size: 20px;
  }
}
.header__nav-button {
  border-radius: 10px;
  border: 1px solid #373737;
  cursor: pointer;
  transition: 0.3s ease;
  animation: shake 2s infinite;
  /* Постоянная анимация */
}
@media (max-width: 940px) {
  .header__nav-button {
    border: none;
  }
}
@media (min-width: 940px) {
  .header__nav-button:hover {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
  }
}
.header__nav-button p {
  display: inline-block;
  padding: 6px 10px;
  color: #373737;
  font-size: 20px;
  font-weight: 400;
  transition: 0.3s ease;
}
@media (min-width: 940px) {
  .header__nav-button p:hover {
    color: #fff;
  }
}
@media (min-width: 940px) {
  .header__nav-button p {
    color: #373737;
  }
}
@media (max-width: 940px) {
  .header__nav-button p {
    color: #fff;
    font-size: 20px;
    animation: shake 2s infinite;
    /* Постоянная анимация текста */
  }
}
@media (max-width: 600px) {
  .header__nav-button p {
    font-size: 18px;
  }
}
@keyframes shake {
  0% {
    transform: rotate(0deg) translateX(0);
  }
  25% {
    transform: rotate(1deg) translateX(2px);
  }
  50% {
    transform: rotate(0deg) translateX(0);
  }
  75% {
    transform: rotate(-1deg) translateX(-2px);
  }
  100% {
    transform: rotate(0deg) translateX(0);
  }
}

.header__logo-wrapper {
  /* existing styles */
  transform: translateY(-100px);
  /* add this */
  opacity: 0;
  /* add this */
  animation: arrive 1s forwards;
  /* add this */
  animation-delay: 0.5s;
  /* add this */
}

@keyframes arrive {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.header__nav {
  /* existing styles */
  transform: translateY(-100px);
  /* add this */
  opacity: 0;
  /* add this */
  animation: arrive 1s forwards;
  /* add this */
  animation-delay: 0.5s;
  /* add this */
}

.header__nav-button {
  /* existing styles */
  transform: translateY(-100px);
  /* add this */
  opacity: 0;
  /* add this */
  animation: arrive 1s forwards;
  /* add this */
  animation-delay: 0.5s;
  /* add this */
}

.promo {
  background: url("../img/main-bg.png") no-repeat;
  background-size: cover;
  position: relative;
  height: auto;
  padding-bottom: 40px;
  max-height: 1000px;
}
@media (max-width: 767px) {
  .promo {
    height: auto;
    padding-bottom: 40px;
  }
}
.promo__decor {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(217, 217, 217, 0.7019607843);
  width: 100%;
  height: 102px;
  z-index: 1;
}
@media (max-width: 479px) {
  .promo__decor {
    height: 90px;
  }
}
.promo__wrapper {
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .promo__wrapper {
    max-width: 100%;
    padding-right: 20px;
  }
}
@media (max-width: 479px) {
  .promo__wrapper {
    padding-right: 0;
  }
}
.promo__box {
  margin-left: 35px;
}
@media (max-width: 767px) {
  .promo__box {
    margin-left: 0;
  }
}
.promo__heading-wrapper {
  margin-top: 110px;
}
@media (max-width: 992px) {
  .promo__heading-wrapper {
    margin-top: 65px;
  }
}
@media (max-width: 767px) {
  .promo__heading-wrapper {
    margin-top: 50px;
  }
}
@media (max-width: 380px) {
  .promo__heading-wrapper {
    margin-top: 40px;
  }
}
.promo__heading-wrapper h1 {
  color: #fff;
  font-weight: 600;
  line-height: 1.15;
  font-size: 44px;
  font-weight: 700;
  cursor: default;
}
@media (max-width: 992px) {
  .promo__heading-wrapper h1 {
    font-size: 40px;
  }
}
@media (max-width: 600px) {
  .promo__heading-wrapper h1 {
    font-size: 32px;
  }
}
@media (max-width: 479px) {
  .promo__heading-wrapper h1 {
    font-size: 26px;
  }
}
@media (max-width: 365px) {
  .promo__heading-wrapper h1 {
    font-size: 22px;
  }
}
.promo__text {
  margin-top: 40px;
  line-height: 1.25;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  max-width: 600px;
  cursor: default;
}
@media (max-width: 767px) {
  .promo__text {
    font-size: 22px;
    margin-top: 25px;
  }
}
@media (max-width: 600px) {
  .promo__text {
    font-size: 20px;
    margin-top: 18px;
  }
}
@media (max-width: 479px) {
  .promo__text {
    font-size: 18px;
    line-height: 1.1;
  }
}
@media (max-width: 380px) {
  .promo__text {
    font-size: 16px;
  }
}
.promo__bottom {
  max-width: 285px;
  padding: 5px 0;
  margin-top: 22px;
  position: relative;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 217, 217, 0.3215686275);
  cursor: default;
}
@media (max-width: 600px) {
  .promo__bottom {
    width: 100%;
    max-width: 100%;
  }
}
.promo__bottom p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.promo__button {
  max-width: 275px;
  margin-top: 30px;
  cursor: pointer;
}
@media (max-width: 600px) {
  .promo__button {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 479px) {
  .promo__button {
    margin-top: 20px;
  }
}
.promo__button p {
  border-radius: 20px;
  background: #D9D9D9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 15px 47px;
  color: #000;
  font-family: "Code Pro Bold";
  font-size: 13px;
  font-weight: 400;
  animation: blink 2.5s infinite;
}
@keyframes blink {
  0% {
    box-shadow: 0 0 5px #fff;
  }
  50% {
    box-shadow: 0 0 10px #fff;
  }
  100% {
    box-shadow: 0 0 5px #fff;
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%); /* Исходное положение – слева */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* Конечное положение */
  }
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100%); /* Исходное положение – справа */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* Конечное положение */
  }
}
.promo__heading-wrapper {
  /* Существующие стили */
  opacity: 0;
  animation: fadeInLeft 1s forwards; /* Появление слева */
  animation-delay: 0.5s;
}

.promo__text {
  /* Существующие стили */
  opacity: 0;
  animation: fadeInLeft 1s forwards; /* Появление слева */
  animation-delay: 0.8s;
}

.promo__bottom {
  /* Существующие стили */
  opacity: 0;
  animation: fadeInRight 1s forwards; /* Появление справа */
  animation-delay: 0.8s;
}

.promo__button {
  /* Существующие стили */
  opacity: 0;
  animation: fadeInRight 1s forwards; /* Появление слева */
  animation-delay: 0.8s;
}

.about {
  position: relative;
  padding-top: 40px;
  background: #f6f6f6;
  margin-bottom: -1px;
  cursor: default;
  overflow: hidden;
}
.about__wrapper {
  display: flex;
  gap: 25px;
}
@media (max-width: 767px) {
  .about__wrapper {
    display: block;
  }
}
.about__left {
  display: flex;
  align-items: flex-end;
}
@media (max-width: 992px) {
  .about__left {
    position: absolute;
    right: -50px;
    filter: blur(5px);
  }
}
@media (max-width: 813px) {
  .about__left {
    display: none;
  }
}
.about__left img {
  max-height: 480px;
}
.about__right {
  overflow: hidden;
}
.about__right::before {
  position: absolute;
  bottom: 0;
  right: 25%;
  background: url("../img/court-lady111.png") no-repeat;
  background-size: cover;
  width: 214px;
  height: 285px;
  content: "";
  z-index: 1;
}
@media (max-width: 1100px) {
  .about__right::before {
    right: 15%;
  }
}
@media (max-width: 992px) {
  .about__right::before {
    right: 18%;
  }
}
@media (max-width: 767px) {
  .about__right::before {
    right: 0;
  }
}
@media (max-width: 660px) {
  .about__right::before {
    z-index: 1;
    right: -100px;
  }
}
@media (max-width: 500px) {
  .about__right::before {
    display: none;
  }
}
.about__top-heading-wrapper {
  border-radius: 10px;
  border: 1px solid #000;
  width: -moz-fit-content;
  width: fit-content;
}
.about__top-heading {
  display: inline-block;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  padding: 5px 10px;
}
@media (max-width: 479px) {
  .about__top-heading {
    font-size: 16px;
  }
}
.about__heading-wrapper {
  max-width: 640px;
  margin-top: 20px;
}
.about__heading-wrapper h2 {
  color: #000;
  font-size: 25px;
  font-weight: 700;
}
@media (max-width: 600px) {
  .about__heading-wrapper h2 {
    font-size: 22px;
  }
}
@media (max-width: 479px) {
  .about__heading-wrapper h2 {
    font-size: 20px;
  }
}
@media (max-width: 380px) {
  .about__heading-wrapper h2 {
    font-size: 18px;
  }
}
.about__text-middle {
  display: flex;
  margin-top: 23px;
  gap: 70px;
  position: relative;
  z-index: 5;
}
@media (max-width: 1200px) {
  .about__text-middle {
    gap: 0;
  }
}
@media (max-width: 767px) {
  .about__text-middle {
    flex-direction: column-reverse;
    gap: 25px;
  }
}
@media (max-width: 600px) {
  .about__text-middle {
    gap: 15px;
    margin-top: 15px;
  }
}
.about__text-middle-left-wrapper {
  max-width: 450px;
  color: #000;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.17;
}
@media (max-width: 1100px) {
  .about__text-middle-left-wrapper {
    max-width: 400px;
    font-size: 18px;
  }
}
@media (max-width: 479px) {
  .about__text-middle-left-wrapper {
    font-size: 16px;
  }
}
.about__text-middle-right {
  margin-top: 5px;
  border-radius: 20px;
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 14px 20px;
  height: -moz-fit-content;
  height: fit-content;
}
@media (max-width: 767px) {
  .about__text-middle-right {
    width: -moz-fit-content;
    width: fit-content;
    border: none;
    padding: 5px 10px;
    text-align: left;
    align-items: flex-start;
    background: rgb(217, 217, 217);
    box-shadow: 2px 1px 10px rgba(0, 0, 0, 0.5);
    border-radius: 0;
    margin-left: 5px;
  }
}
@media (max-width: 479px) {
  .about__text-middle-right {
    padding: 14px;
  }
}
.about__text-middle-right p {
  color: #000;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}
@media (max-width: 1100px) {
  .about__text-middle-right p {
    font-size: 20px;
  }
}
.about__text-middle-right p:last-child {
  font-size: 20px;
}
@media (max-width: 1100px) {
  .about__text-middle-right p:last-child {
    font-size: 16px;
  }
}
@keyframes blink2 {
  0% {
    box-shadow: 0 0 2px #000;
  }
  50% {
    box-shadow: 0 0 5px #000;
  }
  100% {
    box-shadow: 0 0 2px #000;
  }
}
.about__bottom {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  max-width: 400px;
  line-height: 1.1;
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
}
@media (max-width: 600px) {
  .about__bottom {
    margin-top: 25px;
    gap: 14px;
  }
}
.about__bottom p {
  position: relative;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  padding-left: 18px;
}
@media (max-width: 600px) {
  .about__bottom p {
    font-size: 18px;
  }
}
@media (max-width: 380px) {
  .about__bottom p {
    font-size: 16px;
  }
}
.about__bottom p::before {
  position: absolute;
  content: "";
  width: 6px;
  height: 3px;
  background: #000;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.about__bottom p {
  opacity: 0;
  transform: translateY(100%); /* Исходное положение строк – снизу */
  transition: all 1s ease;
}

.about__bottom p.visible {
  opacity: 1;
  transform: translateY(0); /* Конечное положение строк */
}

.choise {
  position: relative;
  background: url("../img/choise-bg.png") no-repeat;
  background-size: cover;
  color: #fff;
  text-align: center;
  cursor: default;
  z-index: 10;
}
.choise__wrapper {
  padding-top: 50px;
  padding-bottom: 110px;
}
@media (max-width: 600px) {
  .choise__wrapper {
    padding-bottom: 35px;
    padding-top: 50px;
  }
}
.choise__heading-wrapper span {
  color: #FFF;
  font-family: "Code Pro LC";
  font-size: 20px;
  font-weight: 400;
}
@media (max-width: 1200px) {
  .choise__heading-wrapper span {
    font-size: 16px;
  }
}
.choise__heading-wrapper h2 {
  margin-top: 22px;
  color: #FFF;
  font-family: "Code Pro Bold";
  font-size: 40px;
  font-weight: 400;
}
@media (max-width: 1200px) {
  .choise__heading-wrapper h2 {
    font-size: 30px;
    margin-top: 12px;
  }
}
@media (max-width: 479px) {
  .choise__heading-wrapper h2 {
    font-size: 24px;
  }
}
.choise__row {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 1200px) {
  .choise__row {
    gap: 15px;
  }
}
@media (max-width: 992px) {
  .choise__row {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .choise__row {
    margin-top: 30px;
  }
}
.choise__item {
  max-width: 300px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 992px) {
  .choise__item {
    max-width: 400px;
  }
}
.choise__item img {
  max-width: 47px;
  margin: 0 auto;
}
@media (max-width: 1200px) {
  .choise__item img {
    max-width: 30px;
  }
}
.choise__title {
  margin-top: 15px;
  color: #FFF;
  font-family: "Code Pro Bold";
  font-size: 30px;
  font-weight: 400;
}
@media (max-width: 1200px) {
  .choise__title {
    font-size: 20px;
  }
}
.choise__text {
  margin-top: 25px;
  color: #FFF;
  text-align: center;
  font-family: "Code Pro LC";
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}
@media (max-width: 1200px) {
  .choise__text {
    font-size: 11px;
    margin-top: 18px;
  }
}

.choise__item {
  opacity: 0;
  transition: all 1s ease;
}

.choise__item-first {
  transform: translateX(-100%); /* Исходное положение для первого блока */
}

.choise__item-central {
  transform: translateY(100%); /* Исходное положение для центрального блока */
}

.choise__item-third {
  transform: translateX(100%); /* Исходное положение для третьего блока */
}

.choise__item.visible {
  opacity: 1;
  transform: translateX(0) translateY(0); /* Конечное положение для всех блоков */
}

/* Для экранов меньше 992px */
@media (max-width: 992px) {
  .choise__item {
    transform: translateY(100%); /* Все блоки появятся снизу */
  }
  .choise__item-first,
  .choise__item-central,
  .choise__item-third {
    transform: translateY(100%); /* Изначальное положение снизу для всех блоков */
  }
  .choise__item.visible {
    transform: translateY(0); /* Плавное появление вверх */
  }
}
.reviews {
  background: #FFEDE0;
  padding: 50px 0;
  padding-bottom: 150px;
  position: relative;
}
@media (max-width: 479px) {
  .reviews {
    padding: 40px 0;
  }
}
.reviews__heading {
  color: #000;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  cursor: default;
}
@media (max-width: 600px) {
  .reviews__heading {
    font-size: 24px;
  }
}
@media (max-width: 380px) {
  .reviews__heading {
    font-size: 20px;
  }
}
.reviews__row {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 90px;
}
@media (max-width: 1200px) {
  .reviews__row {
    gap: 50px;
    padding: 0 10px;
  }
}
@media (max-width: 992px) {
  .reviews__row {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
  }
}
.reviews__left {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
@media (max-width: 992px) {
  .reviews__left {
    gap: 40px;
  }
}
.reviews__right {
  display: flex;
  flex-direction: column;
}
.reviews__item {
  border-radius: 20px;
  background: #FFF;
  padding: 35px;
  max-width: 520px;
  position: relative;
  z-index: 2;
  transition: 0.3s ease;
  min-width: 430px;
}
@media (max-width: 479px) {
  .reviews__item {
    width: 100% !important;
    min-width: auto !important;
    padding: 22px;
  }
}
.reviews__item:hover {
  box-shadow: 2px 4px 8px rgba(139, 91, 57, 0.6588235294);
  cursor: pointer;
}
.reviews__item-right {
  margin-bottom: 80px;
}
@media (max-width: 992px) {
  .reviews__item-right {
    margin-bottom: 40px;
  }
}
.reviews__item-last {
  margin-bottom: 27px;
}
@media (max-width: 992px) {
  .reviews__item-last {
    margin-bottom: 40px;
  }
}
.reviews__item-form {
  border-radius: 20px;
  background: #FFF;
  padding: 25px 35px;
  position: relative;
  z-index: 2;
  max-width: 520px;
  min-width: 430px;
}
@media (max-width: 479px) {
  .reviews__item-form {
    width: 100% !important;
    min-width: auto !important;
    padding: 22px;
  }
}
.reviews__text {
  max-width: 448px;
  color: #000;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.18;
}
@media (max-width: 479px) {
  .reviews__text {
    font-size: 14px;
  }
}
.reviews__name-wrapper {
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 18px;
}
@media (max-width: 479px) {
  .reviews__name-wrapper {
    margin-top: 20px;
    gap: 12px;
  }
}
.reviews__img {
  width: 60px;
  height: 60px;
  border-radius: 20px;
}
@media (max-width: 479px) {
  .reviews__img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}
.reviews__name {
  color: #000;
  font-size: 18px;
  font-weight: 700;
}
@media (max-width: 479px) {
  .reviews__name {
    font-size: 14px;
  }
}
.reviews__decor {
  position: absolute;
  z-index: 1;
}
.reviews__decor1 {
  top: 30px;
  right: 20px;
  width: 104.877px;
  height: 79.441px;
  background: url("../img/d1.png") no-repeat;
  background-size: cover;
}
@media (max-width: 600px) {
  .reviews__decor1 {
    right: 0;
    top: 80px;
  }
}
.reviews__decor2 {
  width: 53px;
  height: 50px;
  top: 430px;
  left: 20px;
  background: url("../img/d2.png") no-repeat;
  background-size: cover;
}
@media (max-width: 479px) {
  .reviews__decor2 {
    top: 537px;
    left: 50%;
  }
}
.reviews__decor3 {
  width: 83px;
  height: 63px;
  flex-shrink: 0;
  top: 780px;
  left: 50%;
  transform: translateX(-50%);
  background: url("../img/d3.png") no-repeat;
  background-size: cover;
}
.reviews__decor4 {
  width: 72px;
  height: 55px;
  flex-shrink: 0;
  bottom: 330px;
  left: 20px;
  background: url("../img/d4.png") no-repeat;
  background-size: cover;
}
.reviews__decor5 {
  width: 82px;
  height: 103px;
  flex-shrink: 0;
  bottom: 330px;
  right: 20px;
  background: url("../img/d5.png") no-repeat;
  background-size: cover;
}
.reviews__decor6 {
  width: 53px;
  height: 75px;
  transform: rotate(-73.752deg);
  flex-shrink: 0;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: url("../img/d6.png") no-repeat;
  background-size: cover;
}

.review-form__textarea {
  width: 445px;
  max-width: 445px;
  min-width: 333px;
  height: 133px;
  max-height: 133px;
  min-height: 133px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.4196078431);
  padding: 15px;
  outline: none;
  transition: 0.3s ease;
  resize: none;
}
@media (max-width: 1100px) {
  .review-form__textarea {
    width: 100%;
    min-width: auto;
  }
}
.review-form__textarea:focus {
  border: 1px solid #dfc4b1;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
.review-form__textarea::-moz-placeholder {
  color: rgba(0, 0, 0, 0.5803921569);
  font-size: 15px;
  font-weight: 400;
}
.review-form__textarea::placeholder {
  color: rgba(0, 0, 0, 0.5803921569);
  font-size: 15px;
  font-weight: 400;
}
.review-form__box {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 510px) {
  .review-form__box {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
}
.review-form__input {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.4196078431);
  padding: 8px 15px;
  max-width: 200px;
  outline: none;
  transition: 0.3s ease;
}
.review-form__input:focus {
  border: 1px solid #dfc4b1;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
@media (max-width: 510px) {
  .review-form__input {
    width: 100%;
    max-width: none;
  }
}
.review-form__button {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.4196078431);
  background: #D9D9D9;
  padding: 8px 35px;
  transition: background 0.3s ease, border 0.3s ease;
}
@media (max-width: 510px) {
  .review-form__button {
    width: 100%;
    max-width: none;
  }
}
.review-form__button:hover {
  background: #dfc4b1;
  border: 1px solid #dfc4b1;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
.review-form__button:active {
  background: #dfc4b1;
  border: 1px solid #dfc4b1;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}

/* Контейнер для спиннера */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  /* Можно настроить под ваши размеры */
}

/* Анимация для лого */
.spinner-logo {
  width: 50px;
  /* Задайте нужный размер логотипа */
  height: 50px;
  /* Задайте нужный размер логотипа */
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.review-message {
  text-align: center;
  font-size: 18px;
  color: green;
  border-radius: 20px;
  background: #FFF;
  padding: 35px 0;
  position: relative;
  z-index: 2;
  max-width: 520px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-form__error {
  min-height: 12px;
  height: 12px;
  color: red;
  font-size: 14px;
  display: inline-block;
  width: 100%;
  line-height: 12px;
  visibility: hidden;
}
@media (max-width: 479px) {
  .review-form__error {
    font-size: 12px;
  }
}

.reviews__item.animate {
  animation: fadeIn 2s forwards;
}

.reviews__decor1.animate {
  animation: fadeIn 8s forwards;
}

.reviews__decor2.animate {
  animation: fadeIn 7s forwards;
}

.reviews__decor3.animate {
  animation: fadeIn 13s forwards;
}

.reviews__decor4.animate {
  animation: fadeIn 7s forwards;
}

.reviews__decor5.animate {
  animation: fadeIn 8s forwards;
}

.reviews__decor6.animate {
  animation: fadeIn 4s forwards;
}

@keyframes fadeIn {
  0% {
    transform: translateY(300px);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.reviews__item {
  transform: translateY(300px);
  opacity: 0;
}

.reviews__decor1 {
  transform: translateY(300px);
  opacity: 0;
}

.reviews__decor2 {
  transform: translateY(300px);
  opacity: 0;
}

.reviews__decor3 {
  transform: translateY(300px);
  opacity: 0;
}

.reviews__decor4 {
  transform: translateY(300px);
  opacity: 0;
}

.reviews__decor5 {
  transform: translateY(300px);
  opacity: 0;
}

.reviews__decor6 {
  transform: translateY(300px);
  opacity: 0;
}

.footer {
  background: #B6B6B6;
  padding: 18px 44px;
  cursor: default;
}
@media (max-width: 479px) {
  .footer {
    padding: 10px 0px;
  }
}
.footer__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
@media (max-width: 479px) {
  .footer__wrapper {
    flex-direction: column-reverse;
    gap: 20px;
  }
}
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
@media (max-width: 479px) {
  .footer__left {
    gap: 10px;
  }
}
.footer__left p {
  color: #000;
  font-size: 12px;
  font-weight: 400;
}
.footer__line {
  width: 1px;
  height: 100px;
  background: #575757;
  margin: 0 auto;
}
@media (max-width: 479px) {
  .footer__line {
    display: none;
  }
}
.footer__right {
  color: #000;
  font-size: 16px;
  font-weight: 300;
}
@media (max-width: 479px) {
  .footer__right {
    font-size: 12px;
  }
}
.footer__right a {
  display: block;
  margin-bottom: 21px;
  color: #000;
  font-size: 16px;
  font-weight: 300;
  transition: 0.3s ease;
}
@media (max-width: 479px) {
  .footer__right a {
    font-size: 12px;
    margin-bottom: 10px;
  }
}
.footer__right a:hover {
  text-decoration: underline;
}
/* Стили для иконки чата */
.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 40px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 1000;
}
.chat-icon::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -10px;
  width: 81px;
  height: 69px;
  border-radius: 25px;
  background: rgba(188, 188, 188, 0.3529411765);
  z-index: -1;
  animation: ring 4s infinite;
}

@keyframes ring {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.chat-icon img {
  width: 62px;
  height: 62px;
  transition: 0.3s ease-in-out;
}
.chat-icon img:hover {
  transform: scale(1.05);
}

/* Скрытое окно чата */
.chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 370px;
  padding-bottom: 20px;
  border-radius: 30px;
  z-index: 10000;
  background: #E4E4E4;
  /* Slightly transparent white background */
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  /* Adds a blur effect to the background */
}
@media (max-width: 479px) {
  .chat-box {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
  }
}
@media (max-width: 410px) {
  .chat-box {
    width: 310px;
    right: 5px;
  }
}

/* Стили для заголовка чата */
.chat-header {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #000;
  position: relative;
  border-radius: 20px;
  background: #9A9A9A;
  width: 100%;
  height: 80px;
}

.chat-header__title {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #D9D9D9;
  text-align: center;
  width: 240px;
  padding: 5px 0;
  color: #2C2C2C;
  font-size: 14px;
  font-weight: 700;
}

.chat-header p {
  margin-top: 30px;
  color: #fff;
  font-size: 12px;
  text-align: center;
  max-width: 240px;
  line-height: 1.1;
}

.close-chat {
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 20px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}
@media (max-width: 410px) {
  .close-chat {
    right: 10px;
    display: none;
  }
}

#chat-form {
  display: flex;
  flex-direction: column;
  color: #000;
}

#chat-form label {
  margin-bottom: 5px;
}

#chat-form input {
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#chat-form button {
  padding: 10px;
  background-color: orange;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Стили для чата */
#chat-box {
  opacity: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  transition: opacity 0.6s ease-in-out;
}

#chat-box.show {
  opacity: 1;
  -webkit-user-select: auto;
     -moz-user-select: auto;
          user-select: auto;
  pointer-events: auto;
}

.section-form {
  padding-top: 110px;
  padding-bottom: 80px;
  text-align: center;
  background: #F5F5F5;
  position: relative;
  overflow: hidden;
}
@media (max-width: 600px) {
  .section-form {
    padding-top: 40px;
    padding-bottom: 30px;
  }
}
.section-form::before {
  content: "";
  position: absolute;
  bottom: -172px;
  left: 5%;
  width: 190px;
  height: 500px;
  max-width: 450px;
  background: url("../img/court-lady111.png") no-repeat;
  background-size: cover;
  z-index: 1;
}
.section-form::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 5%;
  width: 160px;
  height: 400px;
  max-width: 450px;
  background: url("../img/court-lady111.png") no-repeat;
  background-size: cover;
  z-index: 1;
}
.section-form__wrapper {
  padding: 35px 50px;
  border-radius: 20px;
  background: #EAEAEA;
  background: #DDD;
  max-width: 535px;
  position: relative;
  z-index: 10;
  margin: 0 auto;
}
@media (max-width: 650px) {
  .section-form__wrapper {
    padding: 30px 45px 30px 20px;
  }
}
@media (max-width: 479px) {
  .section-form__wrapper {
    padding: 20px 25px 30px 12px;
  }
}
.section-form__wrapper::before {
  content: "";
  position: absolute;
  top: -11px;
  left: -14px;
  width: 100%;
  height: 100%;
  background: #EAEAEA;
  border-radius: 20px;
  z-index: -1;
}
@media (max-width: 479px) {
  .section-form__wrapper::before {
    top: -8px;
    left: -8px;
  }
}
.section-form__heading-wrapper {
  cursor: default;
}
.section-form__heading-wrapper h2 {
  color: #000;
  font-size: 20px;
  font-weight: 700;
}
@media (max-width: 479px) {
  .section-form__heading-wrapper h2 {
    font-size: 18px;
  }
}
.section-form__heading-wrapper p {
  color: #000;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  max-width: 390px;
  margin: 0 auto;
  margin-top: 12px;
}
@media (max-width: 479px) {
  .section-form__heading-wrapper p {
    font-size: 14px;
  }
}
.section-form__box {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
@media (max-width: 600px) {
  .section-form__box {
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }
}

.form-main {
  margin-top: 40px;
}
@media (max-width: 479px) {
  .form-main {
    margin-top: 20px;
  }
}
.form-main textarea {
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.4196078431);
  width: 433px;
  height: 133px;
  flex-shrink: 0;
  resize: none;
  outline: none;
  transition: 0.3s ease;
}
@media (max-width: 600px) {
  .form-main textarea {
    width: 100%;
  }
}
.form-main textarea:focus {
  border: 1px solid #dfc4b1;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
.form-main textarea::-moz-placeholder {
  color: rgba(0, 0, 0, 0.5803921569);
  font-size: 15px;
  font-weight: 400;
}
.form-main textarea::placeholder {
  color: rgba(0, 0, 0, 0.5803921569);
  font-size: 15px;
  font-weight: 400;
}
.form-main input {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.4196078431);
  padding: 8px 15px;
  max-width: 200px;
  outline: none;
  transition: 0.3s ease;
}
@media (max-width: 600px) {
  .form-main input {
    width: 100%;
    max-width: 100%;
  }
}
.form-main input:focus {
  border: 1px solid #dfc4b1;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
.form-main__button-wrapper button {
  color: #000;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.4196078431);
  background: #D9D9D9;
  padding: 8px 35px;
  transition: background 0.3s ease, border 0.3s ease;
}
.form-main__button-wrapper button:hover {
  background: #dfc4b1;
  border: 1px solid #dfc4b1;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
.form-main__button-wrapper button:active {
  background: #dfc4b1;
  border: 1px solid #dfc4b1;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}

.form-group-detail {
  min-height: 22px;
  height: 22px;
}
.form-group-detail span {
  display: block;
  color: red;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  margin-bottom: 2px;
  margin-top: 7px;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}

@media (max-width: 767px) {
  .modal {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.modal-content {
  background-color: #fefefe;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 550px;
  height: 500px;
  text-align: center;
  color: #000000;
  font-size: 22px;
  border-radius: 4px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

@media (max-width: 767px) {
  .modal-content {
    height: 400px;
    /* margin: 0 20px; */
  }
}
@media (max-width: 580px) {
  .modal-content {
    margin: 60px 10px;
  }
}
@media (max-width: 479px) {
  .modal-content {
    gap: 10px;
    height: 350px;
    margin: 60px 10px;
    padding: 10px;
  }
}
@media (max-width: 380px) {
  .modal-content {
    height: 300px;
  }
}
.modal-content p {
  font-size: 35px;
}

@media (max-width: 499px) {
  .modal-content p {
    font-size: 25px;
  }
}
@media (max-width: 380px) {
  .modal-content p {
    font-size: 20px;
  }
}
.modal-content p:last-child {
  margin-top: 10px;
  font-size: 15px;
}

@media (max-width: 489px) {
  .modal-content p:last-child {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .modal-content p:last-child {
    font-size: 10px;
  }
}
.check-img {
  max-width: 50px;
  display: inline-block;
}

.check-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 42px;
  font-weight: 600;
  margin-left: -60px;
}

@media (max-width: 479px) {
  .check-text {
    margin-left: -20px;
    font-size: 30px;
  }
}
.close {
  color: #aaa;
  /* float: right; */
  line-height: 1;
  font-size: 28px;
  font-weight: bold;
  transition: 0.3s ease;
  position: absolute;
  top: 0;
  right: 0;
  padding: 15px 20px 15px 15px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.fade-in {
  opacity: 1;
  /* Установка непрозрачности на 1 для появления */
}

.fade-out {
  opacity: 0;
  /* Установка непрозрачности на 0 для исчезновения */
}

.burger {
  display: none;
  position: relative;
  cursor: pointer;
  padding: 5px;
}
@media (max-width: 940px) {
  .burger {
    display: block;
  }
}
.burger span {
  display: block;
  width: 30px;
  height: 2px;
  margin-bottom: 5px;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}
.burger span:last-child {
  margin-bottom: 0;
}
.burger span.active {
  background-color: #000;
}

.active {
  display: block;
}

.lock {
  display: none;
}

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

.form-group-check {
  font-size: 12px;
  margin-top: 5px;
  display: flex;
  gap: 5px;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0px 20px;
}

.container--promo {
  max-width: 1160px;
}

.container--about {
  max-width: 1300px;
}

.container--choise {
  max-width: 1300px;
}

@media (max-width: 600px) {
  .container--form {
    padding: 0 5px 0 15px;
  }
}