/* assets/css/style.css - Фирменный стиль для УСОК «Маяк» на озере Арахлей
 * Палитра: Озеро Арахлей, синий (#0A2540), ультрамарин (#0071E3), лазурный (#0284C7), небесный (#38BDF8), свежий озерный фон (#EDF5FC), белый (#FFFFFF).
 * СТРОГО БЕЗ ЭМОДЗИ — только чистые векторные SVG.
 */

:root {
  /* Задний фон: Чистая морская/озёрная прохладная синева без малейшей красноты и желтизны */
  --mayak-bg: #DCEEFA;
  --mayak-bg-subtle: #CCE4F5;
  --mayak-surface: #FFFFFF;
  --mayak-surface-translucent: rgba(255, 255, 255, 0.96);
  --mayak-surface-dark: #0A2540;
  --mayak-surface-dark-card: #0D2D4D;
  
  --mayak-blue: #0071E3;
  --mayak-blue-hover: #0077ED;
  --mayak-blue-light: #E0F2FE;
  --mayak-sky: #2997FF;
  --mayak-cyan: #38BDF8;
  --mayak-yellow: #FFB800;
  
  --mayak-text: #0F172A;
  --mayak-text-secondary: #334155;
  --mayak-text-muted: #64748B;
  
  --mayak-border: rgba(10, 37, 64, 0.1);
  --mayak-border-light: rgba(255, 255, 255, 0.7);
  --mayak-border-focus: rgba(0, 113, 227, 0.4);
  
  /* Тени и скругления */
  --mayak-radius-sm: 12px;
  --mayak-radius-md: 18px;
  --mayak-radius-lg: 24px;
  --mayak-radius-xl: 32px;
  --mayak-radius-pill: 980px;
  
  --mayak-shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.05);
  --mayak-shadow-card: 0 12px 32px -4px rgba(10, 37, 64, 0.08);
  --mayak-shadow-hover: 0 20px 44px -8px rgba(10, 37, 64, 0.16);
  --mayak-shadow-beacon: 0 0 35px rgba(56, 189, 248, 0.45);
}

/* Базовые стили */
*, *::before, *::after, html, body, button, input, select, textarea, a, span, p, h1, h2, h3, h4, h5, h6 {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--mayak-bg);
}

body.mayak-theme {
  font-family: 'Segoe UI', system-ui, -webkit-system-font, Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--mayak-bg);
  color: var(--mayak-text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Контейнер */
.mayak-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ================= 1. НАВИГАЦИОННАЯ ПАНЕЛЬ (TRANSLUCENT BAR - ВСЕГДА НА ВИДУ) ================= */
.mayak-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid var(--mayak-border);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.mayak-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.mayak-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--mayak-text);
  transition: opacity 0.15s ease;
}

.mayak-nav-brand:hover {
  opacity: 0.85;
}

.mayak-nav-brand:active {
  transform: scale(0.98);
}

.mayak-nav-brand svg,
.mayak-nav-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.mayak-nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  white-space: nowrap;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.mayak-nav-link {
  color: var(--mayak-text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
}

.mayak-nav-link:hover {
  opacity: 1;
  color: var(--mayak-blue);
}

.mayak-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--mayak-blue);
  border-radius: 2px;
}

.mayak-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Фирменная кнопка Pill Button */
.mayak-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--mayak-blue);
  color: #FFFFFF;
  border-radius: var(--mayak-radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  user-select: none;
  white-space: nowrap;
}

.mayak-btn-pill:hover {
  background: var(--mayak-blue-hover);
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.35);
}

.mayak-btn-pill:active {
  transform: scale(0.97);
}

.mayak-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 14px;
  background: #ffffff;
  color: #0071E3;
  border-radius: var(--mayak-radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #BAE6FD;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.mayak-btn-ghost:hover {
  background: #BAE6FD;
  border-color: #7DD3FC;
  color: #005BB5;
}

.mayak-btn-ghost:active {
  transform: scale(0.97);
}

/* ================= 2. HERO СЕКЦИЯ ================= */
.mayak-hero {
  position: relative;
  padding: 70px 0 90px;
  background: transparent;
  overflow: hidden;
  background-color: #e9eeef;
  text-align: center;
}

/* Декоративные волны на фоне */
.mayak-hero-wave-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1300px;
  height: 480px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.mayak-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
}

.mayak-hero-header {
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: center;
}

/* Бейдж локации */
.mayak-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: var(--mayak-radius-pill);
  box-shadow: var(--mayak-shadow-sm);
  margin-bottom: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mayak-text);
  letter-spacing: -0.01em;
}

.mayak-badge-spark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mayak-blue);
  box-shadow: 0 0 10px #38BDF8;
}

/* Заголовок Display Typography */
.mayak-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--mayak-text);
  margin-bottom: 20px;
}

.mayak-hero h1 .gradient-text {
  background: linear-gradient(135deg, #0A2540 0%, #0071E3 60%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mayak-hero p.mayak-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--mayak-text-secondary);
  line-height: 1.5;
  max-width: 680px;
  margin: 0 auto 36px;
  letter-spacing: -0.01em;
}

.mayak-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

/* Карточка витрины с логотипом и озером */
.mayak-hero-stage {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: var(--mayak-radius-xl);
  padding: 44px 40px;
  box-shadow: 0 25px 60px -15px rgba(10, 37, 64, 0.08);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  text-align: left;
  max-width: 1140px;
  margin: 0 auto;
}

.mayak-stage-emblem {
  text-align: center;
}

.mayak-stage-emblem svg,
.mayak-stage-emblem img {
  max-width: 320px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 113, 227, 0.15));
}

.mayak-stage-info h2 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mayak-surface-dark);
  margin-bottom: 12px;
}

.mayak-stage-info p {
  color: var(--mayak-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.mayak-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--mayak-border);
  padding-top: 20px;
}

.mayak-stat-item strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--mayak-blue);
  letter-spacing: -0.02em;
}

.mayak-stat-item span {
  font-size: 0.78rem;
  color: var(--mayak-text-secondary);
}

/* ================= 3. ИНТЕРАКТИВНЫЙ КАЛЬКУЛЯТОР БРОНИРОВАНИЯ ================= */
.mayak-booking-section {
  position: relative;
  z-index: 20;
}

.mayak-booking-card {
  position: relative;
  background: var(--mayak-surface);
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: var(--mayak-radius-lg);
  padding: 24px 32px;
  box-shadow: var(--mayak-shadow-card);
  margin: 0 auto 44px;
  max-width: 1140px;
  text-align: left;
}

.mayak-booking-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.mayak-field-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mayak-field-box label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mayak-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mayak-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.mayak-input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--mayak-blue);
  pointer-events: none;
}

.mayak-input-wrap input,
.mayak-input-wrap select {
  width: 100%;
  padding: 13px 14px 13px 44px;
  border-radius: var(--mayak-radius-sm);
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: var(--mayak-text);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.mayak-input-wrap input:focus,
.mayak-input-wrap select:focus {
  border-color: var(--mayak-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.16);
}

.mayak-btn-calc {
  height: 48px;
  padding: 0 28px;
  font-size: 0.95rem;
}

/* ================= 3. ИНТЕРАКТИВНОЕ МЕНЮ ВЫБОРА ДАТ (DATEPICKER) ================= */
.mayak-dp-wrap {
  cursor: pointer;
  position: relative;
}

.mayak-dp-input {
  cursor: pointer !important;
  user-select: none;
  padding-right: 68px !important;
}

.mayak-dp-wrap:hover .mayak-dp-input {
  border-color: #0071E3;
}

.mayak-dp-wrap.is-active .mayak-dp-input {
  border-color: #0071E3 !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18) !important;
  background: #F8FAFC !important;
}

.mayak-dp-badge {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0071E3;
  background: #E0F2FE;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: all 0.15s ease;
}

.mayak-dp-wrap.is-active .mayak-dp-badge {
  background: #0071E3;
  color: #FFFFFF;
}

/* Выпадающее контекстное меню / поповер календаря */
.mayak-datepicker-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 32px;
  width: 380px;
  max-width: calc(100vw - 36px);
  background: #FFFFFF;
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 20px;
  box-shadow: 0 24px 60px -12px rgba(10, 37, 64, 0.22), 0 0 0 1px rgba(0, 113, 227, 0.08);
  padding: 20px 22px 18px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
}

.mayak-datepicker-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Стрелочка-указатель поповера */
.mayak-datepicker-popover::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 70px;
  width: 13px;
  height: 13px;
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 113, 227, 0.18);
  border-left: 1px solid rgba(0, 113, 227, 0.18);
  transform: rotate(45deg);
  transition: left 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mayak-datepicker-popover[data-align="checkout"]::before {
  left: 270px;
}

/* Быстрые кнопки-пресеты */
.mayak-dp-presets {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
  scrollbar-width: none;
}

.mayak-dp-presets::-webkit-scrollbar {
  display: none;
}

.mayak-dp-preset-btn {
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  font-family: inherit;
}

.mayak-dp-preset-btn:hover {
  background: #E0F2FE;
  color: #0071E3;
  border-color: #BAE6FD;
}

.mayak-dp-preset-btn:active {
  transform: scale(0.96);
}

/* Шапка месяца */
.mayak-dp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mayak-dp-month-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A2540;
  letter-spacing: -0.01em;
  text-transform: capitalize;
}

.mayak-dp-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #0A2540;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mayak-dp-nav-btn:hover:not(:disabled) {
  background: #E0F2FE;
  border-color: #BAE6FD;
  color: #0071E3;
}

.mayak-dp-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Индикатор текущего шага выбора */
.mayak-dp-mode-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 10px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #F8FAFC;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
}

.mayak-dp-hint-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mayak-dp-hint-tag.is-active {
  background: #E0F2FE;
  color: #0071E3;
  font-weight: 700;
}

.mayak-dp-hint-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Дни недели */
.mayak-dp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mayak-dp-weekdays .weekend {
  color: #0284C7;
}

/* Сетка дней */
.mayak-dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 0;
  row-gap: 3px;
}

.mayak-dp-cell {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mayak-dp-cell.is-in-range::before,
.mayak-dp-cell.is-hover-range::before {
  content: '';
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  right: 0;
  background: #E0F2FE;
  z-index: 1;
}

.mayak-dp-cell.is-start.has-range::before {
  content: '';
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 50%;
  right: 0;
  background: #E0F2FE;
  z-index: 1;
}

.mayak-dp-cell.is-end::before {
  content: '';
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  right: 50%;
  background: #E0F2FE;
  z-index: 1;
}

.mayak-dp-day-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
  position: relative;
  z-index: 2;
  font-family: inherit;
}

.mayak-dp-cell:not(.is-disabled) .mayak-dp-day-btn:hover {
  background: #E0F2FE;
  color: #0071E3;
  transform: scale(1.08);
}

.mayak-dp-cell.is-today .mayak-dp-day-btn {
  box-shadow: inset 0 0 0 1.5px #0071E3;
}

.mayak-dp-cell.is-disabled .mayak-dp-day-btn {
  color: #CBD5E1;
  cursor: not-allowed;
  opacity: 0.45;
  text-decoration: line-through;
}

.mayak-dp-cell.is-start .mayak-dp-day-btn,
.mayak-dp-cell.is-end .mayak-dp-day-btn {
  background: #0071E3 !important;
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 113, 227, 0.35);
  transform: scale(1.05);
}

/* Подвал меню */
.mayak-dp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
}

.mayak-dp-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mayak-dp-range-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0A2540;
}

.mayak-dp-nights-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0071E3;
  background: #E0F2FE;
  padding: 1px 7px;
  border-radius: 999px;
  width: fit-content;
}

.mayak-dp-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mayak-dp-btn-reset {
  border: none;
  background: transparent;
  color: #64748B;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.mayak-dp-btn-reset:hover {
  color: #0F172A;
  background: #F1F5F9;
}

.mayak-dp-btn-apply {
  border: none;
  background: #0071E3;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);
  transition: all 0.15s ease;
}

.mayak-dp-btn-apply:hover {
  background: #005BB5;
  transform: translateY(-1px);
}

.mayak-dp-btn-apply:active {
  transform: translateY(0);
}

/* Адаптивность для мобильных */
@media (max-width: 820px) {
  .mayak-datepicker-popover {
    left: 50% !important;
    transform: translate(-50%, -8px) scale(0.98);
  }
  .mayak-datepicker-popover.is-open {
    transform: translate(-50%, 0) scale(1);
  }
  .mayak-datepicker-popover::before {
    display: none;
  }
}

/* ================= 4. BENTO-GRID ИНФРАСТРУКТУРЫ АРАХЛЕЯ ================= */
.mayak-section {
  padding: 90px 0;
  background-color: #e9eeef;
}

.mayak-section-cool {
  background-color: #e9eeef;
  border: none;
}

.mayak-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.mayak-section-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mayak-blue);
  margin-bottom: 10px;
  display: block;
}

.mayak-section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--mayak-text);
  margin-bottom: 14px;
}

.mayak-section-header p {
  font-size: 1.1rem;
  color: var(--mayak-text-secondary);
  line-height: 1.6;
}

.mayak-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mayak-bento-card {
  background: var(--mayak-surface);
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: var(--mayak-radius-lg);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mayak-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mayak-shadow-hover);
  border-color: rgba(0, 113, 227, 0.25);
}

.mayak-bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--mayak-blue-light);
  color: var(--mayak-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mayak-bento-card:hover .mayak-bento-icon {
  transform: scale(1.06);
  background: var(--mayak-blue);
  color: #FFFFFF;
}

.mayak-bento-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--mayak-text);
  margin-bottom: 10px;
}

.mayak-bento-card p {
  font-size: 0.95rem;
  color: var(--mayak-text-secondary);
  line-height: 1.6;
}

.mayak-bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--mayak-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  background: #E0F2FE;
  color: var(--mayak-blue);
  width: fit-content;
  margin-top: 18px;
}

/* ================= 5. КАТАЛОГ КОТТЕДЖЕЙ (PRODUCT SHOWCASE) ================= */
.mayak-rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.mayak-room-card {
  background: var(--mayak-surface);
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: var(--mayak-radius-xl);
  overflow: hidden;
  box-shadow: var(--mayak-shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mayak-room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mayak-shadow-hover);
}

.mayak-room-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0A2540;
}

.mayak-room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mayak-room-card:hover .mayak-room-media img {
  transform: scale(1.04);
}

.mayak-room-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: var(--mayak-radius-pill);
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mayak-room-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mayak-room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.mayak-room-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mayak-text);
}

.mayak-room-sub {
  color: var(--mayak-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 22px;
}

.mayak-room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.mayak-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--mayak-radius-pill);
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  color: #0369A1;
  font-size: 0.78rem;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mayak-chip svg {
  color: #0284C7;
  flex-shrink: 0;
}

.mayak-room-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--mayak-border);
  margin-top: auto;
}

.mayak-price-wrap {
  display: flex;
  flex-direction: column;
}

.mayak-price-label {
  font-size: 0.75rem;
  color: var(--mayak-text-secondary);
  text-transform: uppercase;
  font-weight: 600;
}

.mayak-price-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--mayak-blue);
  letter-spacing: -0.02em;
}

/* ================= 6. БЛОК С ВОЛНАМИ И СИМВОЛИЗМОМ «МАЯКА» ================= */
.mayak-beacon-banner {
  background: linear-gradient(135deg, #071D33 0%, #0A2540 60%, #0071E3 100%);
  color: #FFFFFF;
  border-radius: var(--mayak-radius-xl);
  padding: 60px;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.mayak-banner-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  opacity: 0.15;
  pointer-events: none;
}

.mayak-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.mayak-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--mayak-radius-pill);
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38BDF8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.mayak-banner-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.mayak-banner-content p {
  color: #E2E8F0;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.mayak-banner-features {
  display: flex;
  gap: 30px;
}

.mayak-bf-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--mayak-yellow);
}

.mayak-bf-item span {
  font-size: 0.82rem;
  color: #CBD5E1;
}

.mayak-banner-logo-box {
  text-align: center;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--mayak-radius-xl, 24px);
  padding: 36px 32px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mayak-banner-logo-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.mayak-banner-logo-box img,
.mayak-banner-logo-box svg {
  max-width: 250px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ================= АКЦИИ И СПЕЦПРЕДЛОЖЕНИЯ ================= */
.mayak-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.mayak-promo-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: var(--mayak-radius-lg);
  padding: 28px 24px;
  box-shadow: 0 10px 30px -10px rgba(10, 37, 64, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mayak-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -10px rgba(0, 113, 227, 0.16);
}

.mayak-promo-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0071E3;
  background: #E0F2FE;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mayak-promo-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--mayak-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.mayak-promo-period {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0284C7;
  margin-bottom: 10px;
}

.mayak-promo-card p {
  font-size: 0.88rem;
  color: var(--mayak-text-secondary);
  line-height: 1.55;
}

/* ================= ПРАВИЛА И УСЛОВИЯ ================= */
.mayak-rules-panel {
  background: #FFFFFF;
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: var(--mayak-radius-lg);
  padding: 36px 32px;
  margin-top: 36px;
  box-shadow: 0 10px 30px -10px rgba(10, 37, 64, 0.08);
}

.mayak-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mayak-rule-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mayak-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mayak-rule-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mayak-rule-col li {
  font-size: 0.88rem;
  color: var(--mayak-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.mayak-rule-col li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--mayak-blue);
}

/* ================= ОТЗЫВЫ ГОСТЕЙ БАЗЫ «МАЯК» ================= */
.mayak-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.mayak-review-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: var(--mayak-radius-lg);
  padding: 30px 28px;
  box-shadow: 0 10px 30px -10px rgba(10, 37, 64, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mayak-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.mayak-review-author {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mayak-text);
}

.mayak-review-meta {
  font-size: 0.8rem;
  color: var(--mayak-text-muted);
  margin-top: 2px;
}

.mayak-review-stars {
  color: #FFB800;
  display: flex;
  gap: 3px;
}

.mayak-review-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--mayak-text-secondary);
  font-style: italic;
  position: relative;
}

.mayak-review-source {
  margin-top: 18px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0284C7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ================= 7. FOOTER ================= */
.mayak-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--mayak-border);
  padding: 70px 0 40px;
  color: var(--mayak-text-secondary);
}

.mayak-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--mayak-border);
  margin-bottom: 30px;
}

.mayak-footer-col h4 {
  color: var(--mayak-text);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.mayak-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mayak-footer-col a {
  color: var(--mayak-text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.mayak-footer-col a:hover {
  color: var(--mayak-blue);
}

.mayak-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--mayak-text-muted);
}

/* ================= АДАПТИВНОСТЬ ================= */
@media (max-width: 1200px) {
  .mayak-nav-menu { gap: 14px; }
  .mayak-nav-link { font-size: 0.83rem; padding: 6px 2px; }
  .mayak-nav-actions { gap: 8px; }
  .mayak-btn-ghost { padding: 6px 12px; font-size: 0.82rem; }
  .mayak-btn-pill { padding: 7px 14px; font-size: 0.82rem; }
}

@media (max-width: 1024px) {
  .mayak-nav-menu { gap: 10px; }
  .mayak-nav-link { font-size: 0.8rem; }
  .mayak-btn-ghost span { display: none; }
  .mayak-btn-ghost { padding: 7px 10px; }
  .mayak-hero-stage { grid-template-columns: 1fr; }
  .mayak-booking-form { grid-template-columns: repeat(2, 1fr); }
  .mayak-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .mayak-promo-grid { grid-template-columns: 1fr; }
  .mayak-rules-grid { grid-template-columns: 1fr; }
  .mayak-reviews-grid { grid-template-columns: 1fr; }
  .mayak-rooms-grid { grid-template-columns: 1fr; }
  .mayak-banner-grid { grid-template-columns: 1fr; }
  .mayak-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mayak-nav-menu { display: none; }
  .mayak-bento-grid { grid-template-columns: 1fr; }
  .mayak-booking-form { grid-template-columns: 1fr; }
  .mayak-footer-grid { grid-template-columns: 1fr; }
  .mayak-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
