/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@font-face {
  font-family: 'Nunito';
  src: url('fonts/Nunito-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito';
  src: url('fonts/Nunito-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito';
  src: url('fonts/Nunito-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('fonts/NunitoSans-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('fonts/NunitoSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  background: #fff;
  padding: 25px;
  font-family: 'Nunito Sans';
  font-weight: 300;
  font-size: 17px;
  line-height: 25px;
}

h1 {
  font-family: 'Nunito';
  font-size: 45px;
  line-height: 45px;
  font-weight: 900;
  margin-bottom: 15px;
}

h2 {
  font-family: 'Nunito Sans';
  font-size: 25px;
  line-height: 30px;
  font-weight: 700;
  margin-bottom: 50px;
}

h3 {
  font-family: 'Nunito Sans';
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

h4 {
  font-family: 'Nunito Sans';
  font-size: 17px;
  line-height: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section {
  width: 100%;
  height: auto;
  min-height: 600px;
  position: relative;

  border-radius: 25px;
  color: #fff;
  font-family: 'Nunito';
  font-weight: 300;

  padding: 25px 25px 1px;
  margin-bottom: 25px;
}

.section p {
  font-family: 'Nunito Sans';
  color: rgba(256, 256, 256, 0.9);
}

.dark {
  color: #000;
  background-color: rgba(245, 243, 243, 1);
  padding-bottom: 50px;
}

.dark p {
  color: #000;
  font-size: 15px;
  line-height: 20px;
  font-weight: 300;

  margin-bottom: 10px;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), no-repeat url('/img/section1.jpg') center;
  background-size: cover;
}

.hero2 {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), no-repeat url('/img/section2.jpg') center;
  background-size: cover;
}

.subtitle {
  font-size: 20px;
  line-height: 28px;
}

.section div {
  margin-bottom: 50px;
}

.hero button, .form-container>button {
  width: 60px;
  height: 55px;
  background-color: transparent;
  font-size: 0;
  line-height: 0;
  border: none;
  cursor: pointer;
}

.section ul, .section ol {
  padding-left: 25px;

  font-family: 'Nunito Sans';
  font-weight: 300;
}

ul li {
  padding: 15px 0 0;
}

ol li::marker {
  font-weight: 700;
}

ol li {
  margin-bottom: 10px;
}

.lang-menu {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;

  background-color: #fff;
  border-radius: 15px;
  width: 60px;
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
          box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);

  position: absolute;
  top: 25px;
}

.lang-menu ul {
  padding: 0;
  list-style: none;
}

.lang-menu a {
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
}

.lang-menu li {
  padding: 0 0 15px;
}

.section .circles {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 35px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  list-style: none;
  padding: 0;
  margin-bottom: 50px;
}

.circles li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.circles li img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  -o-object-fit: cover;
     object-fit: cover;
}

.circles li span {
  word-break: break-word;
  color: #000;
}

.dark span {
  color: #8a8a8a;
  font-family: 'Nunito Sans';
  padding-bottom: 10px;
  display: inline-block;
}

.mountains {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), no-repeat url('/img/section3.jpg') center;
  background-size: cover;
}

.dunes {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), no-repeat url('/img/section4.jpg') center;
  background-size: cover;
}

.nature {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), no-repeat url('/img/section5.jpg') center;
  background-size: cover;
}

.artifacts {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), no-repeat url('/img/section6.jpg') center;
  background-size: cover;
}

.section7 {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), no-repeat url('/img/section7.jpg') center;
  background-size: cover;
}

.kurgans {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), no-repeat url('/img/section6.jpg') center;
  background-size: cover;
}

.caption {
  position: absolute;
  bottom: 25px;
  font-size: 15px;
  line-height: 20px;
  font-family: 'Nunito Sans';
}

.privacy-text {
  font-size: 15px;
  line-height: 20px;
  font-family: 'Nunito Sans';
  color: #8a8a8a;
  margin-bottom: 10px;
}

.dark div:last-child {
  margin-bottom: 0;
}

.cost {
  background-color: #fff;
  border-radius: 30px;
  padding: 15px;
  margin-top: 20px;
  max-width: 350px;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.background {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0.8))), url('./img/background.jpg');
  background: -o-linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('./img/background.jpg');
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('./img/background.jpg');
  background-size: cover;
}

.js-plus, .js-minus, .btn, .submit-btn {
  cursor: pointer;
  -webkit-transition: 0.2s ease-in-out box-shadow;
  -o-transition: 0.2s ease-in-out box-shadow;
  transition: 0.2s ease-in-out box-shadow;
}

.js-minus:hover, .js-plus:hover, .btn:hover, .submit-btn:hover {
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
          box-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
}

.js-minus:active, .js-plus:active, .btn:active, .submit-btn:active {
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 1px solid #E1E1E1;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: -5px;
}

form label {
  display: block;
  margin-bottom: 10px;
}

form input, form textarea {
  border: 1px solid #8a8a8a;
  border-radius: 15px;
  padding: 15px;

  width: 100%;
  max-width: 350px;
  font-size: 17px;
  line-height: 25px;
}

form div {
  margin-bottom: 25px;
}

.center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.center h2 {
  margin-bottom: 25px;
}

.center span {
  color: #000;
  font-size: 15px;
  line-height: 20px;
}

.section .sale {
  background-color: #fff;
  border-radius: 30px;
  padding: 25px;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 25px;
  gap: 0;
}

.section .discount {
  font-size: 70px;
  line-height: 95px;
  font-family: 'Nunito';
  font-weight: 900;
  color: #000;
}

.cost button {
  height: 60px;
  width: 60px;
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
          box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  background-color: transparent;
  border: none;
  border-radius: 50%;
}

.cost .counter {
  width: 100%;
  padding: 30px 7.5px;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 1px solid #e1e1e1;
  margin-bottom: 0;
}

.cost .one-person, .cost .total {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px 0 0;
  margin-bottom: 0;

  width: 100%;
}

.one-person {
  border-bottom: 1px solid #e1e1e1;
}

.counter span, .one-person span, .total span {
  font-family: 'Nunito';
  font-weight: 900;
  line-height: 50px;
  color: #000;
  font-size: 20px;
}

.one-person .label, .total .label, .sale .label {
  font-family: 'Nunito Sans';
  font-weight: 700;
  line-height: 19px;
  color: #000;
  font-size: 17px;
}

.btn, .submit-btn {
  height: 80px;
  width: 100%;

  border: none;
  background-color: #fff;
  border-radius: 60px;

  font-family: 'Nunito';
  font-weight: 700;
  line-height: 20px;
  font-size: 20px;

  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);

          box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);

  margin-bottom: 50px;
}

.submit-btn {
  height: 90px;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  padding: 30px;

  line-height: 30px;
  font-size: 30px;
  margin-bottom: 25px;
}

.pay-systems li {
  list-style: none;
  position: relative;
}

.pay-systems li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('/img/credit-card.png');
  background-size: contain;
  background-repeat: no-repeat;

  position: absolute;
  left: -23px;
  top: 18px;
}

.pay-systems li:nth-child(2)::before {
  background-image: url('/img/bank.png');
}

.pay-systems li:nth-child(3)::before {
  background-image: url('/img/memo.png');
}

.pay-systems li:nth-child(4)::before {
  background-image: url('/img/dollar.png');
}

.copyright {
  margin-top: 50px;
  padding: 15px;
  color: #8a8a8a;
}

.copyright p {
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 20px;
  font-family: 'Nunito Sans';
  font-weight: 300;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 2;
  overflow-y: scroll;

  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;

  background-color: rgba(0, 0, 0, 0.3);
}

.form-container {
  position: relative;
  top: 30px;
  max-width: 400px;
  min-width: 300px;
  height: min-content;
  margin-bottom: 80px;

  background-color: #fff;
  padding: 35px 25px 40px;
  border-radius: 25px;
}

.overlay h2 {
  margin-bottom: 30px;
}

.error {
  color: red;
  font-size: 14px;
  display: block;
  margin-top: 5px;
}
input, textarea {
  border: 1px solid #ccc;
  padding: 8px;
  width: 100%;
}

.section.reviews {
  padding-right: 0;
}

.reviews-container {
  display: flex;
  gap: 20px;
  overflow-x: scroll;
}

.review-card {
  width: 300px;
  height: 400px;
  min-width: 270px;

  background: white;
  border-radius: 15px;
  padding: 35px 25px 25px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card:last-child {
  margin-right: 25px;
}

.review-card .stars {
  color: #f4c430;
  font-size: 20px;
  margin: 0;
}

.review-card .review-text, .review-card span {
  font-size: 17px;
  line-height: 25px;
  padding: 0;
  margin: 0;
  color: #000;

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

.review-card .review-text {
  padding-top: 5px;
}

.review-footer {
  font-size: 14px;
  color: gray;
}

.review-link {
  display: inline-block;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  line-height: 20px;
  padding-top: 25px;
  border-bottom: 1px solid #000;
}

input.error, textarea.error {
  border-color: red;
}

@media (min-width: 400px) {
  .close-btn {
    top: 15px;
    right: 5px;
  }

  .form-container {
    min-width: 350px;
  }
}

@media(min-width: 756px) {
  .form-container {
    max-width: 700px;
  }

  .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0 30px;
    margin-bottom: 0;
  }

  form input {
    min-width: 300px;
  }

  h1 {
    font-size: 75px;
    line-height: 90px;
    margin-bottom: 0;
  }

  .open-menu, .lang-menu {
    position: absolute;
    right: 50px;
  }

  .subtitle {
    font-size: 25px;
    line-height: 30px;
  }

  .hero>div:last-of-type {
    position: absolute;
    bottom: 50px;
    margin-bottom: 0;
  }

  .hero2 {
    padding-right: 300px;
  }

  .section .circles {
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .circles {
    max-width: 600px;
  }

  .circles li img {
    width: 120px;
    height: 120px;
  }

  .gallery {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 5px 30px;
  }

  .schedule {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 25px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .cost {
    max-width: 455px;
    min-width: 400px;
  }

  .cost button {
    width: 100px;
    height: 100px;
  }

  .cost button svg {
    width: 38px;
  }

  .counter span {
    font-size: 30px;
    line-height: 50px;
  }

  .cost .one-person, .cost .total {
    padding-top: 25px;
  }

  .one-person .label, .total .label {
    font-size: 20px;
    line-height: 25px;
    padding-bottom: 10px;
  }

  .one-person span, .total span {
    font-size: 30px;
    line-height: 30px;
    padding-bottom: 25px;
  }

  .btn {
    max-width: 315px;
    font-size: 30px;
    line-height: 30px;
  }

  .section.payment, .section.take-with {
    min-height: -webkit-min-content;
    min-height: -moz-min-content;
    min-height: min-content;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 100px;
    line-height: 100px;
    margin-bottom: 20px;
  }

  .lg-1_2 {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 25px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .hero2 {
    padding-right: 35%;
  }

  .gallery {
    -ms-grid-columns: repeat(4, 1fr);
    grid-template-columns: repeat(4, 1fr);
  }

  .caption {
    padding-right: 15px;
  }

  .schedule-cost {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 25px 1fr;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
  }

  .schedule-cost>section>div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 50px;
  }

  .cost {
    max-width: none;
    min-width: none;
    width: 50%;
  }

  .contact-us {
    text-align: center;
    margin-top: 20px;

    padding-right: 30px;
  }
}
/* Добавляем анимации плавного появления и исчезновения */
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@-webkit-keyframes fadeOutDown {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  to {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  to {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Применяем анимации к элементам */
.animate {
  opacity: 0;
  /* transform: translateY(20px); */
  -webkit-transition: opacity 0.5s ease-out, -webkit-transform 1s ease-out;
  transition: opacity 0.5s ease-out, -webkit-transform 1s ease-out;
  -o-transition: opacity 0.5s ease-out, transform 1s ease-out;
  transition: opacity 0.5s ease-out, transform 1s ease-out;
  transition: opacity 0.5s ease-out, transform 1s ease-out, -webkit-transform 1s ease-out;
}

.animate.visible {
  opacity: 1;
  /* transform: translateY(0); */
}

.animate.hidden {
  opacity: 0;
  /* transform: translateY(20px); */
}