/* CSS переменные */
:root {
    --primary-color: #0f233e;
    --primary-hover: #0a1a2e;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #475569;
    --bg-light: #f8f9fa;
    --bg-gray: #f5f7fa;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --accent-color: #a8c70a;
    --accent-hover: #f70303;
    
    --transition-base: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    
    --container-padding: 20px;
    --container-max-width: 1450px;
    --header-height: 120px;
    --header-compact-height: 55px;
}

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

/* Убираем все outline и focus-visible рамки */
*:focus,
*:focus-visible,
*:focus-within {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
    outline: none !important;
    box-shadow: none !important;
}

*::-moz-focus-inner {
    border: 0 !important;
    outline: none !important;
}

*::-webkit-focus-ring-color {
    outline: none !important;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
    padding-top: var(--header-height);
    transition: var(--transition-base);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Обновленные стили шапки */
header {
    background: var(--white);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: var(--header-height);
    will-change: transform, height;
}

header.compact {
    height: var(--header-compact-height);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.7);
}

header.hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.nav-content {
    display: flex;
    height: 100%;
    transition: var(--transition-base);
}

.logo a, .mobile-logo-small a, .mobile-logo a {
    display: flex;
    align-items: center;
}

.logo a img, .mobile-logo-small a img, .mobile-logo a img {
    display: block;
    max-height: 100%;
    width: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    width: 250px;
    padding-right: 70px;
    border-right: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.logo img {
    max-width: 100%;
    height: auto;
}

.compact .logo img {
    max-height: 40px;
    width: auto;
}

.compact .logo {
    width: 130px;
    padding-right: 50px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.3px;
    transition: var(--transition-base);
    white-space: nowrap;
}

header.compact .logo-text {
    font-size: 24px;
}

.right-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    transition: var(--transition-base);
    position: relative;
}

.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    height: 50px;
    border-bottom: 1px solid var(--border-color);
    opacity: 1;
    visibility: visible;
    transition: var(--transition-base);
    overflow: visible;
    position: relative;
    z-index: 1003;
}

header.compact .top-section {
    opacity: 0;
    visibility: hidden;
    height: 0;
    border-bottom: none;
    overflow: hidden;
}

.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    transition: var(--transition-base);
    position: relative;
    z-index: 1002;
}

.icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.social-icon {
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.vk-icon {
    width: 20px;
    height: 20px;
}

.contact-info {
    display: flex;
    gap: 30px;
    padding-left: 25px;
    transition: var(--transition-base);
    align-items: center;
    flex-wrap: wrap;
}

.contact-item, .mobile-contact-item-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 300;
    font-size: 14px;
    white-space: nowrap;
}

.contact-item:hover,
.mobile-contact-item-compact:hover {
    color: var(--primary-color);
}

.contact-item:hover .icon,
.mobile-contact-item-compact:hover .icon {
    stroke: var(--primary-color);
}

.top-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    transition: var(--transition-base);
    position: relative;
    z-index: 1004;
}

.top-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.top-menu-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    padding: 5px 0;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.top-menu-link:hover {
    color: var(--primary-color);
}

.arrow-down-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.top-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #f8f8f8;
    min-width: 240px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.25s ease;
    z-index: 10000;
    padding: 7px;
    pointer-events: none;
}

.top-menu-item:hover .top-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.top-dropdown-item {
    padding: 0;
}

.top-dropdown-link {
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-light);
    display: block;
    transition: var(--transition-base);
    font-size: 13px;
    font-weight: 500;
}

.top-dropdown-link:hover {
    color: var(--primary-color);
    background-color: var(--white);
}

.nav-center {
    display: flex;
    justify-content: flex-start;
    flex: 1;
    position: relative;
    transition: var(--transition-base);
    padding-left: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 24px 17px;
    display: block;
    position: relative;
    font-size: 15px;
    white-space: nowrap;
    transition: var(--transition-base);
    text-transform: uppercase;
}

header.compact .nav-link {
    padding: 17px 20px;
    font-size: 15px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: calc(100% - 34px);
}

header.compact .nav-link:hover::after {
    width: calc(100% - 40px);
    bottom: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #f8f8f8;
    min-width: 240px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.25s ease;
    z-index: 1001;
    padding: 8px 0;
    margin-top: 1px;
}

header.compact .dropdown-menu {
    margin-top: 7px;
}

.dropdown-item {
    padding: 0;
}

.dropdown-link {
    padding: 14px 28px;
    text-decoration: none;
    color: #000000;
    display: inline-block;
    transition: var(--transition-base);
    font-size: 15px;
    font-weight: 300;
    position: relative;
}

.dropdown-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 28px;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.dropdown-link:hover {
    color: var(--primary-color);
    background: transparent !important;
}

.dropdown-link:hover::after {
    width: calc(100% - 56px);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.book-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-base);
    flex-shrink: 0;
    letter-spacing: 0.5px;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border: 1px solid var(--primary-color);
    white-space: nowrap;
}

.book-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

header.compact .book-btn {
    padding: 10px 20px;
    font-size: 14px;
}

.mobile-book-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-base);
    letter-spacing: 0.5px;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.mobile-book-btn:hover {
    background: var(--primary-hover);
}

.burger-menu {
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    padding: 20px 12px;
    z-index: 1003;
    position: relative;
    flex-shrink: 0;
}

.burger-icon {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    position: relative;
    transition: var(--transition-base);
}

.burger-icon::before, .burger-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    left: 0;
    transition: var(--transition-base);
}

.burger-icon::before {
    top: -8px;
}

.burger-icon::after {
    bottom: -8px;
}

.burger-menu.active .burger-icon {
    background-color: transparent;
}

.burger-menu.active .burger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.burger-menu.active .burger-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 1002;
    transition: var(--transition-smooth);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-color);
    color: var(--white);
}

.close-menu {
    background: none;
    border: none;
    color: #ebeced;
    font-size: 24px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    opacity: 0.8;
}

.mobile-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.mobile-logo img {
    width: 170px;
    height: auto;
}

.mobile-menu-content {
    flex: 1;
    padding: 20px 0;
}

.mobile-menu-section {
    padding: 0 20px;
    margin-bottom: 25px;
}

.mobile-menu-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-menu {
    list-style: none;
}

.mobile-nav-item {
    margin-bottom: 2px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-base);
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-link:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.mobile-nav-link.active, .mobile-hotels-toggle.active {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-dropdown-toggle svg {
    transition: var(--transition-base);
}

.mobile-dropdown-toggle.active svg {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-base);
    background-color: #f8fafc;
    margin-top: 5px;
}

.mobile-dropdown-menu.active {
    max-height: 300px;
}

.mobile-dropdown-item {
    padding: 0;
}

.mobile-dropdown-link {
    display: block;
    padding: 12px 20px 12px 40px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition-base);
}

.mobile-dropdown-link:hover {
    color: var(--primary-color);
    background-color: #f1f5f9;
}

.mobile-hotels-item {
    margin-bottom: 2px;
}

.mobile-hotels-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 300;
    font-size: 12px;
    transition: var(--transition-base);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    justify-content: center;
    gap: 8px;
}

.mobile-hotels-toggle:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.mobile-hotels-toggle svg {
    transition: var(--transition-base);
}

.mobile-hotels-toggle.active svg {
    transform: rotate(180deg);
}

.mobile-hotels-dropdown {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-base);
    background-color: #f8fafc;
    margin-top: 5px;
}

.mobile-hotels-dropdown.active {
    max-height: 200px;
}

.mobile-hotels-option {
    padding: 0;
}

.mobile-hotels-link {
    display: block;
    padding: 12px 20px 12px 40px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition-base);
}

.mobile-hotels-link:hover {
    color: var(--primary-color);
    background-color: #f1f5f9;
}

.mobile-social-link img {
    width: 22px;
    height: auto;
    opacity: 0.7;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f5f8;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-base);
    border: 1px solid #f1f5f8;
}

.mobile-social-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.mobile-social-link:hover {
    background: #fff;
    color: var(--white);
    border-color: var(--primary-color);
}

.mobile-social-link:hover img {
    opacity: 1;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-header {
    display: none;
    padding: 15px 0;
    flex-direction: column;
    gap: 15px;
}

.mobile-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-logo-small {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.mobile-logo-small img {
    width: 155px;
    height: auto;
    margin: 8px 0 10px;
}

.mobile-contact-info-compact {
    display: flex;
    gap: 20px;
    font-size: 12px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.live-stream-icon {
    background-color: var(--accent-color);
    padding: 3px 8px;
    border-radius: 7px;
    transition: var(--transition-base);
}

.live-stream-icon:hover {
    background-color: var(--accent-hover);
}

.live-stream-icon svg {
    stroke: var(--white);
    color: var(--white);
}

.slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.5s;
}

.slide.active .slide-subtitle {
    transform: translateY(0);
}

.slide-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.7s;
}

.slide.active .slide-title {
    transform: translateY(0);
}

.slide.active .slide-btn {
    transform: translateY(0);
    opacity: 1;
}

.slide-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-base);
    letter-spacing: 1px;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    transform: translateY(40px);
    opacity: 0;
    text-decoration: none;
    display: inline-block;
}

.slide-btn:hover {
    background: #f0f0f0;
    color: var(--primary-color);
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.slider-arrow {
    background: none;
    border: none;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    pointer-events: all;
    opacity: 0.7;
}

.slider-arrow svg {
    width: 70px;
    height: 70px;
    stroke: var(--white);
    stroke-width: 1.8;
    fill: none;
}

.slider-arrow:hover {
    opacity: 1;
}

/* ===== СЕКЦИЯ НОМЕРОВ - ИСПРАВЛЕННАЯ ВЕРСИЯ ===== */
.rooms-section {
    padding: 80px 0;
    background: var(--bg-gray);
    overflow: hidden; /* Это важно - скрываем лишнее */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.rooms-carousel {
    position: relative;
    padding: 0 40px; /* Добавляем отступы для стрелок */
    min-height: 500px;
}

/* Swiper container */
.roomsSwiper {
    width: 100%;
    padding: 20px 0 40px;
    overflow: visible !important; /* Разрешаем выход за границы */
}

.roomsSwiper .swiper-wrapper {
    overflow: visible !important; /* Разрешаем выход за границы */
}

/* Все слайды по умолчанию */
.roomsSwiper .swiper-slide {
    opacity: 0.7;
    transition: all 0.4s ease;
    transform: scale(0.9);
    height: auto;
}

/* Активный слайд - полный размер и яркость */
.roomsSwiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

/* Соседние слайды - чуть меньше активного, но видимые */
.roomsSwiper .swiper-slide-prev,
.roomsSwiper .swiper-slide-next {
    opacity: 0.9;
    transform: scale(0.95);
}

/* Карточка номера */
.room-card {
    background: var(--white);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    opacity: 1;
}

.room-image {
    height: 250px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-content {
    padding: 25px;
    background: var(--white);
}

.room-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.room-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.room-price span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.room-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

.room-buttons {
    display: flex;
    gap: 15px;
}

.room-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
}

.room-btn-details {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.room-btn-details:hover {
    background: var(--primary-color);
    color: var(--white);
}

.room-btn-book {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.room-btn-book:hover {
    border-color: #f0f0f0;
    background: #f0f0f0;
    color: var(--primary-hover);
}

/* Стрелки навигации */
.rooms-section .swiper-button-next,
.rooms-section .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    border-radius: 50%;
    z-index: 10;
}

.rooms-section .swiper-button-next:after,
.rooms-section .swiper-button-prev:after {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
}

.rooms-section .swiper-button-next:hover,
.rooms-section .swiper-button-prev:hover {
    background: var(--primary-color);
}

.rooms-section .swiper-button-next:hover:after,
.rooms-section .swiper-button-prev:hover:after {
    color: var(--white);
}

.rooms-section .swiper-button-prev {
    left: 0;
}

.rooms-section .swiper-button-next {
    right: 0;
}

/* Медиа-запросы для мобильных */
@media (max-width: 768px) {
    .rooms-carousel {
        padding: 0 30px;
    }
    
    .roomsSwiper .swiper-slide {
        transform: scale(0.85);
    }
    
    .roomsSwiper .swiper-slide-active {
        transform: scale(1);
    }
    
    .roomsSwiper .swiper-slide-prev,
    .roomsSwiper .swiper-slide-next {
        transform: scale(0.9);
    }
}

@media (max-width: 576px) {
    .rooms-carousel {
        padding: 0 20px;
    }
    
    .roomsSwiper .swiper-slide {
        transform: scale(0.8);
    }
    
    .roomsSwiper .swiper-slide-active {
        transform: scale(1);
    }
    
    .roomsSwiper .swiper-slide-prev,
    .roomsSwiper .swiper-slide-next {
        transform: scale(0.85);
    }
}

/* ===== СЕКЦИЯ УСЛУГ - БЕЗ ВИДИМОСТИ СОСЕДНИХ СЛАЙДОВ ===== */
.services-section {
    padding: 100px 0;
    background: var(--bg-gray);
    position: relative;
    overflow: hidden;
}

.services-carousel {
    position: relative;
    padding: 0;
    min-height: 450px;
}

.servicesSwiper {
    width: 100%;
    padding: 20px 0 50px;
    overflow: hidden !important;
}

.servicesSwiper .swiper-wrapper {
    overflow: visible !important;
}

.servicesSwiper .swiper-slide {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease;
    height: auto;
}

.service-card {
    background: var(--white);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    background: var(--white);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-base);
    position: relative;
    padding-bottom: 5px;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.service-link:hover {
    color: var(--primary-hover);
}

.service-link:hover::after {
    width: 100%;
}

/* ===== СТИЛИ ДЛЯ НАВИГАЦИИ SWIPER В СЕКЦИИ УСЛУГ ===== */
.services-section .swiper-button-next,
.services-section .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    opacity: 0;
    z-index: 20;
    border-radius: 50%;
    pointer-events: none;
}

.services-section:hover .swiper-button-next,
.services-section:hover .swiper-button-prev {
    opacity: 1;
    pointer-events: auto;
}

.services-section .swiper-button-next:after,
.services-section .swiper-button-prev:after {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition-base);
}

.services-section .swiper-button-next:hover,
.services-section .swiper-button-prev:hover {
    background: var(--primary-color);
}

.services-section .swiper-button-next:hover:after,
.services-section .swiper-button-prev:hover:after {
    color: var(--white);
}

.services-section .swiper-button-prev {
    left: 10px;
}

.services-section .swiper-button-next {
    right: 10px;
}

.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-label {
    display: inline-block;
    font-weight: 300;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    position: relative;
}

.about-label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.about-title {
    font-size: 35px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.about-text-content .about-text b {
    font-size: 18px;
}

.about-image-wrapper {
    position: relative;
}

.image-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 0;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8);
}

.image-frame::before {
    content: "";
    display: block;
    border-style: solid;
    border-width: 0;
    position: absolute;
    z-index: 3;
    border-color: rgba(255, 255, 255, 0.7);
    border-top-width: 1px;
    top: 2rem;
    border-right-width: 1px;
    right: 2rem;
    border-bottom-width: 1px;
    bottom: 2rem;
    border-left-width: 1px;
    left: 2rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.image-frame::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.5);
    top: 2rem;
    right: 2rem;
    bottom: 2rem;
    left: 2rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.image-frame:hover::before {
    transform: translate3d(-0.5rem, -0.5rem, 0);
}

.image-frame:hover::after {
    transform: translate3d(0.5rem, 0.5rem, 0);
    opacity: 1;
}

.image-frame:hover .about-image {
    transform: scale(1.05);
}

.zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(15, 35, 62, 0.9);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: 4;
    font-size: 24px;
    font-weight: 300;
}

.image-frame:hover .zoom-btn {
    opacity: 1;
}

.zoom-btn:hover {
    background: var(--primary-color);
}

.offers-section {
    padding: 100px 0;
    background: var(--white);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.offer-card {
    position: relative;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.offer-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8);
}

.offer-image-wrapper::before {
    content: "";
    display: block;
    border-style: solid;
    border-width: 0;
    position: absolute;
    z-index: 1;
    border-color: rgba(255, 255, 255, 0.7);
    border-top-width: 1px;
    top: 2rem;
    border-right-width: 1px;
    right: 2rem;
    border-bottom-width: 1px;
    bottom: 2rem;
    border-left-width: 1px;
    left: 2rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.offer-image-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.5);
    top: 2rem;
    right: 2rem;
    bottom: 2rem;
    left: 2rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-title {
    font-size: 24px;
    font-weight: 700;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    margin-bottom: 0;
    line-height: 1.2;
}

.offer-details {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}

.offer-details-btn {
    display: inline-block;
    background: transparent;
    color: var(--white);
    border: none;
    padding: 12px 35px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.offer-details-btn::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition-base);
}

.offer-details-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.offer-details-btn:hover::after {
    width: calc(100% - 70px);
}

.offer-card:hover .offer-image {
    transform: scale(1.05);
}

.offer-card:hover .offer-overlay {
    background: rgba(15, 35, 62, 0.2);
}

.offer-card:hover .offer-title {
    transform: translateY(-15px);
}

.offer-card:hover .offer-details {
    opacity: 1;
    transform: translateY(0);
}

.offer-card:hover .offer-image-wrapper::before {
    transform: translate3d(-0.5rem, -0.5rem, 0);
}

.offer-card:hover .offer-image-wrapper::after {
    transform: translate3d(0.5rem, 0.5rem, 0);
    opacity: 1;
}

.offers-button-container {
    text-align: center;
    margin-top: 30px;
}

.offers-all-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 15px 35px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-base);
    letter-spacing: 1px;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
}

.offers-all-btn:hover {
    background: #f0f0f0;
    color: var(--primary-color);
    border-color: #f0f0f0;
}

.advantages-section {
    padding: 100px 0;
    background: var(--primary-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.advantage-icon img {
    width: 40px;
    height: 40px;
}

.advantage-content {
    flex: 1;
}

.advantage-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.5;
}

.advantage-description {
    font-size: 14px;
    color: #f0f0f0;
    line-height: 1.6;
}

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    padding-bottom: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
}

.footer-bottom {
    background-color: var(--primary-hover);
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

.back-to-top {
    position: fixed;
    bottom: 70px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    stroke-width: 1;
    fill: none;
    transition: var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #c0c0c0;
}

.back-to-top:hover svg {
    stroke: var(--primary-hover);
}

.footer-content ul li {
    list-style: none;
}

.footer-info {
    padding: 10px 0 40px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.footer-info__title {
    margin-bottom: 10px;
    font-size: 15px;
    color: #a8c70a;
    text-align: left;
    font-weight: 300;
}

.footer-info__content {
    font-size: 22px;
    color: #fff;
}

.footer-info__content a {
    color: #fff;
    text-decoration: none;
}

.footer-info__content a:hover {
    text-decoration: underline;
}

.footer-info__item.logof img {
    max-width: 230px;
    max-height: 100px;
    width: auto;
    height: auto;
}

.footer-menu {
    padding: 40px 0 10px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-menu__item {
    padding: 0 20px;
}

.footer-menu__link {
    color: #e3e3e3 !important;
    transition: color 500ms ease;
    font-size: 14px;
    text-decoration: none;
}

.footer-menu__link:hover {
    color: #a8c70a !important;
}

.form_book {
    background: #fff;
    border-bottom: 1px solid rgba(15, 35, 62, 0.15);
}

#tl-search-form {
    min-height: 93px;
}

.premiya-link {
    display: block;
    text-decoration: none;
}

.premiya {
    position: relative;
    width: 100%;
    min-height: 58px;
    background: url(../images/premiya.svg);
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.premiya::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.premiya:hover::before {
    background-color: rgba(0, 0, 0, 0.1);
}

.soc_seti img {
    width: 23px;
    height: auto;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 8px;
    transition: var(--transition-base);
}

.soc_seti img:hover {
    background: #dbdbdb;
}

.soc_seti {
    display: flex;
    gap: 8px;
}

.dev {
    height: 23px;
    width: auto;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-dev] {
    position: relative;
    cursor: pointer;
}

[data-dev]::before {
    content: attr(data-dev);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #fff;
    color: #182324;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    pointer-events: none;
    min-width: 120px;
    text-align: center;
}

[data-dev]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

[data-tool_niz] {
    position: relative;
    cursor: pointer;
}

[data-tool_niz]::before {
    content: attr(data-tool_niz);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #f0f0f0;
    color: #182324;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    pointer-events: none;
    min-width: 120px;
    text-align: center;
}

[data-tool_niz]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.live-stream-icon img {
    width: 18px;
    height: auto;
}

.contact-item:hover {
    text-decoration: underline;
}

.info_okom {
    gap: 15px;
    display: flex;
}

.pre_banne {
    height: 50px;
    width: auto;
}

.info_okom iframe {
    border-radius: 10px;
}

.info_okom img {
    transition: var(--transition-base);
}

.info_okom img:hover {
    filter: invert(7%);
    transition: var(--transition-base);
}

/* ===== FIXES FOR GOODSTAY WIDGET ===== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

.goodstay-widget,
.goodstay-widget *,
[class*="goodstay"],
[id*="goodstay"] {
    max-width: 100vw;
    overflow-x: hidden;
}

.goodstay-bobber-container {
    width: auto !important;
    max-width: 100px !important;
}

.goodstay-iframe-container[style*="display: none"],
.goodstay-iframe-container[style*="display:none"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.goodstay-widget-open {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

div[style*="position: fixed"][style*="z-index"] {
    max-width: 100vw;
}

.tl-search-form,
.tl-booking-form,
.tl-container {
    max-width: 100%;
    overflow: hidden;
}

.goodstay-modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

.goodstay-modal-open body {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Медиа-запросы */
@media (max-width: 1500px) {
    .container {
        max-width: 100%;
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .nav-link {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .book-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .top-menu {
        gap: 20px;
    }
    
    .logo {
        width: 220px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    header.compact .logo-text {
        font-size: 22px;
    }
    
    .slide-title {
        font-size: 54px;
    }
    
    .rooms-section .swiper-button-next,
    .rooms-section .swiper-button-prev,
    .services-section .swiper-button-next,
    .services-section .swiper-button-prev {
        width: 50px;
        height: 50px;
    }
    
    .rooms-section .swiper-button-next:after,
    .rooms-section .swiper-button-prev:after,
    .services-section .swiper-button-next:after,
    .services-section .swiper-button-prev:after {
        font-size: 18px;
    }
    
    .about-content {
        gap: 60px;
    }
    
    .about-title {
        font-size: 32px;
    }
    
    .advantages-grid {
        gap: 30px;
    }
    
    .image-frame::before,
    .image-frame::after {
        top: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
        left: 1.5rem;
    }
    
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .offer-card {
        height: 280px;
    }
    
    .offer-image-wrapper::before,
    .offer-image-wrapper::after {
        top: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
        left: 1.5rem;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 992px) {
    header {
        position: static;
        transform: translateY(0) !important;
        height: auto !important;
        box-shadow: none;
    }
    
    header.hidden,
    header.compact {
        transform: translateY(0) !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .right-section {
        display: none;
    }
    
    .logo {
        display: none;
    }
    
    .top-section {
        display: none;
    }
    
    .bottom-section {
        display: none;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .mobile-header {
        padding: 20px 0;
        background: var(--white);
        margin-bottom: 0;
    }
    
    .mobile-logo-small {
        font-size: 20px;
    }
    
    .mobile-book-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .burger-menu {
        padding: 20px 12px;
        background: var(--primary-color);
    }
    
    .mobile-contact-info-compact {
        font-size: 11px;
        gap: 15px;
    }
    
    .slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 42px;
    }
    
    .slide-subtitle {
        font-size: 16px;
    }
    
    .slide-btn {
        padding: 15px 35px;
        font-size: 15px;
    }
    
    .slider-arrow {
        width: 60px;
        height: 60px;
    }
    
    .slider-arrow svg {
        width: 28px;
        height: 28px;
    }
    
    .slider-nav {
        padding: 0 15px;
    }
    
    .rooms-section,
    .services-section,
    .offers-section,
    .advantages-section {
        padding: 80px 0;
    }
    
    .rooms-section .swiper-button-next,
    .rooms-section .swiper-button-prev,
    .services-section .swiper-button-next,
    .services-section .swiper-button-prev {
        width: 45px;
        height: 45px;
    }
    
    .rooms-section .swiper-button-next:after,
    .rooms-section .swiper-button-prev:after,
    .services-section .swiper-button-next:after,
    .services-section .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .about-section {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-title {
        font-size: 30px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .advantage-item {
        gap: 15px;
    }
    
    .advantage-icon {
        width: 50px;
        height: 50px;
    }
    
    .advantage-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .image-frame::before,
    .image-frame::after {
        top: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
        left: 1.5rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .mob_hotels .mobile-hotels-link {
        font-size: 14px;
    }
    
    .mob_hotels {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 12px;
    }
    
    .mobile-header-bottom {
        padding: 20px 15px 5px 15px;
        border-top: 1px solid #eaeaea;
    }
    
    .kno_ssilki {
        display: flex;
        gap: 30px;
        padding-top: 10px;
    }
    
    .mobile-logo img {
        width: 170px;
    }
    
    .mobile-logo-small {
        font-size: 18px;
    }
    
    .mobile-logo-small img {
        width: 155px;
        margin: 8px 0 10px;
    }
    
    .mobile-book-btn {
        padding: 10px 12px;
        font-size: 15px;
        font-weight: 300;
    }
    
    .mobile-menu {
        width: 280px;
    }
    
    .mobile-header-top {
        flex-direction: column;
    }
    
    .mobile-contact-info-compact {
        flex-direction: column;
        gap: 5px;
        align-items: center;
        padding: 10px 0;
    }
    
    .mobile-contact-info-compact .icon {
        width: 14px;
        height: 14px;
        margin-right: 5px;
    }
    
    .mobile-contact-item-compact {
        font-size: 14px;
    }
    
    .slider {
        height: 450px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .slide-subtitle {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .slide-btn {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
    }
    
    .slider-arrow svg {
        width: 24px;
        height: 24px;
    }
    
    .rooms-section,
    .services-section,
    .offers-section,
    .advantages-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .room-title,
    .service-title {
        font-size: 20px;
    }
    
    .room-price {
        font-size: 18px;
    }
    
    .room-buttons {
        flex-direction: column;
    }
    
    .rooms-section .swiper-button-next,
    .rooms-section .swiper-button-prev,
    .services-section .swiper-button-next,
    .services-section .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .rooms-section .swiper-button-next:after,
    .rooms-section .swiper-button-prev:after,
    .services-section .swiper-button-next:after,
    .services-section .swiper-button-prev:after {
        font-size: 14px;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .about-title {
        font-size: 28px;
    }
    
    .about-text {
        font-size: 15px;
    }
    
    .image-frame::before,
    .image-frame::after {
        top: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
        left: 1.5rem;
    }
    
    .image-frame:hover::before {
        transform: translate3d(-0.375rem, -0.375rem, 0);
    }
    
    .image-frame:hover::after {
        transform: translate3d(0.375rem, 0.375rem, 0);
    }
    
    .zoom-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .offer-card {
        height: 280px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .offer-title {
        font-size: 22px;
    }
    
    .offer-image-wrapper::before,
    .offer-image-wrapper::after {
        top: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
        left: 1.5rem;
    }
    
    .advantages-grid {
        gap: 25px;
    }
    
    .advantage-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .advantage-description {
        font-size: 15px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .servicesSwiper .swiper-pagination {
        margin-top: 20px;
    }
    
    .servicesSwiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .servicesSwiper .swiper-pagination-bullet-active {
        width: 24px;
    }
    
    /* Корректировка для видимости краев на мобильных */
    .rooms-carousel {
        margin: 0 -10px;
    }
    
    .roomsSwiper .swiper-slide {
        transform: scale(0.85);
    }
    
    .roomsSwiper .swiper-slide-active,
    .roomsSwiper .swiper-slide-next,
    .roomsSwiper .swiper-slide-prev {
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .slide-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .slide-content {
        max-width: 90%;
    }
    
    .slide-btn {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
    }
    
    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .slider-nav {
        padding: 0 10px;
    }
    
    .rooms-section,
    .services-section,
    .offers-section,
    .advantages-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .room-content,
    .service-content {
        padding: 20px;
    }
    
    .rooms-section .swiper-button-next,
    .rooms-section .swiper-button-prev,
    .services-section .swiper-button-next,
    .services-section .swiper-button-prev {
        display: none;
    }
    
    .about-section {
        padding: 50px 0;
    }
    
    .about-title {
        font-size: 26px;
    }
    
    .image-frame::before,
    .image-frame::after {
        top: 1.25rem;
        right: 1.25rem;
        bottom: 1.25rem;
        left: 1.25rem;
    }
    
    .image-frame:hover::before {
        transform: translate3d(-0.3125rem, -0.3125rem, 0);
    }
    
    .image-frame:hover::after {
        transform: translate3d(0.3125rem, 0.3125rem, 0);
    }
    
    .zoom-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .offer-card {
        height: 250px;
    }
    
    .offer-title {
        font-size: 20px;
    }
    
    .offer-details-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .offer-image-wrapper::before,
    .offer-image-wrapper::after {
        top: 1.25rem;
        right: 1.25rem;
        bottom: 1.25rem;
        left: 1.25rem;
    }
    
    .offers-all-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .advantage-item {
        gap: 20px;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .advantage-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    /* Дополнительная корректировка для видимости краев */
    .rooms-carousel {
        margin: 0 -5px;
    }
    
    .roomsSwiper .swiper-slide {
        transform: scale(0.8);
    }
    
    .roomsSwiper .swiper-slide-active,
    .roomsSwiper .swiper-slide-next,
    .roomsSwiper .swiper-slide-prev {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        max-width: 320px;
    }
    
    .mobile-logo-small {
        font-size: 18px;
    }
    
    .mobile-header {
        padding: 15px 0;
        gap: 12px;
    }
    
    .slider {
        height: 350px;
    }
    
    .slide-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .slide-subtitle {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .slide-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .offer-card {
        height: 250px;
    }
    
    .offer-title {
        font-size: 18px;
    }
    
    .offer-details-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .offer-image-wrapper::before,
    .offer-image-wrapper::after {
        top: 1rem;
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
    }
    
    .advantage-item {
        gap: 15px;
    }
    
    .advantage-icon {
        width: 50px;
        height: 50px;
    }
    
    .advantage-icon svg {
        width: 35px;
        height: 35px;
    }
    
    /* Финальная корректировка для очень маленьких экранов */
    .roomsSwiper .swiper-slide {
        transform: scale(0.75);
    }
    
    .roomsSwiper .swiper-slide-active,
    .roomsSwiper .swiper-slide-next,
    .roomsSwiper .swiper-slide-prev {
        transform: scale(1);
    }
}
