/* ========================================
   Reset + Base
   ======================================== */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* ========================================
   Booking Page
   ======================================== */

.booking-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================================
   Booking Page — фиксированное видео + скролл контент
   ============================================================ */

/* Фиксированный видеофон (всегда за контентом) */
.booking-video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #1B4F52, #134045);
}

.booking-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.booking-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(19,64,69,0.62) 0%, rgba(27,79,82,0.52) 100%);
}

/* Скролл-контейнер со snap (сам скроллит, не body) */
.booking-scroll-content {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
}

/* Фиксированный хедер (скрыт → появляется при скролле) */
.booking-fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.booking-fixed-header--visible {
  transform: translateY(0);
  pointer-events: auto;
}

/* Hero: первый snap-экран */
.booking-hero {
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  gap: 0;
}

.booking-hero-logo {
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.4));
}

.booking-hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin: 0;
  letter-spacing: 1px;
  line-height: 1.8;
  text-transform: uppercase;
  font-weight: 300;
}

/* Анимированная кнопка Book now */
.booking-hero-cta {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.booking-hero-cta-label {
  display: block;
  padding: 11px 32px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: cta-pulse 2.5s ease-in-out infinite;
  white-space: nowrap;
}

.booking-hero-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  animation: cta-bounce 2.5s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.25); }
  50%       { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

@keyframes cta-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* Секция с формой — второй snap-экран */
.booking-wizard-section {
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.booking-wizard-section .booking-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 16px;
}

.booking-wizard-section .site-footer {
  flex-shrink: 0;
  padding: 14px 16px;
  width: 100%;
  box-sizing: border-box;
}

/* --- Site Header --- */
.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #dee2e6;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 20px;
}

.site-header-nav {
  display: flex;
  gap: 20px;
}

.site-header-nav a {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.site-header-nav a:hover {
  color: #1B4F52;
}

.site-header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  cursor: pointer;
}

.site-header-right {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
  font-size: 14px;
}

.site-header-phone {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-header-phone:hover {
  color: #1B4F52;
}

.site-header-link {
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-header-link:hover {
  color: #1B4F52;
}

.site-header-address {
  color: #868e96;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-header-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  background: #fff3bf;
  color: #000;
  padding: 2px 8px;
  border-radius: 10px;
}

.site-header-star {
  color: #fab005;
  font-size: 12px;
}

/* Language Switcher */
.site-header-lang {
  display: flex;
  background: #f1f3f5;
  border-radius: 6px;
  overflow: hidden;
}

.site-header-lang-btn {
  background: transparent;
  border: none;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #868e96;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.site-header-lang-btn.active {
  background: #fff;
  color: #000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.site-header-lang-mobile {
  display: none;
}

.site-header-burger {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: #000;
  cursor: pointer;
  padding: 4px;
}

/* --- Site Hero --- */
.site-hero {
  background: linear-gradient(135deg, #1B4F52 0%, #134045 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 20px;
  width: 100%;
  box-sizing: border-box;
}

.site-hero-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.site-hero-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin: 4px 0 0;
}

/* --- Site Hero: video background --- */
.site-hero-video {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.site-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,79,82,0.72) 0%, rgba(19,64,69,0.72) 100%);
  z-index: 1;
}

.site-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 20px;
}

/* --- Booking Container --- */
.booking-container {
  flex: none;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* --- Site Footer --- */
.site-footer {
  background: #f8f9fa;
  padding: 32px 16px;
  margin-top: auto;
}

.site-footer-inner {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.site-footer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.site-footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #868e96;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.site-footer-social-btn:hover {
  background: #dee2e6;
  color: #495057;
}

.site-footer-copy {
  font-size: 14px;
  color: #868e96;
}

/* ========================================
   Content Pages (About, Services)
   ======================================== */

.content-page {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 40px;
}

.content-section {
  padding: 24px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.content-section:last-child {
  border-bottom: none;
}

.content-section-nopadding {
  padding: 0;
}

.content-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1B4F52;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.content-text {
  font-size: 14px;
  color: #495057;
  line-height: 1.65;
  margin: 0 0 10px;
}

.content-text:last-child {
  margin-bottom: 0;
}

/* --- News timeline --- */
.news-timeline {
  padding: 20px 20px 10px;
}

.news-item {
  position: relative;
  padding: 0 0 24px 20px;
  border-left: 2px solid #e9ecef;
}

.news-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1B4F52;
}

.news-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.news-date {
  font-size: 12px;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  color: #1B4F52;
  margin: 4px 0 6px;
}

.news-text {
  font-size: 14px;
  color: #495057;
  line-height: 1.6;
  margin: 0;
}

/* --- About: gallery --- */
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.about-gallery-item {
  aspect-ratio: 9 / 16;
  width: 100%;
  object-fit: cover;
  display: block;
  background: #1B4F52;
}

/* --- About: hours --- */
.about-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #495057;
  padding: 8px 0;
  border-bottom: 1px solid #f8f9fa;
}

.about-hours-row:last-child {
  border-bottom: none;
}

.about-hours-closed {
  color: #adb5bd;
}

/* --- About: address & map --- */
.about-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #495057;
  margin: 12px 0 16px;
}

.about-address svg {
  color: #1B4F52;
  margin-top: 2px;
  flex-shrink: 0;
}

.about-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #1B4F52;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.about-map-btn:hover {
  background: #134045;
  color: #fff;
}

/* --- Services: price categories --- */
.price-category {
  border-bottom: 1px solid #f0f0f0;
}

.price-category:last-of-type {
  border-bottom: none;
}

.price-category-header {
  padding: 20px 20px 0;
}

.price-category-title {
  font-size: 15px;
  font-weight: 700;
  color: #1B4F52;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-category-subtitle {
  font-size: 12px;
  color: #adb5bd;
  margin: 0 0 12px;
  line-height: 1.5;
}

.price-list {
  padding: 8px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f8f9fa;
}

.price-item:last-child {
  border-bottom: none;
}

.price-item-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.price-item-name {
  font-size: 14px;
  color: #212529;
}

.price-item-duration {
  font-size: 12px;
  color: #adb5bd;
}

.price-item-price {
  font-size: 15px;
  font-weight: 700;
  color: #1B4F52;
  white-space: nowrap;
}

/* --- Services: CTA --- */
.services-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  background: #1B4F52;
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 16px;
  transition: background 0.2s;
}

.services-book-btn:hover {
  background: #134045;
  color: #fff;
}

.services-note {
  font-size: 12px;
  color: #adb5bd;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* --- Scenario Cards --- */
.scenario-title-label {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: 0 0 12px;
}

.scenario-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.scenario-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
  text-align: left;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: #fff;
  backdrop-filter: blur(4px);
}

.scenario-card:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
}

.scenario-card:active {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.9);
}

.scenario-icon {
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}

.scenario-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scenario-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  display: block;
}

.scenario-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ========================================
   Responsive
   ======================================== */

/* --- Site Responsive --- */
@media (max-width: 1024px) {
  .site-header-right {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header-nav {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
  }

  .site-header-nav,
  .site-header-right {
    display: none;
  }

  .site-header-burger {
    display: block;
    position: absolute;
    left: 16px;
  }

  .site-header-logo {
    flex: unset;
    align-items: center;
  }

  .site-header-logo svg {
    height: 44px;
    width: auto;
  }
}

@media (min-width: 769px) {
  .site-hero-title {
    font-size: 24px;
  }
}

/* --- Booking Responsive --- */
@media (max-width: 480px) {
  .booking-wizard-section .booking-container {
    padding-top: 60px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .scenario-cards {
    gap: 10px;
  }

  .scenario-card {
    padding: 14px 14px;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .site-header-lang {
    display: none;
  }
  .site-header-lang-mobile {
    display: flex;
    background: #f1f3f5;
    border-radius: 6px;
    overflow: hidden;
    align-self: flex-start;
  }
  .site-header-lang-mobile .site-header-lang-btn {
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* ========================================
   Mobile menu (vanilla)
   ======================================== */

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: #fff;
  z-index: 1101;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.mobile-menu-panel.open {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 4px;
  line-height: 1;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu-nav a {
  color: #333;
  font-size: 15px;
  text-decoration: none;
}
.mobile-menu-contacts {
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu-contacts a,
.mobile-menu-contacts span {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mobile-menu-rating {
  color: #666;
  font-size: 13px;
}
