    html {
      scroll-behavior: smooth;
      overflow-y: scroll;   /* Предотвращаем смещение контента при открытии модального окна */
    }
    body { font-family: 'Inter', sans-serif; }
    img { -webkit-user-select: none; user-select: none; pointer-events: none; }
    .cursor-pointer img { pointer-events: auto; }
    .card-hover { transition: all 0.3s ease; }
    .hero-bg-overlay {
      background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.7) 100%);
    }
    
    /* Плавная анимация для картинок с group-hover */
    .group-hover\:scale-105 {
      transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    /* Плавная анимация для картинок с hover (без group) */
    .hover\:scale-105 {
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    .hover\:scale-105:hover {
      transform: scale(1.05);
    }

    body.modal-open {
    overflow: hidden;
    }


  /* Стили для отложенной загрузки ФОТО */
  img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: #f1f5f9;
  }
  img.lazy.loaded {
    opacity: 1;
  }
  .lazy-placeholder {
    background: linear-gradient(110deg, #e2e8f0 8%, #f1f5f9 18%, #e2e8f0 33%);
    background-size: 200% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
  }
  @keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  /* Стили для лайтбокса */
  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .lightbox.active {
    opacity: 1;
    visibility: visible;
  }
  .lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  }
  .lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 14px;
    background: rgba(0,0,0,0.6);
    padding: 8px 16px;
    width: fit-content;
    margin: 0 auto;
    border-radius: 30px;
    backdrop-filter: blur(4px);
  }
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: 300;
    transition: transform 0.2s;
  }
  .lightbox-close:hover {
    transform: scale(1.1);
  }

/* Стили для кнопок аккордеона (FAQ) */
.faq-trigger {
  padding: 5px 24px;
  background-color: #f1f5f9 !important;
  border-radius: 12px !important;
  transition: background-color 0.2s ease;
}

.faq-trigger:hover {
  background-color: #e2e8f0 !important;
}

/* Иконка-стрелка – цвет самой стрелки, фон под ней делаем белым */
.faq-icon {
  background-color: #ffffff !important;  /* Белый фон кружка (был жёлтый) */
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.faq-icon svg {
  transition: transform 0.3s ease, stroke 0.2s ease;
  stroke: #475569 !important;            /* Тёмно-серая стрелка (не белая) */
  stroke-width: 2px !important;
}

.faq-trigger:hover .faq-icon svg {
  stroke: #1e293b !important;
}

/* Текст вопроса – нормальная жирность (не полужирный) */
.faq-trigger span:first-child {
  font-weight: 400 !important;   /* было 500 */
  color: #0f172a !important;
}


/* Sticky-кнопка с вашим фото */
.sticky-photo-button {
  /* полный сброс, чтобы button вёл себя как div */
  display: block;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  line-height: 0;
  font-size: 0;            /* убирает возможный зазор вокруг img */
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;

  /* ваше позиционирование */
  position: fixed;
  bottom: 90px;
  right: 60px;
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 9999;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.sticky-photo-button img {
  display: block;           /* обязательно, чтобы не было лишнего отступа */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.sticky-photo-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sticky-photo-button.show {
  opacity: 1;
  visibility: visible;
  animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ПК версия */
@media (min-width: 768px) {
  .sticky-photo-button {
    bottom: 90px;
    right: 60px;
    width: 70px;
    height: 70px;
  }
}

/* Мобильная версия */
@media (max-width: 767px) {
  .sticky-photo-button {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
  }
}

/* Опционально: сохраняем видимость фокуса */
.sticky-photo-button:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 3px;
}

/* Визуально скрытый текст для поисковиков и скринридеров */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Убираем лишний отступ под изображениями внутри слайдов */
.slide img {
  display: block;
}


/* ===== HERO: плашка на ПК ===== */
.hero-cabrio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 44px;
  background: #fbbf24;
  color: #1e293b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  clip-path: polygon(
    0% 0%,
    calc(100% - 20px) 0%,
    100% 0%,
    calc(100% - 20px) 50%,
    100% 100%,
    calc(100% - 20px) 100%,
    0% 100%,
    20px 50%
);
}

/* ===== HERO: единый H1 ===== */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.hero-main {
  display: block;
  font-size: 4.0rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

/* ===== HERO: надпись над заголовком ===== */
.hero-topline {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fcd34d;
  margin-bottom: 1.25rem;
  transform: translateY(-54px);
}

/* ===== Мобильные (до 768px) ===== */
@media (max-width: 768px) {
  .hero-main {
    font-size: 2.5rem;
    line-height: 1.15;
  }

  /* Плашка на мобильном превращается в текстовую строку */
  .hero-cabrio {
    background: none;
    box-shadow: none;
    clip-path: none;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fcd34d;
    white-space: normal;
    gap: 0;
    margin-bottom: 0.5rem;
  }

  /* Иконку скрываем на мобильном */
  .hero-cabrio img {
    display: none;
  }

  .hero-title {
    /* На мобильном: сначала плашка (подзаголовок), потом основной текст */
    flex-direction: column-reverse;
    margin-bottom: 1.5rem;
  }

  .hero-main {
    margin-bottom: 0;
    margin-top: 0.5rem;
  }

  .hero-topline {
    display: none; /* «Индивидуальные автотуры» на мобильном скрыты */
  }
}

/* Блок подписи под слайдером — фиксированная высота для мобильных (убирает прыжки) */
@media (max-width: 768px) {
  #slideCaption {
    height: 3.2em;          /* фиксированная высота, а не min-height */
    line-height: 1.6;
    overflow-y: auto;       /* если текст длиннее 2 строк, появится прокрутка */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 13px;
  }
}

/* Улучшенная высота для hero-секции на мобильных (динамическая) */
.hero-full-height {
  min-height: 100vh;   /* для старых браузеров (iOS < 15, старый Android) */
  min-height: 100dvh;  /* для современных браузеров (2022+) */
}

/* Переопределяем min-h-screen для hero-секции (сохраняем класс, улучшаем поведение) */
.relative.min-h-screen {
  min-height: 100vh;   /* fallback */
  min-height: 100dvh;  /* современные мобильные браузеры */
}


/* Слайдер: контейнеры */
#sliderTrackContainer {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  touch-action: pan-y pinch-zoom;
}
#sliderTrack {
  display: flex;
  transition: transform 0.3s ease-out;
  height: 100%;
  cursor: grab;
}
.slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  margin: 0;
  position: relative;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#slideDots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

/* Обёртка слайдера (центрирование, ширина, позиционирование) */
.slider-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Стрелки навигации слайдера */
#prevSlide,
#nextSlide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#prevSlide { left: 10px; }
#nextSlide { right: 10px; }
#prevSlide svg,
#nextSlide svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* Стрелки слайдера — улучшенное позиционирование на мобильных */
@media (max-width: 768px) {
  #prevSlide,
  #nextSlide {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
  }
  #prevSlide { left: 4px; }
  #nextSlide { right: 4px; }
  #prevSlide svg,
  #nextSlide svg {
    width: 22px;
    height: 22px;
  }
}

/* Стрелка вниз в HERO анимация */
@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}