.country {
  margin-top: 35px;
}

@media (max-width: 767px) {
  .country {
    margin-top: 15px;
  }
}

/* Первый блок в стране */

.country__intro {
  position: relative;
  margin-bottom: 50px;
}

.country-title {
  z-index: 1;
  color: var(--site-white-color);
  font-size: 42px;
  font-weight: 700;
  line-height: 50px;
  display: inline-block;
  border-radius: var(--site-border-radius);
  background-color: var(--site-accent-color);
  padding: 18px 30px;
}

.country__flag {
  display: flex;
  gap: 24px;
  margin-bottom: 25px;
}
.country__flag-img {
  width: 156px;
  height: 104px;
  object-fit: cover;
  border-radius: var(--site-border-radius);
  overflow: hidden;
}

.country-header-img {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: -1;
  margin-bottom: 25px;
}

.country-header-img-text {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.country-header-img img,
.country-header-img-text img {
  height: auto;
}

.country-header-img-text p {
  flex: 0 1 50%;
}
@media (max-width: 767px) {
  .country__intro {
    margin-bottom: 0;
  }
  .country-title {
    font-size: 18px;
    line-height: 22px;
    padding: 12px 20px;
  }

  /* Адаптивный вариант, по умолчанию скрыт, как и на большинстве стран, но на некоторых есть. */
  .country__flag {
    display: none;
    margin-bottom: 10px;
  }

  .country__flag-img {
    width: 74px;
    height: 50px;
  }

  .country-header-img-text {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
}
/* баннеры */

.banners {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

.banner {
  width: 100%;
  border-radius: var(--site-border-radius);
  height: 360px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.banner-header {
  background: rgba(237, 106, 89, 0.9);
  padding: 15px 30px;
  min-height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: var(--site-border-radius) var(--site-border-radius) 0 0;
}

.banner-header h2 {
  font-size: 38px;
  margin: 0;
}
.banner-header span {
  font-weight: 700;
  font-size: 20px;
  text-align: center;
}

.banner-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: end;
  padding-right: 45px;
  padding-bottom: 30px;
  margin-top: 40px;
  height: 100%;
}

.banner-content__notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.banner-content__notes.first-special .banner-content__note:first-child {
  margin-bottom: auto;
  justify-content: end;
  padding-right: 30px;
}

.banner-content__note {
  background: var(--site-white-color);
  width: 280px;
  border-top-right-radius: var(--site-border-radius);
  border-bottom-right-radius: var(--site-border-radius);
  color: var(--site-dark-accent-color);
  text-align: center;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  padding: 10px 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-content__note .price {
  font-weight: 700;
  font-size: 26px;
  text-align: center;
  color: var(--site-accent-color);
}
.banner-content__note .accent-note {
  color: var(--site-accent-color);
  font-weight: 700;
}

.banner-content__note .green-note {
  color: var(--site-green-color);
  /* font-weight: 800; */
}

.banner-content__notes--note {
  position: absolute;
  top: 2px;
  right: -208px;
  color: #f60a0a;
  padding: 10px 14px;
  border-radius: var(--site-border-radius);
  border: 3px solid #f60a0a;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  transform: rotate(-5deg);
}
.banner-content .g-button {
  max-width: 300px;
}
.banner-blue-button {
  background-color: var(--site-blue-color);
}
.banner-content__advantages {
  display: flex;
  gap: 18px;
  position: relative;
}

.banner-content__advantages .adv-images {
  bottom: 20px;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, 0);
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
}

.banner-content__advantages img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--site-border-radius);
}

.banner-content__advantage {
  padding: 10px 20px;
  color: var(--site-dark-accent-color);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  background: var(--site-white-color);
  border-radius: var(--site-border-radius);
  z-index: 1;
  position: relative;
  box-shadow: 0px -2px 4px 0px #00000040;
}

.banner picture {
  position: absolute;
  z-index: -2;
  height: inherit;
  width: 100%;
  overflow: hidden;
  border-radius: var(--site-border-radius);
}

.banner picture img {
  height: inherit;
  object-fit: cover;
  width: 100%;
}

.banner-header__mobile-content h2 {
  text-align: center;
}

.banner-header__mobile-content {
  display: none;
}

.banner__background-image--mobile {
  display: none;
}
.banner__background-image {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@media (max-width: 1100px) {
  .banner {
    min-height: 480px;
    height: 100%;
  }
  .banner-header {
    align-items: center;
    min-height: 60px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .banner-content__advantages {
    display: none;
  }
  .banner-header__desktop-content {
    display: none;
  }
  .banner-header__mobile-content {
    display: flex;
  }

  .banner-header__mobile-content.mobile-subtitle {
    flex-direction: column;
    margin: 8px 0;
  }

  .banner-header span {
    font-size: 18px;
  }

  .banner-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .banner-content__notes {
    width: 100%;
    justify-content: flex-start;
  }
  .banner-content__note .accent-note {
    font-size: 18px;
    line-height: 24px;
  }
}

@media (max-width: 767px) {
  .banner-header {
    padding: 8px 15px;
    min-height: 60px;
  }
  .banner-content__note .price {
    font-size: 22px;
    line-height: 24px;
  }
  .banner-header h2 {
    font-size: 18px;
    line-height: 22px;
  }
  .banner-content__note .note-inner {
    font-size: 14px;
    line-height: 18px;
  }
  .banner-content__note {
    max-width: 238px;
    padding: 8px 0;
    min-height: unset;
  }
  .banner-content {
    margin-top: 30px;
    padding-right: 0;
    padding-bottom: 19px;
    gap: 10px;
  }
  .banner-content .g-button {
    width: auto;
    padding: 14px 65px;
  }
  .banners {
    gap: 20px;
  }
  .banners .g-button {
    margin-top: 10px;
  }
  .banner-content__note .green-note {
    font-size: 18px;
  }
}

.special-el {
  position: absolute;
  top: -8px;
  left: 24px;
}

.special-el img {
  width: 120px;
  height: 230px;
}

.special-el span {
  position: absolute;
  bottom: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  left: 15px;
}

/* gallery of photo */

.carousel {
  position: relative;

  display: flex;
  align-items: center;
  gap: 30px;
}

.carousel__wrapper {
  overflow: hidden;
}

.carousel__container {
  display: flex;
}

.carousel__slide {
  flex-shrink: 0;
  width: auto;
  overflow: hidden;
  pointer-events: none;
  border-radius: var(--site-border-radius);
}

.carousel__caption {
  padding: 5px;
  background-color: var(--site-accent-color);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  text-transform: uppercase;
}

.carousel__nav {
  z-index: 10;
  cursor: pointer;
  transition: var(--site-transition);
}

.carousel__nav svg {
  width: 20px;
  height: 45px;
}

.carousel__nav:hover {
  transform: scale(1.15);
}

.carousel__nav--prev:hover {
  transform: scale(1.15);
}
.carousel__nav:hover svg path {
  stroke: var(--site-accent-color);
}

.carousel {
  margin-bottom: 30px;
}

.swiper-pagination.carousel-pagination {
  position: static;
  display: block;
  margin-bottom: 20px;
  margin-top: -10px;
}
.swiper-pagination.carousel-pagination .swiper-pagination-bullet {
  background: var(--site-white-color);
  opacity: 1;
  width: 10px;
  height: 10px;
}
.swiper-pagination.carousel-pagination .swiper-pagination-bullet-active {
  background: var(--site-accent-color);
}

.swiper-pagination.carousel-pagination.swiper-pagination-lock {
  display: none;
}
@media (max-width: 767px) {
  .carousel {
    margin-bottom: 10px;
  }
  .carousel__nav {
    position: absolute;
  }
  .carousel__nav--next {
    left: -15px;
  }
  .carousel__nav--prev {
    right: -15px;
  }
  .carousel {
    gap: 0;
  }
  .carousel__image {
    max-width: none;
    width: 100%;
    height: auto;
  }
  .carousel__nav svg {
    width: 10px;
  }

  .carousel__slide {
    pointer-events: auto;
  }

  .swiper-pagination.carousel-pagination {
    margin-top: 0;
  }

  .swiper-pagination.carousel-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}

/* note */

.note-inner {
  display: inline-block;
}
.block-note {
  border: 5px solid var(--site-accent-color);
  border-radius: var(--site-border-radius);
  padding: 30px;
}

.block-note span {
  font-weight: 700;
}

@media (max-width: 767px) {
  .block-note {
    padding: 10px;
    border: 3px solid var(--site-accent-color);
  }
}

/* Плюсы */

.featurtes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.featurtes .g-button {
  margin: 50px auto 0;
}

.featurtes h2 {
  margin-bottom: 45px;
  text-align: center;
}

.featurtes .wave_small {
  bottom: 25px;
  left: -230px;
}

.featurtes .wave_big1 {
  top: 30px;
  right: -450px;
}

.featurtes .wave_big2 {
  display: none;
}
.featurtes .wave_small2 {
  bottom: 90px;
  left: -230px;
}
.featurtes .wave_small1 {
  display: none;
}
@media (max-width: 767px) {
  .featurtes .wave_big1 {
    display: none;
  }
  .featurtes .wave_big2 {
    display: block;
    top: -40px;
  }
  .featurtes h2 {
    margin-top: 15px;
    margin-bottom: 20px;
    text-wrap-style: balance;
  }
  .featurtes .wave_small1 {
    display: block;
    left: auto;
    top: 155px;
  }
  .featurtes .g-button {
    margin-top: 29px;
  }
  .featurtes .wave_small2 {
    bottom: -54px;
    left: -27px;
  }
  .featurtes {
    margin-bottom: 60px;
  }
}
.pluses {
  display: flex;
  gap: 30px;
  align-items: center;
  font-weight: 700;
  text-align: center;
}

.pluc-column {
  flex: 0 1 33.33%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.pluc-column svg:last-child {
  display: none;
}
.pluses-wrapper {
  position: relative;
  width: 100%;
}
@media (max-width: 767px) {
  .pluses {
    flex-wrap: wrap;
    margin-top: 52px;
    gap: 11px;
  }
  .pluc-column svg:last-child {
    display: block;
  }
  .plus-column-3 svg:last-child {
    display: none;
  }
  .pluc-column {
    flex: auto;
    gap: 10px;
    padding: 0 20px;
  }
  .plus {
    text-wrap: balance;
  }
  .plus br {
    display: none;
  }
  .pluc-column svg {
    width: 24px;
    height: 24px;
  }
}

/* text note */

span.text-note {
  font-weight: 300;
  font-style: italic;
  font-size: 18px;
  line-height: 26px;
}

span.text-note.small {
  font-size: 16px;
  line-height: 20px;
}

@media (max-width: 767px) {
  span.text-note,
  span.text-note.small {
    font-size: 16px;
    line-height: 22px;
  }
}

/* directory modal */

.directory-modal {
  padding: 30px 20px 20px;
}

.directory-block {
  display: flex;
  gap: 15px;
  text-align: left;
}
.directory-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 0 1 33.33%;
}

.directory-item {
  display: flex;
  gap: 15px;
}
.directory-letter {
  font-weight: 800;
  font-size: 26px;
  line-height: 26px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--site-white-color);
  background-color: var(--site-accent-color);
  height: 48px;
  width: 80px;
  min-width: 80px;
  border-radius: var(--site-border-radius);
}

.directory-items {
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  color: var(--site-dark-accent-color);
  align-self: center;
}

.directory-modal h4 {
  text-align: center;
  width: 100%;
  line-height: 30px;
  margin-bottom: 50px;
}
.directory-column-mobile {
  display: none;
}
@media (max-width: 1000px) {
  .directory-block {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .directory-column {
    gap: 35px;
  }
  .directory-column-desktop {
    display: none;
  }
  .directory-column-mobile {
    display: flex;
    flex: 1;
  }
}
@media (max-width: 767px) {
  .directory-modal {
    padding: 23px 10px 32px 10px;
  }
  .directory-block {
    gap: 0;
    column-gap: 8px;
    justify-content: start;
  }
  .directory-modal h4 {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 30px;
  }
  .directory-item {
    flex-direction: column;
    gap: 20px;
  }
  .directory-letter {
    min-width: 56px;
    width: 56px;
    height: 35px;
    font-size: 16px;
    line-height: 20px;
  }
  .directory-items {
    font-size: 14px;
    line-height: 18px;
    align-self: auto;
  }
}

/* STEP STYLES  START*/
@media (max-width: 767px) {
  .step-image-float-wrapper {
    display: flex;
    flex-direction: column;
  }
  .step-image-float-wrapper img {
    margin: 0 0 20px 0;
  }
  .step1 {
    padding-top: 0;
    padding-bottom: 0;
  }
  .step1 h3,
  .step2 h3,
  .step3 h3,
  .step4 h3,
  .step5 h3 {
    order: -1;
    font-size: 22px;
    text-align: start;
    margin-bottom: 20px;
  }
  .step2,
  .step3,
  .step4,
  .step5 {
    padding-bottom: 0;
  }
}

/* STEP STYLES  END*/

/* FANCYBOX */

.f-button.is-arrow {
  --f-button-svg-width: 15px !important;
  --f-button-svg-height: 15px !important;
}

.f-carousel__toolbar__column .f-button svg {
  stroke: none;
}
.f-carousel__toolbar__column .f-button {
  background: none;
}
.f-carousel__toolbar__column .f-button:active:not([aria-disabled]) {
  background: none;
}

.f-button.is-arrow {
  background: rgba(237, 106, 89, 0.5) !important;
}
