/* 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;
}

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

html { height: 100%; }

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #f6f7fb;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, .ms-title, .mgmt-hero h1,
.new-hero-booking-title, .faq-contact-title {
  font-family: 'Playfair Display', 'GardensC', Georgia, serif;
}

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

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

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;
}

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

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

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,0.08);
  transition: all 0.3s ease;
}

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

body:not(.home-page) .apartment-card {
  text-decoration: none;
  color: inherit;
}

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

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

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.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: 0.7; transform: scale(0.95); }
}

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

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

/* ============================================
   HEADER
   ============================================ */

/* Логотип-текст */
.site-logo-text {
  font-family: 'GardensC', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.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; }

/* Телефон */
.header-phone {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
  transition: color 0.2s;
}
.header-phone:hover { color: #0d6efd; }

/* Кнопка меню */
.menu-toggle {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  color: #111827;
  transition: color 0.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 0.3s ease;
}

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

.offcanvas-body .nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s;
  display: block;
}
.offcanvas-body .nav-link:hover { color: #0d6efd; }

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

/* Адаптив шапки */
@media (max-width: 991px) {
  .site-header { padding: 8px 0; }
}

@media (max-width: 576px) {
  .site-logo-text { font-size: 1rem; }
  .header-phone   { font-size: 0.85rem; }
}

/* ============================================
   HERO
   ============================================ */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-background .heroSwiper { width: 100%; height: 100%; }

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

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

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-text { text-shadow: 0 2px 20px rgba(0,0,0,0.5); }

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.95);
  font-weight: 400;
}

.hero-booking {
  position: relative;
  z-index: 2;
  padding-bottom: 40px;
}

.hero-booking-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

#hr-widget { min-height: 100px; }

/* Пагинация hero */
.hero-pagination-wrapper {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-pagination-line {
  width: 1px; height: 100%;
  background: rgba(255,255,255,0.3);
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
}

.hero-pagination {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.hero-pagination-bullet {
  width: 60px; height: 60px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  font-size: 1.5rem;
  position: relative;
  backdrop-filter: blur(5px);
}

.hero-pagination-bullet::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transform: scale(0);
  transition: transform 0.4s ease;
}

.hero-pagination-bullet:hover {
  border-color: rgba(255,255,255,0.8);
  color: rgba(255,255,255,0.9);
  transform: scale(1.05);
}

.hero-pagination-bullet:hover::before { transform: scale(1); }

.hero-pagination-bullet.active {
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.95);
  color: #0d6efd;
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.hero-pagination-bullet.active::before {
  transform: scale(1);
  background: rgba(13,110,253,0.1);
}

.hero-background .swiper-pagination { display: none; }

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

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

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

.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-list {
  background: transparent;
  height: auto;
  max-height: none;
  overflow-y: visible;
  padding: 0;
  position: relative;
}

.apartments-items {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Карточки апартаментов */
.apartment-item {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.apartment-item:hover {
  box-shadow: 0 8px 24px rgba(0,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 0.3s ease;
}

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

.apartment-item.active {
  background: linear-gradient(135deg, rgba(13,110,253,0.05) 0%, rgba(13,110,253,0.1) 100%);
  box-shadow: 0 8px 24px rgba(13,110,253,0.15);
  transform: translateY(-4px);
}

.apartment-item-inner {
  padding: 25px;
  position: relative;
}

.apartment-item .apartment-actions { pointer-events: auto; }

/* Изображение */
.apartment-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

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

/* Метро */
.apartment-metro {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #111827;
  font-weight: 500;
  margin-bottom: 12px;
  padding: 10px 0;
}

.metro-icon { flex-shrink: 0; width: 24px; height: 24px; fill: #DC143C; }
.metro-station { font-weight: 600; color: #111827; }
.metro-distance { color: #6b7280; font-weight: 400; font-size: 0.9rem; }

/* Адрес */
.apartment-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

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

/* Описание */
.apartment-description { margin-bottom: 15px; }
.apartment-description p { color: #6b7280; line-height: 1.6; font-size: 0.95rem; }

/* Удобства */
.apartment-amenities {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #374151;
}

.amenity-icon { flex-shrink: 0; color: #10b981; }

/* Кнопки */
.apartment-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.apartment-actions .btn {
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.apartment-actions .btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border: none;
}

.apartment-actions .btn-primary:hover {
  background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13,110,253,0.3);
}

.apartment-actions .btn-outline-secondary {
  border: 2px solid #e5e7eb;
  color: #6b7280;
}

.apartment-actions .btn-outline-secondary:hover {
  background: #f3f4f6;
  border-color: #0d6efd;
  color: #0d6efd;
}

/* ============================================
   КАРТА — ИСПРАВЛЕННЫЕ СТИЛИ
   ============================================ */

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

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

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

/* Маркеры */
.custom-placemark {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-placemark:hover { transform: scale(1.15); z-index: 100; }

.custom-placemark-icon svg {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: all 0.3s ease;
}

.custom-placemark:hover .custom-placemark-icon svg {
  filter: drop-shadow(0 6px 12px rgba(13,110,253,0.5));
}

.placemark-logo-img {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border: 3px solid #0d6efd;
  transition: all 0.3s ease;
}

.custom-placemark:hover .placemark-logo-img {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(13,110,253,0.4);
}

/* ============================================
   БАННЕРЫ
   ============================================ */

.wide-banner,
.corporate-banner {
  position: relative;
  min-height: 450px;
  color: white;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.wide-banner-bg,
.corporate-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,0.7), rgba(17,24,39,0.5));
  z-index: 1;
}

.corporate-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.85), rgba(5,150,105,0.85));
  z-index: 1;
}

.wide-banner-content,
.corporate-banner-content {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
}

.wide-banner-content h2,
.corporate-banner-content h2 {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.wide-banner-description {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.6;
}

.corporate-subtitle {
  color: rgba(255,255,255,0.95);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.corporate-description {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.wide-banner-content .btn,
.corporate-banner-content .btn {
  font-weight: 600;
  padding: 12px 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

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

.wide-banner-content .btn-primary {
  background: #ffffff;
  color: #0d6efd;
  border: none;
}

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

.corporate-banner-content .btn-primary,
.corporate-banner-content .btn-light {
  background: #ffffff;
  color: #10b981;
  border: none;
}

.corporate-banner-content .btn-primary:hover,
.corporate-banner-content .btn-light:hover {
  background: #f8f9fa;
  color: #059669;
  transform: translateY(-2px);
}

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

.corporate-banner-content .btn-outline-light:hover {
  background: #ffffff;
  color: #10b981;
  transform: translateY(-2px);
}

/* Компактные преимущества */
.corporate-features-compact { max-width: 100%; }

.feature-item-compact {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.feature-item-compact:hover {
  background: rgba(255,255,255,0.2);
  transform: translateX(4px);
}

.feature-icon-small { color: #ffffff; opacity: 0.95; flex-shrink: 0; }
.feature-icon-small svg { display: block; }
.feature-title-small { color: #ffffff; font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.feature-description-small { color: rgba(255,255,255,0.85); font-size: 0.85rem; line-height: 1.4; }

/* ============================================
   FAQ
   ============================================ */

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

.faq-section h2 { color: #111827; }

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

.faq-contact {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  height: 100%;
  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: #0d6efd;
  transition: color 0.3s ease;
  text-decoration: none;
  display: block;
}

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

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

/* Мессенджеры */
.messenger-link-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(13,110,253,0.1);
  color: #0d6efd;
  transition: all 0.3s ease;
}

.messenger-link-primary:hover {
  background: #0d6efd;
  color: #ffffff;
  transform: scale(1.1);
}

.messenger-link-primary svg { width: 24px; height: 24px; }

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

/* Вопросы */
.faq-questions {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(0,0,0,0.05);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item { background: #ffffff; transition: all 0.3s ease; }
.faq-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: transparent;
  border: none;
  color: #111827;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
}

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

.faq-question.collapsed .faq-icon { transform: rotate(0deg); }

.faq-question:not(.collapsed) {
  background: rgba(13,110,253,0.1);
  color: #0d6efd;
  border-bottom: 1px solid rgba(13,110,253,0.2);
}

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

.faq-icon { flex-shrink: 0; transition: all 0.3s ease; color: #6b7280; }
.faq-question-text { flex: 1; }

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

.faq-answer {
  padding: 25px 30px;
  color: #6b7280;
  line-height: 1.8;
  font-size: 0.95rem;
  background: #f8f9fa;
}

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

/* ============================================
   ФОРМА ОБРАТНОЙ СВЯЗИ В FAQ
   ============================================ */

.faq-contact-form {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.faq-contact-form .form-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
}

.faq-contact-form .cf-field { margin-bottom: 12px; }

.faq-contact-form .cf-field input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1.5px solid #d1d5db;
  font-size: 0.95rem;
  color: #111827;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.faq-contact-form .cf-field input::placeholder { color: #9ca3af; }
.faq-contact-form .cf-field input:focus { border-bottom-color: #0d6efd; }

.faq-contact-form .cf-submit {
  width: 100%;
  padding: 13px;
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
  font-family: inherit;
}

.faq-contact-form .cf-submit:hover { background: #0d6efd; }

.faq-contact-form .cf-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  color: #10b981;
  font-weight: 600;
}

.faq-contact-form .cf-policy {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 10px;
  line-height: 1.5;
}

.faq-contact-form .cf-policy a { color: #6b7280; }

/* ============================================
   АКЦИИ
   ============================================ */

.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: 0.8rem;
  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: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

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

/* Карточка акции */
.offer-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,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 0.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 0%, #764ba2 100%);
}

.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: 0.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; }

/* ============================================
   ОТЗЫВЫ
   ============================================ */

.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);
}

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

/* ============================================
   СТРАНИЦА УПРАВЛЕНИЯ
   ============================================ */

.management-stat-card {
  padding: 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  height: 100%;
  border-left: 4px solid #0d6efd;
}

.management-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat-value { font-size: 3rem; font-weight: 700; color: #0d6efd; line-height: 1; margin-bottom: 0.5rem; }
.stat-title { font-size: 1.25rem; font-weight: 600; color: #111827; margin-bottom: 0.5rem; }
.stat-description { color: #6b7280; line-height: 1.5; }

.problems-list { display: flex; flex-direction: column; gap: 30px; }

.problem-item {
  padding: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid #0d6efd;
  transition: all 0.3s ease;
}

.problem-item:hover { transform: translateX(5px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.problem-item h3 { color: #111827; margin-bottom: 10px; }
.problem-item p { color: #6b7280; line-height: 1.6; margin-bottom: 0; }

.problems-image { position: sticky; top: 120px; }

.benefit-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }

.benefit-image { overflow: hidden; height: 250px; }
.benefit-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.benefit-card:hover .benefit-image img { transform: scale(1.05); }
.benefit-card h3 { padding: 0 20px; color: #111827; }
.benefit-card p { padding: 0 20px 20px 20px; color: #6b7280; line-height: 1.6; }

/* ============================================
   АККОРДЕОН
   ============================================ */

.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;
  width: 100%;
  text-align: left;
}

.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); }

/* ============================================
   SWIPER
   ============================================ */

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

.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; }

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

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

/* ============================================
   ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ
   ============================================ */

.privacy-content { line-height: 1.8; color: #374151; }
.privacy-content h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; font-weight: 600; }
.privacy-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; font-size: 1.25rem; font-weight: 600; }
.privacy-content p { margin-bottom: 1rem; }
.privacy-content ul, .privacy-content ol { margin-bottom: 1rem; padding-left: 2rem; }
.privacy-content li { margin-bottom: 0.5rem; }

/* ============================================
   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; }

/* ============================================
   АДАПТИВ — HERO
   ============================================ */

@media (max-width: 1200px) {
  .hero-pagination-wrapper { right: 20px; }
  .hero-pagination-bullet { width: 50px; height: 50px; font-size: 1.25rem; }
}

@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .hero-booking-card { padding: 20px; }
}

@media (max-width: 768px) {
  .hero-section { min-height: 500px; }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-booking-card { padding: 15px; }
  .hero-pagination-wrapper { display: none; }
  .hero-background .swiper-pagination { display: block; bottom: 20px !important; }
  .hero-background .swiper-pagination-bullet { background: white; opacity: 0.6; width: 8px; height: 8px; }
  .hero-background .swiper-pagination-bullet-active { opacity: 1; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .logo-svg { height: 40px; }
}

/* ============================================
   АДАПТИВ — КАРТА И АПАРТАМЕНТЫ
   ============================================ */

@media (max-width: 1199px) {
  .map-container { height: 650px; }
}

@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: 20px; }
  .apartment-image { height: 180px; }
  .apartment-title { font-size: 1.2rem; }
}

@media (max-width: 768px) {
  .map-apartments-title h2 { font-size: 1.75rem; }
  .apartment-metro { font-size: 0.9rem; }
  .apartment-location { font-size: 0.85rem; }
  .apartment-amenities { display: none; }
  .apartment-actions { flex-direction: column; }
  .apartment-actions .btn { width: 100%; }
}

@media (max-width: 576px) {
  .apartments-items { gap: 15px; }
  .apartment-item-inner { padding: 15px; }
  .apartment-image { height: 150px; }
  .apartment-title { font-size: 1.1rem; }
  .map-apartments-title h2 { font-size: 1.5rem; }
  .map-apartments-title p { font-size: 1rem; }

  .map-container {
    height: 280px !important;
    border-radius: 10px;
  }
}

/* ============================================
   АДАПТИВ — БАННЕРЫ
   ============================================ */

@media (min-width: 992px) {
  .wide-banner, .corporate-banner { min-height: 500px; }
}

@media (max-width: 1199px) {
  .wide-banner, .corporate-banner { min-height: 400px; }
  .wide-banner-content h2, .corporate-banner-content h2 { font-size: 1.5rem; }
}

@media (max-width: 991px) {
  .wide-banner, .corporate-banner { min-height: 320px; }
  .wide-banner-content, .corporate-banner-content { padding: 30px 25px !important; }
  .wide-banner-content h2, .corporate-banner-content h2 { font-size: 1.4rem; margin-bottom: 15px; }
  .wide-banner-description, .corporate-description { font-size: 0.9rem; margin-bottom: 20px; }
}

@media (max-width: 768px) {
  .wide-banner, .corporate-banner { min-height: 300px; }
  .wide-banner-content, .corporate-banner-content { padding: 25px 20px !important; }
  .wide-banner-content h2, .corporate-banner-content h2 { font-size: 1.3rem; }
  .feature-item-compact { padding: 10px; }
  .feature-title-small { font-size: 0.9rem; }
  .feature-description-small { font-size: 0.8rem; }
}

@media (max-width: 576px) {
  .wide-banner, .corporate-banner { min-height: 280px; }
  .wide-banner-content h2, .corporate-banner-content h2 { font-size: 1.2rem; margin-bottom: 12px; }
  .wide-banner-description, .corporate-description { font-size: 0.85rem; margin-bottom: 15px; }
  .corporate-subtitle { font-size: 0.9rem; }
  .wide-banner-content .btn, .corporate-banner-content .btn { padding: 10px 24px; font-size: 0.9rem; }
}

/* ============================================
   АДАПТИВ — FAQ
   ============================================ */

@media (max-width: 991px) {
  .faq-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    display: flex;
    flex-direction: column;
  }

  .faq-questions.order-mobile-first { order: 1; }
  .faq-contact.order-mobile-second  { order: 2; }

  .faq-contact { position: relative; top: 0; padding: 30px 20px; }
  .faq-question { padding: 20px; font-size: 1rem; }
  .faq-answer   { padding: 20px; }
}

@media (max-width: 576px) {
  .faq-section { padding: 60px 0; }
  .faq-phone { font-size: 1.5rem; }
  .faq-question { padding: 15px; font-size: 0.95rem; }
  .faq-answer   { padding: 15px; font-size: 0.9rem; }
  .messenger-link-primary { width: 40px; height: 40px; }
  .messenger-img-faq { width: 28px; height: 28px; }
  .messenger-link-primary svg { width: 20px; height: 20px; }
}

/* ============================================
   АДАПТИВ — АКЦИИ
   ============================================ */

@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; }
}

/* ============================================
   АДАПТИВ — УПРАВЛЕНИЕ
   ============================================ */

@media (max-width: 991px) {
  .stat-value { font-size: 2.5rem; }
  .problems-list { margin-bottom: 30px; }
  .problems-image { position: relative; top: 0; }
}

@media (max-width: 768px) {
  .stat-value { font-size: 2rem; }
  .stat-title { font-size: 1.1rem; }
  .management-stat-card { padding: 20px; }
  .problem-item { padding: 20px; }
  .benefit-image { height: 200px; }
}

@media (max-width: 576px) {
  .stat-value { font-size: 1.75rem; }
}

/* ============================================
   # ЛОГОТИП-ТЕКСТ В ШАПКЕ
   ============================================ */

.site-logo-text {
  font-family: 'GardensC', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.5px;
  transition: color 0.25s;
}

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

/* ============================================
   МОДАЛЬНОЕ ОКНО ОБРАТНОЙ СВЯЗИ (глобальное)
   ============================================ */

.cm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.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 0.3s, visibility 0.3s;
  pointer-events: none;
}

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

.cm-dialog {
  width: 100%;
  max-width: 860px;
  animation: cmSlideIn 0.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,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,0.15);
  background: #fff;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.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: #ffffff; }
.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;
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.cm-desc { color: #6b7280; font-size: 0.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 0.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 0.2s;
  margin-top: 8px;
  font-family: inherit;
}

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

.cm-policy { font-size: 0.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; }
}

/* ============================================
   ## НОВЫЙ HERO
   ============================================ */

.new-hero-section {
  background: #f6f7fb;
  padding-top: 72px; /* высота шапки */
  padding-bottom: 0;
}

/* Сетка внутри container */
.new-hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px 340px;
  grid-template-rows: 500px;
  gap: 6px;
  border-radius: 16px;
  overflow: hidden;
}

/* Большой слайдер */
.new-hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

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

.new-hero-slide-bg {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

/* 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 0.5s ease;
}

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

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

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

/* Блок бронирования */

.new-hero-booking-inner {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.new-hero-booking {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.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: 0.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-booking-widget { flex: 1; }

.bnovo-placeholder {
  background: rgba(13,110,253,0.04);
  border: 1px dashed rgba(13,110,253,0.2);
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.bnovo-placeholder p {
  color: #9ca3af;
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.5;
}

/* Преимущества */
.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: #ffffff;
  transition: background 0.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,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
}

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

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

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

/* ── Адаптив Hero ── */

@media (max-width: 1199px) {
  .new-hero-grid {
    grid-template-columns: 1fr 240px 300px;
    grid-template-rows: 460px;
  }
  .new-hero-booking-title { font-size: 1.25rem; }
}

@media (max-width: 991px) {
  .new-hero-section { padding-top: 60px; }

  .new-hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px auto;
    gap: 4px;
  }

  .new-hero-booking {
    grid-column: 1 / -1;
  }

  .new-hero-booking-inner { padding: 22px 20px; }
  .new-hero-booking-title { font-size: 1.2rem; }

  .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: 0.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;
  }

  .new-hero-feature-sub { display: none; }
}

/* ============================================
   WIDE BANNER — только управление, по центру
   ============================================ */

.wide-banner {
  position: relative;
  min-height: 380px;
  color: white;
  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,0.75), rgba(17,24,39,0.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: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  max-width: 700px;
}

.wide-banner-description {
  color: rgba(255,255,255,0.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 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

.wide-banner-content .btn-outline-light:hover {
  background: #ffffff;
  color: #0d6efd;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.wide-banner-content .btn-primary {
  background: #ffffff;
  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: 0.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%; }
}

/* ============================================
   HEADER — обновлённые стили (без логотипа-картинки)
   ============================================ */

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

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

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

.header-phone {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
  transition: color 0.2s;
}

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

.menu-toggle {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  color: #111827;
  transition: color 0.2s;
  padding: 8px 0;
}

.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 0.3s ease;
}

/* Offcanvas */
.offcanvas { background: #ffffff; max-width: 340px; }

.offcanvas-body .nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111827;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s;
}

.offcanvas-body .nav-link:hover { color: #0d6efd; }

.menu-contacts { color: #6b7280; }

/* ============================================
   КАРТА — финальные стили
   ============================================ */

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

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

.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-container {
    position: relative !important;
    top: 0 !important;
    height: 400px !important;
    margin-top: 24px;
    border-radius: 12px;
  }
}

@media (max-width: 576px) {
  .map-container {
    height: 280px !important;
    border-radius: 10px;
  }
}

/* ============================================
   АКЦИИ
   ============================================ */

.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: 0.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: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

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

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

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,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 0.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 0%, #764ba2 100%);
}

.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: 0.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: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,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: #0d6efd;
  text-decoration: none;
  display: block;
  font-weight: 700;
  transition: color 0.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,0.08);
  transition: all 0.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,0.05);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item { background: #ffffff; }

.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 0.3s ease;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
}

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

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

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

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

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

.faq-answer {
  padding: 22px 28px;
  color: #6b7280;
  line-height: 1.8;
  font-size: 0.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: 0.95rem; }
  .faq-answer  { padding: 16px 20px; }
}

/* ============================================
   ОТЗЫВЫ
   ============================================ */

.review-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  min-height: 160px;
  height: 100%;
}

.reviewsSwiper { padding-bottom: 40px !important; }

/* ============================================
   КАРТОЧКИ АПАРТАМЕНТОВ
   ============================================ */

.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.05rem;
}

.apartments-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.apartment-item:hover {
  box-shadow: 0 8px 24px rgba(0,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 0.3s ease;
}

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

.apartment-item.active {
  background: linear-gradient(135deg, rgba(13,110,253,0.04) 0%, rgba(13,110,253,0.08) 100%);
  box-shadow: 0 8px 24px rgba(13,110,253,0.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,0.1);
  transition: transform 0.3s ease;
}

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

.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: 0.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: 0.85rem; }

.apartment-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 0.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: 0.875rem;
}

@media (max-width: 991px) {
  .map-apartments-section { padding: 40px 0; }
  .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; }
}

/* ============================================
   ИКОНКИ СОЦСЕТЕЙ
   ============================================ */

.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: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  text-decoration: none;
  color: #111827;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-block;
}

.social-pill:hover {
  border-color: #0d6efd;
  color: #0d6efd;
  transform: translateY(-2px);
}

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

.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; }
}

/* ============================================
   PRELOADER
   ============================================ */

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

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(0.95); }
}

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

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

/* ============================================
   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; }

/* ============================================
   СТРАНИЦА УПРАВЛЕНИЯ
   ============================================ */

.management-stat-card {
  padding: 28px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  height: 100%;
  border-left: 4px solid #0d6efd;
}

.management-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat-value { font-size: 3rem; font-weight: 700; color: #0d6efd; line-height: 1; margin-bottom: .5rem; }
.stat-title { font-size: 1.2rem; font-weight: 600; color: #111827; margin-bottom: .5rem; }
.stat-description { color: #6b7280; line-height: 1.5; }

.problem-item {
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid #0d6efd;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.problem-item:hover { transform: translateX(5px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.problem-item h3 { color: #111827; margin-bottom: 8px; }
.problem-item p  { color: #6b7280; line-height: 1.6; margin-bottom: 0; }

.problems-image { position: sticky; top: 120px; }

.benefit-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.benefit-image { overflow: hidden; height: 240px; }
.benefit-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.benefit-card:hover .benefit-image img { transform: scale(1.05); }
.benefit-card h3 { padding: 20px 20px 8px; color: #111827; }
.benefit-card p  { padding: 0 20px 20px; color: #6b7280; line-height: 1.6; }

@media (max-width: 991px) {
  .stat-value { font-size: 2.5rem; }
  .problems-image { position: relative; top: 0; }
}

@media (max-width: 768px) {
  .stat-value { font-size: 2rem; }
  .management-stat-card { padding: 20px; }
  .benefit-image { height: 200px; }
}

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

.transition-fade {
  transition: opacity 200ms ease, transform 200ms ease;
  opacity: 1;
  transform: translateY(0);
}

html.is-animating .transition-fade {
  opacity: 0;
  transform: translateY(8px);
}

/* ============================================
   ВНУТРЕННИЕ СТРАНИЦЫ — базовые
   ============================================ */

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

@media (max-width: 768px) {
  body:not(.home-page) main { padding-top: 70px; }
}

/* ============================================
   ШРИФТЫ — деловой стиль
   ============================================ */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'GardensC', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
}

/* Переопределяем GardensC на Inter для UI-элементов */
.btn, input, select, textarea,
.nav-link, .offcanvas-nav-link,
.faq-question, .sfaq-q,
.menu-toggle, .header-phone {
  font-family: 'Inter', sans-serif;
}

/* ============================================
   НАВИГАЦИЯ В ШАПКЕ
   ============================================ */

.site-nav { flex-wrap: nowrap; }

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

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

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

.header-cta-btn {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
}

/* Offcanvas навигация */
.offcanvas-nav-link {
  display: block;
  padding: 12px 16px;
  color: #111827;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

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

.offcanvas-nav-link.active {
  color: #0d6efd;
  background: rgba(13,110,253,0.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 0.2s;
}

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

/* Footer */
.footer-link {
  transition: color 0.2s;
}
.footer-link:hover { color: #0d6efd !important; }

/* fw-700 utility */
.fw-700 { font-weight: 700; }

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

.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, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-call 2s infinite;
}

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

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

@keyframes pulse-call {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4),
                0 0 0 10px rgba(16, 185, 129, 0.1),
                0 0 0 20px rgba(16, 185, 129, 0.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;
  }
}