/* БАЗА: мягкие тени и аккуратная типографика */
body {
  background: #f6f7fb;
}

/* Логотип */
.logo-mark { color: #0d6efd; }
.logo-tail { color: #111827; }

/* Шапка: анимация скрытия/появления */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
  background: white;
}
.site-header.is-hidden {
  transform: translateY(-110%);
}
.site-header.is-elevated {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Dropdown по наведению (десктоп) */
@media (min-width: 992px) {
  .hover-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0.25rem;
  }
}

/* Переходы страниц (Swup) */
.transition-fade {
  transition: opacity 200ms ease, transform 200ms ease;
  opacity: 1;
  transform: translateY(0);
}
html.is-animating .transition-fade {
  opacity: 0;
  transform: translateY(8px);
}

/* HERO / баннеры */
.heroSwiper { 
  height: 360px !important;
  width: 100% !important;
}

.heroSwiper .swiper-wrapper { 
  height: 360px !important;
}

.heroSwiper .swiper-slide { 
  height: 360px !important;
  width: 100% !important;
}

.banner-slide {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: white;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(13,110,253,0.55), rgba(17,24,39,0.55));
  z-index: 1;
}

.banner-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: white;
}

.banner-content h3 {
  color: white;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.banner-content p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.95rem;
}

/* Swiper pagination */
.swiper-pagination {
  position: absolute;
  bottom: 10px !important;
  left: 0;
  right: 0;
  z-index: 10;
}

.swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
  width: 8px;
  height: 8px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: white;
}

/* Виджет бронирования */
#hr-widget {
  min-height: 300px;
}

/* Карта */
.ymap { 
  width: 100%; 
  height: 420px; 
  background: #e5e7eb;
  min-height: 420px;
}

/* Широкий баннер */
.wide-banner {
  position: relative;
  min-height: 220px;
  color: white;
}
.wide-banner-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(13,110,253,0.65), rgba(17,24,39,0.9));
  background-size: cover;
  background-position: center;
}
.wide-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,24,39,0.35), rgba(17,24,39,0.75));
}
.wide-banner-content {
  position: relative;
  z-index: 1;
}

/* Аккордеон для информации - ОБНОВЛЕНО (сетка 3x2) */
.info-accordion-item {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.info-accordion-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.info-accordion-button {
  background: white;
  border: none;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.info-accordion-button:hover {
  background: #f8f9fa;
}

.info-accordion-button[aria-expanded="true"] {
  background: #f8f9fa;
  color: #0d6efd;
}

.info-accordion-button[aria-expanded="true"] .info-accordion-icon {
  transform: rotate(180deg);
}

.info-accordion-title {
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
}

.info-accordion-icon {
  transition: transform 0.3s ease;
  color: #0d6efd;
  flex-shrink: 0;
  margin-left: 10px;
}

.info-accordion-body {
  padding: 20px;
  color: #6b7280;
  line-height: 1.6;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Отзывы */
.review-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  min-height: 160px;
  height: 100%;
}

.reviewsSwiper {
  padding-bottom: 40px;
}

/* Карточки апартаментов */
.apartment-card {
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
}
.apartment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* Иконки мессенджеров */
.messenger-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.messenger-icon:hover {
  transform: scale(1.1);
}

.messenger-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.social-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  text-decoration: none;
  color: #111827;
  transition: all 0.2s;
  display: inline-block;
}
.social-pill:hover {
  border-color: rgba(13,110,253,0.35);
  color: #0d6efd;
  transform: translateY(-2px);
}

/* Фиксированные иконки мессенджеров */
.messenger-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.messenger-fixed-item {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  background: white;
  padding: 8px;
}

.messenger-fixed-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.messenger-fixed-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.messenger-whatsapp {
  background: #25D366;
}

.messenger-telegram {
  background: #0088cc;
}

.social-icon {
  color: #000000;
  transition: color 0.2s;
}

.social-icon:hover {
  color: #0d6efd;
}

.unit-photo {
  height: 380px;
  background-size: cover;
  background-position: center;
}

/* Адаптивность */
@media (max-width: 768px) {
  .heroSwiper,
  .heroSwiper .swiper-wrapper,
  .heroSwiper .swiper-slide {
    height: 280px !important;
  }
  
  .banner-content h3 {
    font-size: 1.25rem;
  }
  
  .banner-content p {
    font-size: 0.85rem;
  }

  .messenger-fixed {
    bottom: 15px;
    right: 15px;
  }

  .messenger-fixed-item {
    width: 48px;
    height: 48px;
  }

  .messenger-img {
    width: 40px;
    height: 40px;
  }
}
