/* ==========================================================================
   MOSCOW MANAGEMENT — собственные стили.
   Основные утилитарные классы лежат в tailwind.css (сгенерирован из разметки).
   ========================================================================== */

html {
  background-color: #070709;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #070709;
  color: #f4f4f5;
}

/* Декоративный шрифт заголовков и логотипа */
.font-serif-luxury {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Тёмный скроллбар */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #09090b;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Плавное появление модалок и уведомлений */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 0.25s ease-out both;
}

/* Интро уже показывали — скрываем сразу, без вспышки (см. скрипт в header.php) */
html.intro-seen #intro-screen {
  display: none;
}

/* Блокировка прокрутки страницы, пока открыта модалка */
body.modal-open {
  overflow: hidden;
}

.model-gallery {
  touch-action: pan-y;
}

.gallery-nav {
  top: 50% !important;
  display: flex !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border-radius: 999px;
  box-sizing: border-box;
  font-size: 0;
  line-height: 1;
  transform: translateY(-50%) !important;
}

.gallery-nav span {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .gallery-nav {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
  }

  .gallery-nav span {
    font-size: 28px;
  }
}

.booking-choice {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #27272a;
  background: rgba(24, 24, 27, 0.58);
  padding: 10px 12px;
  color: #a1a1aa;
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.booking-choice:hover {
  border-color: rgba(250, 204, 21, 0.65);
  background: rgba(250, 204, 21, 0.08);
  color: #fff;
}

.booking-choice.is-active,
.booking-choice[aria-pressed="true"] {
  border-color: #facc15 !important;
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.28), rgba(250, 204, 21, 0.1)) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 2px rgba(250, 204, 21, 0.75), 0 0 28px rgba(250, 204, 21, 0.18) !important;
}

.booking-choice.is-active strong,
.booking-choice[aria-pressed="true"] strong {
  color: #09090b !important;
  background: #facc15 !important;
  padding: 4px 8px;
  border-radius: 999px;
}

.booking-choice strong {
  color: #facc15;
  font-weight: 700;
  white-space: nowrap;
}

.booking-choice em {
  display: block;
  margin-top: 3px;
  color: #facc15;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.discount-old-price {
  display: inline-block;
  margin-right: 6px;
  color: #71717a;
  font-size: 0.82em;
  font-weight: 500;
  text-decoration: line-through;
}

.discount-current-price {
  color: #facc15;
  font-weight: 700;
}

.booking-messenger-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #27272a;
  background: rgba(24, 24, 27, 0.72);
  padding: 12px 14px;
  color: #f4f4f5;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.booking-messenger-link:hover {
  border-color: #facc15;
  background: #facc15;
  color: #09090b;
}
