html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	box-sizing: border-box;
}

*, ::before, ::after {
	box-sizing: inherit;
}

.hero-section {
	width: 100%;
	height: calc(100vh - 74px);
	
	/* Каждое свойство строго на своей строке, без лишних флагов */
	background-image: url('pics/grozny-rent.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	
	margin: 0;
	padding: 0;
	border: 0;
	z-index: 1;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}


.div88 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px; /* Задает четкую высоту пустому блоку */
  
  /* Цвет фона, чтобы блок стал видимым (замените на свой) */
  background-color: #f5f7fa; 
  
  /* Дополнительно: можно добавить тонкую рамку, если цвет фона белый */
  /* border: 1px solid #e2e8f0; */
  
  margin: 0;
  padding: 0;
  z-index: 1;
  position: relative;
}





html {
    scroll-behavior: smooth; /* Включает плавную анимацию скролла */
}






*, *:before, *:after {
    box-sizing: inherit;
}

ul {
  display: flex;
  justify-content: center; /* центрирует элементы по горизонтали */
  list-style: none;        /* убирает маркеры списка */
  padding: 0;
  margin: 5px 0;
}

:root {
  --gold-primary: #D4AF37;   /* Классическое золото */
  --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%); /* Эффект сияния */
  --gold-hover: #AA771C;      /* Темное золото для акцентов */
  --bg-white: #FFFFFF;
  --bg-light: #FAFAFA;       /* Мягкий белый для полей */
  --text-dark: #2C2C2C;      /* Мягкий черный вместо чистого черного */
  --text-muted: #8E8E93;
}




/* Общий контейнер, чтобы при смене форм страница не «прыгала» резко по высоте */
.auth-container {
  font-family: sans-serif;
  position: relative;
  max-width: 400px;
  margin: 40px auto;
  min-height: 520px; /* Задает комфортную минимальную высоту */
}

.auth-card {
  background: var(--bg-white);
  padding: 40px 35px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.06);
  text-align: left;
  
  /* Свойства для анимации появления */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Специфический класс скрытия */
.auth-card.hidden {
  display: none;
  opacity: 0;
  transform: translateY(10px); /* Небольшое смещение вниз при скрытии */
}

/* Стили элементов (повторяют прошлые шаги, адаптированные под общие классы) */
.auth-header h2 { color: var(--text-dark); font-size: 24px; font-weight: 500; margin: 0 0 8px 0;text-align:center; }
.auth-header p { color: var(--text-muted); font-size: 14px; margin: 0 0 30px 0; font-weight: 300; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; color: var(--text-dark); font-size: 12px; font-weight: 500; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.input-group input { width: 100%; padding: 14px 16px; border-radius: 8px; border: 1px solid #E5E5EA; background-color: var(--bg-light); box-sizing: border-box; font-family: inherit; transition: all 0.3s ease; }
.input-group input:focus { outline: none; border-color: var(--gold-primary); background-color: var(--bg-white); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); }
.password-label-row { display: flex; justify-content: space-between; }
.forgot-link, .auth-link, .policy-link { color: var(--gold-primary); text-decoration: none;  transition: color 0.2s ease; }
.forgot-link:hover, .auth-link:hover { color: var(--gold-hover); text-decoration: underline; }
.remember-me, .policy-agreement { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: var(--text-muted); font-size: 13px; }
.remember-me input, .policy-agreement input { accent-color: var(--gold-primary); width: 16px; height: 16px; cursor: pointer; }
.policy-agreement label { font-size: 12px; line-height: 1.4; }

.btn-submit { width: 100%; padding: 16px; border: none; border-radius: 8px; background: var(--gold-gradient); color: #1a1a1a; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2); transition: all 0.2s ease; }
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(172, 158, 112, 0.35); }

.auth-footer { text-align: center; margin-top: 25px; border-top: 1px solid #F2F2F7; padding-top: 20px; color: var(--text-muted);  }


 

/* Главный контейнер шапки — выстраивает всё в одну строку */
/* Стили для полоски-гамбургера */
.mobile-menu-toggle {
  display: none; /* Скрыта на десктопе */
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001; /* Поверх всего */
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.3s;
}





      h1 {
        text-decoration: none;
        font-family: Arial, sans-serif;
        font-size: 16px;
        transition: color 0.3s ease;   
        font-weight: normal; /* lighter Тоньше, чем у родителя */
        text-align: center;
      }


.content-wrapper {
    max-width: 75ch;
    margin: 0 auto;
    padding: 20px;
    
    /* Убираем белый фон, чтобы стал виден фон <body> */
    background-color: transparent; 
    
    /* Убираем тень, чтобы она не мешала фону */
    box-shadow: none; 
    
    /* Скругленные углы можно оставить или убрать по желанию */
    border-radius: 10px; 
}




 


/* Стиль для основного текста */
.content-wrapper p,
.content-wrapper li {
    text-align: justify; /* Выравнивание по ширине */
    hyphens: auto; /* Автоматический перенос слов (работает в современных браузерах) */
    margin-bottom: 1.5em; /* Отступы между абзацами */
}

/* Стиль для подзаголовков */
.content-wrapper h2 {
    font-size: 2rem;
    margin-top: 2.5em; /* Большой отступ сверху */
    margin-bottom: 1em;
    text-align: center;
    color: #2c3e50;
    border-left: 5px solid #27ae60; /* Акцент слева */
    padding-left: 20px;

    background-color: transparent; 
}

/* Адаптивность: на маленьких экранах убираем скругление и тень для простоты */
@media (max-width: 870px) {
    .content-wrapper {
        border-radius: 0;
        box-shadow: none;
        padding: 15px;
    }
}

.content-wrapper h2.top-spaced {
  margin-top: 45px;
}








.body-about {
    font-family: Georgia, "Times New Roman", serif;
    color: #333;
    line-height: 1.8;
    margin: 0;
    background-blend-mode: overlay; 
   background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
              url('pics/grozny-rent.jpg') no-repeat center/cover;
  background-color: #f5f5f5   

}


.promo-block {
  position: relative;
  min-height: 500px;
  width: 100%;
  display: block;
  background-image: url('/pics/grozny-rent.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  margin-top: 90px;
}

.promo-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.87); /* 0.4 — прозрачность: чем меньше, тем светлее */
  z-index: 1;
}

.promo-block > * {
  position: relative;
  z-index: 2;
}


        /* Галерея комнат */
/* Галерея комнат */
/* Контейнер галереи */
/* Контейнер галереи занимает ровно 1/3 высоты экрана */
.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    height: 25vh;  
    height: 25svh; 
    gap: 10px;
    width: 100%;
    max-width: calc(100vw - 20px); 
    margin: 0 auto; 
}




.gallery .big-photo {
    grid-row: span 2; 
}

/* Стили для ссылок-контейнеров */
.gallery .item {
    display: block; /* Ссылка должна вести себя как блок */
    width: 100%;
    height: 100%;
    
    /* КРИТИЧЕСКИ ВАЖНО: */
    /* Прячет края картинки, когда она увеличивается через scale */
    overflow: hidden; 
    
    /* Делает курсор в виде пальца при наведении на весь блок */
    cursor: pointer; 

    /* ЗАКРУГЛЕНИЕ УГЛОВ (выберите подходящий радиус) */
    border-radius: 8px; /* 8px — оптимальный современный радиус. Можно изменить на 4px или 12px */
    
    /* Фикс для старых версий Safari, чтобы углы не размывались при анимации */
    transform: translateZ(0); 


    color: #000000;          /* Делает текст ссылки черным */

}

/* На случай, если внутри адреса есть отдельный текст, который тоже нужно перекрасить */
.gallery .item:visited, 
.gallery .item:active, 
.gallery .item:focus {
    color: #000000;          /* Ссылка останется черной даже после клика */
}



/* Стили для самих картинок */
.gallery .item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    
    /* Плавность анимации возврата в исходное состояние */
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

/* ЭФФЕКТ ПРИ НАВЕДЕНИИ (Hover) */
/* Мы ловим наведение на блок (.item:hover) и меняем картинку внутри него (img) */
.gallery .item:hover img {
    opacity: 0.85;            
    transform: scale(1.05);   /* Увеличение на 5% (для 2% используйте 1.02) */
}



p {
  font-size: 1rem;
  margin: 5px 0;
}


.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}















 

/* Элемент галереи со скругленными углами */
.gallery-item {
  overflow: hidden;
  border-radius: 12px; /* Фирменное скругление, отличающееся от аналогов */
  position: relative;
  cursor: pointer;
  background-color: #f0f0f0;
}

/* Позиционирование главного фото: занимает 1 и 2 строки первой колонки */
.main-photo {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* Эффект стильного наведения (Zoom + легкое осветление) */
.gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* Эффект мягкой тени для объема всей карточки при наведении */
.gallery-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease;
}




#photo_description {
    width: 100%;          /* Растянет поле на всю доступную ширину */
    max-width: 500px;     /* Ограничит максимальную ширину, если нужно */
    box-sizing: border-box; /* Защитит от вылезания за края из-за padding */
    padding: 10px;        /* Сделает красивый отступ для текста внутри */
    resize: vertical;     /* Разрешит пользователю растягивать поле только вверх-вниз */
}

 
.room-preview {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Плавный переход для всех эффектов */
}

/* Эффект при наведении мыши */
.room-preview:hover {
    opacity: 0.85;            /* Картинка станет чуть светлее/прозрачнее */
    transform: scale(1.1);   /* Картинка плавно увеличится на 2% */
}



 /* Контейнер для статуса пользователя (имя/вход) */
.user-status {
  /* На десктопе можно центрировать или оставить как есть */
  text-align: center;
}

.user-status .GuestNameText {
  color: #ffffff;             /* базовый цвет текста, чтобы не конфликтовало */
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;        /* чтобы не ломалось на две строки */
}

/* Твои стили для градиента и тени — оставляем без изменений */
a.GuestNameText {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5));
  text-decoration: none;
}

a.GuestNameText:hover {
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.7));
}

 
/* Базовое состояние ссылки "Вход" */
.SignInText, 
.SignInText:visited {
    color: #ffffff !important;         /* Белый цвет, не меняется после клика */
    text-decoration: none !important;  /* Убирает стандартное подчеркивание браузера */
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: color 0.3s ease;
    display: inline-block;             /* Для правильного отображения отступов */
}

/* Состояние при наведении курсора */
.SignInText:hover, 
.SignInText:active {
    color: #d7e5f0 !important;         /* Мягкий цвет при наведении (можно заменить на свой) */
    text-decoration: none !important;  /* Подчеркивание не появится при наведении */
}

 



/* Кнопка закрытия (крестик) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
    z-index: 1001;
}
.close-btn:hover {
    color: #ff4d4d;
}





 /* style.css */

.responsive-row {
  display: flex;
  flex-wrap: wrap;       /* Позволяет элементам переноситься на новую строку */
  justify-content: center; /* Центрирует блоки, если они встали в ряд */
  gap: 20px;             /* Расстояние между текстом и ссылкой */
  background-color: #f8f9fa; /* Светло-серый фон */
  padding: 20px;
  border-radius: 10px;   /* Скругленные углы */
  margin-bottom: 2px;    /* Отступ снизу, чтобы не прилипало к другому контенту */

 
}

/* Базовые стили для кнопки */
.responsive-row .btn-book {
    display: inline-block;
    background-color: #007bff; /* Красивый синий цвет (можно заменить на #28a745 для зеленого) */
    color: #ffffff !important;   /* Белый цвет текста (перебивает глобальные стили ссылок) */
    text-decoration: none !important; /* Убираем подчеркивание */
    
    /* Внутренние отступы, чтобы кнопка была объемной */
    padding: 10px 24px; 
    
    /* Скругление углов (точно такое же, как у картинок вашей галереи) */
    border-radius: 8px; 
    
    font-family: sans-serif;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    
    /* Плавный переход для анимации наведения */
    transition: background-color 0.2s ease, transform 0.1s ease;
    
    /* Отступ слева, чтобы кнопка не прижималась вплотную к адресу */
    margin-left: auto; 
}

/* Эффект при наведении мышки (Hover) */
.responsive-row .btn-book:hover {
    background-color: #0056b3; /* Цвет становится чуть темнее */
    transform: translateY(-1px); /* Кнопка слегка приподнимается */
}

/* Эффект при клике (Active) */
.responsive-row .btn-book:active {
    transform: translateY(1px); /* Кнопка слегка вдавливается */
}




.col {
  /* Магия адаптивности:
     1 (grow) - расти, если есть место
     1 (shrink) - сжиматься, если места мало
     280px (basis) - базовая ширина. Если экран уже 560px, элементы встанут друг под другом */
  flex: 1 1 280px; 
  text-align: center;
}

.link-style {
  color: #010d1a;        /* Цвет ссылки/кнопки */
  text-decoration: none; /* Убираем подчеркивание */
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s ease; /* Плавное изменение цвета при наведении */
}

.link-style:hover {
  color: #004494;        /* Цвет при наведении (темнее) */
  text-decoration: underline;
}
  






/* ==============================================
   1. ПЛАНШЕТЫ И МАЛЕНЬКИЕ НОУТБУКИ (до 992px)
   ============================================== */
@media (max-width: 870px) {
    .gallery {
        /* Меняем пропорции колонок: большая картинка слева, две маленькие справа (в один ряд) */
        /* Показываем только 2 маленькие картинки, остальные перенесутся ниже или скроются */
        grid-template-columns: 2fr 1fr;
        grid-template-rows: repeat(2, 1fr);
        
        /* Немного увеличиваем высоту блока на планшетах, чтобы контент не был мелким */
        height: 30vh;
        height: 30svh;
        gap: 8px; /* Чуть уменьшаем швы */
    }
}

/* ==============================================
   2. МОБИЛЬНЫЕ ТЕЛЕФОНЫ (до 576px)
   ============================================== */
@media (max-width: 870px) {
    .gallery {
        /* На смартфонах перестраиваем всё в 1 колонку */
        grid-template-columns: 1fr;
        /* Делаем 3 ряда: 1-й для большой картинки, 2-й и 3-й для двух маленьких */
        grid-template-rows: 2fr 1fr 1fr;
        
        /* Увеличиваем общую высоту блока, так как картинки теперь стоят друг под другом */
        height: 45vh;
        height: 45svh;
        gap: 6px;
    }

    /* На телефонах большая фотография занимает только ОДИН первый ряд по вертикали */
    .gallery .big-photo {
        grid-row: span 1; 
    }
    
    /* СКРЫВАЕМ ЛИШНИЕ КАРТИНКИ НА МОБИЛЬНЫХ:
       5 картинок не поместятся на экране телефона красиво. 
       Мы оставляем большую (1 шт) + две маленькие (2 шт). Оставшиеся две скрываем, 
       чтобы они не ломали фиксированную высоту сетки. */
    .gallery .item:nth-child(4),
    .gallery .item:nth-child(5) {
        display: none;
    }
}




/* Контейнер для описания (бывший div) */
.room-description-wrapper {
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

/* Текст описания (бывший h1, теперь p) */
.room-description-text {
    margin: 0;
    margin-bottom: 12px;
    
    /* Красивые рамки сверху и снизу */
    border-bottom: 2px solid #d7e5f0;
    
    /* Процентные отступы внутри блока */
    padding-left: 6%;
    padding-right: 6%;
    padding-top: 10px;    /* Небольшой отступ от верхней рамки */
    padding-bottom: 10px; /* Небольшой отступ от нижней рамки */
    
    /* ВЫРАВНИВАНИЕ ПО ШИРИНЕ */
    text-align: justify;
    /* text-align-last: justify;  Форсирует выравнивание по ширине для последней или единственной строки */
     
    
    /* Шрифты и читаемость */
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
}







/* 1. ЛЕНТА ЭЛЕМЕНТОВ */
.rooms-feed {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Большой отступ между разными комнатами */
    width: 100%;
    box-sizing: border-box;
}

/* 2. БЛОК С ФОТОГРАФИЕЙ */
.room-feed-photo {
    /* Точно такие же боковые отступы, как у текста описания */
    padding-left: 6%;
    padding-right: 6%;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px; /* Небольшой отступ снизу до текста */
}

.room-feed-photo img {
    width: 100%;
    height: auto; /* Картинка сжимается/растягивается, строго сохраняя свои пропорции */
    display: block;
    border-radius: 8px; /* Скругление углов */
    cursor: pointer;
    /* Плавный эффект при наведении мышки */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.room-feed-photo img:hover {
    opacity: 0.9;
    transform: scale(1.01); /* Легкий интерактивный зум при наведении */
}


/* СОСТОЯНИЕ КОГДА ОКНО ОТКРЫТО */
/* МОДАЛЬНОЕ ОКНО (ПОДЛОЖКА) */
/* Базовое состояние окна — оно скрыто */
.modal {
    display: flex !important; /* Гарантирует флекс-структуру */
    position: fixed;
    z-index: 9999; /* Выводим на самый передний план поверх календарей */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Затемнение фона */
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease; 
}

/* Состояние когда класс добавлен через JS — окно плавно появляется */
.modal.show {
    opacity: 1 !important; 
    pointer-events: all !important; 
}


/* КАРТИНКА ВНУТРИ В ОРИГИНАЛЬНОМ РАЗМЕРЕ */

.modal-content {
    /* ОТМЕНЯЕМ ВСЕ ОГРАНИЧЕНИЯ РАЗМЕРА: */
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    
    /* Сохраняем физические пиксели файла */
    object-fit: none !important; 
    
    /* Центрируем картинку, если она МЕНЬШЕ экрана, но позволяем скроллить, если БОЛЬШЕ */
    margin: auto; 
    
    /* Курсор-лупа со знаком "минус", показывающий, что клик уменьшит картинку */
    cursor: zoom-out; 
    
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}



/* КРЕСТИК ЗАКРЫТИЯ */
.modal-close {
    /* Меняем position на fixed, чтобы крестик всегда оставался в углу экрана при скролле картинки */
    position: fixed; 
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100; 
    /* Пропускаем клик сквозь крестик, если нужно, но в нашем случае JS закроет окно при клике куда угодно */
}



.modal-close:hover {
    color: #cccccc;
}

/* Увеличение картинки при открытии */
.modal.is-open .modal-content {
    transform: scale(1);
}

 li a.disabled-link {
    color: #6c757d; 
    text-decoration: none;
    cursor: default;
}




 .unique-features-section {
    padding: 40px 20px;
}

.features-list {
    list-style: none;           /* убираем стандартные маркеры */
    padding: 0;
    margin: 0 0 24px 0;         /* отступ снизу */
}

.features-list li {
    position: relative;
    padding-left: 24px;         /* место под кастомный маркер */
    margin-bottom: 16px;       /* отступ между пунктами */
    line-height: 1.5;
}

/* Кастомный маркер (золотая точка/иконка) */
.features-list li::before {
    content: "•";
    color: var(--gold-primary); /* используем твою золотую переменную */
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Жирный текст характеристик */
.features-list strong {
    color: var(--text-dark);
    font-weight: 600;
}



       .sidebar_top { color: #2c3e50; background:#2c3e50;   display: flex; justify-content: space-between; align-items: center;  padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); gap: 15px; flex-wrap: wrap; }
        .sidebar_top h2 { color: #ffffff; font-size: 1.2em;    border-bottom: 2px solid #3498db; padding-bottom: 12px; margin-bottom: 16px; }
        .sidebar h2 { font-size: 1.2em; border-bottom: 2px solid #3498db; padding-bottom: 12px; margin-bottom: 16px; }
       .nav-link { display: block; color: #ecf0f1; text-decoration: none; padding: 12px 10px; border-bottom: 1px solid #34495e; transition: 0.2s; }
        .nav-link:hover { background: #34495e; color: #3498db; }



.card h3 {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #2c3e50;
  white-space: pre-wrap; /* сохранит переносы там, где ты их явно поставил */
}




/* Базовая шапка — всегда чёрная, фиксированная */
/* Базовая шапка (десктоп) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 40px;
  background-color: #1a1a1a;
  color: #fff;
}

.site-header .logo {
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
}

/* Навигация (десктоп) */
.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.site-header nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  transition: color 0.3s ease;
}

.site-header nav ul li a:hover {
  color: #ffc107;
}

/* Контакты и соцсети */
.site-header .contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header .phone-number {
  color: #ffffff;
  text-decoration: none;
}

/* Кнопка гамбургера (скрыта на десктопе) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.3s;
}


/* --- МОБИЛЬНАЯ ВЕРСИЯ (до 768px) --- */
@media (max-width: 870px) {
  .mobile-menu-toggle {
    display: block; /* показываем гамбургер */
  }

  .site-header {
    /* Логотип будет скрыт через display:none, поэтому компоновка простая */
    flex-direction: row;       /* гамбургер и контакты в один ряд */
    align-items: center;       /* по центру по вертикали */
    justify-content: space-between; /* гамбургер слева, контакты справа */

    padding: 12px 15px;         /* компактнее */
    gap: 0;                     /* gap не нужен, т.к. используем space-between */
  }

  /* Скрываем логотип на мобильном */
  .site-header .logo {
    display: none;
  }

  /* Меню: скрыто по умолчанию, вертикально */
  .site-header nav ul {
    display: none;             /* скрыто */
    flex-direction: column;    /* в столбик */
    width: 100%;

    margin: 0;                 /* убираем лишние отступы */
    padding-top: 12px;         /* аккуратный отступ сверху */
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    gap: 8px;                  /* между пунктами меню */
  }

  .site-header nav ul li {
    margin: 0;
    width: 100%;
  }

  .site-header nav ul li a {
    display: block;
    text-align: center;
    padding: 10px 0;           /* удобно для пальца */
    color: #ffffff !important;
    font-size: 16px;           /* читаемо */
  }

  .site-header nav ul li a:hover {
    color: #ffc107 !important;
  }

  /* Показываем меню, когда добавлен класс .menu-open */
  .site-header.menu-open nav ul {
    display: flex;
  }

  /* Анимация гамбургера при открытии */
  .site-header.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Контакты на мобильном: в одну строку, по центру */
  .site-header .contact-info {
    justify-content: center;   /* центрируем внутри блока */
    gap: 12px;                  /* небольшой отступ между телефоном и кнопкой выхода */
    margin: 0;
  }

  .site-header .contact-info a {
    font-size: 14px;            /* чуть меньше шрифт */
    white-space: nowrap;        /* чтобы номер не переносился */
  }
}


#offers {
  scroll-margin-top: 80px; /* подбери значение: 70–90px обычно хватает */
}




  /* Стили для Названия: крупнее, полужирный, всегда черный */
  .room-title-link, 
  .room-title-link:visited, 
  .room-title-link:hover, 
  .room-title-link:active {
    color: #1a1a1a !important; /* Мягкий черный цвет */
    text-decoration: none !important; /* Без подчеркивания */
    font-size: 1.15rem; /* Слегка увеличен */
    font-weight: 600; /* Красивое полужирное выделение */
    letter-spacing: -0.01em; /* Плотный современный шрифт */
  }
  
  /* Эффект при наведении на название для интерактивности */
  .room-title-link:hover {
    color: #4a4a4a !important; 
  }

  /* Стили для Адреса: убрано подчеркивание, сделан аккуратный серый цвет */
  .col.link-style,
  .col.link-style:visited {
    color: #666666 !important;
    text-decoration: none !important; /* Убирает подчеркивание */
    font-size: 0.95rem;
  }
  
  /* Эффект при наведении на адрес */
  .col.link-style:hover {
    text-decoration: underline !important; /* Подчеркивание появится только при наведении */
    color: #0070ba !important; /* Ссылка станет синей при наведении */
  }



   /* Стили для адреса: крупнее, полужирный, всегда черный */
  .room-address-link, 
  .room-address-link:visited, 
  .room-address-link:hover, 
  .room-address-link:active {
    color: #1a1a1a !important; /* Мягкий черный цвет */
    text-decoration: none !important; /* Без подчеркивания */
    font-size: 1.15rem; /* Слегка увеличен */
    font-weight: 400; /* Красивое полужирное выделение */
    letter-spacing: -0.01em; /* Плотный современный шрифт */
  }
  
  /* Эффект при наведении на название для интерактивности */
  .room-address-link:hover {
    color: #4a4a4a !important; 
  }


    /* ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ КНОПКИ "ЗАБРОНИРОВАТЬ" */
  .col.btn-book {
     display: inline-flex;          /* Изменили с inline-block для включения флексбокса */
    align-items: center;          /* Идеальное центрирование текста по вертикали */
    justify-content: center;      /* Центрирование текста по горизонтали */
    
    background-color: #007bff; 
    color: #ffffff !important;   
    text-decoration: none !important; 
    
    padding: 10px 24px; 
    border-radius: 8px; 
    
    font-family: sans-serif;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-left: auto; 
  }
  .col.btn-book:hover {
    background-color: #005a96; /* Эффект при наведении */
  }




.room-title-gold-bg {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    color: #5d4617; /* Темный текст для контраста */
    text-decoration: none; /* Убираем стандартное подчеркивание ссылки */
    transition: all 0.3s ease; /* Плавный переход при наведении */
    
    /* Светлый золотистый градиент */
    background: linear-gradient(135deg, #fef9e7 0%, #f7e5a9 50%, #f3d47a 100%);
    border: 1px solid #e1c268; /* Мягкая рамка */
}

/* Эффект при наведении курсора */
.room-title-gold-bg:hover {
    color: #402f0d; /* Текст становится чуть темнее */
    border-color: #c9a74b; /* Рамка становится четче */
    box-shadow: 0 4px 10px rgba(225, 194, 104, 0.3); /* Появляется мягкое золотистое свечение */
    transform: translateY(-1px); /* Легкий эффект приподнимания кнопки */
}



.room-title-premium {
    display: inline-block;
    font-size: 1.25rem; /* Чуть крупнее стандартного текста */
    font-weight: 600; /* Полужирный, выглядит аккуратнее, чем Bold (700) */
    letter-spacing: 0.5px; /* Небольшое расстояние между буквами для легкости */
    text-decoration: none; /* Убираем стандартное подчеркивание */
    position: relative;
    padding-bottom: 4px; /* Отступ для будущей линии снизу */
    transition: color 0.3s ease;
    
    /* Сдержанный светлый золотисто-бронзовый оттенок */
    color: #0c0c0a; 
}

/* Элегантная тонкая линия под текстом, которая появляется при наведении */
.room-title-premium::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0); /* В обычном состоянии линия сжата */
    height: 1.5px; /* Очень тонкая линия */
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #f7e5a9, #cca43b); /* Нежный градиент для линии */
    transform-origin: bottom right;
    transition: transform 0.3s ease-out; /* Плавное раскрытие линии */
}

/* Эффекты при наведении */
.room-title-premium:hover {
    color: #b38f2e; /* Текст становится благородно-темнее, привлекая внимание */
}

.room-title-premium:hover::after {
    transform: scaleX(1); /* Линия плавно разворачивается во всю длину */
    transform-origin: bottom left;
}









/* Глобальное правило для правильного расчета размеров элементов */
.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer {
  background-color: #ffffff;
  color: #1a1a1a;
  border-top: 1px solid #e5e5e5;
  padding: 60px 0 30px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  width: 100%;
}

/* Наш собственный независимый контейнер */
.footer-container {
  max-width: 1140px; 
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Мобильная версия по умолчанию (1 колонка, все по центру) */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
  text-align: center;
}



/* Заголовки колонок */
.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000000;
}

/* Блок с телефоном (CTA) */
/* Контейнер для кнопок и текста */
.footer-cta {
  display: flex;
  flex-direction: column; /* Выстраивает всё внутри в столбик */
  align-items: center;    /* Центрирует кнопки и текст по горизонтали */
  gap: 12px;              /* Делает одинаковый отступ между всеми элементами */
}

/* Кнопка телефона */
.btn-phone {
  display: block;         /* Позволяет кнопке правильно рассчитывать размеры */
  width: 260px;           /* Задает строгую одинаковую ширину для обеих кнопок */
  text-align: center;     /* Центрирует текст внутри самой кнопки */
  
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  border: 1px solid #000000;
  padding: 12px 24px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Эффект при наведении (опционально, для красоты) */
.btn-phone:hover {
  background-color: #000000;
  color: #ffffff;
}


.footer-small {
  margin: 12px 0 0 0;
  font-size: 0.85rem;
  color: #777777;
}

/* Нижняя плашка (Копирайт и дисклеймер) */
.footer-bottom {
  border-top: 1px solid #e5e5e5;
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
  color: #666666;
}

.footer-legal {
  margin: 0;
  font-size: 0.85rem;
  color: #999999;
}

/* ==========================================================================
   АДАПТИВНОСТЬ ДЛЯ БОЛЬШИХ ЭКРАНОВ
   ========================================================================== */

/* Планшеты (от 2 колонок) */
@media (min-width: 870px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
  .footer-cta {
    align-items: flex-start;
  }
}

/* Компьютеры и ноутбуки (Все 4 колонки в один ряд) */
@media (min-width: 870px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .footer-legal {
    max-width: 500px;
  }
}


/* Полный сброс для структуры списков внутри футера Grozny Rent */
html body .site-footer ul.footer-links {
  display: block !important;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  clear: both !important; /* Отменяет влияние float: left/right */
}

html body .site-footer ul.footer-links li {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important; /* Убирает выстраивание в строку из-за старых стилей */
  margin: 0 0 12px 0 !important; /* Отступ ровно 12px снизу */
  padding: 0 !important;
  text-align: left !important; /* Выравнивание по левому краю */
}

/* Центрирование колонок только на смартфонах */
@media (max-width: 870px) {
  html body .site-footer ul.footer-links li {
    text-align: center !important;
  }
}

html body .site-footer ul.footer-links li a {
  display: block !important; /* Превращает ссылку в полноценный блок во всю ширину li */
  width: 100% !important;
  color: #555555 !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  padding: 2px 0 !important;
  margin: 0 !important;
}

html body .site-footer ul.footer-links li a:hover {
  color: #000000 !important;
  text-decoration: underline !important;
}



.contact-list {
  display: flex;
  flex-direction: column; /* Выстраивает элементы в столбик */
  gap: 10px;              /* Расстояние между телефонами (заменяет <br>) */
  list-style: none;       /* Убирает стандартные маркеры списков (точки) */
  padding: 0;             /* Убирает стандартный внутренний отступ */
  margin: 0;              /* Убирает внешние отступы */
}

/* На всякий случай: выравнивание иконки и текста внутри одной строки */
.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;               /* Расстояние между иконкой и номером телефона */
}



/* Перебиваем "картиночные" стили для формы бронирования */
#bookingModal .modal-content {
    width: 100% !important;
    max-width: 450px !important;
    height: auto !important;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    cursor: default !important; /* Убираем курсор уменьшения картинки */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

/* Красивое оформление полей формы */
.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #34495e;
}
.form-group input, .form-group select, .form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}
.price-calculator-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: bold;
    border: 1px dashed #2ecc71;
}




#calculatedPrice {
    color: #2ecc71;
    font-size: 18px;
}
#formTotalPrice {
    display: none; /* Скрываем техническое поле для отправки цены в БД */
}
.modal-buttons {
    display: flex;
    gap: 10px;
}






/* Сброс системных стилей Edge и Chrome для выпадающего списка месяцев */
.flatpickr-current-month .flatpickr-monthDropdown-months {
    -webkit-appearance: none !important; /* Для Chrome, Safari и Edge на Chromium */
    -moz-appearance: none !important;    /* Для Firefox */
    appearance: none !important;         /* Общий сброс стандартного вида */
    
    background: transparent;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    
    padding: 0 10px 0 5px;
    font-weight: 600;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
}

/* Специальный хак для удаления стандартной стрелочки select в браузерах IE/Edge */
.flatpickr-current-month .flatpickr-monthDropdown-months::-ms-expand {
    display: none;
}


.flatpickr-current-month .flatpickr-monthDropdown-months {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background: transparent;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    padding: 0 10px 0 5px;
    font-weight: 600;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
}

/* Отдельно убираем стандартную стрелочку в старых версиях Edge/IE */
.flatpickr-current-month .flatpickr-monthDropdown-months::-ms-expand {
    display: none;
}






