@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 900;
  src: url(../sait/fonts/Montserrat/Montserrat-Black.ttf);
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 700;
  src: url(../sait/fonts/Montserrat/Montserrat-Bold.ttf);
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  src: url(../sait/fonts/Montserrat/Montserrat-Medium.ttf);
}

@font-face {
  font-family: mr_kindlyjasmineg;
  font-style: normal;
  font-weight: 500;
  src: url(../sait/fonts/mr_kindlyjasmineg/mr_kindlyjasmineg.otf);
}

@font-face {
  font-family: Marko One;
  font-style: normal;
  font-weight: 400;
  src: url(../sait/fonts/Marko_One/MarkoOne-Regular.ttf);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Montserrat';
  color: white;
  font-size: 14px;
}

img {
  max-width: 100%;
  height: auto;
}

button,
a {
  min-height: 44px;
}


h1 {
  padding: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #0499DD;
}

h2 {
  color: #FFC700;
  font-weight: 700;
  margin-bottom: 10px;
}

.container-image {
  position: relative;
  min-width: 100%;
  min-height: 100vh;
  background-image: url('images/Rectangle 1.png');
  background-size: cover;

}

.excursion-container {
  position: relative;
  min-width: 100%;
  min-height: 770px;
  background-image: url('images/head-excursions.png');
  background-size: cover;
}

.excursions-container {

  position: relative;
  width: 100%;
  height: 350px;
  background-image: url('images/Rectangle 1.svg');
  background-size: cover;
  background-position: center calc(0px - 400px);

  .medium-photo {
    margin-top: 50px;
  }
}

.social-container {
  margin-right: 160px;
  display: flex;
  flex-direction: column;
}

.logo {
  width: 40px;
  height: 57px;
  padding-top: 26px;
  margin-left: 160px;

}

.logo-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.top-menu {
  display: flex;

  list-style-type: none;
  color: red;
  padding-top: 46px;
  margin-right: 160px;
}

.top-menu a {
  margin-left: 100px;
  color: #FFFFFF;
  text-decoration: none;

}

.medium-photo {
  margin-left: 160px;
  margin-top: 100px;
  display: flex;
  justify-content: space-between;

}

.medium-photo h2 {
  font-weight: 700;
  font-size: 24px;
}

.medium-photo h4 {
  font-family: 'mr_KindlyJasmineG';
  font-style: normal;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.2;
  margin-left: 15vw;

  color: #FFC700;
}

.medium-photo h3 {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.2;

  color: #FFFFFF;

}

.medium-photo h6 {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-size: 80px;
  color: transparent;
  -webkit-text-stroke: 2px white;
  line-height: 1.1;
}

.medium-photo img {
  width: 32px;
  height: 32px;
}

.container-photo-button {
  display: flex;
  align-items: center;
  margin-top: 60px;
  margin-left: 160px;
}

#photo-button {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  cursor: pointer;
  transition: background 0.3s ease;
  top: 20px;
  position: relative;
}

#photo-botton:hover {
  background: linear-gradient(to right, rgba(23, 193, 188, 1), rgba(4, 153, 221, 1));
}

#photo-button2 {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  top: 20px;
  position: relative;
}

#photo-button3 {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  top: 20px;
  position: relative;
}

#photo-button4 {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
}

#photo-button5 {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
}

#photo-button6 {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  margin-left: 130px;
}

#photo-button7 {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  margin-left: 130px;
  position: relative;
  top: 20px;
}

#photo-button11 {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  margin-left: 130px;
  position: relative;
  top: 20px;
}

#photo-button8 {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
}

#photo-button9 {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
}

#photo-button10 {
  margin-right: 15px;
  color: white;
  width: 230px;
  height: 50px;
  background: linear-gradient(to right, #0499DD, #17C1BC);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
}

.blue-caption {
  font-size: 24px;
  font-weight: 700;
  color: #0499DD;
}

.top-caption {
  margin-top: 150px;
  display: flex;
  justify-content: space-between;
  margin-right: 160px;
  margin-left: 160px;
  align-items: baseline;
}

.carousel-container {
  margin: 100px auto;
  width: 1520px;
  /* (360px карточка + 20px отступ) * 4 карточки = 1520px */
  position: static;
}

.carousel-wrapper {
  overflow: hidden;
  width: 1520px;
  /* 4 карточки по 360px + отступы */
  margin: 0 auto;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.excursion {
  min-width: 360px;
  height: 497px;
  margin-right: 20px;
  color: white;
  flex-shrink: 0;
  position: relative;
}

.image1 {
  background-image: url('../sait/images/slide1.png');
}

.image2 {
  background-image: url('../sait/images/slide2.png');
}

.image3 {
  background-image: url('../sait/images/slide3.png');
}

.image4 {
  background-image: url('../sait/images/slide4.png');
}

.progress-line {
  flex-grow: 1;
  height: 4px;
  background: rgba(4, 153, 221, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  top: 28px;
  /* выравнивание по высоте стрелок */
  margin: 0 10px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  /* Начальная ширина */
  background: #0499DD;
  border-radius: 2px;
  transition: width 0.5s ease-in-out;
  /* Плавное изменение */
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 20px;
}

.arrow2 {
  background-color: white;
  color: #0499DD;
  border: none;
  font-size: 30px;
  padding: 10px 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}


.slide-text {
  position: absolute;
  margin-left: 16px;
  margin-top: 210px;
}

.slide-text p {
  margin-right: 13px;
  font-weight: 500;
  font-size: 12px;
}

.picture-slide {
  display: flex;
}

.image-and-frame {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 100px 5% 50px;
}

.image-and-frame img {
  width: 100%;
  border-radius: 10px;
  grid-column: 1 / 3;
}

.image-and-frame2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 100px 5% 50px;
}

.image-and-frame2 img {
  width: 100%;
  border-radius: 10px;
  grid-column: 2 / 4;
}

.text-box {
  background: #f2f2f2;
  padding: 30px;
  border-radius: 10px;
  grid-column: 2 / 4;
  z-index: 2;
}

.text-box2 {
  background: #f2f2f2;
  padding: 30px;
  border-radius: 10px;
  grid-column: 1 / 3;
  z-index: 2;
}

.text-box p {
  padding: 20px;
  color: #282828;
}

.types-excursion {

  display: flex;
  flex-wrap: wrap;

  justify-content: space-between;
  padding-left: 160px;
  padding-top: 20px;
  margin-right: 160px;
}

.types-excursion p {
  color: #282828;
}

.type-excursion {
  display: flex;
  padding-top: 40px;

}

.type-excursion img {
  width: 75px;
  height: 75px;
}

.type-excursion-caption {
  width: 455px;
  padding-left: 20px;


}

.type-excursion-caption h1 {
  padding: 0;
}

.galery {
  display: flex;
  margin-left: 160px;
}

.galery img {
  max-width: 100%;
  max-height: 100%;
  padding: 20px 0px 20px 20px;
}

.galery-item {
  display: flex;
  flex-wrap: wrap;
  max-width: 560px;
}

.galery-item2 {
  display: flex;
  flex-wrap: wrap;
  max-width: 560px;
  margin-left: 10px;
}

.galery-item3 {
  display: flex;
  flex-wrap: wrap;
  max-width: 560px;
  margin-left: 30px;
}

.reviews {
  display: flex;
  padding-left: 160px;
  padding-right: 160px;
  justify-content: space-between;
  padding-bottom: 285px;
}

.review {
  display: flex;
  flex-wrap: wrap;
  width: 555px;
  margin-top: 50px;
}

.review p {
  width: 300px;
  padding-top: 20px;
}

.review-caption {
  margin-left: 20px;


}

.review-caption h3 {
  color: #282828;

}

.review-caption p {
  color: #282828;

}

.fotrer-container a {
  color: #282828;
  display: flex;
  align-items: center;
  padding: 3px;
}

.galery-mobile {
  display: none;
}

.reviews-container {
  margin-top: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer {
  display: flex;
  padding-left: 160px;
  justify-content: space-evenly;
  padding-bottom: 30px;
  align-items: center;
  margin-top: 200px;
}

.footer-mobile {
  display: none;
}

.excursions-describe {

  display: flex;
  justify-content: space-evenly;

  flex-wrap: wrap;
  padding-top: 150px;
  padding-bottom: 150px;
  padding-left: 160px;
  padding-right: 160px;

}

.excursions-describe-text {
  margin-bottom: 60px;
  margin-right: 100px;



  max-width: 400px;
}

.excursions-describe-text p {
  color: #282828;
}

.excursions-describe-text h1 {
  padding: 50px 0px 50px 20px;
}

.yellow-circle {

  width: 57px;
  height: 57px;
  border-radius: 100px;
  background-color: #FFC700;
}

.excursions-describe-price {
  margin-left: 20px;


}

.excursions-describe-price-text {
  margin-bottom: 40px;
  margin-top: -55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 100px;


  background: rgba(255, 255, 255, 0.219);
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);

  border-radius: 10px;
  transform: translate(18px, 18px);


  background-color: #0000001A;
}

.excursions-describe-price-text h1 {
  display: flex;
  align-items: center;

  padding: 0;
}

.excursions-describe-price-text p {
  color: #282828;
  text-align: center;
}

.yellow-list {
  margin-bottom: 30px;
  list-style-position: inside;
  max-width: 550px;
  text-align: justify;


}

.yellow-list li {
  color: #282828;
}

.yellow-list li::marker {

  color: #FFC700;
  font-size: 30px;
}

.trail-description-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-left: 160px;
}

.trail-description-images {

  display: flex;
  flex-wrap: nowrap;
  padding-left: 100px;

  img {
    margin-right: 20px;
    max-width: 300px;
  }
}

.border-info-main {
  display: flex;
  justify-content: space-between;
  margin-right: 160px;
}

.border-info-container {
  margin-left: 160px;
  margin-bottom: 40px;

  h1 {
    padding: 0;
  }

  p {
    color: #0499DD;
  }

  img {
    padding-right: 25px;
    padding-left: 25px;
  }

  max-width: 550px;
  display: flex;
}

.tours-container {

  padding-left: 160px;

  p {
    color: #282828;
  }

  h1 {
    padding: 0;
  }

}

.tour-text {
  min-width: 10px;
  max-width: 620px;
  padding-left: 60px;
}

.tour {
  margin-bottom: 24px;
  display: flex;
  width: 1120px;
  max-height: 355px;

  border-radius: 10px;
  flex-wrap: wrap;

}

.blue-line {
  margin-right: 30px;
  height: 88px;
  width: 15px;
  background-color: #0499DD;
}

.galery-section {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.test-container {
  position: relative;
  height: 289px;
  min-width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(../www/images/head.svg);
  filter: blur(0.5px);

  background-size: cover;

  h5 {
    margin-top: 20px;
    margin-left: 160px;
    font-size: 100px;
    /* Было 72px, стало 96px */
    color: #282828;
  }
}

.res-section {
  margin-top: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-main {

  display: flex;
  background-image: url("images/block2.svg");
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1071px;
  height: 850px;
  top: 450px;
  left: 397px;
  z-index: 1;
}



.test-blank {
  /*    position: absolute;*/
  width: 542px;
  height: 467px;
  top: 370px;
  left: 265px;

  background-color: rgba(237, 237, 237, 1);
  z-index: 3;
  border-radius: 10px;
}

.question {
  display: none;
  /*    width: 372px;
    height: 60px;
*/
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;

  color: #0499DD !important;
}

.question.active {
  /*    display: block;*/
  padding: 20px;
  display: block;

}

.question.active ul,
.question.active ul li,
.question.active ul label,
.question.active ul * {
  color: #0499DD !important;
}

.text2 {
  padding: 20px;
  /*    width: 400px; 
    height: 204px; */


  align-items: center;
  line-height: 30px;

  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 10px;
}

.text2 li input[type="checkbox"]:checked+label {
  align-items: center;
  margin-bottom: 10px;
}

.text2 li label {
  margin-left: 30px;
  line-height: 30px;

}

.btn-container {
  display: flex;
  justify-content: space-between;
}

.btn-container {
  margin-top: 0px;
  width: 542px;
  height: 100px;
}

.button2 {
  width: 112px;
  height: 50px;
  margin-left: 100px;

  font-size: 30px;
  cursor: pointer;
  background: linear-gradient(to right, rgba(4, 153, 221, 1), rgba(23, 193, 188, 1));
  color: white;
  border: none;
  border-radius: 60px;
}

.button3 {
  width: 112px;
  height: 50px;
  margin-right: 100px;

  font-size: 30px;
  cursor: pointer;
  background: linear-gradient(to right, rgba(4, 153, 221, 1), rgba(23, 193, 188, 1));
  color: white;
  border: none;
  border-radius: 60px;
}

.button4 {
  margin-top: 30px;
  margin-left: 160px;
  width: 230px;
  height: 50px;

  font-size: 16px;
  cursor: pointer;
  background: linear-gradient(to right, rgba(4, 153, 221, 1), rgba(23, 193, 188, 1));
  color: white;
  border: none;
  border-radius: 60px;
}

@media (max-width: 768px) {
  .excursions-container {
    background-position: center calc(0px - 350px);

  }

  h6 {
    font-size: 72px !important;
  }

  h3 {
    font-size: 36px !important;
  }

  h4 {
    font-size: 36px !important;
  }

  .social-container {
    margin-right: 24px;
  }

  .logo {
    margin-left: 72px;
  }

  .logo-menu {
    justify-content: space-around;

  }

  .container-photo-button {
    margin-left: 24px;
    margin-top: 90px;
  }

  .medium-photo {
    margin-left: 24px;
    margin-top: 118px;
  }

  .medium-photo h4 {
    margin-left: 24px;
  }

  .top-menu a {
    margin-left: 50px;
  }

  .see-all {
    display: none;
  }

  .top-caption {
    margin-left: 24px;
  }

  .excursion {
    margin-left: 24px;
    display: flex;
    margin-top: 90px;
  }

  .carousel-controls {
    max-width: 430px;
  }

  .text-box {
    background: #f2f2f2;
    padding: 30px;
    border-radius: 10px;
    margin-left: -200px;
    width: 380px;
    height: auto;
  }

  .text-box2 {
    background: #f2f2f2;
    padding: 30px;
    border-radius: 10px;
    margin-left: -200px;
    width: 380px;
    height: auto;
  }

  .image-and-frame {
    p {
      font-size: 13px;
      line-height: 17px;
    }

    img {
      height: 700px;
      width: auto;
      margin-left: -700px;
    }
  }

  .image-and-frame2 {
    p {
      font-size: 13px;
      margin-left: 0;
      line-height: 12px;
    }

    img {
      height: 700px;
      width: auto;
      margin-left: -700px;
    }

    h1 {
      margin-left: 0 !important;
    }
  }

  .types-excursion {

    padding-left: 24px;
    padding-top: 20px;
    margin-right: 24px;

    p {
      font-size: 13px;
    }
  }

  .trail-description-images {
    max-width: 150px;
    padding: 0;
    justify-content: center;

    img {
      max-height: 350px;
    }
  }

  .type-excursion-caption {
    max-width: 285px;
  }

  .galery {
    display: none;
  }

  .galery-mobile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

  }

  .galery-mobile img {
    padding-top: 20px;
    padding-right: 10px;
  }

  #photo-button2 {
    margin-left: 50px !important;
  }

  #photo-button6 {
    margin-right: 50px !important;
  }

  #photo-button7 {
    margin-right: 80px !important;
  }

  #photo-button11 {
    margin-right: 80px !important;
  }

  #photo-button3 {
    margin-left: 100px !important;
    top: 40px;
  }

  #photo-button5 {
    top: 0px !important;
    position: relative;
  }

  #photo-button8 {
    top: 0px !important;
    position: relative;
  }

  #photo-button9 {
    top: 0px !important;
    position: relative;
  }

  #photo-button10 {
    top: 0px !important;
    position: relative;
  }

  .image-galery {
    max-width: 180px;

  }

  .reviews {
    padding-left: 24px;
    padding-right: 24px;

    flex-wrap: wrap;
  }

  .review {
    h3 {
      font-size: 19px;
    }

    p {
      font-size: 18px;
    }

    margin-bottom: 20px;
  }

  .blue-caption {
    margin-left: 10px !important;
  }

  .blue-caption h1 {
    margin-left: 0px;
  }

  .blue-caption-all {
    margin-left: 70px !important;
    margin-right: 0px !important;
    top: 30px;
  }

  .top-caption {
    align-items: initial;
  }

  .footer {
    display: none;
  }

  .footer-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 200px;
  }

  .trail-description-section {
    margin-left: 24px;
    margin-right: 24px;
    padding: 0;
  }

  .excursions-describe {
    margin-left: 12px;
    margin-right: 12px;
    justify-content: center;
    padding-left: 0px;
    padding-right: 0px;
  }

  .excursions-describe-price {
    margin-left: 24px;
  }

  .excursions-describe-text {
    margin: 0;
  }

  .tours-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tour {
    max-width: 380px;
    max-height: 790px;
    margin-top: 100px;

    h2 {
      margin-top: 24px;
    }

    p {
      margin-bottom: 10px;
    }
  }

  .tour-text {
    padding-left: 0;
  }

  .blue-line {
    width: 10px;
  }

  li {
    max-width: 250px;
  }

  .test-blank {
    max-width: 320px;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .text {
    width: 300px;
  }

  .question {
    margin-left: 50px;

    h1 {
      max-width: 250px;
    }

  }

  .question.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*  margin-left: 100px;*/
  }

  .button2 {
    margin-left: 50px;
  }

  .button4 {
    margin-left: 0px;
  }

  .btn-container {
    justify-content: space-around;
  }

  .excursions-describe-text p {
    color: #282828;
    width: 380px;
    margin-bottom: 100px;
  }

  .excursions-describe-text h1 {
    padding: 50px 0px 50px 0px;
  }

  .excursions-describe-price {
    margin-left: 24px;

  }
}

.footer {
  background-image: url('images/Rectangle 7.png');
  /* Путь к вашему изображению */
  background-size: cover;
  /* Обеспечивает полное покрытие фоном */
  background-position: center;
  /* Центрирует изображение */
  padding-top: 150px;
  padding-bottom: 20px;
  /* Добавьте нижний отступ, если необходимо */
  color: rgb(0, 0, 0);
  /* Цвет текста, если фон темный */
}

.image-and-frame3 img {
  max-width: 100%;
  /* Фото будет адаптироваться под ширину контейнера */
  height: auto;
  /* Сохраняет пропорции */
  width: 900px;
  /* ИЛИ задайте фиксированную ширину, например 300px */
}

.text-box3 {
  background: #f2f2f2;
  padding: 30px;
  border-radius: 10px;
  margin-left: -200px;
  width: 380px;
  height: 386px;
}

.calendar-overlay-image {
  position: absolute;
  top: 350px;
  /* Отступ сверху */
  right: 500px;
  /* Отступ справа */
  width: 400;
  height: 300;
  transform: none;
  /* Убираем центрирование */
}

.calendar-title {
  position: absolute;
  /* Абсолютное позиционирование */
  top: 200px;
  /* Отступ сверху */
  right: 360px;
  /* Отступ справа - перемещает правее */
}

/* CSS-only карусель с radio-кнопками */
.trail-css-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.trail-css-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.trail-css-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.trail-simple-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.trail-simple-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* CSS-only карусель с radio-кнопками */
.trail-css-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.trail-css-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.trail-css-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

/* Основная секция */
.trail-description-section {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  padding: 50px 20px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Левая часть с текстом */
.trail-text-content {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

.trail-title {
  font-size: 2.5rem;
  color: #3498db;
  ;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid #f1c40f;
}

.trail-subtitle {
  color: #282828;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 40px 0 25px;
  padding-top: 25px;
  border-top: 2px solid #ecf0f1;
}

/* Правая часть с каруселью */
.trail-carousel-side {
  flex: 1;
  min-width: 400px;
}

/* Контейнер карусели */
.trail-carousel-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* Обертка карусели */
.trail-carousel-wrapper {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: white;
}

/* Карусель */
.trail-carousel {
  display: flex;
  width: 200%;
  transition: transform 0.6s ease-in-out;
}

/* Слайды */
.trail-slide {
  flex: 0 0 50%;
  min-width: 50%;
  box-sizing: border-box;
}

.trail-slide-content {
  padding: 20px;
}

.trail-slide-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Скрытые radio кнопки */
.trail-carousel-container input[type="radio"] {
  display: none;
}

/* Переключение слайдов через CSS */
#trail-slide1:checked~.trail-carousel-wrapper .trail-carousel {
  transform: translateX(0%);
}

#trail-slide2:checked~.trail-carousel-wrapper .trail-carousel {
  transform: translateX(-50%);
}

/* Прогресс бар (анимированный) */
.trail-progress-container {
  margin: 20px auto 10px;
  max-width: 300px;
}

.trail-progress-line {
  height: 4px;
  background: #ecf0f1;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.trail-progress-fill {
  height: 100%;
  background: #3498db;
  width: 50%;
  animation: trailProgress 5s linear infinite;
}

@keyframes trailProgress {
  0% {
    width: 0%;
  }

  50% {
    width: 100%;
  }

  100% {
    width: 0%;
  }
}

/* Контролы карусели */
.trail-control-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 15px 0;
}

/* Кнопки стрелок */
.trail-arrow {
  background: #3498db;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
}

.trail-arrow:hover {
  background: #2980b9;
  transform: scale(1.1);
}

/* Индикаторы слайдов */
.trail-indicators {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.trail-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c6d0d3;
  cursor: pointer;
  transition: all 0.3s ease;
}

#trail-slide1:checked~.trail-carousel-controls .trail-indicator:nth-child(1),
#trail-slide2:checked~.trail-carousel-controls .trail-indicator:nth-child(2) {
  background: #3498db;
  transform: scale(1.3);
}

/* Автоматическое переключение через CSS анимацию */
@keyframes trailAutoSlide {

  0%,
  50% {
    transform: translateX(0%);
  }

  50.01%,
  100% {
    transform: translateX(-50%);
  }
}

/* Альтернатива: полностью авто-карусель */
.trail-carousel-auto .trail-carousel {
  animation: trailAutoSlide 10s infinite;
}

.trail-carousel-auto .trail-carousel:hover {
  animation-play-state: paused;
}

/* Адаптивность */
@media (max-width: 992px) {
  .trail-description-section {
    flex-direction: column;
    gap: 40px;
  }

  .trail-text-content {
    padding-right: 0;
  }

  .trail-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .trail-carousel-side {
    width: 100%;
  }

  .trail-carousel-container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .trail-description-section {
    padding: 30px 15px;
  }

  .trail-slide-img {
    height: 280px;
  }

  .trail-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .trail-title {
    font-size: 1.8rem;
  }

  .trail-slide-img {
    height: 220px;
  }

  .trail-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Основной фон секции */
.simple-test-section {
  background: #ffffff;
  /* Серый фон */
  padding: 60px 20px;
  width: 100%;
}

/* Контейнер */
.simple-test-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #D9D9D9;
  /* Тот же серый фон */
  padding: 40px;
}

/* Заголовки */
.simple-test-title {
  text-align: center;
  font-size: 2.2rem;
  color: #000;
  /* Черный текст */
  margin-bottom: 10px;
  font-weight: 700;
}

.simple-test-subtitle {
  text-align: center;
  color: #333;
  /* Темно-серый */
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* Две колонки */
.simple-test-content {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
}

.test-column-left,
.test-column-right {
  flex: 1;
}

/* Вопросы */
.simple-question {
  margin-bottom: 40px;
}

.simple-question-title {
  color: #0499DD;
  ;
  /* Черный текст */
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.4;
}

/* Варианты ответов */
.simple-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.simple-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 0;
  transition: opacity 0.2s;
}

.simple-option:hover {
  opacity: 0.8;
}

/* Скрытый радио-инпут */
.simple-option input[type="radio"] {
  display: none;
}

/* Кружочки */
.simple-circle {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #999;
  /* Серый кружок */
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}

/* Текст */
.simple-text {
  color: #000;
  /* Черный текст */
  font-size: 1rem;
  line-height: 1.4;
  flex: 1;
}

/* Когда радио выбрано */
.simple-option input[type="radio"]:checked+.simple-circle {
  border-color: #3498db;
  /* Голубая рамка */
  background: #3498db;
  /* Голубой фон */
}

.simple-option input[type="radio"]:checked+.simple-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.simple-option input[type="radio"]:checked~.simple-text {
  font-weight: 500;
}

/* Кнопки */
.simple-test-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

.simple-btn {
  padding: 14px 35px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.simple-btn-submit {
  background: #3498db;
  /* Голубой */
  color: white;
}

.simple-btn-submit:hover {
  background: #2980b9;
}

.simple-btn-clear {
  background: #ddd;
  /* Серый */
  color: #333;
}

.simple-btn-clear:hover {
  background: #ccc;
}

/* Адаптивность */
@media (max-width: 992px) {
  .simple-test-content {
    flex-direction: column;
    gap: 30px;
  }

  .simple-test-container {
    padding: 30px;
  }

  .simple-test-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .simple-test-section {
    padding: 40px 15px;
  }

  .simple-test-container {
    padding: 20px;
  }

  .simple-test-title {
    font-size: 1.6rem;
  }

  .simple-question-title {
    font-size: 1.1rem;
  }

  .simple-text {
    font-size: 0.95rem;
  }

  .simple-test-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .simple-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .simple-circle {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }

  .simple-option {
    gap: 10px;
  }
}

/* адаптивка index
/* Адаптивность для мобильных устройств */

/* Для мобильных устройств (до 768px) */
@media screen and (max-width: 768px) {

  /* Добавляем позиционирование для контейнера */
  .container-image {
    background-size: cover;
    /* cover - заполнить, contain - целиком, auto - оригинал */
    background-position: center;
    /* center, top, bottom, left, right */
    background-repeat: no-repeat;
    min-height: 90vh;
    /* Высота на мобильных */
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    /* Скрываем горизонтальный скролл */
  }

  .logo-menu {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    width: 100%;
    position: relative;
    z-index: 1000;
    background: transparent;
  }

  .logo {
    width: 120px;
    margin-bottom: 0;
    margin-left: -20px;
  }

  /* Стили для гамбургер-меню */
  .menu-toggle {
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1002;
    /* Очень высокий приоритет */
    position: relative;
  }

  .menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: #ffffff;
    margin: 6px 0;
    transition: 0.3s;
  }

  /* БЕЛОЕ МЕНЮ СПРАВА */
  .top-menu {
    position: fixed !important;
    /* Фиксированное позиционирование */
    top: 0 !important;
    right: -100% !important;
    /* Скрыто за экраном */
    left: auto !important;
    width: 280px !important;
    /* Ширина меню */
    height: 100vh !important;
    /* На всю высоту экрана */
    background: white !important;
    /* Белый фон */
    flex-direction: column !important;
    padding: 80px 25px 30px !important;
    margin: 0 !important;
    display: flex !important;
    z-index: 1001 !important;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.4s ease-in-out !important;
    /* Плавное выезжание */
    border-radius: 20px 0 0 20px;
    /* Скругление слева */
    overflow-y: auto;
    /* Скролл если много пунктов */
  }

  /* Показываем меню - выезжает справа */
  .top-menu.active {
    right: 0 !important;
    /* Прижимаем к правому краю */
  }

  /* Стили для пунктов меню */
  .top-menu li {
    margin: 15px 0 !important;
    width: 100% !important;
    text-align: left !important;
    list-style: none;
  }

  .top-menu li a {
    display: block;
    padding: 15px 20px;
    color: #000000 !important;
    /* Черный текст */
    font-size: 18px !important;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s;
    background: transparent;
  }

  .top-menu li a:hover {
    background: #f5f5f5;
    /* Светло-серый при наведении */
  }

  .top-menu li:first-child a {
    color: #000000 !important;
    /* Черный цвет для Главной */
    font-weight: 700;
  }

  /* Затемнение фона */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1000;
    transition: 0.3s;
  }

  .menu-overlay.active {
    display: block;
  }

  /* Анимация бургера - меняем цвет на черный когда меню открыто */
  .menu-toggle span.active {
    background: #000000;
  }

  .menu-toggle span.active:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle span.active:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle span.active:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Логотип и бургер при открытом меню */
  .logo-menu.active {
    position: relative;
    z-index: 1002;
  }
}

/* Для очень маленьких экранов (до 480px) */
@media screen and (max-width: 480px) {
  .top-menu {
    width: 250px !important;
    /* Чуть уже на маленьких экранах */
    padding: 70px 20px 25px !important;
  }

  .top-menu li a {
    padding: 12px 18px;
    font-size: 16px !important;
  }
}

/* Для планшетов - обычное меню */
@media screen and (min-width: 769px) {
  .top-menu {
    display: flex !important;
    position: static !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    right: auto !important;
  }

  .top-menu li {
    margin: 0 15px !important;
  }

  .top-menu li a {
    color: #ffffff !important;
    /* Белый текст на десктопе */
  }

  .menu-toggle {
    display: none !important;
  }
}

/* Анимация бургера в крестик */
.menu-toggle span.active:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle span.active:nth-child(2) {
  opacity: 0;
}

.menu-toggle span.active:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -8px);
}

@media screen and (max-width: 768px) {

  /* Управление расположением */
  .social-container {
    display: flex;
    justify-content: flex-end;
    /* center, flex-start, flex-end, space-between, space-around */
    align-items: center;
    gap: 20px;
    /* Расстояние между иконками */
    flex-direction: column;
    /* row - горизонтально, column - вертикально */
    order: 1;
    /* Порядок отображения (1, 2, 3...) */
  }



  /* Отдельно для каждой иконки */
  .social-container a:first-child img {
    /* Первая иконка (VK) */
    width: 35px;
  }

  .social-container a:last-child img {
    /* Последняя иконка (TG) */
    width: 35px;
  }

  /* Эффекты при наведении на мобильных */
  .social-container a:active img {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

/* Для мобильных устройств (до 768px) */
@media screen and (max-width: 768px) {
  .medium-photo {
    display: flex;
    flex-direction: column;
    min-height: 400px;
    /* Минимальная высота для позиционирования */
    position: relative;
    padding: 20px 15px;
  }

  /* ПОДНЯТЬ ТЕКСТ ВВЕРХ */
  .medium-photo div:first-child {
    order: 1;
    /* Делаем первым */
    margin-top: -30px;
    /* Поднимаем текст вверх (отрицательное значение) */
    margin-bottom: 0;
    position: relative;
    top: -20px;
    /* Сдвигаем вверх */
  }

  /* ОПУСТИТЬ ИКОНКИ ВНИЗ */
  .medium-photo .social-container {
    order: 3;
    /* Делаем последним */
    margin-top: auto;
    /* Прижимаем к низу */
    margin-bottom: 20px;
    position: relative;
    bottom: -30px;
    /* Опускаем вниз (положительное значение) */
    align-self: center;
    margin-left: 350px;
  }

  /* Настройки текста */
  .medium-photo h3 {
    font-size: 32px;
    margin-bottom: 5px;

  }

  .medium-photo h4 {
    margin: 5px 0;
    margin-left: 220px;
    margin-top: -30px;
  }

  .medium-photo h6 {
    font-size: 36px;
    margin-top: 5px;
    margin-top: -30px;
  }
}

/* Для очень маленьких экранов (до 480px) */
@media screen and (max-width: 480px) {
  .medium-photo div:first-child {
    margin-top: -20px;
    /* Меньше поднимаем */
    top: -15px;
  }

  .medium-photo .social-container {
    bottom: -20px;
    /* Меньше опускаем */
    margin-bottom: 15px;
  }

  .medium-photo h3 {
    font-size: 28px;
  }

  .medium-photo h6 {
    font-size: 32px;
  }
}

/* Для планшетов (768px - 992px) */
@media screen and (min-width: 768px) and (max-width: 992px) {
  .medium-photo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
  }

  .medium-photo div:first-child {
    margin-top: 0;
    top: 0;
  }

  .medium-photo .social-container {
    bottom: 0;
    margin-bottom: 0;
  }
}

/* Для мобильных устройств (до 768px) */
@media screen and (max-width: 768px) {
  .container-photo-button {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    /* Отрицательное значение поднимает кнопку вверх */
    text-align: center;
  }

  #photo-button {
    display: inline-block;
    position: relative;
    top: -30px;
    /* Альтернативный способ - поднимает кнопку */
  }

  #photo-button img {
    width: 280px;
    max-width: 90%;
    height: auto;
  }
}

/* Для очень маленьких экранов (до 480px) */
@media screen and (max-width: 480px) {
  .container-photo-button {
    margin-top: -230px;
    /* Меньше поднимаем на маленьких экранах */
  }

  #photo-button {
    top: -20px;
  }
}

/* адаптив о нас */
/* Адаптив для мобильных устройств */
@media screen and (max-width: 768px) {
  .image-and-frame {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 20px 15px !important;
    box-sizing: border-box !important;
    background: transparent !important;
    /* Прозрачный фон */
  }

  .image-and-frame img {
    width: 150% !important;
    margin: 0 0 30px 0 !important;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    /* Изображение под блоком */
    margin-left: -550px !important;
    /* Отрицательное значение сдвигает влево */
    margin-top: 250px !important;
    /* Положительное значение опускает вниз */
  }

  .image-and-frame .text-box {
    /* Сбрасываем десктопные стили */
    margin: 0 auto !important;
    margin-top: -650px !important;
    /* Отрицательный отступ - поднимаем блок */
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    z-index: 2 !important;
    /* Блок ПОВЕРХ фона */

    /* Мобильные стили */
    width: 100% !important;
    max-width: 450px !important;
    height: auto !important;
    padding: 30px !important;
    background: #f2f2f2 !important;
    border-radius: 10px;
    box-sizing: border-box !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Тень для объема */
  }

  .image-and-frame .text-box h1 {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    font-size: 28px;
  }

  .image-and-frame .text-box p {
    padding: 10px 0 !important;
    margin: 0 !important;
    font-size: 15px;
    line-height: 1.5;
    color: #282828;
    word-wrap: break-word;
  }
}

/* Адаптив для футера на мобильных устройствах */
@media screen and (max-width: 768px) {
  .footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 40px 20px 30px 20px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Логотип */
  .footer img[src*="logo_color.png"] {
    margin: 0 auto 30px auto !important;
    margin-left: auto !important;
    /* Перебивает инлайн-стиль */
    margin-right: auto !important;
    width: 80px !important;
    height: auto !important;
    display: block !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    float: none !important;
  }

  /* Контейнеры футера */
  .footer .fotrer-container {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto 25px auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 15px !important;
  }

  /* Ссылки в контейнерах */
  .footer .fotrer-container a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    padding: 5px 0;
    word-break: break-word;
    /* Перенос длинных слов */
  }

  /* Иконки в ссылках */
  .footer .fotrer-container a img {
    margin-right: 10px !important;
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
    /* Иконка не сжимается */
  }

  /* Контейнер с иконками соцсетей */
  .footer .fotrer-container div[style*="display: flex"] {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-top: 10px !important;
  }

  /* Иконки соцсетей */
  .footer .fotrer-container div[style*="display: flex"] a img {
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
  }

  /* Для ссылок с текстом и иконкой */
  .footer .fotrer-container a:has(img) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 8px 15px !important;
    background: #f5f5f5;
    border-radius: 30px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Для маленьких экранов (до 480px) */
@media screen and (max-width: 480px) {
  .footer {
    padding: 30px 15px 25px 15px !important;
  }

  .footer img[src*="logo_color.png"] {
    width: 100px !important;
    margin-bottom: 25px !important;
  }

  .footer .fotrer-container {
    margin-bottom: 20px !important;
  }

  .footer .fotrer-container a {
    font-size: 14px;
  }

  .footer .fotrer-container a:has(img) {
    padding: 6px 12px !important;
  }

  .footer .fotrer-container div[style*="display: flex"] a img {
    width: 35px !important;
    height: 35px !important;
  }
}

/* Для средних экранов (планшеты) */
@media screen and (min-width: 769px) and (max-width: 992px) {
  .footer {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    padding: 50px 30px !important;
  }

  .footer img[src*="logo_color.png"] {
    grid-column: span 2;
    margin: 0 auto 20px auto !important;
    left: 0 !important;
  }
}

/* GLOBAL RESPONSIVE OVERRIDES */

/* 1. Планшеты (до 1024px) */
@media (max-width: 1024px) {

  .logo,
  .top-menu,
  .medium-photo,
  .container-photo-button,
  .social-container,
  .top-caption,
  .types-excursion,
  .galery,
  .reviews,
  .excursions-describe,
  .border-info-container,
  .tours-container,
  .trail-description-section {
    margin-left: 5% !important;
    margin-right: 5% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .carousel-container,
  .carousel-wrapper {
    width: 100% !important;
    max-width: 100vw;
  }

  .tour,
  .review,
  .excursions-describe-text {
    width: 100% !important;
    max-width: 100%;
  }

  .medium-photo h6 {
    font-size: 60px;
  }
}

/* 2. Мобильные (до 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
  }

  /* Глобальное уменьшение гигантских отступов для мобильных */
  .top-caption,
  .carousel-container,
  .reviews-container,
  .footer,
  .excursions-describe {
    margin-top: 40px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Редизайн блоков с картинками (картинка сверху, текст снизу) */
  .image-and-frame,
  .image-and-frame2 {
    display: flex !important;
    flex-direction: column !important;
    padding: 30px 15px !important;
    align-items: center;
  }

  .image-and-frame img,
  .image-and-frame2 img {
    display: block !important;
    width: 100% !important;
    max-width: 400px;
    height: auto !important;
    margin: 0 auto 20px auto !important;
    border-radius: 10px;
  }

  .image-and-frame2,
  .text-box2 {
    transform: none !important;
  }

  .text-box,
  .text-box2 {
    width: 100%;
    margin: 0 !important;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 15px;
  }

  /* Главный экран */
  .medium-photo {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 40px !important;
    margin-left: 0 !important;
  }

  .social-container {
    display: none;
  }

  .container-photo-button {
    justify-content: center;
    margin-left: 0 !important;
    margin-top: 20px !important;
  }

  .medium-photo h3 {
    font-size: 32px;
  }

  .medium-photo h4 {
    font-size: 24px;
    margin-left: 0;
  }

  .medium-photo h6 {
    font-size: 48px;
  }

  .top-caption {
    flex-direction: column;
    align-items: center;
    margin-top: 40px !important;
    text-align: center;
  }

  .blue-caption-all {
    margin-right: 0 !important;
    margin-top: 15px;
    position: static !important;
    display: inline-block !important;
    margin-left: 0 !important;
  }

  /* Карусель */
  .carousel-controls {
    gap: 20px;
    padding: 0 15px;
    justify-content: center;
  }

  .excursions-describe {
    flex-direction: column;
    align-items: center;
  }

  /* Виды туров */
  .types-excursion {
    flex-direction: column;
    align-items: center;
    padding-left: 15px !important;
    margin-right: 15px !important;
  }

  .type-excursion-caption {
    width: 100%;
    padding-left: 0;
    text-align: center;
    margin-top: 15px;
  }

  .type-excursion {
    flex-direction: column;
    align-items: center;
  }

  /* Устранение смещений кнопок */
  #photo-button7, #photo-button3, #photo-button {
    transform: none !important;
    margin: 20px auto 0 auto !important;
  }
}

/* 3. Маленькие экраны (до 480px) */
@media (max-width: 480px) {

  .logo,
  .top-menu,
  .medium-photo,
  .container-photo-button,
  .social-container,
  .top-caption,
  .types-excursion,
  .galery,
  .reviews,
  .excursions-describe,
  .border-info-container,
  .tours-container,
  .trail-description-section {
    margin-left: 15px !important;
    margin-right: 15px !important;
  }

  .medium-photo h3 {
    font-size: 28px;
  }

  .medium-photo h6 {
    font-size: 40px;
  }
}