:root {
  --black: #434343;
  --primary: #f1b33a;
  --accent: #75c9ea;
  --secondary: #e8710c;
  --secondary-l: #fe9d4c;
  --primary-dark: #d29520;
  --primary-light: #f7c55d;
  --brand-blue: #2c678a;

  --font1: "Montserrat", sans-serif;
  --font2: "Gilroy", sans-serif;

  --transition: all 0.2s;
}

/*****************************************************/
* {
  box-sizing: border-box;
}
body,
html {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: "Montserrat", sans-serif;
  color: var(--black);
  font-size: 16px;
}

body.lock {
  overflow: hidden;
  height: 100%;
}
[class*="__container"] {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}
.hide {
  display: none;
}
input,
textarea {
  outline: none;
  font-family: "Montserrat";
}
a {
  text-decoration: none;
  transition: var(--transition);
}
img {
  max-width: 100%;
}
/*****************************************************/
.btn {
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-family: var(--font1);
  justify-content: center;
  text-align: center;
  transition: var(--transition);
  width: 370px;
  max-width: 100%;
}
.btn-gradient {
  background: linear-gradient(
    0deg,
    var(--secondary-l) 0%,
    var(--secondary) 100%
  );
  border-radius: 7px;
  color: #fff;
  letter-spacing: 0.01em;
  padding: 14.5px 38.5px;
}
.btn-gradient:hover {
  background: linear-gradient(
    0deg,
    var(--secondary) 0%,
    var(--secondary-l) 100%
  );
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}
.btn-primary {
  background: linear-gradient(
    180deg,
    var(--primary-light) 0%,
    var(--primary) 100%
  );
  box-shadow:
    0px 14px 30px rgba(210, 149, 32, 0.26),
    inset 0px 1px 0px rgba(255, 248, 220, 0.45);
  border: 1px solid rgba(210, 149, 32, 0.4);
  border-radius: 7px;
  padding: 26px 54px;
  color: #fffdf7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}
.btn-icon {
  column-gap: 12px;
  transition: var(--transition);
}
.btn-icon svg {
  margin-top: -2px;
  height: 24px;
  width: 24px;
}
.btn-primary:hover {
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  box-shadow:
    0px 18px 36px rgba(210, 149, 32, 0.32),
    inset 0px 1px 0px rgba(255, 248, 220, 0.32);
  border-color: rgba(210, 149, 32, 0.55);
  transform: translateY(-1px);
}
/*****************************************************/
.header {
  padding: 20px 0;
  z-index: 999;
  position: relative;
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
}
.header__logo {
  width: 160px;
  flex: 0 0 160px;
  height: auto;
}
.header__logo img {
  height: auto;
}
.header__icon {
  display: flex;
  align-items: flex-start;
  font-family: var(--font2);
  font-weight: 500;
  line-height: 1.18;
  color: #00161f;
}
a.header__icon:hover {
  color: var(--secondary);
}
.header__icon img {
  flex: 0 0 19px;
  width: 19px;
  height: auto;
  margin-right: 4px;
}
.header__phones {
  display: flex;
  flex-direction: column;
}
.header__phones a {
  text-decoration: none;
  font-weight: 700;
  color: var(--black);
}
.header__phones a:hover {
  color: var(--secondary);
}
.header__phones span {
  font-size: 14px;
}
.header__callback {
  flex: 0 0 200px;
  padding: 14.5px 15px;
  font-size: 14px;
}
.header__items {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 10px;
  margin-right: 47px;
  margin-left: 41px;
}
/*****************************************************/
.hero {
  background-size: cover;
  padding-top: 231px;
  padding-bottom: 350px;
  background-position: center center;
  background-repeat: no-repeat;
  margin-top: -100px;
  position: relative;
}
.hero::after,
.hero::before {
  content: "";
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  left: 0;
  position: absolute;
  height: 50px;
}
.hero::before {
  background-image: url("/wp-content/uploads/2023/05/shapehero-top.png");
  top: 0;
  height: 420px;
}
.hero::after {
  background-image: url("/wp-content/uploads/2023/05/shapehero.png");
  bottom: 0;
}
.hero__content {
  width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}
.hero__title {
  font-size: 64px;
  font-family: var(--font1);
  font-weight: 800;
  line-height: 1.21;
  margin-bottom: 14.5px;
  color: #014c69;
  position: relative;
  z-index: 6;
}
.hero__title::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.59);
  filter: blur(55px);
  border-radius: 78px;
  width: 133%;
  height: 290%;
  left: -164px;
  top: -78px;
  z-index: -1;
}

.hero__title span {
  font-weight: 600;
}

.hero__text {
  color: #00161f;
  font-family: var(--font2);
  line-height: 1.23;
  margin-bottom: 20px;
  font-size: 30px;
  width: 663px;
  position: relative;
  z-index: 7;
  max-width: 100%;
}
.hero__text > span {
  position: relative;
  display: inline-block;
  z-index: 3;
  font-weight: 600;
}
.hero__text > span > span {
  color: var(--primary);
}
.hero__text > span::after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  height: 8px;
  background-color: rgba(244, 182, 3, 0.53);
  z-index: -1;
}
.hero__btn {
  margin-top: 20px;
  z-index: 6;
  position: relative;
}
.hero__ps {
  margin-top: 56px;
  margin-left: 102px;
  width: 300px;
  font-family: "Marck Script";
  font-size: 24px;
  position: relative;
  z-index: 6;
}
.hero__ps::after {
  content: "";
  background: url("/wp-content/uploads/2023/05/pngwing-8.png") center center
    no-repeat;
  position: absolute;
  width: 59px;
  height: 59px;
  left: -57px;
  top: -40px;
}
.burger {
  display: none;
}
.header__callback span {
  font-size: 0;
}
@media (max-width: 1115px) {
  .header__icon {
    font-size: 14px;
  }
  .header__items {
    margin-right: 15px;
    margin-left: 15px;
  }
}
@media (max-width: 1030px) {
  .header__container .header__icon:nth-child(2) {
    display: none;
  }
  .header__items {
    justify-content: space-around;
  }
}
@media (max-width: 820px) {
  .header__container .header__icon:nth-child(2) {
    display: flex;
  }
  .header__items {
    position: absolute;
    width: 100%;
    background: #fff;
    left: 0;
    top: 100%;
    margin: 0;
    padding: 20px 20px 33px 20px;
    flex-direction: column;
    z-index: 999;
    row-gap: 18px;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }
  .header__items.active {
    opacity: 1;
    transform: initial;
    pointer-events: all;
  }
  .header {
    position: relative;
  }
  .header__icon br {
    display: none;
  }
  .header__icon {
    width: 300px;
  }
  .header__icon:first-child {
    order: 3;
  }
  .header__phones a {
    font-weight: 500;
  }
  .header__phones span {
    font-size: 12px;
    margin-top: 1px;
  }
  .header__callback.btn {
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0;
    background: #e8710c;
    flex: initial;
    width: fit-content;
  }
  .header__callback span {
    font-size: 14px;
  }
  .burger {
    display: flex;
    width: 29px;
    height: 21px;
    justify-content: flex-end;
    margin-left: 40px;
  }
  .header__logo {
    flex: 1;
  }
  .hero__text span::after {
    background-color: rgba(244, 182, 3, 0.3);
  }
  .hero__title {
    font-size: 40px;
  }
  .hero {
    padding-top: 229px;
    margin-top: -94px;
    padding-bottom: 220px;
  }
  .hero__text {
    font-size: 25px;
  }
  .hero__title::after {
    height: 174%;
  }
}
@media (max-width: 580px) {
  .hero__title {
    font-size: 36px;
  }
  .hero__text {
    font-size: 21px;
  }
  .hero__text::after {
    content: "";
    position: absolute;
    background-color: rgba(244, 182, 3, 0.3);
    width: 100%;
    left: 0;
    top: 20px;
    height: 7px;
  }
}
@media (max-width: 530px) {
  .header {
    padding: 7px 0;
  }
  .header__logo img {
    width: 113px;
    height: auto;
  }
  .header__callback span {
    font-size: 11px;
  }
  .hero__ps {
    font-size: 20px;
  }
  .hero__title {
    font-size: 32px;
  }
  .hero__text span {
    display: inline;
  }
}
@media (max-width: 385px) {
  .hero {
    margin-top: -85px;
  }
  .burger {
    margin-left: 12px;
  }
  .header__callback span {
    font-size: 10px;
  }
  .header__container {
    column-gap: 4px;
  }
  .hero__title {
    font-size: 28px;
  }
  .hero__text {
    font-size: 18px;
  }
  .hero__ps {
    margin-left: 66px;
    font-size: 18px;
    width: 229px;
  }
  .btn-primary {
    padding: 20px 37px;
  }
  .btn-icon {
    column-gap: 20px;
  }
  .hero {
    background-position: 60% center;
  }
}
@media (max-width: 340px) {
  .header__logo img {
    width: 94px;
  }
  .hero__title {
    font-size: 25px;
  }
  .btn-icon {
    column-gap: 12px;
  }
  .btn-primary {
    padding: 20px 30px;
  }
}
/*****************************************************/
.directions {
  padding-top: 111px;
  background-image: url("/wp-content/uploads/2023/05/cloudss-1.jpg");
  background-position: center center;
  background-repeat: repeat;
  background-size: cover;
}
.title {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
}
.title span {
  font-weight: 600;
}
.direction__title {
  margin-bottom: 37px;
}
.directions__sub {
  font-weight: 700;
  font-size: 20px;
  position: relative;
  margin-bottom: 6px;
  display: inline-block;
  line-height: 1.2;
}
.directions__sub::after {
  content: "";
  right: -127px;
  width: 100px;
  height: 1px;
  background-color: #97d7ef;
  position: absolute;
  top: 55%;
}
.directions__text {
  font-size: 18px;
  margin-bottom: 60px;
}
.includes {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.includes__item {
  flex: 1;
  background: #f4f6fa;
  border-radius: 11px;
  padding: 16px 30px 8px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.includes__item::after {
  content: "";
  width: 37px;
  height: 37px;
  position: absolute;
  background-color: var(--accent);
  border-radius: 50%;
  top: -18.5px;
  background-image: url("/wp-content/uploads/2023/05/check.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 22px;
}
.includes__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.includes__img {
  flex: 0 0 70px;
  width: 70px;
  height: auto;
}
.directions__tours {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  row-gap: 38px;
}
.directions__tours .tour:nth-child(odd) {
  flex-direction: row;
  padding-left: 27px;
  padding-right: 70px;
}
.tour {
  flex-direction: row-reverse;
  display: flex;
  column-gap: 70px;
  background: #f4f6fa;
  padding: 27px;
  border-radius: 11px;
  justify-content: space-between;
  padding-left: 70px;
}
.tour__img {
  height: 337px;
}
.tour__img img {
  height: 100%;
  border-radius: 11px;
}
.tour__content {
  display: flex;
  flex-direction: column;
  padding: 28px 0;
  align-items: flex-start;
}
.tour__title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 23px;
}
.tour__prices {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}
.tour__price {
  display: flex;
  align-items: center;
  column-gap: 26px;
}
.tour__rating {
  width: 171px;
  display: flex;
  gap: 7px;
}
.tour__person {
  font-size: 20px;
  font-weight: 500;
  color: #666;
}

.tour__person span {
  font-weight: 700;
}
.tour__btn {
  margin-top: auto;
}
.tour__img img {
  max-width: 100%;
}
.tour__list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  color: #666;
  font-weight: 500;
  font-size: 20px;
  row-gap: 10px;
  padding-left: 20px;
}
.tour__listitem {
  position: relative;
}
.tour__listitem::before {
  width: 7px;
  content: "";
  height: 7px;
  position: absolute;
  background: #ffc858;
  border-radius: 50%;
  left: -17px;
  top: 7px;
}
@media (max-width: 1170px) {
  .directions__tours .tour:nth-child(odd) {
    padding-right: 45px;
  }
  .tour {
    padding-left: 45px;
    column-gap: 25px;
  }
}
@media (max-width: 1080px) {
  .includes {
    flex-wrap: wrap;
  }
  .includes__item {
    flex: 1 0 40%;
  }
  .tour,
  .directions__tours .tour:nth-child(odd) {
    flex-direction: column;
    flex: 1 0 44%;
    width: 44%;
    justify-content: initial;
    max-width: calc(50% - 30px);
    padding: 32px;
  }
  .directions__tours {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
  }
  .tour__img {
    height: 272px;
  }
  .tour__content {
    height: 100%;
  }
  .tour__person,
  .tour__list {
    font-size: 18px;
  }
  .tour__listitem::before {
    top: 6px;
  }
  .tour__rating {
    gap: 3px;
    width: 130px;
  }
  .tour__rating img {
    width: 25px;
  }
  .tour__content {
    padding-bottom: 0;
  }
}
@media (max-width: 920px) {
  .directions {
    padding-top: 50px;
  }
  .directions__tours {
    flex-direction: column;
  }
  .tour,
  .directions__tours .tour:nth-child(odd) {
    max-width: 100%;
    width: 100%;
    flex: 1;
  }
  .tour__img img {
    width: 100%;
    object-fit: cover;
  }
  .tour__img {
    height: 50vw;
  }
  .tour__btn {
    margin: 20px auto 0;
  }
  .title {
    font-size: 34px;
  }
}
@media (max-width: 560px) {
  .btn {
    font-weight: 600;
    padding: 17px;
    width: 266px;
    font-size: 12px;
  }
  .includes__title {
    font-size: 14px;
  }
  .includes__img img {
    width: 100%;
    height: auto;
  }
  .includes__img {
    width: 52px;
    flex: 0 0 52px;
  }
  .directions__tours {
    margin-top: 24px;
  }
  .directions__text {
    font-size: 15px;
  }
  .tour__title {
    font-size: 20px;
  }
  .tour__person,
  .tour__list {
    font-size: 15px;
  }
  .tour__listitem::before {
    width: 5px;
    height: 5px;
    top: 5px;
  }
  .tour__prices {
    width: 100%;
  }
}
@media (max-width: 490px) {
  .includes__title {
    font-size: 11px;
  }
  .includes__item::after {
    width: 26px;
    height: 26px;
    top: -13px;
    background-size: 16px;
  }
  .title {
    font-size: 28px;
  }
}
@media (max-width: 440px) {
  .directions__text {
    font-size: 13px;
    margin-top: 4px;
  }
  .includes {
    gap: 15px;
  }
  .includes__img {
    width: 35px;
    flex: 0 0 35px;
  }
  .directions__sub::after {
    content: "";
    right: -50px;
    width: 38px;
  }
}
@media (max-width: 400px) {
  .tour__rating {
    width: 90px;
  }
  .tour__rating img {
    width: 17px;
  }
  .tour,
  .directions__tours .tour:nth-child(odd) {
    padding: 18px;
  }
}
@media (max-width: 340px) {
  .tour__price {
    column-gap: 16px;
  }
  .tour__person {
    font-size: 13px;
  }
}
/*****************************************************/
.carousel {
  padding-top: 50px;
  background-image: url("/wp-content/uploads/2023/05/podbor-1.jpg");
  background-position: center center;
  background-repeat: repeat;
  background-size: cover;
}
.carousel__title {
  margin-bottom: 10px;
  line-height: 1.5;
}
.carousel__title span {
  position: relative;
  z-index: 3;
}
.carousel__title span::after {
  content: "";
  width: 100%;
  height: 13px;
  background-color: #f4b603;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}
.carousel__img {
  display: block;
  max-width: 64%;
  margin: 0 auto;
  width: 100%;
  position: relative;
  padding: 70px 0 25px;
}
.carousel__navigation {
  background: #f4f6fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12.5px 70px;
  position: relative;
}
.carousel__prev {
  margin-right: 30px;
}
.carousel__next {
  margin-left: 30px;
  transform: rotate(180deg);
}
.carousel__prev,
.carousel__next {
  cursor: pointer;
  transition: var(--transition);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel__prev:hover {
  transform: translateX(-10px);
}
.carousel__next:hover {
  transform: translateX(10px) rotate(180deg);
}
.carousel__btns {
  display: flex;
  justify-content: center;
  column-gap: 30px;
  margin-top: 60px;
}

.carousel__decor {
  position: absolute;
  font-size: 20px;
  color: #666;
  font-family: "Marck Script";
  line-height: 1.25;
  display: flex;
}
.carousel__decor img {
  position: absolute;
}
.carousel__decor_1 {
  right: -25%;
  top: 19%;
  width: 160px;
}
.carousel__decor_1 img {
  transform: rotate(266deg);
  bottom: -71px;
  left: 9px;
}
.carousel__decor_2 {
  top: 5%;
  width: 160px;
  left: -24%;
}
.carousel__decor_2 img {
  width: 71px;
  transform: rotate(166deg);
  bottom: -45px;
  right: -63px;
}
.carousel__decor_3 {
  width: 181px;
  left: -27%;
  bottom: 32%;
}
.carousel__decor_3 img {
  right: -88px;
  transform: rotate(80deg) rotateY(180deg);
  bottom: 16px;
}
.carousel__navigation::after,
.carousel__navigation::before {
  content: "";
  height: 2px;
  width: calc(50% - 180px);
  background-color: #d7e9f3;
  position: absolute;
  left: 0;
  top: 50%;
}
.carousel__navigation::before {
  left: 70px;
}
.carousel__navigation::after {
  right: 70px;
  left: initial;
}
@media (max-width: 1010px) {
  .carousel__decor {
    font-size: 17px;
  }
  .carousel__decor_3 {
    width: 152px;
    left: -28%;
  }
  .carousel__decor_1 {
    right: -30%;
    top: 23%;
  }
}
@media (max-width: 820px) {
  .carousel__btns {
    flex-direction: column;
    align-items: center;
    row-gap: 29px;
    margin-top: 40px;
  }
  .carousel__decor_2 {
    width: 144px;
    left: -28%;
  }
  .carousel__decor_3 img {
    right: -34px;
    bottom: 9px;
    width: 50px;
  }
}
@media (max-width: 665px) {
  .carousel__decor {
    font-size: 14px;
  }
  .carousel__decor_2 img {
    width: 50px;
    right: 29px;
    bottom: -35px;
  }
  .carousel__decor_1 {
    right: -19%;
    top: initial;
    bottom: 60px;
    width: 250px;
  }
  .carousel__img {
    padding-bottom: 85px;
  }
  .carousel__decor_1 img {
    transform: rotateY(180deg);
    bottom: 39px;
    right: 100px;
    left: initial;
  }
  .carousel__decor_3 {
    width: 195px;
    left: -26%;
    bottom: 13px;
  }
  .carousel__decor_3 img {
    right: -2px;
    bottom: 41px;
    transform: rotate(10deg) rotateY(180deg);
  }
  .carousel__navigation {
    padding: 10.5px 22px;
  }
  .carousel__navigation::before {
    left: 35px;
  }
  .carousel__navigation::after {
    right: 35px;
  }
  .carousel__navigation::after,
  .carousel__navigation::before {
    width: calc(50% - 140px);
  }
}
@media (max-width: 530px) {
  .carousel__img {
    max-width: 100%;
  }
  .carousel__decor_1 {
    right: -9%;
    bottom: 44px;
    width: 190px;
  }
  .carousel__decor_1 img {
    bottom: 51px;
  }
  .carousel__decor_2 {
    top: 6%;
    width: 100%;
    left: 1%;
  }
  .carousel__decor_2 img {
    right: initial;
    bottom: -60px;
    transform: rotate(181deg);
    left: 19px;
  }
  .carousel__decor_3 {
    left: 3%;
  }

  .carousel__title span::after {
    height: 7px;
  }
}
@media (max-width: 450px) {
  .carousel__decor_1 img {
    right: 50px;
  }
  .carousel__decor_3 img {
    right: 50%;
    bottom: 46px;
  }
  .carousel__prev {
    margin-right: 15px;
  }
  .carousel__next {
    margin-left: 15px;
  }
  .carousel__navigation::after,
  .carousel__navigation::before {
    width: calc(50% - 110px);
  }
}
@media (max-width: 370px) {
  .carousel__decor {
    font-size: 12px;
  }
  .carousel__decor_1 {
    width: 151px;
  }
  .carousel__decor_3 {
    width: 138px;
  }
}
/*****************************************************/
.steps {
  margin-top: 60px;
  padding: 85px 0 130px;
  background-color: #f8f8f8;
  position: relative;
}
.steps::after,
.steps::before {
  content: "";
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  left: 0;
  position: absolute;
  height: 50px;
}
.steps::before {
  background-image: url("/wp-content/uploads/2023/05/shape-1.png");
  top: 0;
}
.steps::after {
  background-image: url("/wp-content/uploads/2023/05/shape2.png");
  bottom: 0;
}
.steps__title {
  margin-bottom: 60px;
}
.steps__items {
  display: flex;
  gap: 20px;
}
.step {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 20px;
}
.step::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 1px;
  width: calc(100% - 8px);
  background-color: var(--secondary-l);
}
.step::before {
  background-image: url("/wp-content/uploads/2023/05/line-arr-1.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -4px;
  height: 9px;
  width: 20px;
  right: 7px;
  content: "";
}
.step:last-child::before {
  display: none;
}
.step:last-child::after {
  width: 100%;
}
.step__img {
  position: relative;
  height: 295px;
  margin-bottom: 26px;
}
.step__img img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.step__img figcaption {
  position: absolute;
  top: -17.5px;
  right: 0;
  width: 108px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
  font-size: 20px;
  color: #fff;
  border-radius: 5px;
}
.step__title {
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
  line-height: 1.2;
}
.step__text {
  line-height: 1.25;
}
@media (max-width: 992px) {
  .step__img {
    height: 24vw;
  }
}
@media (max-width: 840px) {
  .step__text {
    font-size: 15px;
  }
  .step__img figcaption {
    font-size: 16px;
    top: -16px;
    width: 92px;
    height: 32px;
  }
}
@media (max-width: 790px) {
  .steps__items {
    flex-wrap: wrap;
    row-gap: 50px;
  }
  .step {
    max-width: 48%;
    flex: 1 0 48%;
  }
}
@media (max-width: 670px) {
  .steps__items {
    flex-direction: column;
  }
  .step {
    max-width: 100%;
  }
  .step__img {
    height: 62vw;
  }
  .steps {
    padding-bottom: 100px;
  }
}
/*****************************************************/
.experts {
  padding: 176px 0 123px;
}
.experts__title {
  margin-bottom: 47px;
}
.experts__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 112px;
}
.expert {
  text-align: center;
}
.expert__img {
  border-radius: 12px;
  height: 257px;
  margin-bottom: 17px;
  position: relative;
}
.expert__img::after {
  content: "";
  width: 100%;
  left: 0;
  bottom: 0;
  background: #97d7ef;
  border-radius: 0px 0px 12px 12px;
  height: 12px;
  position: absolute;
}
.expert__img img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
}
.expert__name {
  font-size: 20px;
  font-weight: 600;
}
.expert__text {
  margin: 10px 0;
  font-weight: 500;
  color: #666;
}
.expert__phone {
  position: relative;
  color: #666;
  font-weight: 600;
  padding-left: 30px;
}
.expert__phone::before {
  content: "";
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  background-image: url("/wp-content/uploads/2023/05/call.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
}
@media (max-width: 1050px) {
  .experts__cards {
    grid-gap: 52px;
  }
  .experts {
    padding-top: 100px;
  }
}
@media (max-width: 870px) {
  .experts__cards {
    grid-gap: 20px;
  }
}
@media (max-width: 768px) {
  .experts__cards {
    grid-template-columns: 315px;
    justify-content: center;
    grid-gap: 40px;
  }
  .expert__img {
    height: 305px;
  }
  .experts {
    padding-top: 94px;
  }
}
@media (max-width: 360px) {
  .experts__cards {
    grid-template-columns: 1fr;
  }
}
/*****************************************************/
.reviews {
  background-image: url("/wp-content/uploads/2023/05/clouds-review.jpg");
  background-position: center left;
  background-repeat: no-repeat;
  background-size: 1000px;
}
.reviews__title {
  margin-bottom: 45px;
  flex: 1 0 100%;
}
.reviews__container {
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
  align-items: center;
}
.reviews__form {
  flex: 0 0 40%;
}
.reviews__contact {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.6;
  flex: 1;
}
.reviews__found {
  color: var(--accent);
  text-transform: uppercase;
}
.reviews__text {
  color: var(--black);
  max-width: 501px;
  margin: 0 auto;
}
.reviews__btn {
  margin: 40px auto 0;
}
.btn-outline {
  color: var(--brand-blue);
  background: #fff;
  box-shadow: 0px 12px 26px rgba(44, 103, 138, 0.12);
  border: 2px solid rgba(44, 103, 138, 0.7);
}
.btn-outline:hover {
  color: #fff;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0px 18px 36px rgba(44, 103, 138, 0.22);
}
.reviews__form > * {
  max-width: 100% !important;
  width: 100% !important;
}
@media (max-width: 930px) {
  .reviews__container {
    flex-direction: column;
    row-gap: 50px;
  }
  .reviews__form {
    flex: 1 0 100%;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .reviews__contact {
    order: -1;
    padding-bottom: 40px;
  }
  .reviews__title {
    margin-bottom: 0;
  }
  .experts {
    padding-bottom: 60px;
  }
}
@media (max-width: 700px) {
  .reviews {
    background-position: 30% center;
    background-size: 204%;
  }
  .reviews__btn {
    width: 293px;
    padding: 22px 16px;
    margin-top: 25px;
  }
}
@media (max-width: 480px) {
  .reviews__contact {
    font-size: 16px;
  }
}
/*****************************************************/
.footer {
  background: #f0f0f0;
  margin-top: 150px;
  position: relative;
  z-index: 3;
}

.footer__container {
  display: flex;
}
.footer__main {
  padding: 59px 15px 64px 0;
  flex: 0 0 55%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 30px;
  column-gap: 25px;
  width: 55%;
}
.footer__icon {
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  align-items: flex-start;
  column-gap: 8px;
  color: var(--black);
}
.footer__icon:hover {
  color: var(--secondary);
}
.footer__icon img {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}
.footer__phones {
  display: flex;
  flex-direction: column;
}
.footer__phones a {
  color: var(--black);
}
.footer__phones a:hover {
  color: var(--secondary);
}
.footer__nav {
  grid-column: 1 / 3;
}
.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
}
.footer__nav ul a {
  color: #a16b00;
  font-weight: 500;
}
.footer__nav ul a:hover {
  color: var(--primary);
}
.footer__social {
  display: flex;
  gap: 7px;
}
.footer__soc {
  text-decoration: none;
}
.footer__soc:hover {
  transform: rotate(36deg);
  transform-origin: center;
}
.footer__soc img {
  width: 29px;
  height: 29px;
}
.footer__btn {
  width: 100%;
  padding: 17px 10px;
  font-size: 10px;
}
.footer__copyright {
  color: #b1b1b1;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
  grid-column: 1 / 3;
}
.footer__copyright br {
  display: none;
}
.footer__copyright a {
  color: #b1b1b1;
  display: block;
  transition: var(--transition);
}
.footer__copyright a:hover {
  color: var(--secondary);
}
.footer__map iframe {
  position: absolute;
  width: 100%;
  height: 100%;
}
.footer__map {
  position: absolute;
  width: 40%;
  height: 100%;
  right: 0;
}
.footer__iframe {
  display: flex;
  flex: 1;
}
@media (min-width: 1800px) {
  .footer::before {
    content: "";
    background-image: url("/wp-content/uploads/2023/05/smile-img-1.png");
    background-position: center left;
    background-size: contain;
    width: 100%;
    height: 92%;
    position: absolute;
    z-index: -1;
    bottom: 0;
    background-repeat: no-repeat;
    left: 0;
  }
  .footer__main {
    margin-left: 80px;
  }
}
@media (max-width: 1160px) {
  .footer {
    margin-top: 70px;
  }
  .footer__main {
    row-gap: 28px;
    column-gap: 15px;
    width: 100%;
    flex: 1;
  }
  .footer__container {
    flex-direction: column-reverse;
  }
  .footer__map {
    position: relative;
    height: 349px;
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
  }
  .footer__main {
    padding: 20px 0;
  }
}
@media (max-width: 660px) {
  .footer__btn_2 {
    background: transparent;
    filter: drop-shadow(0px 4px 27px rgba(37, 211, 102, 0.35));
    box-shadow: none;
  }
  .footer__icon {
    font-size: 15px;
  }
  .footer__icon:first-child {
    grid-column: 1 / 3;
  }
  .footer__icon:first-child br {
    display: none;
  }
  .footer__nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 450px) {
  .footer__nav {
    margin-bottom: 10px;
  }
  .footer__btn {
    grid-column: 1 / 3;
    width: 222px;
  }
  .footer__main {
    row-gap: 22px;
  }
}
@media (max-width: 360px) {
  .footer__icon {
    grid-column: 1 / 3;
  }
}
/*****************************************************/
.quiz {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  background-color: #fff;
  border: 1px solid #eee;
}
.quiz_finalState.quiz {
  max-width: 710px;
}
.quiz {
  margin: 35px auto;
}
.quiz__form {
  flex: 1;
  padding: 45px 45px 25px 55px;
  display: flex;
  flex-direction: column;
}
.quiz_finalState .quiz__form {
  padding: 30px 45px 45px;
}
.quiz__steps {
  position: relative;
  height: calc(100% - 67px);
  margin-bottom: 35px;
}
.quiz__step {
  transition: var(--transition);
  width: 100%;
  position: relative;
}

.quiz__step:not(.active) {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
.quiz__title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}
.quiz__skip {
  background-color: #bdc6d7;
  width: fit-content;
  color: #fff;
  padding: 9px 26px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.quiz__content {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 32px;
}
/*****************************************************/

input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  margin: 0;
  width: 11px;
  height: 11px;
  background-color: #e5ebf5;
  border-radius: 50%;
  transform: translateY(-0.075em);
  transition: var(--transition);
}
input[type="radio"]:checked {
  background-color: #f78e36;
}
/*****************************************************/
.quiz__radio {
  background: #f4f6fa;
  padding: 13px 16px;
  border-radius: 5px;
  transition: var(--transition);
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  text-align: left;
  color: #666666;
  display: flex;
  align-items: center;
  column-gap: 9px;
  border: 1px solid transparent;
}
.quiz__radio.choosed {
  border-color: #f78e36;
}
.quiz__radio:hover {
  box-shadow: 0 4px 6px 0px rgba(0, 0, 0, 0.1);
}

.quiz__controller {
  display: flex;
  column-gap: 35px;
  margin-top: auto;
}
.quiz__progress {
  flex: 1;
  position: relative;
}
.quiz__result {
  font-weight: 600;
  font-size: 14px;
}
.quiz__result span {
  color: #ffc858;
}
.quiz__bar {
  width: 100%;
  position: relative;
  height: 5px;
  background: #e5ebf5;
  margin-top: 11px;
  border-radius: 5px;
}
.quiz__bar span {
  height: 100%;
  width: 33%;
  position: absolute;
  background: #ffc858;
  border-radius: 10px;
}
.quiz__bar span:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    -45deg,
    hsla(0, 0%, 100%, 0.3) 25%,
    transparent 0,
    transparent 50%,
    hsla(0, 0%, 100%, 0.3) 0,
    hsla(0, 0%, 100%, 0.3) 75%,
    transparent 0,
    transparent
  );
  z-index: 1;
  background-size: 20px 20px;
  -webkit-animation: move 1.5s linear infinite;
  animation: move 1.5s linear infinite;
  border-radius: 20px;
  overflow: hidden;
}
@-webkit-keyframes move {
  0% {
    background-position: 0 0;
  }

  to {
    background-position: 20px 20px;
  }
}

@keyframes move {
  0% {
    background-position: 0 0;
  }

  to {
    background-position: 20px 20px;
  }
}
.quiz__actions {
  flex: 0 0 200px;
  display: flex;
  column-gap: 11px;
  padding-top: 8px;
}
.quiz__prev {
  background-color: transparent;
  border: 1px solid #bdc6d7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 39px;
  flex: 0 0 39px;
  padding: 9px;
  width: 39px;
  cursor: pointer;
  transition: var(--transition);
}
.quiz__prev path {
  transition: var(--transition);
}
.quiz__prev:disabled {
  cursor: no-drop;
}
.quiz__prev:hover:not(:disabled) {
  border-color: #f78e36;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}
.quiz__prev:hover:not(:disabled) path {
  fill: #f78e36;
}
.quiz__btn {
  display: flex;
  flex-direction: column;
}
.quiz__next {
  background-color: #f78e36;
  border: none;
  border-radius: 34px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 51px;
  font-family: var(--font1);
  transition: var(--transition);
  cursor: pointer;
}
.quiz__next:hover {
  background-color: #ef8227;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}
.quiz__enter {
  text-align: center;
  color: #bdc6d7;
  font-size: 12px;
  font-weight: 500;
  margin-top: 8px;
}
.quiz__sidebar {
  width: 307px;
  flex: 0 0 307px;
  background: #f4f6fa;
  padding: 60px 21px 125px;
}
.quiz__consultant {
  display: flex;
  align-items: center;
  column-gap: 13px;
}
.quiz__img {
  border-radius: 50%;
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  position: relative;
}
.quiz__img img {
  border-radius: 50%;
  height: 100%;
}
.quiz__img::after {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid #f4f6fa;
  border-radius: 50%;
  position: absolute;
  background-color: #30ee00;
  bottom: 8px;
  right: 9px;
}
.quiz__consultantinfo {
  display: flex;
  flex-direction: column;
}
.quiz__name {
  font-size: 20px;
  color: var(--black);
  font-weight: 500;
}
.quiz__sub {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  line-height: 1.3;
}
.quiz__message {
  margin-top: 25px;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.3;
  padding: 18px 26px 33px 26px;
  font-weight: 500;
  color: #666;
  position: relative;
}
.quiz__message::after {
  content: "";
  position: absolute;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 11px 22px 11px;
  border-color: transparent transparent #ffffff transparent;
  transform: rotate(0deg);
  left: 15px;
  top: -21px;
}
.quiz__present {
  margin-top: 23px;
  background: #c5c5c5;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  gap: 2px;
  padding: 10px 5px;
}
.quiz__present::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  border: 2px solid #fff;
  background: #c5c5c5;
  top: -15px;
  right: 12px;
  background-image: url("/wp-content/uploads/2023/05/lock.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 18px;
}
.qiuz__presentimg {
  width: 55px;
  flex: 0 0 55px;
}
.quiz__notification {
  background: #ffa500;
  padding: 0 19px;
  color: #fff;
  margin-bottom: 0;
  transition: all 0.2s;
  height: 40px;
  max-height: 0;
  display: flex;
  align-items: center;
  font-size: 0;
}
.quiz__notification.show {
  max-height: 40px;
  margin-bottom: 20px;
  font-size: initial;
}

/* final state */

.quiz-final {
  max-width: 560px;
  margin: 0 auto;
  display: none;
}
.quiz_finalState .quiz-final {
  display: block;
}
.quiz_finalState .quiz__steps,
.quiz_finalState .quiz__controller,
.quiz_finalState .quiz__sidebar {
  display: none;
}
.quiz-final__progress > .quiz__result {
  text-align: center;
  font-weight: 400;
  color: #666;
}
.quiz-final__progress .quiz__result span {
  position: relative;
  top: -13px;
  display: block;
  text-align: -webkit-right;
}
.quiz-final__progress span {
  width: 95%;
}
.quiz_finalState .quiz__bar {
  margin-top: 0;
}
.quiz-final__title {
  font-size: 20px;
  margin: 30px 0 7px;
  text-align: center;
  display: block;
  font-weight: 600;
}
.quiz-final__text {
  max-width: 430px;
  text-align: center;
  padding-top: 10px;
  margin: 6px auto;
  line-height: 1.21;
  color: #666666;
  transition: var(--transition);
}
.quiz-final__text.active {
  background: #45f54585;
  padding: 20px;
  margin-top: 25px;
}
.quiz-final__text span {
  font-weight: 600;
}
.quiz-final__form {
  max-width: 520px;
  background: #e7edf5;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  padding: 20px 58px;
}
.quiz-final__socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}
.quiz-final__soc {
  width: 35px;
  height: 35px;
}
.quiz-final__soc img {
  width: 100%;
}
.quiz-final__input {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.quiz-final__input span {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--black);
  padding-left: 10px;
}
.quiz-final__input input {
  background: #ffffff;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  color: #434343;
  padding: 13px 15px;
  font-family: "Montserrat";
}

.quiz-final__input input::placeholder {
  color: #d9d9d9;
}
.quiz-final__submit,
.wpcf7-submit {
  margin-top: 20px;
  background: var(--secondary-l);
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 15px 10px;
  transition: var(--transition);
  margin-bottom: 23px;
  width: 100%;
}
.quiz-final__submit:hover,
.wpcf7-submit:hover {
  background-color: var(--primary);
}
.privacy-policy {
  display: flex;
  align-items: flex-start;
  column-gap: 15px;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.25;
  color: #666666;
}
.privacy-policy a {
  font-weight: 600;
  color: #666666;
}
.privacy-policy input {
  background: #ffffff;
  border-radius: 3px;
  margin: 0 17px 0 0;
  position: relative;
  width: 0;
  height: 0;
}
.privacy-policy input::after {
  content: "";
  width: 17px;
  height: 17px;
  position: absolute;
  background: #ffffff;
  border-radius: 3px;
}
.privacy-policy input:checked::after {
  background: #fff url("/wp-content/uploads/2023/05/tick-ch.svg") center center
    no-repeat;
  background-size: 10px;
}
@media (max-width: 800px) {
  .quiz__content {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  .quiz__steps {
    height: auto;
  }
  .quiz__controller {
    flex-direction: column;
    row-gap: 30px;
  }
  .quiz__actions {
    justify-content: flex-end;
  }
}
@media (max-width: 700px) {
  .quiz {
    flex-direction: column;
  }
  .quiz__sidebar {
    flex: 1;
    width: 100%;
    background: transparent;
    padding: 0 15px 30px;
  }
  .quiz__present {
    justify-content: center;
  }
  .quiz__message {
    background: #f4f6fa;
    border-radius: 5px;
    padding: 23px 19px 19px 19px;
    margin: -10px 0 0 0;
  }
  .quiz__message::after {
    display: none;
  }
  .quiz__consultant {
    z-index: 3;
    position: relative;
  }
  .quiz__img {
    width: 81px;
    height: 81px;
    flex: 0 0 81px;
  }
  .quiz__form {
    padding: 20px;
  }
  .quiz__actions {
    flex: 1;
  }
  .quiz__img {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
  }
  .quiz__name {
    margin-bottom: 5px;
    font-size: 17px;
  }
}
@media (max-width: 530px) {
  .quiz-final__form {
    padding: 20px 25px;
  }
  .quiz-final__progress .quiz__result span {
    position: static;
    display: inline;
  }
  .quiz-final__progress > .quiz__result {
    line-height: 2;
  }
}
@media (max-width: 440px) {
  .quiz__form {
    padding: 45px 25px 25px 25px;
  }
  .quiz-final__title {
    text-transform: uppercase;
  }
}
@media (max-width: 350px) {
  .quiz-final__text {
    font-size: 14px;
  }
  .privacy-policy {
    font-size: 10px;
    column-gap: 10px;
  }
  .privacy-policy input::after {
    width: 15px;
    height: 15px;
  }
  .privacy-policy input {
    margin-right: 14px;
  }
  .quiz-final__input span {
    font-size: 12px;
    padding-left: 0;
  }
  .quiz-final__submit {
    margin-top: 10px;
    font-size: 14px;
  }
}
/*****************************************************/
/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
/*****************************************************/
.callback-modal {
  max-width: 800px;
  margin: 20px auto;
  background: #fff url("/wp-content/uploads/2023/05/popup-bg.jpg") center center
    no-repeat;
  background-size: cover;
  backdrop-filter: blur(9.5px);
  border-radius: 11px;
  padding: 40px;
}
#quiz-modal {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.modal-title {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.23;
  text-align: center;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.callback-modal__text {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 43px;
}
.callback-modal .wpcf7-not-valid-tip {
  font-size: 16px;
  position: relative;
  top: -20px;
}
.wpcf7 form .wpcf7-response-output {
  line-height: 1.5;
  margin: 20px 0 0 0;
  font-size: 13px;
  background: #fff;
  padding: 13px;
  opacity: 0.9;
}
.callback-modal form {
  max-width: 445px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
  display: block;
  width: 100%;
  border: none;
  border-radius: 5px;
  padding: 16.5px 10px 16.5px 58px;
  margin-bottom: 27px;
  font-weight: 500;
  font-size: 16px;
  color: #666666;
}

.wpcf7-form-control-wrap::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  left: 20px;
  top: 16px;
}
.wpcf7-form-control-wrap[data-name*="tel"]::after {
  background-image: url("/wp-content/uploads/2023/05/form-phone.svg");
}
.wpcf7-form-control-wrap[data-name*="name"]::after {
  background-image: url("/wp-content/uploads/2023/05/user.svg");
}
textarea.wpcf7-textarea {
  padding-left: 20px;
  height: 100px;
}
.form-callback-text {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  color: #434343;
  margin: 0 20px;
}
.form-callback-text span {
  font-weight: 600;
}
.wpcf7-submit {
  border: none;
  padding: 16px;
  background: #f78e36;
  font-size: 16px;
  line-height: 1.25;
  margin-top: 22px;
}
.wpcf7-form-control-wrap[data-name*="acceptance"] {
  width: 18px;
}
.wpcf7-spinner {
  display: none;
}
.wpcf7-list-item {
  margin: 0;
}
.mfp-close {
  color: #000;
  margin-right: 4px;
  font-size: 37px;
}
.mfp-close {
  cursor: pointer;
}
.callback-privacy {
  background: #fff;
  max-width: 700px;
  margin: 20px auto;
  height: calc(100vh - 40px);
  overflow-y: scroll;
  line-height: 1.5;
  padding: 30px;
  position: relative;
}

@media (max-width: 380px) {
  .callback-modal {
    padding: 25px;
  }
  .form-callback-text {
    margin: 2px;
  }
  .modal-title {
    font-size: 23px;
  }
  .callback-modal__text {
    font-size: 17px;
    margin-bottom: 25px;
  }
  .wpcf7-form-control-wrap input,
  .wpcf7-form-control-wrap textarea {
    font-size: 14px;
  }
}
/*****************************************************/
.modal-thank {
  background: rgba(229, 235, 245, 0.85);
  backdrop-filter: blur(9.5px);
  border-radius: 11px;
  max-width: 800px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 20px 40px 0 10px;
}
.modal-thank__img {
  flex: 1 0 50%;
  margin-bottom: -4px;
}
.modal-thank__content {
  height: 100%;
  flex: 0 0 340px;
  margin: 20px 10px;
}
.modal-thank__title {
  text-align: left;
  margin-bottom: 25px;
}
.modal-thank__text {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 40px;
}
.modal-thank__btn {
  background: #ffffff;
  border-radius: 4px;
  padding: 10px 26px;
  display: inline-flex;
  font-weight: 600;
  font-size: 16px;
  color: #269ed1;
  line-height: 1.2;
  align-items: center;
  gap: 21px;
}
.modal-thank__btn:hover {
  opacity: 0.7;
}
.modal-thank__subscribe {
  background: linear-gradient(135deg, #269ed1, #1b6fa0);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: center;
}
.modal-thank__subscribe-title {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}
.modal-thank__socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.modal-thank__soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: background 0.3s;
}
.modal-thank__soc:hover {
  background: rgba(255, 255, 255, 0.4);
}
.modal-thank__soc img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
@media (max-width: 740px) {
  .modal-thank__img {
    flex: 1 0 35%;
  }
}
@media (max-width: 685px) {
  .modal-thank {
    flex-direction: column-reverse;
    padding: 20px 21px 0 10px;
    margin: 20px;
  }
  .modal-thank__content {
    flex: 1 0 100%;
  }
}

/* Плавающая кнопка соцсетей */
.floating-social {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
.floating-social__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #269ed1, #1b6fa0);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(38, 158, 209, 0.4);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.floating-social__toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(38, 158, 209, 0.5);
}
.floating-social__toggle svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.floating-social__list {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}
.floating-social.active .floating-social__list {
  display: flex;
}
.floating-social__title {
  font-weight: 700;
  font-size: 14px;
  color: #303b42;
  white-space: nowrap;
}
.floating-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f0f4f8;
  border-radius: 50%;
  transition: background 0.3s;
}
.floating-social__link:hover {
  background: #dde6ee;
}
.floating-social__link img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
@media (max-width: 480px) {
  .floating-social {
    bottom: 16px;
    right: 16px;
  }
  .floating-social__toggle span {
    display: none;
  }
  .floating-social__toggle {
    padding: 14px;
    border-radius: 50%;
  }
}
