/* styles.css */
.container{
  /*outline: solid 1px red !important;*/
}
[class*=mask-icon] {
    width: 3.6rem;
    height: 3.6rem;
    display: inline-flex;
    align-items: center;
    background: #000;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    position: relative;

}

.row {
  --bs-gutter-x: 1.5rem* 2;
}


::-webkit-scrollbar-thumb{
  background-color:#0076bf;
  border-radius:30px; 
}
::-webkit-scrollbar-track{
  background-color:#fff; 
}
::-webkit-scrollbar{
  width:4px;height:4px;background-color:#fff; ;
  position:relative;z-index:10
}

.mask-icon-pin{
    mask-image: url(svg/pin.svg);
}



.mask-icon-phone{
    mask-image: url(svg/phone.svg);
}

.body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Минимальная высота равна высоте окна */
    padding-top: 38rem;
    overflow-x: hidden ;
}

.wrapper {
    flex: 1; /* Растягиваем контент на всю доступную высоту */
}

p{
  line-height: 125%;
}
  

/* Футер */
.footer {
    background-color: #0076BF;
    color: #fff;
    padding: 4.5rem 0;
    margin-top: auto; /* Чтобы футер прижимался к низу */
  }
  
  /* Ряды футера */
  .footer__row--top {
    margin-bottom: 0;
    justify-content: space-between;
  }
  
  
  /* Колонки футера */
  .footer__col {
    margin-bottom: 20px;
  }
  
  .footer__title {
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 8px;
  }

  .footer__title-link{
    text-decoration: none !important;
  }
  
  .footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer__item {
    margin-bottom: 0;
    line-height: 100%;
  }
  
  .footer__link, .footer__link-contact {
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 400;
    line-height: 100%;
  }

  .footer__link{
    text-transform: uppercase;
  }
  
  .footer__link:hover {
    text-decoration: underline;
  }
  
  .footer__link-contact{
    font-size: 11px;
    margin-bottom: 10px;
    line-height: 150%;
  }

  .footer__link-contact a {
    font-weight: 600;
  }

  /* Логотип и текст */
  .footer__logo-img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
  }
  
  .footer__text {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: left;
    display: flex
;   flex-direction: column;
    gap: 1rem;
    padding-top: 1.7rem;
  }


  .footer a {
    color: #fff;
  }

  .footer__list-social{
    display: flex;
    gap: 1.3rem;
  }

  @media (min-width: 1500px) {
    .footer__title-social{
      text-align: right;
    }
    .footer__list-social{
      justify-content: end;
    }
  }

  .footer__logo * {
    fill: #fff;
  }

  .footer__col--logo{
    display: flex;
    align-items: center;
    gap: 2.7rem;
  }

  .footer__menu-block{
    margin-bottom: 5.8rem;
  }

  .footer__menu-block:last-child{
    margin-bottom: 0;
  }

  .main{
    padding-bottom: 9rem;
  }


  /* Хэдер */
.header {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 38px;
    transition: all .3s;
  }
  
  /* Первый ряд */
  .header__top {
    padding: 15px 0;
  }
  
  .header__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .header__logo-img {
    transition: all 0.3s ease;
  }
  
  .header__logo-text {
    color: rgb(51, 51, 51);
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 4.3rem;
    padding-top: 1.8rem;
    letter-spacing: .05px;
  }

  .header__logo-link{
    gap: 3.5rem;
    display: flex;
    align-items: center;
    text-decoration: none !important;
  }
  
  .header__contacts {
    padding-left: 3rem;
    gap: 15px;
    display: flex;
    flex-direction: column;
    padding-top: 11px;
  }
  
  .header__phone, 
  .header__address {
    display: flex;
    align-items: center;
    font-weight: 300;
    font-size: 15px;
    gap: 2.2rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    line-height: 125%;
    letter-spacing: 0;
  }


  .header__booking{
    padding: 2.5rem 0 0 0;
  }
  
  .header__booking-link {
    font-weight: 500;
    position: relative;
  }

  .header__booking-link:after{
    content: url(svg/jiraff-1.svg);
   position: absolute;
   left: -8rem;
   transition: all .3s ease;
  }
  
  .header__booking-link:hover:after{

  }

  /* Второй ряд: навигация */
  .header__bottom {
    margin-top: 5.8rem;
  }
  
  .header__nav-list {
    display: flex;
      gap: 15px;
      justify-content: space-between;
      width: 100%;
      align-items: center;
  }
  
  .header__nav-link {
    color: #0F3B73;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    
  }
  
  .header__nav-link:hover {
 
  }
  
  /* Подменю */
  .header__submenu {
    display: none;
    position: absolute;
    background-color: #fff;
    padding: 10px;
    border-radius: 25px;
    border: solid 3px #0F3B73;
    left: 10%;
    list-style: none;
    padding: 2.2rem 0 1.4rem;
    transition: all .3 ease ;
    margin-top: 10px;
    min-width: 440px;
    left: 50%; /* Сдвигаем меню на 50% вправо относительно родителя */
    transform: translateX(-50%); 
  }
  
  .header__submenu:before{
    content: '';
    width: 100%;
    height: 20px;
    background: transparent;
    display: block;
    top: -20px;
    position: absolute;
  }


  .header__nav-item:hover .header__submenu {
    display: block;
  }
  .header__nav-item{
    position: relative;
  }
  
  .header__submenu-link {
    text-transform: uppercase;
    text-decoration: none !important;
    display: block;
    font-weight: 300;
    text-align: center;
    font-size: 16px;
    letter-spacing: -0.75px;
    padding: 3px 25px;
    position: relative;
    transition: all .3s ease;
  }
  
  .header__submenu-link::after{
    content: attr(data-title);
    opacity: 1;
    font-weight: 600;
    position: absolute;
    top: 3px;
    width: 100%;
    left: 0;
    color: transparent;
    transition: all .3s ease;
  }

  .header__submenu-link:hover{
    color: transparent
  }

  .header__submenu-link:hover::after{
    color: #0F3B73;
  }



  .nav-item__logo{
    width: 0;
    height: 0;
    display: none;
    transition: all .3s;
  }

  .nav-item__logo-img{
    width: 80px;
    position: relative;
    top: -5px;
    transform: scale(1.25);
  }

  .header--minimized .nav-item__logo{
    display: block;
    width: 80px;
    height: auto;
  }

  .header--minimized.header{
    padding-top: 0;
  }

  .header--minimized .header__top{
    display: none;
  }

  .header--minimized .header__bottom{
      margin-top: 1rem;
      padding-bottom: 1rem;
  }

  
  .jiraff-button{

    min-width: 214px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 66px;
    text-decoration: none !important;
    position: relative;
    border: 0;
    background: transparent;
    margin-left: 10px;
    margin-right: -15px;
    max-width: 210px;
  }

  .jiraff-button.even{
    margin-left: -15px;
    margin-right: 10px;
  }

  .jiraff-button::before{
    content: '';
    border: solid 3px #0F3B73;
    border-radius: 15px;
    background: #fff;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: perspective(240px) rotateY(15deg);
    transition: all 0.3s ease;
  }

  .jiraff-button:nth-child(even)::before, .jiraff-button.even::before{
    transform: perspective(240px) rotateY(-15deg);
    text-indent: 10px;
  }

  .header__nav-item.current .jiraff-button::before,
  .header__nav-item:hover .jiraff-button::before,
  .jiraff-button:hover::before{
    color: #fff;
    background-color: #F7931E;
    /*transform: perspective(240px) rotateY(0deg);*/
  }

  .jiraff-button__title{
    position: absolute;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    left: 0%;
    top: 5%;
    line-height: 100%;
    gap: 0;
    justify-content: center;
    transition: all .3s;
  }

  
  .jiraff-button:nth-child(even) .jiraff-button__title, .jiraff-button.even .jiraff-button__title{
    left: 10%;
  }



  .jiraff-button__subtitle-1{
    font-weight: 600;
    font-size: 18px;
    padding: 0 0 0 3px;
    letter-spacing: .01px;
  }

  .jiraff-button__subtitle-2{
    font-weight: 300;
    font-size: 16px;
  }

  .jiraff-button__hover-icon{
    width: 100%;
    z-index: -1;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .3s;
  }
  .header__nav-item:hover .jiraff-button .jiraff-button__hover-icon,
  .jiraff-button:hover .jiraff-button__hover-icon{
    opacity: 1;
    top: -74%;
  }

  .header--minimized .jiraff-button__hover-icon{
    display: none;
  }


  /* Контейнер слайдера */
.swiper-container {
  max-height: 383px;
  overflow: hidden;
  margin-bottom: 6rem;
  position: relative;

}

/* Слайд */
.swiper-slide {
  
}


/* Изображение */
.slider__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Текст */
.slider__title {
  font-size: 32px;
  font-weight: bold;
  color: #0F3B73;
  margin-bottom: 4rem;
}

.slider__text {
  font-size: 20px;
  font-weight: 300;
  color: #333;
  line-height: 1.5;
}

/* Навигация */
.swiper-button-next,
.swiper-button-prev {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  font-size: 24px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 24px;
}

/* Адаптивность */
@media (max-width: 767.98px) {
  .swiper-slide .row {
    flex-direction: column;
  }

  .slider__image {
    margin-bottom: 20px;
  }
}


.slider__image-wrap {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

.slider__image-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(svg/slider-border.png); 
  background-size: cover;
  z-index: 10;
}

.swiper-slide .col-md-6:first-child{
  padding-left: 7rem;
} 

.swiper-slide .col-md-6:last-child{
  padding: 1rem 5.5rem 0 4rem;
} 

.swiper-button-next, .swiper-button-prev{
  color: transparent;
  background: url(svg/arrow-prev.svg) no-repeat;
  height: 5rem;
  margin-top: -3.6rem;
}

.swiper-button-next{
  transform:rotate(180deg);
  margin-right: 0;
}

.swiper-button-prev{
  margin-left: 0;
}

.map, .map__container{
  height: 60rem;
  position: relative;
}

.map__container{
  position: absolute;
  width: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.map__legend{
  background: #0076BF;
  font-size: 3.2rem;
  border-radius: 2.7rem;
  color: #fff;
  display: inline-block;
  padding: 3rem 4.5rem;
  margin-left: 2.1rem;
  margin-top: 33rem;
  line-height: 120%;
}

/* Блок новостей */
.news {
  padding: 4rem 0 0 0;
  
}


/* Плитка новости */
.news__item {
  display: flex;
  flex-direction: column;
  align-items: center; /* Выравнивание по центру по горизонтали */
  justify-content: center; /* Выравнивание по центру по вертикали */
  text-align: center;
  text-decoration: none; /* Убираем подчеркивание */
  color: inherit; /* Наследуем цвет текста */
  margin-bottom: 3rem; /* Расстояние между плитками */
  text-decoration: none !important;
}

.news__item img{
  transition: all .3s;
}

.news__item:hover img{
  transform: scale(1.1);
}

/* Изображение */
.news__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 25px;
}

/* Текст */
.news__text {
  font-size: 20px;
  font-weight: 400;
  color: #333;
  margin: 2.85rem 0 0;
  align-items: center;
  height: 7rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.2;
  display: flex;
}

/* Адаптивность */
@media (max-width: 767.98px) {
  .news__item {
    margin-bottom: 2rem;
  }
}

.news__title-wrapper{
  border-top: solid 3px var(--bs-heading-color);
  text-align: center;
  margin-bottom: 5px;
}

.news__title{
  display: inline-flex;
  align-items: center;
  background: #fff;
  position: relative;
  top: -34px;
  padding: 0 15px;
}

.news__title:before{
  content: url(svg/j-news.svg);
  transform: scale(1.4);
  margin-right: 6rem;
  position: relative;
  left: 2rem;
}

hr {
  height: 3px;
  background: #0F3B73;
  opacity: 1;
}

.hotlinks{
  margin-top: 6rem;
}

.hotlinks__container{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  max-width: 1410px;
}

.hotlinks__item{
  text-align: center;
  justify-self: center;
  text-decoration: none !important;
  transition: all .3s;
}


.hotlinks__item:hover h4{
  font-weight: 900;
}

.hotlinks__item h4{
  font-weight: 300;
  font-size: 3.2rem;
  margin: 10px 0 0 0;
}

.hotlinks__text{
  margin-top: 4rem;;
}

.hotlinks__text p{
  line-height: 125%;
}

.hotlinks__container2{
  max-width: 1410px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12rem;
  margin-top: 15rem;
  position: relative;
  left: -1.5%;
}

.hotlinks__item2{
  display: flex;
  align-items: center;
}

.hotlinks__item2 .jiraff-button {
  transform: scale(1.15);
}

.icon-hover-orange{
  transition: all .3s;
}
a:hover .icon-hover-orange{
  fill: #F7931E;
}

.category-menu{
  gap: 1px 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.category-menu a{
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  line-height: 200%;
  letter-spacing: 0%;
  text-align: center;
  gap: 10px;
  display: inline-flex;
}

.category-menu a.current{
  font-weight: 900;
}

.category-menu a + a:before{ 
  content: '/';
  font-weight: 300;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination a, .pagination span {
  margin: 0 5px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  font-weight: 400;
}

.pagination a:hover {
  background-color: #f0f0f0;
}

.pagination .active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}