html {
  scroll-behavior: smooth;
}
 :root {
  --primary-color: #216468;
  --primary-hover: #184b4e;
  --bg-main: #FFFFFF;
  --bg-alt: #F4F7F6; /* Легчайший изумрудный оттенок для разделения блоков */
  --text-dark: #111111;
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

/* === ЗАЩИТА ФОТОГРАФИЙ === */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

a img, button img {
  pointer-events: auto;
}

/* Разрешаем просмотр всех фото контента на ПК и мобильных */
.hotel-img-wrap,
.guide-img-wrap,
.tour-main-img-box,
.timeline-day-media,
.corporate-img-wrap,
.route-photo-card,
.equipment-img-wrap {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.accordion-item {
  cursor: pointer;
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: transparent;
}

.tour-img-accordion {
  cursor: default;
}

.tour-card img,
.hotel-card img,
.guide-card img,
.tour-main-img-box img,
.route-photo-card img,
.timeline-day-media img,
.corporate-img-wrap img,
.accordion-item img {
  pointer-events: auto !important;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
}

.dresscode-img-wrap,
.dresscode-img-wrap img {
  cursor: default !important;
  pointer-events: none !important;
}

/* Оверлей текста и подсказки не перехватывают клики */
.tour-img-overlay,
.tour-img-overlay *,
.tour-img-name,
.tour-img-badge,
.swipe-hint {
  pointer-events: none !important;
  user-select: none;
  -webkit-user-select: none;
}

/* === ДЕЛИКАТНАЯ АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ (ВАРИАНТ 2) === */
.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* На мобильных: микро-сдвиг всего на 8px и быстрое проявление 0.3s */
@media (max-width: 768px) {
  .reveal {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out !important;
    transition-delay: 0s !important;
    will-change: opacity, transform;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Если у пользователя в ОС отключена анимация */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* МОДАЛЬНЫЙ ЛАЙТБОКС ДЛЯ ПРОСМОТРА ФОТО */
.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.image-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.image-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto !important;
  height: auto !important;
  object-fit: scale-down;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  background-color: #ffffff;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  pointer-events: auto;
  -webkit-user-drag: none;
  display: block;
  margin: auto;
}

.image-lightbox.active .image-lightbox-img {
  transform: scale(1);
  -webkit-user-drag: none;
}

.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

 html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ШАПКА */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 0 30px;
}

/* ЛОГОТИП И ТЕКСТ */
.logo-brand-link { 
  display: flex; 
  flex-direction: row; 
  align-items: center; 
  text-decoration: none; 
  gap: 12px; 
}

.site-logo-img { 
  height: 70px; 
  width: auto; 
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-text-block { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
}

.logo-title { 
  font-size: 1.02rem; 
  font-weight: 600; 
  color: #ffffff; 
  letter-spacing: 1.2px; 
  line-height: 1.15; 
}

.logo-subtitle { 
  font-size: 0.56rem; 
  font-weight: 600; 
  color: #ffffff; 
  letter-spacing: 1.15px; 
  line-height: 1.2;
  margin-top: 3px;
  white-space: nowrap;
  display: block;
}

/* МЕНЮ НАВИГАЦИИ */
.header-right { display: flex; align-items: center; gap: 15px; }
.nav-menu { display: flex; align-items: center; gap: 20px; transition: right 0.4s ease; }
.nav-menu a { color: #ffffff; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.3s; }
.nav-menu a:hover { color: var(--primary-color); }

.btn-nav { padding: 8px 18px; border: 2px solid #ffffff; border-radius: 20px; }
.btn-nav:hover { background: #ffffff; color: #000000 !important; }

/* КОНТАКТЫ И СОЦСЕТИ В ШАПКЕ */
.nav-divider { color: rgba(255, 255, 255, 0.3); margin: 0 10px; }

.header-phone { color: #ffffff; text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: color 0.3s; }
.header-phone:hover { color: var(--primary-color); }

.social-links { display: flex; gap: 8px; align-items: center; }

/* БУРГЕР КНОПКА */
.burger-btn { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; background: transparent; border: none; cursor: pointer; z-index: 1501; }
.burger-btn span { display: block; width: 100%; height: 2px; background-color: #fff; transition: 0.3s; }
.burger-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.social-btn { 
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid #ffffff; border-radius: 50%;
  color: #ffffff; text-decoration: none; transition: 0.3s;
}

.social-btn:hover { 
  background: #ffffff; 
  border-color: #ffffff;
  transform: scale(1.1);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Telegram */
.social-btn-telegram {
  background: #0088cc;
  border-color: #0088cc;
}

.social-btn-telegram svg {
  fill: #ffffff;
}

.social-btn-telegram:hover {
  background: #006699;
  border-color: #006699;
}

/* ВКонтакте */
.social-btn-vk {
  background: #0077FF;
  border-color: #0077FF;
}

.social-btn-vk svg {
  fill: #ffffff;
  width: 18px;
  height: 18px;
}

.social-btn-vk:hover {
  background: #005dd1;
  border-color: #005dd1;
}

/* WhatsApp */
.social-btn-whatsapp {
  background-color: #25D366;
  border-color: #25D366;
}

.social-btn-whatsapp svg {
  fill: #ffffff;
}

.social-btn-whatsapp:hover {
  background-color: #20ba5a;
  border-color: #20ba5a;
}

/* ГЛАВНЫЙ ЭКРАН */
.hero-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('./images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 60%, black 80%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 60%, black 80%, black 100%);
  z-index: 1;
}

.hero-center-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  width: 100%;
  margin-top: 50vh; 
}

.hero-center-content h1 {
  font-size: 5rem;
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 15px;
  font-family: var(--font-heading);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-center-content p {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* РАЗДЕЛ ТУРЫ */
.tours-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 30px;
  font-family: var(--font-heading);
  color: var(--primary-color);
}

.tours-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
}

.tours-tabs .tab-btn {
  white-space: normal;
  text-align: center;
  padding: 8px 14px;
  font-size: 0.85rem;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 25px;
  border: 1.5px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 35px;
  transition: opacity 0.3s ease-in-out; /* Добавили это */
}

.tour-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Каскадный поочередный показ карточек в сетке каталога */
.tours-grid .tour-card:nth-child(3n+2) {
  transition-delay: 0.1s;
}

.tours-grid .tour-card:nth-child(3n+3) {
  transition-delay: 0.2s;
}



.tour-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}



.tour-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  image-rendering: auto;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  /* Стабильное сглаживание без ряби пикселей при зуме */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1.001);
  will-change: transform;
}



@media (hover: hover) and (pointer: fine) {
  .tour-card:hover .tour-img-wrap img {
    transform: translate3d(0, 0, 0) scale(1.04);
  }
}

/* Карусель фото в карточках туров */
.tour-img-accordion {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tour-img-accordion::-webkit-scrollbar {
  display: none;
}

.tour-img-accordion .accordion-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.tour-img-accordion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Кнопки-стрелки карусели */
.tour-slider-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 6;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
}

.tour-img-wrap:hover .tour-slider-btn {
  opacity: 1;
}

.tour-slider-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.08);
}

.tour-slider-btn.prev {
  left: 10px;
}

.tour-slider-btn.next {
  right: 10px;
}

/* Подсказка свайпа по умолчанию скрыта на ПК */
.swipe-hint {
  display: none;
}

/* Мобильная адаптация: горизонтальный свайп пальцем без кнопок */
@media (max-width: 768px) {
  .tour-slider-btn {
    display: none !important;
  }

  .swipe-hint {
    display: inline-flex;
    align-items: center;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .swipe-hint.is-hidden {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.tour-info-card {
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.tour-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.tour-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.tour-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.tour-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: #777;
}

.btn-tour-more {
  display: inline-block;
  padding: 8px 18px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.3s;
}

.btn-tour-more:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ПЛАВАЮЩАЯ КНОПКА И CRM */
.floating-btn {
  position: fixed; 
  bottom: 25px; 
  right: 25px; 
  z-index: 999;
  background: var(--primary-color); 
  color: #fff; 
  border: none; 
  font-weight: 500; 
  padding: 14px 24px; 
  border-radius: 4px; 
  cursor: pointer; 
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25); 
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease; 
}

.floating-btn:hover { 
  background: var(--primary-hover); 
  transform: translateY(-5px); 
  box-shadow: 0 15px 25px rgba(0,0,0,0.4);
}

/* Мгновенный отклик кнопок (без блокировки свайпов у фото) */
button, 
a:not(.tour-img-wrap):not(.accordion-item):not(.route-photo-card), 
.tab-btn, 
.scroll-to-top,
.btn-tour-more,
.btn-submit,
.btn-corporate-order,
.btn-guide {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

/* Гарантированная кликабельность кнопок (только когда они не внутри закрытой модалки) */
.btn-tour-more,
.btn-corporate-order,
.btn-guide,
.tour-bottom a,
.tour-booking-bar .btn-submit,
.modal-overlay.active .btn-submit {
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

/* ЕДИНЫЙ СТИЛЬ КНОПКИ НАВЕРХ БЕЗ ДЁРГАНИЙ */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease, background-color 0.2s ease, color 0.2s ease;
}

.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .scroll-to-top:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
}

.scroll-to-top svg {
  display: block;
  pointer-events: none;
}

.modal-overlay {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); 
  display: flex; 
  align-items: center; 
  justify-content: center;
  z-index: 2000; 
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important; 
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay * {
  pointer-events: none;
}

.modal-overlay.active { 
  opacity: 1;
  visibility: visible;
  pointer-events: all !important; 
}

.modal-overlay.active * {
  pointer-events: auto;
}

.modal-window { 
  background: #fff; 
  padding: 30px; 
  border-radius: 4px; 
  max-width: 400px; 
  width: 90%; 
  position: relative; 
}

.modal-close { 
  position: absolute; 
  top: 10px; 
  right: 15px; 
  background: none; 
  border: none; 
  font-size: 1.5rem; 
  cursor: pointer; 
  color: #111; 
  z-index: 5;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.form-input { 
  padding: 12px; 
  border: 1px solid #ccc; 
  border-radius: 4px; 
  outline: none; 
  margin-bottom: 12px; 
  width: 100%; 
  box-sizing: border-box; 
  font-family: var(--font-main); 
  font-size: 16px; /* 16px предотвращает автозум в iOS Safari */
}

.form-input:focus { 
  border-color: var(--primary-color); 
}

textarea.form-input { 
  resize: vertical; 
  min-height: 80px; 
}

.btn-submit { 
  background: var(--primary-color); 
  color: #fff; 
  border: none; 
  padding: 12px; 
  width: 100%; 
  font-weight: 500; 
  border-radius: 4px; 
  cursor: pointer; 
  text-transform: uppercase; 
  transition: background 0.3s; 
}

.btn-submit:hover { 
  background: var(--primary-hover); 
}

.privacy-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 12px;
  cursor: pointer;
}

.privacy-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.privacy-checkbox-label a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}

.privacy-checkbox-label a:hover {
  color: var(--primary-hover);
}

/* ========================================
   АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА
   ======================================== */

@media (max-width: 1024px) {
  .container { padding: 0 15px; }
  .header-container { padding: 0 20px; }
  .nav-menu { gap: 15px; }
  .nav-menu a { font-size: 0.85rem; }
  .hero-center-content h1 { font-size: 4.5rem; }
  .hero-center-content p { font-size: 1rem; }
}

@media (max-width: 768px) {
  .header-container { flex-direction: row; justify-content: space-between; padding: 10px 15px; align-items: center; }
  .logo-brand-link { gap: 10px; }
  .site-logo-img { height: 46px; }
  .logo-title { 
    font-size: 0.84rem; 
    font-weight: 700; 
    letter-spacing: 0.3px; 
    line-height: 1.1; 
  }
  .logo-subtitle { 
    font-size: 0.48rem; 
    font-weight: 700; 
    letter-spacing: 0.2px; 
    line-height: 1.1; 
    margin-top: 2px; 
    opacity: 0.95; 
  }
  
  .burger-btn { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background: var(--primary-color);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 10px;
    z-index: 1500;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }
  .nav-menu.active { right: 0; }
  
  /* Начальное скрытое состояние пунктов до открытия меню */
  .nav-menu a { 
    font-size: 1rem; 
    color: #fff !important;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    width: 100%;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1), transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .btn-nav { 
    font-size: 1rem !important; 
    color: #fff !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 0 !important;
    padding: 10px 0 !important;
    width: 100%;
    margin-top: 0 !important;
  }

  .nav-divider { display: none; }
  .header-phone { 
    color: #fff !important;
    font-size: 0.95rem !important;
    margin-top: 10px;
  }

  /* Поочерёдное каскадное появление пунктов меню при открытии */
  .nav-menu.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active .nav-link:nth-of-type(1) { transition-delay: 0.12s; } /* Туры */
  .nav-menu.active .nav-link:nth-of-type(2) { transition-delay: 0.17s; } /* Корпоративные туры */
  .nav-menu.active .nav-link:nth-of-type(3) { transition-delay: 0.22s; } /* Услуги */
  .nav-menu.active .nav-link:nth-of-type(4) { transition-delay: 0.27s; } /* О нас */
  .nav-menu.active .nav-link:nth-of-type(5) { transition-delay: 0.32s; } /* Памятка */
  .nav-menu.active .btn-nav                { transition-delay: 0.37s; } /* Контакты */
  .nav-menu.active .header-phone          { transition-delay: 0.42s; } /* Телефон */

 .social-links { margin-right: 15px; }
  .hero-blur-overlay {
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 35%, black 55%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 35%, black 55%, black 100%);
  }
  .hero-center-content { margin-top: 35vh; padding: 0 20px; }
  .hero-center-content h1 { font-size: 3.5rem; letter-spacing: 2px; }
  .hero-center-content p { font-size: 1rem; letter-spacing: 3px; }
  .floating-btn { bottom: 20px; right: 20px; padding: 12px 20px; font-size: 0.85rem; }
  .modal-window { padding: 25px; max-width: 90%; }
}

@media (max-width: 480px) {
  .hero-fullscreen {
    background-size: cover;
    background-position: 65% 15%; 
  }
  .header { padding: 8px 0; }
  .header-container { padding: 8px 10px; gap: 12px; }
  .logo-brand-link { gap: 8px; }
  .site-logo-img { height: 38px; }
  .logo-title { 
    font-size: 0.74rem; 
    font-weight: 700; 
    letter-spacing: 0.2px; 
    line-height: 1.1; 
  }
  .logo-subtitle { 
    font-size: 0.44rem; 
    font-weight: 700; 
    letter-spacing: 0.05px; 
    line-height: 1.1; 
    margin-top: 2px; 
    opacity: 0.95; 
  }
  .nav-menu { width: 65%; right: -65%; }
  .nav-menu.active { right: 0; }
  .social-btn { width: 30px; height: 30px; }
  .social-btn svg { width: 15px; height: 15px; }
  .social-btn-vk svg { width: 17px; height: 17px; }
  
  .hero-blur-overlay {
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 40%, black 65%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 40%, black 65%, black 100%);
  }
  .hero-center-content { margin-top: 35vh; padding: 0 15px; }
  .hero-center-content h1 { font-size: 2.8rem; letter-spacing: 1px; margin-bottom: 8px; }
  .hero-center-content p { font-size: 0.9rem; letter-spacing: 2px; }
  .floating-btn { bottom: 15px; right: 15px; padding: 10px 16px; font-size: 0.75rem; }
  .scroll-to-top { bottom: 15px; left: 15px; width: 38px; height: 38px; }
  .modal-window { padding: 20px; max-width: 95%; }
  .modal-window h2 { font-size: 1.3rem; margin-bottom: 15px !important; }
  .form-input { padding: 10px; font-size: 0.9rem; margin-bottom: 10px; }
  textarea.form-input { min-height: 70px; }
  .btn-submit { padding: 10px; font-size: 0.85rem; }
  .modal-close { font-size: 1.3rem; top: 8px; right: 12px; }
  .tours-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .hero-center-content h1 { font-size: 2.2rem; }
  .hero-center-content p { font-size: 0.75rem; letter-spacing: 1.5px; }
}

/* СТИЛИ ДЕТАЛЬНОЙ СТРАНИЦЫ ТУРА */
.tour-page-body {
  background-color: #f4f6f5;
}

.static-header {
  position: relative !important;
  background-color: #111111 !important;
}

.tour-detail-page {
  padding: 40px 0 80px;
}

.breadcrumb {
  margin-bottom: 25px;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.2s;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.tour-detail-title {
  font-size: 2.6rem;
  font-family: var(--font-heading);
  color: #111;
  margin-bottom: 5px;
}

.tour-detail-subtitle {
  font-size: 1.15rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.tour-detail-layout {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 20px;
}

.tour-media-col {
  flex: 0 0 55%;
  z-index: 1;
}

.tour-main-img-box {
  width: 100%;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tour-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-content-col {
  flex: 0 0 52%;
  margin-left: -7%;
  z-index: 2;
}

.tour-spec-card {
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 106, 85, 0.25);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.spec-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
}

.spec-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.route-badge {
  background: rgba(255, 255, 255, 0.12);
  border-left: 4px solid #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: #ffffff !important;
}

.tour-checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tour-checklist li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.tour-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #a3e3d4;
  font-weight: 700;
}

.tour-booking-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-top: 10px;
}

.tour-booking-bar .label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.tour-booking-bar .price-val {
  font-size: 1.9rem;
  font-weight: 700;
  color: #ffffff;
}

.tour-booking-bar .price-val small {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.tour-booking-bar .btn-submit {
  background: #ffffff;
  color: var(--primary-color);
  font-weight: 700;
  width: auto;
  padding: 12px 28px;
  transition: transform 0.2s, background-color 0.2s;
}

.tour-booking-bar .btn-submit:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .tour-detail-layout {
    flex-direction: column;
    margin-top: 0;
  }
  .tour-media-col, .tour-content-col {
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
  }
  .tour-main-img-box {
    height: 320px;
    margin-bottom: -30px;
  }
  .tour-spec-card {
    padding: 25px;
  }
  .tour-detail-title {
    font-size: 2rem;
  }
  .tour-booking-bar {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    text-align: center;
  }
  .tour-booking-bar .btn-submit {
    width: 100%;
  }
}

/* ГАЛЕРЕЯ МАРШРУТА */
.route-gallery {
  margin-top: 60px;
}

.gallery-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 25px;
  font-family: var(--font-heading);
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Общий контейнер ряда: убираем общий фон, делаем прозрачным */
.route-photo-card {
  display: flex;
  align-items: stretch;
  gap: 24px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1), transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Шахматный порядок: четные ряды зеркалятся */
.route-photo-card:nth-child(even) {
  flex-direction: row-reverse;
}

/* 1. Блок с фотографией: отдельная крупная рамка */
.route-photo-card img {
  width: 58%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Центровка макушки Башни Согласия в 1-м дне тура «Тайны древних ущелий» */
.route-photo-card img[src*="gorges-day1"] {
  object-position: center 30%;
}

/* 2. Блок с текстом: отдельная фирменная карточка */
.route-photo-content {
  width: 42%;
  background: var(--primary-color);
  border-radius: 24px;
  padding: 36px 30px;
  box-sizing: border-box;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 106, 85, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.route-photo-title {
  margin: 0 0 14px 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
}

.route-photo-desc {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 768px) {
  .route-gallery {
    margin-top: 40px;
  }
  .gallery-title {
    font-size: 1.4rem;
  }
  .gallery-grid {
    gap: 24px;
  }
  .route-photo-card,
  .route-photo-card:nth-child(even) {
    flex-direction: column;
    gap: 14px;
  }
  .route-photo-card img {
    width: 100%;
    height: 260px;
  }
  .route-photo-content {
    width: 100%;
    padding: 24px 20px;
  }
}

/* СЕКЦИЯ: КОРПОРАТИВНЫЕ */
.corporate-section {
  width: 100%;
  min-height: 480px;
  background-color: #111111;
  display: flex;
  align-items: stretch;
}

.corporate-inner {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 80px 60px;
}

.corporate-text {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.corporate-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.corporate-title {
  font-size: 2.8rem;
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.15;
}

.corporate-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.corporate-section .btn-tour-more {
  align-self: flex-start;
  background: #ffffff;
  color: #111111;
  font-size: 0.9rem;
  padding: 12px 28px;
}

.corporate-section .btn-tour-more:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .corporate-inner {
    padding: 60px 25px;
  }
  .corporate-title {
    font-size: 2rem;
  }
}

/* СЕКЦИЯ: ОТЕЛИ */
.hotels-section {
  padding: 80px 0;
  background-color: var(--bg-main);
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .hotels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 580px) {
  .hotels-grid {
    grid-template-columns: 1fr;
  }
}

.hotel-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease-out;
}

/* Каскадное появление отелей без дерганья */
.hotels-grid .hotel-card:nth-child(2) {
  transition-delay: 0.1s;
}

.hotels-grid .hotel-card:nth-child(3) {
  transition-delay: 0.2s;
}

.hotels-grid .hotel-card:nth-child(4) {
  transition-delay: 0.3s;
}

.hotel-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.hotel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  /* Убираем моргание пикселей при зуме */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media (hover: hover) and (pointer: fine) {
  .hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  }
  .hotel-card:hover .hotel-img-wrap img {
    transform: scale(1.05);
  }
}

.hotel-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.hotel-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
}

.hotel-location {
  font-size: 0.85rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.hotel-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 10px;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.hotel-info .btn-tour-more {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 480px) {
  .hotels-grid {
    grid-template-columns: 1fr;
  }
}

/* СЕКЦИЯ: О НАС */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 780px;
  gap: 0;
  align-items: start;
  margin: 0 auto;
}

.about-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
  display: block;
}

.about-title {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  color: var(--primary-color);
  line-height: 1.25;
  margin-bottom: 24px;
}

.about-text {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 24px;
  text-align: justify;
}

/* Сетка преимуществ */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.about-feature-item {
  background: #ffffff;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(33, 100, 104, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  background: var(--primary-color);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-item strong {
  display: block;
  font-size: 0.92rem;
  color: #111;
  line-height: 1.3;
  margin-bottom: 4px;
}

.about-feature-item p {
  font-size: 0.83rem;
  color: #555;
  line-height: 1.45;
  margin: 0;
  text-align: left;
}

/* Карточка-приглашение */
.about-invite-card {
  background: linear-gradient(135deg, rgba(33, 100, 104, 0.08) 0%, rgba(33, 100, 104, 0.03) 100%);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 14px 14px 0;
  padding: 18px 20px;
  margin-bottom: 22px;
}

.about-invite-card p {
  font-size: 0.95rem;
  color: #222;
  font-style: italic;
  line-height: 1.65;
  margin: 0;
  text-align: justify;
}

/* Плашки ключевых услуг */
.about-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.about-pill {
  background: #ffffff;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

@media (max-width: 650px) {
  .about-features-grid {
    grid-template-columns: 1fr;
  }
}



.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-title {
    font-size: 1.8rem;
  }
  
}

/* СЕКЦИЯ: ПАМЯТКА */
.pamyatka-section {
  padding: 100px 0;
  background-color: var(--bg-main);
}

.pamyatka-title {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
}

.pamyatka-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pamyatka-text-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pamyatka-subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.pamyatka-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pamyatka-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
  color: #333;
  line-height: 1.7;
  font-weight: 500;
}

.pamyatka-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
}

/* Вертикальная карусель карточек памятки */
.pamyatka-cards-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 580px;
  overflow-y: auto;
  padding-right: 12px;
  scroll-snap-type: y mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #edf2f1;
}

/* Скрываем системные кнопки со стрелками в Chrome/Edge */
.pamyatka-cards-col::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* Аккуратная тонкая полоса скругленной формы */
.pamyatka-cards-col::-webkit-scrollbar {
  width: 6px;
}

.pamyatka-cards-col::-webkit-scrollbar-track {
  background: #edf2f1;
  border-radius: 10px;
}

.pamyatka-cards-col::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
  transition: background 0.2s ease;
}

.pamyatka-cards-col::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

.dresscode-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  background-color: #103835;
  background-image: 
    linear-gradient(180deg, rgba(16, 56, 53, 0.5) 0%, rgba(16, 56, 53, 0.15) 50%, rgba(16, 56, 53, 0.6) 100%),
    url('dresscode/mountains-bg.png');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: multiply, normal;
  color: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.dresscode-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #ffffff;
  color: #1f4e4b;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  width: fit-content;
}

.dresscode-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px 0;
}

.dresscode-intro {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  margin: 0;
}

.dresscode-visual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dresscode-figure-item {
  flex: 0 0 90px;
  display: flex;
  justify-content: center;
}

.dresscode-img-wrap {
  position: relative;
  width: 85px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dresscode-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Иконки статуса (крест / галочка) */
.dresscode-status-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ban-icon {
  width: 70px;
  height: 70px;
  border: 4px solid #e63946;
  border-radius: 50%;
  position: absolute;
}

.ban-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: #e63946;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-45deg);
}

.allow-icon {
  width: 24px;
  height: 48px;
  border-right: 6px solid #4ade80;
  border-bottom: 6px solid #4ade80;
  transform: translate(-50%, -60%) rotate(40deg);
}

.dresscode-rules-list {
  flex: 1;
}

.dresscode-rules-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dresscode-rules-list li {
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
  padding-left: 14px;
}

.dresscode-rules-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.6);
}

.dresscode-items-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dresscode-mixed-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dresscode-mixed-item .dresscode-img-wrap {
  flex-shrink: 0;
  height: 120px;
}

.dresscode-rule-text {
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0;
}

.text-danger {
  color: #ff6b6b;
  font-weight: 700;
}

@media (max-width: 768px) {
  .pamyatka-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pamyatka-title {
    font-size: 2.2rem;
  }
}

/* СЕКЦИЯ: ОТЗЫВЫ */
.reviews-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

.reviews-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(27, 77, 80, 0.07) 0%, rgba(27, 77, 80, 0.13) 100%);
  border: 1px solid rgba(27, 77, 80, 0.15);
  border-radius: 24px;
  padding: 80px 80px;
}

.reviews-title {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
  color: var(--primary-color);
}

.reviews-subtitle {
  font-size: 1.3rem;
  color: #888;
  font-weight: 500;
  margin-top: 10px;
}

.reviews-btns-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0;
  position: relative;
}

.reviews-arrow {
  display: inline-block;
  opacity: 0.7;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.reviews-btns {
  display: flex;
  gap: 15px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.review-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px 12px 12px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  transition: transform 0.2s, box-shadow 0.2s;
  color: #111;
  border: 1px solid #eee;
}

.review-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.review-btn-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
}

@media (max-width: 768px) {
  .reviews-inner {
    text-align: center;
    padding: 50px 20px;
  }
  .reviews-btns-wrap {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .reviews-arrow {
    display: block;
  }
  .reviews-btns {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }
  .review-btn {
    width: auto;
    padding: 10px 20px;
    justify-content: center;
  }
  .reviews-title {
    font-size: 2.5rem;
  }
}

/* СЕКЦИЯ: КОНТАКТЫ */
.contacts-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.contacts-title {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: stretch;
}

.contacts-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1), transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Изолируем тяжелую карту от сдвигов, чтобы убрать дерганье браузера */
.contacts-map-col.reveal {
  transform: none !important;
  opacity: 0;
  transition: opacity 0.6s ease-out 0.15s;
}

.contacts-map-col.reveal.is-visible {
  opacity: 1;
}

.contacts-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.contacts-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  font-weight: 500;
}

.contacts-phone {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.contacts-phone:hover {
  color: var(--primary-hover);
}

.contacts-email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.contacts-email:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.contacts-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contacts-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contacts-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.contacts-vk { background: #0077FF; }
.contacts-tg { background: #0088cc; }
.contacts-wa { background: #25D366; }

.contacts-map-col {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  min-height: 420px;
}

.contacts-map-col iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

@media (max-width: 768px) {
  .contacts-inner {
    grid-template-columns: 1fr;
  }
  .contacts-title {
    font-size: 2.5rem;
  }
  .contacts-map-col {
    min-height: 300px;
  }
}

/* === COOKIE БАННЕР === */
.cookie-banner {
  position: fixed;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 860px;
  background: #111111;
  color: #ffffff;
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 999999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: bottom 0.5s ease;
}

.cookie-banner.active {
  bottom: 25px;
}

.cookie-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  flex: 1;
}

.cookie-text a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-text a:hover {
  color: rgba(255,255,255,0.75);
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.cookie-btn-accept {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
  pointer-events: auto;
}

.cookie-btn-accept:hover {
  background: var(--primary-hover);
}

.cookie-btn-decline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.7);
  padding: 9px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
  pointer-events: auto;
}

.cookie-btn-decline:hover {
  border-color: #fff;
  color: #fff;
}

.cookie-btn-more {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  text-decoration: underline;
  white-space: nowrap;
}

.cookie-btn-more:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .cookie-banner {
    width: calc(100% - 24px);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-radius: 12px;
  }
  .cookie-banner.active {
    bottom: 15px;
  }
  .cookie-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .cookie-btns {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .cookie-btn-accept,
  .cookie-btn-decline {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 0.82rem;
    min-height: 40px;
  }
  .cookie-btn-more {
    font-size: 0.78rem;
    padding: 8px 4px;
    text-align: center;
    flex-shrink: 0;
  }
}

/* === УВЕДОМЛЕНИЕ ОБ ОТПРАВКЕ === */
.success-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -30px);
  background: var(--primary-color);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  width: max-content;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}

.success-toast.active {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.success-toast-icon {
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.success-toast-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.success-toast-text strong {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.success-toast-text span {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.25;
}

/* === УВЕДОМЛЕНИЕ ОБ ОШИБКЕ === */
.error-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -30px);
  background: #d63031; /* Насыщенный красный цвет */
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  box-shadow: 0 6px 20px rgba(214, 48, 49, 0.35);
  width: max-content;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}

.error-toast.active {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.error-toast-icon {
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.error-toast-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.error-toast-text strong {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
}

.error-toast-text span {
  font-size: 0.76rem;
  color: #ffffff;
  line-height: 1.25;
}

/* === ФУТЕР === */
.site-footer {
  background: var(--primary-color);
  color: rgba(255,255,255,0.8);
  padding: 20px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copy {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-details {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
}

.footer-offer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  text-align: center;
  line-height: 1.45;
}

.footer-privacy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-privacy:hover {
  color: #fff;
}
/* Шахматная программа тура по отдельным локациям */
.days-timeline-stack {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-top: 30px;
}

.timeline-day-row {
  display: flex;
  align-items: stretch;
  gap: 30px;
  transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1), transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-day-row:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-day-media {
  flex: 1;
  min-height: 270px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  background-color: #f0f0f0;
}

.timeline-day-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.timeline-day-row:hover .timeline-day-media img {
  transform: scale(1.03);
}

.timeline-day-card {
  flex: 1;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 106, 85, 0.15);
}

.day-badge-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 12px;
}

.timeline-day-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

.timeline-day-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 850px) {
  .timeline-day-row,
  .timeline-day-row:nth-child(even) {
    flex-direction: column;
    gap: 16px;
  }

  .timeline-day-media {
    min-height: 220px;
    height: 220px;
    border-radius: 24px;
  }
}
/* === АППАРАТНАЯ АНИМАЦИЯ ПОЯВЛЕНИЯ ВСЕХ СТРАНИЦ === */
@keyframes pageLoadFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mainSlideUp {
  from { 
    opacity: 0; 
    transform: translateY(15px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

body {
  opacity: 0;
  /* Плавное проявление шапки, футера и фона */
  animation: pageLoadFade 0.4s ease-out forwards;
}

main {
  opacity: 0;
  /* Логичный выезд контента (не затрагивает fixed-элементы) */
  animation: mainSlideUp 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.1s; /* Легкая задержка для красивого эффекта */
  will-change: opacity, transform;
}

/* Отключение для устройств с режимом экономии энергии / отключенной анимацией */
@media (prefers-reduced-motion: reduce) {
  body, main {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.header-wa-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  cursor: pointer;
  margin-left: 8px;
  padding: 4px;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-wa-link:hover {
  transform: scale(1.15);
  opacity: 0.9;
}
/* БЛОК ГИДОВ */
.guides-subblock {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.guides-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
  margin-bottom: 28px;
  text-align: center;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease-out;
}

/* Каскадное появление карточек гидов */
.guides-grid .guide-card:nth-child(2) {
  transition-delay: 0.15s;
}
.guides-grid .guide-card:nth-child(3) {
  transition-delay: 0.3s;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 106, 85, 0.12);
}

.guide-img-wrap {
  width: 100%;
  height: 270px;
  overflow: hidden;
  flex-shrink: 0;
}

.guide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Персональная центровка лиц */
.guide-card img[src*="timurziev"],
.guide-card img[alt*="Тимурзиев"] {
  object-position: center 55%; /* Сместили фокус на макушку */
}

.guide-card img[src*="khamkhoev"],
.guide-card img[alt*="Хамхоев"] {
  object-position: center 40%; /* Сместили фокус на макушку */
}

.guide-card img[src*="pogorov"],
.guide-card img[alt*="Погоров"] {
  object-position: center 15%;
  transform: none;
}

.guide-info {
  width: 100%;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-sizing: border-box;
}

.guide-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px 0;
  font-family: var(--font-heading);
}

.guide-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.guide-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.btn-guide {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: auto;
}

@media (max-width: 992px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .guide-img-wrap {
    height: 240px;
  }
}
/* СЕКЦИЯ: КОРПОРАТИВНЫЕ ТУРЫ */
.corporate-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.corporate-banner-card {
  display: flex;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 106, 85, 0.1);
  margin-top: 24px;
}

.corporate-img-wrap {
  position: relative;
  width: 48%;
  min-height: 380px;
  flex-shrink: 0;
}

.corporate-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.corporate-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.corporate-content {
  width: 52%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.corporate-tour-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 14px 0;
  font-family: var(--font-heading);
}

.corporate-tour-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin: 0 0 16px 0;
}

.corporate-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.corporate-features-list li {
  font-size: 0.92rem;
  color: #333;
  position: relative;
  padding-left: 22px;
}

.corporate-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.corporate-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  gap: 16px;
  flex-wrap: wrap;
}

.corporate-price-box {
  display: flex;
  flex-direction: column;
}

.corporate-price-label {
  font-size: 0.8rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.corporate-price-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
}

.corporate-price-value span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
}

.corporate-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-corporate-order {
  background: var(--primary-color);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-corporate-order:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .corporate-banner-card {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }
  .corporate-img-wrap {
    width: 100%;
    min-height: 220px;
  }
  .corporate-content {
    width: 100%;
    padding: 20px 16px;
    box-sizing: border-box;
  }
  .corporate-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .corporate-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    box-sizing: border-box;
  }
  .corporate-actions .btn-tour-more,
  .corporate-actions .btn-corporate-order {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    flex: none;
  }
}


/* Фирменная надпись поверх фото тура */
.tour-img-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 12px;
  color: #ffffff;
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.25rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 2;
}



/* Градиентное затемнение снизу под текст */
.tour-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
  z-index: 2;
}

/* Белое название тура (как «Приэльбрусье») */
.tour-img-name {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Аккуратная плашка без рамки/контура */
.tour-img-badge {
  background-color: rgba(33, 100, 104, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: none !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tour-img-badge.tour-img-badge--green {
  background-color: rgba(33, 100, 104, 0.9);
  border: none !important;
  color: #ffffff;
}
/* === ЕДИНОЕ ВЫРАВНИВАНИЕ ТЕКСТА ПО ШИРИНЕ НА ВСЁМ САЙТЕ === */
.tour-desc,
.corporate-tour-desc,
.hotel-desc,
.guide-desc,
.about-text,
.pamyatka-list li,
.dresscode-intro,
.dresscode-rule-text,
.spec-section p:not(.route-badge),
.route-photo-desc,
.timeline-day-desc,
.privacy-page p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
/* Центровка фото автомобилей в блоке Трансфер */
.transfer-img-wrap img {
  object-position: center center !important;
}

/* === ПОДРАЗДЕЛ: НАШИ ПРОЕКТЫ (ВНУТРИ О КОМПАНИИ) === */
.about-projects-block {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.about-projects-title {
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 106, 85, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 106, 85, 0.12);
}

.project-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.project-desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.project-info .btn-tour-more {
  align-self: flex-start;
}

/* === БЛОК: ПРОКАТ ТУРОБОРУДОВАНИЯ (В УСЛУГАХ) === */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.equipment-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 106, 85, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 106, 85, 0.12);
}

.equipment-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: #f2f5f4;
}

.equipment-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.equipment-card:hover .equipment-img-wrap img {
  transform: scale(1.06);
}

.equipment-info {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.equipment-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.equipment-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
  text-align: left;
  margin-bottom: 20px;
  flex-grow: 1;
}

.equipment-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 14px;
}

.equipment-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2e7d32;
  display: flex;
  align-items: center;
  gap: 5px;
}

.equipment-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #2e7d32;
  border-radius: 50%;
}

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .equipment-grid {
    grid-template-columns: 1fr;
  }
}
