/* =============================================================
   static/css/site.css  —  актуальная версия
   ============================================================= */

/* ── Шрифт GardensC ── */
@font-face {
  font-family: 'GardensC';
  src: url('../fonts/GardensC.eot');
  src: url('../fonts/GardensC.eot?#iefix') format('embedded-opentype'),
       url('../fonts/GardensC.woff')        format('woff'),
       url('../fonts/GardensC.ttf')         format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── КРИТИЧНО: Резервируем место для .new-hero-features ДО загрузки шрифтов ── */
/* Это устраняет CLS 0.137 от смещения блока при загрузке Inter/bnovowidget */
.new-hero-features {
  /* Фиксируем минимальную высоту чтобы блок не прыгал при загрузке шрифтов */
  min-height: 80px; /* высота одной строки фич */
  contain: layout style; /* изолируем от влияния внешних шрифтов */
}

.new-hero-feature-item {
  /* Фиксируем высоту строки независимо от шрифта */
  min-height: 76px;
  box-sizing: border-box;
}

.new-hero-feature-title,
.new-hero-feature-sub {
  /* size-adjust компенсирует разницу между fallback и загруженным шрифтом */
  font-size-adjust: 0.5;
}

/* ── Мобильная кнопка: убираем некомбинированную анимацию box-shadow ── */
/* БЫЛО: animation: pulse-call — вызывает layout, не GPU-ускорена */
/* СТАЛО: используем filter или opacity — GPU-ускорено, не вызывает CLS */
@keyframes pulse-call {
  0%, 100% {
    /* ИСПРАВЛЕНО: opacity вместо box-shadow — GPU-ускорено */
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05);
  }
}

.mobile-call-button {
  /* Убираем box-shadow из анимации, оставляем статичный */
  box-shadow: 0 4px 20px rgba(16,185,129,.4);
  will-change: transform, opacity; /* подсказка браузеру для GPU */
}

/* ─────────────────────────────────────────────────────────────
   БАЗОВЫЕ СТИЛИ
   ───────────────────────────────────────────────────────────── */

html { height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #f6f7fb;
  margin: 0; padding: 0;
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main   { flex: 1 0 auto; }
footer { flex-shrink: 0; }

/* Глобальный шрифт */
*, *::before, *::after {
  font-family: 'Manrope', Arial, sans-serif !important;
}

/* Заголовки — Alumni Sans */
h1, h2, h3, h4, h5, h6,
.hd-about-title, .hd-adv-title, .hd-units-title,
.hd-gallery-section-title, .hd-location-title,
.ud-section-title, .ud-tl-section-title, .ud-other-title,
.ms-title, .mgmt-hero h1, .mgmt-modal-title,
.faq-contact-title, .new-hero-booking-title,
.hotel-card-title, .hotels-hero h1,
.g-section-title, .contact-cta h3, .cm-title,
.stat-card .val, .sc-phone, .faq-phone,
.apartment-title, .offers-section-header h2,
.map-apartments-title h2, .wide-banner-content h2 {
  font-family: 'Alumni Sans', Arial, sans-serif !important;
  letter-spacing: 0.02em;
}

/* Логотип — GardensC */
.mh-logo-text,
.site-logo-text {
  font-family: 'GardensC', Georgia, serif !important;
}

/* Навигация — Alumni Sans */
.site-nav-link, .offcanvas-nav-link, .mh-link, .nav-link {
  font-family: 'Alumni Sans', Arial, sans-serif !important;
  font-size: 1rem !important;
  letter-spacing: 0.03em;
}

/* Кнопки — Alumni Sans */
.btn, .cm-submit, .mgmt-submit, .apartment-actions .btn {
  font-family: 'Alumni Sans', Arial, sans-serif !important;
  letter-spacing: 0.05em;
}

/* Телефоны — Alumni Sans */
.header-phone, .mh-phone, .faq-phone, .sc-phone {
  font-family: 'Alumni Sans', Arial, sans-serif !important;
}

/* Формы — Manrope */
input, select, textarea {
  font-family: 'Manrope', Arial, sans-serif !important;
}

/* Утилиты */
.fw-700 { font-weight: 700; }

/* ─────────────────────────────────────────────────────────────
   ВНУТРЕННИЕ СТРАНИЦЫ
   ───────────────────────────────────────────────────────────── */

body:not(.home-page):not(.mgmt-page) main {
  padding-top: 72px;
}

body:not(.home-page):not(.mgmt-page) section:first-of-type {
  margin-top: 0;
  padding-top: 40px;
  padding-bottom: 40px;
  background: #f6f7fb;
}

body:not(.home-page) h1 {
  color: #111827;
  font-weight: 700;
  margin-bottom: 20px;
}

body:not(.home-page) .card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: all .3s ease;
}

body:not(.home-page) .card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  transform: translateY(-4px);
}

body:not(.home-page) .alert {
  border-radius: 12px;
  border: none;
}

body:not(.home-page) .alert-info {
  background: linear-gradient(135deg,rgba(13,110,253,.1),rgba(13,110,253,.05));
  color: #0a58ca;
}

@media (max-width: 768px) {
  body:not(.home-page):not(.mgmt-page) main { padding-top: 80px; }
  body:not(.home-page):not(.mgmt-page) section:first-of-type { padding-top: 30px; }
}

/* ─────────────────────────────────────────────────────────────
   PRELOADER
   ───────────────────────────────────────────────────────────── */

.preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}

.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-content { text-align: center; }

.preloader-logo {
  max-width: 250px;
  max-height: 250px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .7; transform: scale(.95); }
}

.preloader-spinner {
  width: 50px; height: 50px;
  border: 4px solid rgba(13,110,253,.1);
  border-top-color: #0d6efd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  transition: box-shadow .3s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.site-header.header-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.site-header .navbar { padding: 0; }

/* Логотип */
.site-logo-text {
  font-family: 'GardensC', Georgia, serif !important;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  letter-spacing: .3px;
  transition: color .2s;
  line-height: 1;
}

.site-logo-text:hover { color: #0d6efd; }
.logo-accent  { color: #0d6efd; }
.logo-divider { color: #d1d5db; margin: 0 4px; }
.logo-sub     { color: #111827; }

.site-logo-slogan {
  font-size: .8rem;
  color: #9ca3af;
  letter-spacing: .3px;
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
}

/* Два телефона в шапке */
.header-phones { line-height: 1; }

.header-phone {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.10rem;
  color: #111827;
  transition: color .2s;
  white-space: nowrap;
  display: block;
}

.header-phone:hover { color: #0d6efd; }

.header-phone-2 {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.10rem;
  color: #111827;
  transition: color .2s;
  white-space: nowrap;
  display: block;
}

.header-phone-2:hover { color: #0d6efd; }

/* CTA кнопка */
.header-cta-btn {
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 18px;
}

/* Кнопка меню */
.menu-toggle {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  color: #111827;
  transition: color .2s;
  padding: 6px 0;
  font-family: inherit;
}

.menu-toggle:hover { color: #0d6efd; }

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all .3s ease;
}

/* Навигация десктоп */
.site-nav { flex-wrap: nowrap; }

.site-nav-link {
  display: inline-block;
  padding: 6px 12px;
  color: #374151;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
}

.site-nav-link:hover {
  color: #0d6efd;
  background: rgba(13,110,253,.06);
}

.site-nav-link.active {
  color: #0d6efd;
  background: rgba(13,110,253,.08);
  font-weight: 600;
}

/* Offcanvas */
.offcanvas { background: #fff; max-width: 320px; }

.offcanvas-nav-link {
  display: block;
  padding: 12px 16px;
  color: #111827;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all .2s;
}

.offcanvas-nav-link:hover {
  color: #0d6efd;
  background: rgba(13,110,253,.06);
}

.offcanvas-nav-link.active {
  color: #0d6efd;
  background: rgba(13,110,253,.08);
  font-weight: 600;
}

.social-offcanvas-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  transition: background .2s;
}

.social-offcanvas-link:hover { background: #e5e7eb; }

.menu-contacts { color: #6b7280; font-size: .9rem; }

/* ─────────────────────────────────────────────────────────────
   НОВЫЙ HERO (главная страница)
   ───────────────────────────────────────────────────────────── */

.new-hero-section {
  background: #f6f7fb;
  padding-top: 85px;
  padding-bottom: 0;
  /* Для sticky нужен scroll-контейнер */
}

.new-hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px 340px;
  grid-template-rows: clamp(400px, 55vw, 600px);
  gap: 6px;
  border-radius: 16px;
  overflow: visible; /* ← ключевое изменение */
  position: relative;
}

/* Скругление через псевдоэлемент или clip */
.new-hero-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  z-index: 0;
}

.new-hero-slider,
.new-hero-photos > * {
  border-radius: 0;
  overflow: hidden;
}

/* Первый элемент — скругление слева */
.new-hero-slider {
  border-radius: 16px 0 0 16px;
}

/* Booking — sticky */
.new-hero-booking {
  position: sticky;
  top: 85px;
  align-self: start;
  height: fit-content;
  overflow: visible !important;
  z-index: 20;
  /* Скругление правой стороны */
  border-radius: 0 16px 16px 0;
  overflow: hidden;
}

/* Слайдер */
.new-hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 0;
  /* Убираем любые ограничения высоты — пусть растягивается по grid */
}

.heroGallerySwiper {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.heroGallerySwiper .swiper-wrapper,
.heroGallerySwiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.new-hero-slide-bg {
  width: 100%;
  height: 100%;
  /* cover заполнит весь блок без пустых полос */
  background-size: cover;
  /* Смещаем фокус вправо, чтобы зашитый в картинку текст не обрезался */
  background-position: center right;
  background-repeat: no-repeat;
  background-color: #111827;
}

/* Для слайдов где нужно cover (если изображение подходит по пропорциям) */
.new-hero-slide-bg.cover-mode {
  background-size: cover;
}

.new-hero-slide-default {
  background: linear-gradient(135deg,#1a1a2e,#16213e);
}

/* 2 фото */
.new-hero-photos {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  min-height: 0;
}

.new-hero-photo-top,
.new-hero-photo-bottom { position: relative; overflow: hidden; }

.new-hero-photo-bg {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .5s ease;
}

.new-hero-photo-default-1 { background: linear-gradient(135deg,#0d6efd,#3b82f6); }
.new-hero-photo-default-2 { background: linear-gradient(135deg,#10b981,#059669); }

.new-hero-photo-top:hover .new-hero-photo-bg,
.new-hero-photo-bottom:hover .new-hero-photo-bg { transform: scale(1.05); }

@media (max-width: 1199px) {
  .new-hero-grid {
    grid-template-columns: 1fr 240px 300px;
    grid-template-rows: clamp(360px, 50vw, 520px);
  }
}

@media (max-width: 991px) {
  .new-hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: clamp(300px, 45vw, 420px) auto;
    gap: 4px;
  }
}

@media (max-width: 767px) {
  .new-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: clamp(240px, 60vw, 360px) 180px auto;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .new-hero-grid {
    grid-template-rows: clamp(200px, 55vw, 300px) 150px auto;
  }
}

/* Блок бронирования */
.new-hero-booking-inner {
  padding: 0;
  overflow: visible !important;
}

#_bn_widget_ { position: relative; z-index: 10; }

#_bn_widget_ iframe,
[id^="_bn_iframe_"] {
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

#_bn_widget_ > div { overflow: visible !important; z-index: 10 !important; }

.new-hero-booking-title {
  font-family: 'Playfair Display','GardensC',Georgia,serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 14px;
  line-height: 1.3;
}

.new-hero-booking-badge {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #6b7280;
  font-size: .78rem;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.new-hero-booking-badge svg { flex-shrink: 0; margin-top: 1px; color: #0d6efd; }

/* Преимущества */
.new-hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 2px;
  background: #e5e7eb;
  margin-top: 6px;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.new-hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #fff;
  transition: background .25s;
  cursor: default;
}

.new-hero-feature-item:hover { background: #f8f9fb; }

.new-hero-feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(13,110,253,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
}

.new-hero-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.new-hero-feature-title {
  color: #1f2937;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.new-hero-feature-sub {
  color: #6b7280;
  font-size: .75rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Карточки акций в hero */
.new-hero-offer-card {
  display: block;
  width: 100%; height: 100%;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.new-hero-offer-card .new-hero-photo-bg { transition: transform .5s ease; }
.new-hero-offer-card:hover .new-hero-photo-bg { transform: scale(1.06); }

.new-hero-offer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,rgba(0,0,0,.75) 0%,rgba(0,0,0,.1) 60%,transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  z-index: 1;
}

.new-hero-offer-label {
  display: inline-block;
  background: #0d6efd;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  width: fit-content;
}

.new-hero-offer-title {
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.new-hero-offer-desc {
  color: rgba(255,255,255,.8);
  font-size: .75rem;
  line-height: 1.4;
}

/* Адаптив Hero */
@media (max-width: 1199px) {
  .new-hero-grid { grid-template-columns: 1fr 240px 300px; grid-template-rows: 460px; }
}

@media (max-width: 991px) {
  .new-hero-section { padding-top: 80px; }
  .new-hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px auto; gap: 4px; }
  .new-hero-features { grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); }
}

@media (max-width: 767px) {
  .new-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 180px auto;
    border-radius: 12px;
  }
  .new-hero-photos { grid-template-rows: 1fr; grid-template-columns: 1fr 1fr; gap: 4px; }
  .new-hero-features { grid-template-columns: 1fr 1fr; border-radius: 0 0 12px 12px; }
  .new-hero-feature-item { padding: 14px 16px; }
  .new-hero-feature-title { font-size: .8rem; }
  .new-hero-feature-sub { display: none; }
}

@media (max-width: 480px) {
  .new-hero-grid { grid-template-rows: 240px 150px auto; border-radius: 10px; }
  .new-hero-features { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   КАРТА И АПАРТАМЕНТЫ
   ───────────────────────────────────────────────────────────── */

.map-apartments-section {
  background: #f6f7fb;
  padding: 60px 0;
}

.map-apartments-title { text-align: center; margin-bottom: 40px; }

.map-apartments-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.map-apartments-title p { color: #6b7280; font-size: 1.1rem; }

/* Список апартаментов */
.apartments-items { display: flex; flex-direction: column; gap: 20px; }

.apartment-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: all .3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.apartment-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  transform: translateY(-4px);
}

.apartment-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #0d6efd;
  transform: scaleY(0);
  transition: transform .3s ease;
}

.apartment-item:hover::before,
.apartment-item.active::before { transform: scaleY(1); }

.apartment-item.active {
  background: linear-gradient(135deg,rgba(13,110,253,.04),rgba(13,110,253,.08));
  box-shadow: 0 8px 24px rgba(13,110,253,.12);
  transform: translateY(-4px);
}

.apartment-item-inner { padding: 24px; }

.apartment-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  transition: transform .3s ease;
}

.apartment-item:hover .apartment-image { transform: scale(1.02); }

.apartment-image-placeholder {
  background: linear-gradient(135deg,#e5e7eb,#d1d5db);
  display: flex;
  align-items: center;
  justify-content: center;
}

.apartment-image-placeholder::after {
  content: '📷';
  font-size: 2rem;
  opacity: .4;
}

.apartment-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
  line-height: 1.3;
}

.apartment-metro {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: #111827;
  font-weight: 500;
  margin-bottom: 10px;
}

.metro-icon { flex-shrink: 0; width: 22px; height: 22px; }
.metro-station { font-weight: 600; }
.metro-distance { color: #6b7280; font-weight: 400; font-size: .85rem; }

.apartment-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: .9rem;
  margin-bottom: 12px;
}

.apartment-location svg { flex-shrink: 0; color: #0d6efd; }

.apartment-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.apartment-actions .btn { font-weight: 600; padding: 9px 18px; font-size: .875rem; }


/* ── Карусель апартаментов — компактные стрелки ── */
/* ── Карусель апартаментов — компактные стрелки ── */
.apartment-carousel .swiper-button-prev,
.apartment-carousel .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 28px;
  height: 28px;
  border-radius: 50%;

  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;

  color: #111827;
  box-shadow: 0 1px 6px rgba(0,0,0,.20);
  transition: background-color .2s, transform .2s, box-shadow .2s;

  display: flex;
  align-items: center;
  justify-content: center;
}

.apartment-carousel .swiper-button-prev:hover,
.apartment-carousel .swiper-button-next:hover {
  background-color: #f3f4f6;
  box-shadow: 0 2px 10px rgba(0,0,0,.22);
  transform: translateY(-50%) scale(1.08);
}

/* Скрываем дефолтный текст Swiper */
.apartment-carousel .swiper-button-prev::after,
.apartment-carousel .swiper-button-next::after {
  display: none !important;
  content: '' !important;
}

/* SVG-стрелки через background-image */
.apartment-carousel .swiper-button-prev {
  left: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}

.apartment-carousel .swiper-button-next {
  right: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

/* Пагинация */
.apartment-carousel .swiper-pagination { bottom: 5px !important; }
.apartment-carousel .swiper-pagination-bullet {
  width: 5px; height: 5px;
  background: rgba(255,255,255,.7);
  opacity: 1;
}
.apartment-carousel .swiper-pagination-bullet-active {
  background: #fff;
  width: 14px;
  border-radius: 3px;
}

/* Карта */
.map-container {
  position: sticky;
  top: 100px;
  height: 700px;
  background: #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  display: block;
}

#ymap, .ymap-full {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  min-height: 300px;
}

/* Адаптив карты и апартаментов */
@media (max-width: 1199px) { .map-container { height: 620px; } }

@media (max-width: 991px) {
  .map-apartments-section { padding: 40px 0; }
  .map-container { position: relative !important; top: 0 !important; height: 400px !important; margin-top: 24px; border-radius: 12px; }
  .apartment-item-inner { padding: 18px; }
  .apartment-image { height: 170px; }
  .apartment-title { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .apartment-actions { flex-direction: column; }
  .apartment-actions .btn { width: 100%; text-align: center; }
}

@media (max-width: 576px) {
  .apartments-items { gap: 14px; }
  .apartment-item-inner { padding: 14px; }
  .apartment-image { height: 150px; }
  .map-container { height: 280px !important; border-radius: 10px; }
}

/* ─────────────────────────────────────────────────────────────
   WIDE BANNER
   ───────────────────────────────────────────────────────────── */

.wide-banner {
  position: relative;
  min-height: 380px;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border: none !important;
}

.wide-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wide-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(17,24,39,.75),rgba(17,24,39,.55));
  z-index: 1;
}

.wide-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wide-banner-content h2 {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
  max-width: 700px;
}

.wide-banner-description {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.wide-banner-content .btn { font-weight: 600; padding: 14px 40px; font-size: 1rem; transition: all .3s ease; }

.wide-banner-content .btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,.8);
  color: #fff;
}

.wide-banner-content .btn-outline-light:hover {
  background: #fff;
  color: #0d6efd;
  border-color: #fff;
  transform: translateY(-2px);
}

.wide-banner-content .btn-primary { background: #fff; color: #0d6efd; border: none; }
.wide-banner-content .btn-primary:hover { background: #f8f9fa; color: #0a58ca; transform: translateY(-2px); }

@media (max-width: 768px) {
  .wide-banner { min-height: 300px; }
  .wide-banner-content { padding: 40px 24px !important; }
  .wide-banner-content h2 { font-size: 1.5rem; }
  .wide-banner-description { font-size: .95rem; }
  .wide-banner-content .btn { padding: 12px 32px; }
}

@media (max-width: 576px) {
  .wide-banner { min-height: 260px; }
  .wide-banner-content h2 { font-size: 1.3rem; }
  .wide-banner-content .btn { width: 100%; }
}

/* ─────────────────────────────────────────────────────────────
   АКЦИИ
   ───────────────────────────────────────────────────────────── */

.offers-section { background: #f6f7fb; padding: 60px 0; }

.offers-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.offers-section-header .subtitle {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6b7280;
  margin-bottom: 8px;
  display: block;
}

.offers-section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}

.offers-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  transition: background .3s ease;
  flex-shrink: 0;
}

.offers-all-link:hover { background: #0d6efd; color: #fff; }

.offer-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: all .3s ease;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
  color: inherit;
  text-decoration: none;
}

.offer-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e7eb;
}

.offer-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

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

.offer-card-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg,#667eea,#764ba2);
}

.offer-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.35;
}

.offer-card-desc {
  color: #6b7280;
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.offer-detail-img img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

.offer-detail-content { color: #374151; line-height: 1.8; font-size: 1rem; }
.offer-detail-content p { margin-bottom: 1rem; }

@media (max-width: 768px) {
  .offers-section { padding: 40px 0; }
  .offers-section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .offers-section-header h2 { font-size: 1.6rem; }
  .offer-card-img { height: 180px; }
  .offer-card-title { font-size: 1.05rem; }
}

@media (max-width: 576px) { .offer-card-img { height: 160px; } }

/* ─────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────────── */

.faq-section { background: #f6f7fb; padding: 80px 0; }

.faq-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.faq-contact {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
}

.faq-contact-title { color: #111827; font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }

.faq-phone {
  font-size: 1.75rem;
  color: #000000;
  text-decoration: none;
  display: block;
  font-weight: 700;
  transition: color .2s;
}

.faq-phone:hover { color: #0a58ca; }

.faq-contact-text { color: #6b7280; line-height: 1.6; margin-bottom: 16px; }

.messenger-link-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(13,110,253,.08);
  transition: all .3s ease;
}

.messenger-link-primary:hover { background: #0d6efd; transform: scale(1.1); }
.messenger-img-faq { width: 30px; height: 30px; object-fit: contain; }

.faq-questions {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(0,0,0,.05);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item { background: #fff; }

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  color: #111827;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all .3s ease;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
}

.faq-question:hover { background: rgba(13,110,253,.04); }

.faq-question:not(.collapsed) {
  background: rgba(13,110,253,.08);
  color: #0d6efd;
}

.faq-question:not(.collapsed) .faq-icon { transform: rotate(45deg); color: #0d6efd; }

.faq-icon { flex-shrink: 0; transition: all .3s ease; color: #9ca3af; }
.faq-question-text { flex: 1; }

.faq-answer-wrapper { border-top: 1px solid rgba(0,0,0,.05); }

.faq-answer {
  padding: 22px 28px;
  color: #6b7280;
  line-height: 1.8;
  font-size: .95rem;
  background: #f8f9fa;
}

.faq-answer p:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
  .faq-contact-wrapper { grid-template-columns: 1fr; gap: 32px; }
  .faq-questions.order-mobile-first { order: 1; }
  .faq-contact.order-mobile-second  { order: 2; }
  .faq-contact { padding: 28px 20px; }
}

@media (max-width: 576px) {
  .faq-section { padding: 50px 0; }
  .faq-phone { font-size: 1.4rem; }
  .faq-question { padding: 16px 20px; font-size: .95rem; }
  .faq-answer  { padding: 16px 20px; }
}

/* ─────────────────────────────────────────────────────────────
   МОДАЛЬНОЕ ОКНО ОБРАТНОЙ СВЯЗИ
   ───────────────────────────────────────────────────────────── */

.cm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.cm-backdrop.cm-open { opacity: 1; visibility: visible; }

.cm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  pointer-events: none;
}

.cm-modal.cm-open { opacity: 1; visibility: visible; pointer-events: auto; }

.cm-dialog {
  width: 100%;
  max-width: 860px;
  animation: cmSlideIn .3s ease;
}

@keyframes cmSlideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cm-content {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.4);
  position: relative;
  background: #fff;
}

.cm-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 36px; height: 36px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  color: #374151;
}

.cm-close:hover { background: #f3f4f6; }

.cm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}

.cm-image { position: relative; overflow: hidden; background: #fff; }
.cm-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#1e3a5f,#0f172a); }

.cm-form-side {
  padding: 48px 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.cm-title {
  font-family: 'GardensC', sans-serif !important;
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: .5px;
}

.cm-desc { color: #6b7280; font-size: .9rem; line-height: 1.6; margin-bottom: 24px; }

.cm-field { margin-bottom: 16px; }

.cm-field input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1.5px solid #d1d5db;
  font-size: 1rem;
  color: #111827;
  background: transparent;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}

.cm-field input::placeholder { color: #9ca3af; }
.cm-field input:focus { border-bottom-color: #111827; }

.cm-submit {
  width: 100%;
  padding: 14px;
  background: #1f2937;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
  font-family: inherit;
}

.cm-submit:hover { background: #0d6efd; }

.cm-policy { font-size: .78rem; color: #9ca3af; margin-top: 16px; line-height: 1.5; }
.cm-policy a { color: #6b7280; }

body.cm-no-scroll { overflow: hidden !important; }

@media (max-width: 767px) {
  .cm-grid { grid-template-columns: 1fr; }
  .cm-image { height: 180px; }
  .cm-form-side { padding: 28px 20px 24px; }
  .cm-title { font-size: 1.2rem; }
  .cm-dialog { margin: 10px; }
}

/* ─────────────────────────────────────────────────────────────
   СЕКЦИЯ КОНТАКТОВ (футер)
   ───────────────────────────────────────────────────────────── */

.site-contact-section {
  background: #f8f9fb;
  border-top: 1px solid #e5e7eb;
  padding: 64px 0 56px;
}

.site-contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

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

.sc-link-group-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 16px;
}

.sc-link-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-link-list a {
  color: #4b5563;
  text-decoration: none;
  font-size: .88rem;
  line-height: 1.4;
  transition: color .2s;
}

.sc-link-list a:hover { color: #0d6efd; }

.site-contact-info { display: flex; flex-direction: column; gap: 4px; }

.sc-booking-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 12px;
}

.sc-phone {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  text-decoration: none;
  line-height: 1.2;
  transition: color .2s;
  margin-bottom: 4px;
}

.sc-phone:hover { color: #0d6efd; }

.sc-email {
  display: block;
  color: #6b7280;
  font-size: .9rem;
  text-decoration: none;
  margin-top: 12px;
  transition: color .2s;
}

.sc-email:hover { color: #0d6efd; }

.sc-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e7eb;
  transition: all .2s;
}

.sc-social-link:hover {
  border-color: #0d6efd;
  box-shadow: 0 2px 8px rgba(13,110,253,.15);
  transform: translateY(-2px);
}

.site-footer-bottom {
  background: #f0f1f3;
  border-top: 1px solid #e5e7eb;
}

.footer-link { transition: color .2s; }
.footer-link:hover { color: #0d6efd !important; }

@media (max-width: 991px) {
  .site-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .site-contact-info { order: -1; }
}

@media (max-width: 767px) {
  .site-contact-links { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sc-phone { font-size: 1.3rem; }
}

@media (max-width: 480px) { .site-contact-links { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────
   МОБИЛЬНАЯ КНОПКА ЗВОНКА
   ───────────────────────────────────────────────────────────── */

.mobile-call-button {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 60px; height: 60px;
  background: linear-gradient(135deg,#10b981,#059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(16,185,129,.4);
  z-index: 999;
  text-decoration: none;
  transition: all .3s ease;
  animation: pulse-call 2s infinite;
}

.mobile-call-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(16,185,129,.5);
  color: #fff;
}

.mobile-call-button:active { transform: scale(.95); }

@keyframes pulse-call {
  0%, 100% { box-shadow: 0 4px 20px rgba(16,185,129,.4); }
  50% {
    box-shadow: 0 4px 20px rgba(16,185,129,.4),
                0 0 0 10px rgba(16,185,129,.1),
                0 0 0 20px rgba(16,185,129,.05);
  }
}

@media (min-width: 992px) { .mobile-call-button { display: none !important; } }

@media (max-width: 380px) {
  .mobile-call-button { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .mobile-call-button svg { width: 22px; height: 22px; }
}

/* ─────────────────────────────────────────────────────────────
   ПОЛИТИКА / ОФЕРТА
   ───────────────────────────────────────────────────────────── */

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  color: #374151;
}

.privacy-content h2 { margin-top: 2.5rem; margin-bottom: 1.25rem; font-size: 1.75rem; font-weight: 600; color: #111827; }
.privacy-content h3 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; font-weight: 600; color: #111827; }
.privacy-content h4 { margin-top: 1.5rem; margin-bottom: .75rem; font-size: 1.25rem; font-weight: 600; color: #111827; }
.privacy-content p  { margin-bottom: 1.25rem; }
.privacy-content ul,
.privacy-content ol { margin-bottom: 1.25rem; padding-left: 2.5rem; }
.privacy-content li { margin-bottom: .75rem; }

.privacy-content table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  border-radius: 8px;
  overflow: hidden;
}

.privacy-content table thead { background: #f8f9fa; }
.privacy-content table th { padding: 12px 16px; text-align: left; font-weight: 600; color: #111827; border-bottom: 2px solid #e5e7eb; }
.privacy-content table td { padding: 12px 16px; border-bottom: 1px solid #e5e7eb; color: #374151; }
.privacy-content table tbody tr:last-child td { border-bottom: none; }
.privacy-content table tbody tr:hover { background: #f8f9fa; }

@media (max-width: 768px) { .privacy-content table { display: block; overflow-x: auto; white-space: nowrap; } }

/* ─────────────────────────────────────────────────────────────
   AOS
   ───────────────────────────────────────────────────────────── */

[data-aos="fade-up"]    { transform: translateY(30px); opacity: 0; transition-property: transform, opacity; }
[data-aos="fade-up"].aos-animate    { transform: translateY(0); opacity: 1; }
[data-aos="fade-right"] { transform: translateX(-30px); opacity: 0; transition-property: transform, opacity; }
[data-aos="fade-right"].aos-animate { transform: translateX(0); opacity: 1; }
[data-aos="fade-left"]  { transform: translateX(30px); opacity: 0; transition-property: transform, opacity; }
[data-aos="fade-left"].aos-animate  { transform: translateX(0); opacity: 1; }

/* ─────────────────────────────────────────────────────────────
   ПЕРЕХОДЫ СТРАНИЦ
   ───────────────────────────────────────────────────────────── */

.transition-fade { transition: opacity 200ms ease, transform 200ms ease; opacity: 1; transform: translateY(0); }
html.is-animating .transition-fade { opacity: 0; transform: translateY(8px); }

/* ─────────────────────────────────────────────────────────────
   COMING SOON (hotel_detail)
   ───────────────────────────────────────────────────────────── */

.hd-coming-soon-banner {
  background: linear-gradient(135deg,#fff7ed 0%,#fef3c7 50%,#fff7ed 100%);
  border: 2px solid #f59e0b;
  border-radius: 20px;
  padding: 40px 48px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.hd-coming-soon-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle,rgba(245,158,11,.15) 0%,transparent 70%);
  pointer-events: none;
}

.hd-coming-soon-icon {
  flex-shrink: 0;
  width: 80px; height: 80px;
  background: linear-gradient(135deg,#f59e0b,#d97706);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(245,158,11,.35);
}

.hd-coming-soon-icon svg { color: #fff; }

.hd-coming-soon-content { flex: 1; }

.hd-coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f59e0b;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.hd-coming-soon-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.6rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 10px;
  line-height: 1.3;
}

.hd-coming-soon-text {
  color: #78350f;
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hd-coming-soon-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hd-coming-soon-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #d97706;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
  font-family: inherit;
}

.hd-coming-soon-btn-primary:hover {
  background: #b45309;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180,83,9,.3);
}

.hd-coming-soon-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: #92400e;
  border: 2px solid #f59e0b;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
  font-family: inherit;
}

.hd-coming-soon-btn-secondary:hover {
  background: #f59e0b;
  color: #fff;
  transform: translateY(-2px);
}

.hd-coming-soon-progress {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(245,158,11,.3);
}

.hd-coming-soon-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: #92400e;
  font-weight: 600;
  margin-bottom: 8px;
}

.hd-coming-soon-progress-bar {
  height: 6px;
  background: rgba(245,158,11,.2);
  border-radius: 3px;
  overflow: hidden;
}

.hd-coming-soon-progress-fill {
  height: 100%;
  background: linear-gradient(90deg,#f59e0b,#d97706);
  border-radius: 3px;
  width: 75%;
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .7; }
}

.hd-coming-soon-card {
  background: linear-gradient(135deg,#fff7ed,#fef3c7);
  border: 2px solid #f59e0b;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
}

.hd-coming-soon-card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg,#f59e0b,#d97706);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(245,158,11,.3);
}

.hd-coming-soon-card-title { font-size: 1.1rem; font-weight: 700; color: #92400e; margin-bottom: 8px; }
.hd-coming-soon-card-text { font-size: .85rem; color: #78350f; line-height: 1.6; margin-bottom: 20px; }

@media (max-width: 767px) {
  .hd-coming-soon-banner {
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
    text-align: center;
  }
  .hd-coming-soon-actions { justify-content: center; }
  .hd-coming-soon-title { font-size: 1.3rem; }
}

/* ─────────────────────────────────────────────────────────────
   АДАПТИВНЫЕ РАЗМЕРЫ ШРИФТОВ
   ───────────────────────────────────────────────────────────── */

/* Десктоп — базовый */
:root {
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-xsmall:  12px;
  --fs-h1:      clamp(1.8rem, 4vw, 3rem);
  --fs-h2:      clamp(1.5rem, 3vw, 2.2rem);
  --fs-h3:      clamp(1.2rem, 2.5vw, 1.6rem);
  --fs-nav:     1rem;
  --fs-btn:     0.95rem;
  --fs-card:    0.95rem;
}

/* Карточки апартаментов */
.apartment-title       { font-size: 1.2rem !important; }
.apartment-metro       { font-size: 1rem !important; }
.apt-desc-compact {
  font-size: 0.9rem !important;
  white-space: pre-line;
  word-break: break-word;
}
.apartment-actions .btn { font-size: 0.9rem !important; }

/* Навигация */
.offcanvas-nav-link    { font-size: 1.05rem !important; }
.site-nav-link         { font-size: 0.95rem !important; }

/* Карточки отелей */
.hotel-card-title      { font-size: 1.3rem !important; }
.hotel-card-metro      { font-size: 0.95rem !important; }
.hotel-card-description { font-size: 0.92rem !important; }

/* FAQ */
.faq-question          { font-size: 1.05rem !important; }
.faq-answer            { font-size: 0.95rem !important; }

/* Контакты */
.sc-phone              { font-size: 1.5rem !important; }
.sc-link-list a        { font-size: 0.92rem !important; }

/* ── Мобильные размеры (до 768px) ── */
@media (max-width: 768px) {
  body { font-size: 15px; }

  .apartment-title       { font-size: 1.1rem !important; }
  .apartment-metro       { font-size: 0.95rem !important; }
  .apt-desc-compact {
  font-size: 0.9rem !important;
  white-space: pre-line;
  word-break: break-word;
  }
  .hotel-card-title      { font-size: 1.15rem !important; }

  .faq-question          { font-size: 0.97rem !important; }
  .faq-answer            { font-size: 0.9rem !important; }

  .sc-phone              { font-size: 1.3rem !important; }

  /* Кнопки на мобильном — чуть крупнее для удобства тапа */
  .btn                   { font-size: 0.92rem !important; min-height: 42px; }
  .btn-sm                { font-size: 0.85rem !important; min-height: 36px; }
}

/* ── Очень маленькие экраны (до 480px) ── */
@media (max-width: 480px) {
  body { font-size: 14.5px; }

  .apartment-title       { font-size: 1.05rem !important; }
  .hotel-card-title      { font-size: 1.1rem !important; }
  .sc-phone              { font-size: 1.2rem !important; }

  /* Шапка */
  .header-phone          { font-size: 0.88rem !important; }
  .site-logo-text        { font-size: 1.05rem !important; }
}