/* ===== МОБИЛЬНЫЕ (до 576px) ===== */
@media (max-width: 575.98px) {
  .body {
    padding-top: 15rem;
  }

  /* Header */
  .header {
    padding-top: 1rem;
  }

  .header__top {
    padding: 0.75rem 0;
  }

  .header__top-row {
    gap: 1rem;
  }

  /* Лого + текст - скрыть текст логотипа */
  .header__logo {
    flex: 0 1 auto;
  }

  .header__logo-text {
    display: none;
  }

  .header__logo-link {
    gap: 0;
  }

  .header__logo-img {
    width: 4rem;
    height: auto;
  }

  /* Контакты - скрыть на мобильных */
  .header__contacts {
    display: none;
  }

  /* Кнопка записи - уменьшить */
  .header__booking {
    flex: 1;
    padding: 0;
  }

  .header__booking-link {
    min-width: auto;
    max-width: 100%;
    transform: scale(0.85);
    transform-origin: right center;
  }

  .header__booking-link:after {
    display: none;
  }

  /* Навигация */
  .header__bottom {
    margin-top: 1rem;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
  }

  .header__nav-item {
    width: 100%;
  }

  .header__nav-link {
    display: block;
    padding: 1rem;
    text-align: left;
  }

  /* Подменю - скрыть на мобильных */
  .header__submenu {
    display: none !important;
  }

  .jiraff-button {
    min-width: auto;
    max-width: 100%;
    height: auto;
    padding: 0.75rem 1rem;
    margin: 0;
  }

  .jiraff-button::before {
    display: none;
  }

  .jiraff-button__title {
    position: static;
    width: auto;
    height: auto;
    font-size: 1.4rem;
    gap: 0.5rem;
  }

  .jiraff-button__subtitle-1 {
    font-size: 1.4rem;
    padding: 0;
  }

  .jiraff-button__subtitle-2 {
    display: none;
  }

  .jiraff-button__hover-icon {
    display: none;
  }

  /* Footer */
  .footer__row {
    flex-direction: column;
  }

  .footer__col {
    width: 100%;
  }

  .footer__menu-block {
    margin-bottom: 3rem;
  }

  .footer__title {
    font-size: 1.8rem;
  }

  .footer__link {
    font-size: 1.2rem;
  }

  .footer__col--logo {
    flex-direction: column;
    gap: 1rem;
  }

  .footer__logo {
    width: 6rem;
  }

  .footer__text {
    font-size: 1.4rem;
  }

  /* Breadcrumb */
  .breadcrumb {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .breadcrumb-item {
    font-size: 1.2rem;
  }

  /* Контент */
  .aricle-content {
    margin-top: 2rem;
  }

  .aricle-content-img {
    margin: 0 0 1.5rem 0;
    float: none;
    width: 100%;
  }

  /* Новости */
  .news__image {
    height: 15rem;
  }

  .news__text {
    font-size: 1.6rem;
    height: 5rem;
  }

  /* Слайдер */
  .swiper-slide .col-md-6:first-child {
    padding-left: 0;
  }

  .swiper-slide .col-md-6:last-child {
    padding: 1rem 0 0 0;
  }

  .slider__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .slider__text {
    font-size: 1.4rem;
  }
}

/* ===== ПЛАНШЕТЫ (576px - 767px) ===== */
@media (min-width: 576px) and (max-width: 767.98px) {
  .body {
    padding-top: 20rem;
  }

  .header {
    padding-top: 1.5rem;
  }

  .header__top {
    padding: 1rem 0;
  }

  .header__logo-text {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .header__logo-img {
    width: 5rem;
    height: auto;
  }

  .header__contacts {
    display: none;
  }

  .header__booking {
    padding: 0;
  }

  .jiraff-button {
    min-width: 18rem;
    max-width: 18rem;
    transform: scale(0.9);
    transform-origin: right center;
  }

  .header__nav-list {
    gap: 0.5rem;
  }

  .header__submenu {
    min-width: 35rem;
  }

  .footer {
    padding: 3rem 0;
  }

  .footer__title {
    font-size: 1.8rem;
  }

  .footer__col--logo {
    gap: 1.5rem;
  }

  .news__image {
    height: 18rem;
  }
}

/* ===== МАЛЕНЬКИЕ ДЕСКТОПЫ (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .body {
    padding-top: 28rem;
  }

  .header__logo-text {
    font-size: 2.8rem;
  }

  .header__logo-img {
    width: 5.5rem;
  }

  .header__top-row {
    gap: 1.5rem;
  }

  .jiraff-button {
    min-width: 19rem;
    max-width: 19rem;
  }

  .header__submenu {
    min-width: 38rem;
  }

  .header__nav-link {
    font-size: 1.5rem;
  }

  .news__image {
    height: 22rem;
  }

  .slider__image-wrap {
    max-width: 55rem;
  }

  .swiper-slide .col-md-6:first-child {
    padding-left: 3rem;
  }

  .swiper-slide .col-md-6:last-child {
    padding: 0 3rem 0 2rem;
  }
}

/* ===== БОЛЬШИЕ ДЕСКТОПЫ (1200px+) ===== */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .body {
    padding-top: 38rem;
  }

  .header__logo-text {
    font-size: 3rem;
    line-height: 100%;
  }

  .header__nav-list {
    gap: 0.5rem;
  }

  .jiraff-button {
    min-width: 18rem;
    max-width: 20rem;
    width: max-content;
  }

  .header--minimized .header__nav-link.jiraff-button {
    min-width: 16rem;
    max-width: 16rem;
    height: 5rem;
    font-size: 1.8rem;
  }

  .header__nav-item:nth-child(odd) > a {
    position: relative;
    right: -7px;
  }

  .header__nav-item:nth-child(even) > a {
    position: relative;
    left: -7px;
  }

  .header__submenu {
    min-width: 44rem;
  }
}

/* ===== ДЕСКТОПЫ (992px - 1199px) ===== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .body {
    padding-top: 24rem;
  }

  .header__logo-text {
    font-size: 2.4rem;
    line-height: 100%;
    padding-top: 10px;
  }

  .header__logo-img {
    width: 9rem;
  }

  .header__submenu {
    min-width: 41rem;
  }

  .header__nav-list {
    gap: 0.5rem;
  }
  .header__nav-link.jiraff-button {
    min-width: 15rem;
    max-width: 15rem;
    height: 5rem;
    font-size: 1.6rem;
  }

  .header__nav-item:nth-child(odd) > a {
    position: relative;
    right: -7px;
  }

  .header__nav-item:nth-child(even) > a {
    position: relative;
    left: -7px;
  }
  .header__contacts {
    gap: 0.5rem;
    padding-top: 0;
  }

  .header__booking {
    padding: 0.5rem 0 0 0;
  }

  .header__logo-link {
    gap: 1.5rem;
  }

  .header__phone,
  .header__address {
    font-size: 13px;
  }

  .header__phone svg,
  .header__address svg {
    width: 2rem;
    height: 2rem;
    gap: 1.2rem;
  }

  .header {
    padding-top: 18px;
  }
  .header__bottom {
    margin-top: 1.8rem;
  }

  .header--minimized .nav-item__logo-img {
    transform: none;
  }
  .header--minimized .header__nav-link.jiraff-button {
    min-width: 13rem;
    max-width: 13rem;
  }

  .header--minimized .header__nav-item:nth-child(odd) > a {
    position: relative;
    right: -3px;
  }

  .header--minimized .header__nav-item:nth-child(even) > a {
    position: relative;
    left: -3px;
  }
  .header--minimized .header__nav-link.jiraff-button {
    font-size: 1.4rem;
  }
}

@media (max-width: 1199.98px) {
  .jiraff-button::before {
    border: solid 2px #0f3b73;
  }
  .breadcrumb-item {
    font-size: 1.4rem;
  }

  :root {
    --bs-body-font-size: 1.8rem;
  }

  h1,
  .h1,
  h2,
  .h2 {
    font-size: 3rem;
  }

  .news__title:before {
    transform: scale(1.2);
    margin-right: 3rem;
    left: 1rem;
  }

  .news__text {
    font-size: 1.8rem;
    margin: 1.8rem 0 0;
  }
  .news {
    padding: 3rem 0 0 0;
  }
  .aricle-content {
    margin-top: 3.3rem;
    margin-bottom: 3rem;
  }
}
