/*
Theme Name: VoronkaClub
Theme URI: https://voronka.club/
Description: Тема для VoronkaClub — клуба путешествий. Каталог поездок и формы заявок.
Author: VoronkaClub
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: voronkaclub
*/

/* ==========================================================================
   Базовые стили (заглушка) — наполняется по мере разработки
   ========================================================================== */

:root {
  /* Связь старых имён переменных темы с design tokens (assets/css/tokens.css).
     Токены — единый источник истины; здесь только алиасы для совместимости. */
  --vc-color-bg: var(--vc-bg);          /* фон #eef0f6 */
  --vc-color-dark: var(--vc-indigo);    /* тёмный #13131c */
  --vc-color-text: var(--vc-text);      /* #1b1c26 */
  --vc-color-light: var(--vc-text-on-dark); /* #f4f5fa */
  --vc-color-accent: var(--vc-copper);  /* акцент #5b63e6 */

  /* Алиасы, используемые в hero/компонентах. */
  --vc-gold: var(--vc-copper);
  --vc-ivory: var(--vc-text-on-dark);
  --vc-muted: var(--vc-text-secondary);

  /* Типографика → токены. */
  --vc-font-heading: var(--vc-font-display);
  --vc-font-body: var(--vc-font-ui);

  --vc-max-width: var(--vc-content);
}

* {
  box-sizing: border-box;
}

/* Плавная прокрутка при переходе по якорным ссылкам */
html {
  scroll-behavior: smooth;
}

/* Секции-якоря главной останавливаются ниже sticky-шапки */
.vc-values[id],
.vc-routes[id] {
  scroll-margin-top: calc(var(--vc-header-h) + 20px);
}

/* Уважаем настройку «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--vc-font-body);
  color: var(--vc-color-text);
  background: var(--vc-color-bg);
  line-height: 1.6;
  overflow-x: hidden; /* защита от горизонтального скролла из-за full-bleed/100vw */
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
  font-family: var(--vc-font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.vc-container {
  max-width: var(--vc-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* На главной секции сами управляют шириной/центровкой.
   Обёртка из header.php становится сквозной — это убирает необходимость
   в 100vw-фулл-бливе (он давал горизонтальный скролл на мобильных). */
.site-main > .vc-container {
  max-width: none;
  padding: 0;
  overflow-x: clip; /* страховка от случайного выезда детей за вьюпорт */
}

a {
  color: var(--vc-color-accent);
}

/* --- Шапка --- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 210;
  /* По умолчанию прозрачна и лежит поверх hero (светлый текст). */
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 18px 0;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
}

/* Проскролленное / непрозрачное состояние: тёмный фон + blur.
   Включается JS-классом is-scrolled, а на страницах без hero — сразу. */
.site-header.is-scrolled,
body:not(.vc-has-hero) .site-header {
  background: rgba(12, 12, 20, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--vc-border-on-dark);
  padding: 12px 0;
}

/* Хедер фиксирован и выпадает из потока. На страницах с hero контент
   уходит под прозрачную шапку (так и нужно). На страницах без hero —
   компенсируем высоту шапки отступом, чтобы контент не залезал под неё. */
body:not(.vc-has-hero) .site-main {
  padding-top: var(--vc-header-h);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  /* Full-width с боковым отступом; на 2K/4K центрируется до --vc-wide */
  width: 100%;
  max-width: var(--vc-wide);
  margin: 0 auto;
  padding: 0 var(--vc-gutter);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-brand__name {
  font-family: var(--vc-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vc-text-on-dark);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  position: relative;
  font-family: var(--vc-font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 245, 250, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Медное подчёркивание ссылок навигации на hover (как в референсе). */
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--vc-copper);
  transition: width 0.3s ease;
}

.site-nav__list a:hover {
  color: var(--vc-text-on-dark);
}

.site-nav__list a:hover::after {
  width: 100%;
}

/* Кнопка Telegram в хедере */
.vc-btn--tg {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--vc-radius-btn);
  background: var(--vc-gold);
  color: var(--vc-text-on-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vc-btn--tg:hover {
  background: var(--vc-copper-hover);
  transform: translateY(-2px);
}

/* Бургер (только мобильные) */
.site-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid rgba(244, 245, 250, 0.22);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.site-burger span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0;
  border-radius: 2px;
  background: var(--vc-text-on-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.site-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Хедер: мобильная навигация */
/* Мобильный drawer — скрыт на десктопе */
.mob-nav,
.mob-nav-overlay {
  display: none;
}

@media (max-width: 860px) {
  .site-burger {
    display: flex;
  }

  .site-header__actions .vc-btn--header {
    display: none;
  }

  .site-brand {
    position: static;
    transform: none;
    z-index: auto;
  }

  .site-header__actions {
    padding-left: 0;
  }

  /* Десктопный nav скрываем */
  .site-nav {
    display: none;
  }

  /* Мобильный drawer */
  .mob-nav {
    display: block;
    position: fixed;
    top: var(--vc-header-h);
    right: 0;
    bottom: 0;
    width: min(80vw, 300px);
    background: var(--vc-indigo);
    z-index: 300;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.3);
  }

  .mob-nav.is-open {
    transform: translateX(0);
  }

  .mob-nav__list {
    list-style: none;
    margin: 0;
    padding: 24px 0;
  }

  .mob-nav__list li {
    border-bottom: 1px solid rgba(248, 246, 242, 0.08);
  }

  .mob-nav__list li:first-child {
    border-top: 1px solid rgba(248, 246, 242, 0.08);
  }

  .mob-nav__list a {
    display: block;
    padding: 18px 28px;
    font-family: var(--vc-font-ui);
    font-size: 1.05rem;
    color: rgba(248, 246, 242, 0.85);
    text-decoration: none;
  }

  .mob-nav__list a:active {
    color: var(--vc-copper);
  }

  /* Оверлей */
  .mob-nav-overlay {
    display: block;
    position: fixed;
    top: var(--vc-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 20, 72, 0.5);
    z-index: 299;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mob-nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  body.vc-nav-open {
    overflow: hidden;
  }
}

/* --- Подвал --- */

.site-footer {
  background: var(--vc-indigo-900);
  color: var(--vc-text-on-dark);
  padding: 72px 0 44px;
}

.site-footer__inner {
  /* Та же ширина, что у шапки — full-width с капом --vc-wide */
  width: 100%;
  max-width: var(--vc-wide);
  margin: 0 auto;
  padding: 0 var(--vc-gutter);
}

/* Верхний ярус: бренд слева, колонки ссылок справа */
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--vc-border-on-dark);
}

.site-footer__brand {
  max-width: 380px;
}

.site-footer__name {
  font-family: var(--vc-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-footer__tagline {
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 245, 250, 0.6);
}

.site-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}

.site-footer__col-title {
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 245, 250, 0.45);
  margin-bottom: 16px;
}

.site-footer__menu {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.site-footer__menu a {
  color: rgba(244, 245, 250, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__menu a:hover {
  color: var(--vc-copper-light);
}

/* Нижний ярус: копирайт + реквизиты ИП */
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.8rem;
  color: rgba(244, 245, 250, 0.42);
}

.site-footer__copy,
.site-footer__requisites {
  margin: 0;
}

/* Мобильные */
@media (max-width: 600px) {
  .site-header__inner {
    padding: 0 20px; /* совпадает с отступом hero на мобильных */
  }
  .site-footer {
    padding: 48px 0 32px;
  }
  .site-footer__cols {
    gap: 40px;
  }
}

/* ==========================================================================
   Hero — первый экран главной
   ========================================================================== */

.vc-hero {
  /* full-bleed: выходим за пределы .vc-container из header.php */
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Фон-заглушка: глубокий индиго с лёгкими световыми пятнами.
     Заменяется фото через --vc-hero-photo (настройка темы). */
  background:
    radial-gradient(60% 80% at 80% 10%, rgba(201, 149, 106, 0.22) 0%, transparent 60%),
    radial-gradient(50% 60% at 15% 90%, rgba(201, 149, 106, 0.10) 0%, transparent 55%),
    var(--vc-indigo);
  background-size: cover;
  background-position: center;
}

.vc-hero.has-photo {
  background-image: var(--vc-hero-photo);
}

/* Фоновое видео hero — на всю площадь, под градиентом */
.vc-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Уважаем отключённую анимацию: прячем видео, остаётся фото-постер */
@media (prefers-reduced-motion: reduce) {
  .vc-hero__video {
    display: none;
  }
}

/* Затемняющий градиент поверх фото/видео — диагональ слева + низ (как в референсе) */
.vc-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(12, 12, 20, 0.85) 0%,
      rgba(12, 12, 20, 0.38) 50%,
      rgba(12, 12, 20, 0.18) 100%
    ),
    linear-gradient(
      0deg,
      rgba(12, 12, 20, 0.7) 0%,
      rgba(12, 12, 20, 0) 30%
    );
  pointer-events: none;
}

/* Контент прижат к низу-левому краю первого экрана (full-width, кап на 2K/4K) */
.vc-hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: var(--vc-wide);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding: 64px var(--vc-gutter) 56px;
}

.vc-hero__content {
  max-width: 60%;
  animation: vc-fade-up 0.5s ease-out both;
}

.vc-hero__eyebrow {
  margin: 0 0 20px;
  font-family: var(--vc-font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--vc-copper-light);
}

.vc-hero__title {
  margin: 0;
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: clamp(3.25rem, 7.5vw, 6.5rem);
  line-height: 0.93;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--vc-text-on-dark);
}

/* Осмысленные строки заголовка — переносим по словам, а не внутри слов */
.vc-hero__line {
  display: block;
}

.vc-hero__lead {
  margin: 26px 0 0;
  max-width: 44ch;
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  line-height: 1.6;
  color: rgba(244, 245, 250, 0.8);
}

.vc-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

/* Вертикальная подпись по правому краю первого экрана */
.vc-hero__aside {
  position: absolute;
  top: 50%;
  right: var(--vc-gutter);
  transform: translateY(-50%);
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--vc-font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 245, 250, 0.45);
}

/* Hero на планшете/мобиле: на всю высоту экрана, контент прижат к низу,
   но с гарантированным отступом под фиксированную шапку (eyebrow не лезет под лого). */
@media (max-width: 860px) {
  .vc-hero {
    /* Динамическая высота вьюпорта — учитывает адресную строку браузера */
    min-height: 100vh;
    min-height: 100dvh;
  }
  .vc-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    /* Отступ сверху больше высоты шапки — текст начинается заведомо ниже лого */
    padding: calc(var(--vc-header-h) + 64px) var(--vc-gutter) 48px;
  }
  .vc-hero__content {
    max-width: 100%;
  }
  .vc-hero__aside {
    display: none;
  }
}

@media (max-width: 600px) {
  .vc-hero__title {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }
  .vc-hero__lead {
    font-size: 1rem;
  }
}

/* --- Кнопки (как в референсе: Oswald, uppercase, почти прямые углы) --- */
.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Сплошная акцентная — основной CTA. Текст светлый (как в референсе). */
.vc-btn--primary {
  padding: 16px 28px;
  border: 0;
  border-radius: var(--vc-radius-btn);
  background: var(--vc-copper);
  color: var(--vc-text-on-dark);
}

.vc-btn--primary:hover {
  background: var(--vc-copper-hover);
}

.vc-btn--header {
  padding: 12px 22px;
  border: 1px solid var(--vc-copper);
  border-radius: var(--vc-radius-btn);
  background: var(--vc-copper);
  color: var(--vc-text-on-dark);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.vc-btn--header:hover {
  border-color: var(--vc-copper-hover);
  background: var(--vc-copper-hover);
}

/* Призрачная — прозрачная со светлой рамкой на тёмном фоне. */
.vc-btn--ghost {
  padding: 16px 28px;
  border-radius: var(--vc-radius-btn);
  background: transparent;
  border: 1px solid rgba(244, 245, 250, 0.32);
  color: var(--vc-text-on-dark);
}

.vc-btn--ghost:hover {
  background: var(--vc-bg);
  color: var(--vc-indigo);
}

/* --- Карточка ближайшего выезда --- */
.vc-trip {
  flex-shrink: 0;
  width: 320px;
  padding: 24px;
  border-radius: var(--vc-radius-lg);
  background: var(--vc-ivory);
  color: var(--vc-indigo);
  animation: vc-fade-in 0.7s ease-out both;
}

.vc-trip__label {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vc-gold);
}

.vc-trip__route {
  margin: 0 0 18px;
  font-family: var(--vc-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.vc-trip__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(22, 20, 72, 0.12);
}

.vc-trip__date {
  font-size: 1rem;
  font-weight: 600;
}

.vc-trip__seats {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vc-gold);
}

/* Статус мест: достаточно / мало / нет */
.vc-trip__seats--ok {
  color: #2e7d4f; /* спокойный зелёный — мест хватает */
}

.vc-trip__seats--low {
  color: var(--vc-gold); /* медный — мало мест, лёгкая срочность */
}

.vc-trip__seats--none {
  color: var(--vc-text-muted); /* приглушённо — мест нет */
}

.vc-trip__cta {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.95rem;
}

/* --- Блок быстрых преимуществ (glassmorphism) --- */
.vc-benefits {
  position: relative;
  z-index: 2;
  margin: 0 7vw 40px;
  padding: 28px 32px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  border-radius: 24px;
  background: rgba(251, 251, 252, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(251, 251, 252, 0.18);
  animation: vc-fade-up 0.6s ease-out 0.15s both;
}

.vc-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vc-benefit__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--vc-gold);
}

.vc-benefit__icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vc-benefit__text {
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--vc-ivory);
}

/* --- Анимации hero --- */
@keyframes vc-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes vc-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .vc-hero__content,
  .vc-trip,
  .vc-benefits {
    animation: none;
  }
}

/* --- Адаптив hero --- */
@media (max-width: 1024px) {
  .vc-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }
  .vc-trip {
    width: 100%;
    max-width: 420px;
  }
  .vc-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  /* Высоту и отступ hero задаёт мобильный блок выше (max-width:860px) — здесь
     только мельчим заголовок и кнопки. min-height/padding НЕ трогаем. */
  .vc-hero__title {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
  }
  .vc-hero__lead {
    font-size: 1rem;
  }
  .vc-hero__cta {
    flex-direction: column;
  }
  .vc-hero__cta .vc-btn {
    width: 100%;
  }
  .vc-benefits {
    grid-template-columns: 1fr;
    margin: 0 20px 32px;
    padding: 22px 24px;
  }
}

/* ==========================================================================
   Секция преимуществ «Почему с нами» (под hero)
   ========================================================================== */

.vc-values {
  /* full-bleed: на всю ширину, единый левый край с hero */
  width: 100%;
  background: var(--vc-bg);
  padding: var(--vc-section-gap) 0;
}

.vc-values__container {
  max-width: var(--vc-content);
  margin: 0 auto;
  padding: 0 var(--vc-gutter);
}

.vc-values__head {
  max-width: 680px;
  margin-bottom: 64px;
}

.vc-values__eyebrow {
  margin: 0 0 18px;
  font-size: var(--vc-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vc-copper);
}

.vc-values__title {
  margin: 0 0 24px;
  font-family: var(--vc-font-display);
  font-size: var(--vc-h2);
  line-height: var(--vc-lh-heading);
  color: var(--vc-indigo);
}

.vc-values__title-line {
  display: block;
}

.vc-values__intro {
  margin: 0;
  max-width: 580px;
  font-size: var(--vc-body-lg);
  line-height: var(--vc-lh-body);
  color: var(--vc-text-secondary);
}

/* Макет: фото слева (40%) + список справа (60%) */
.vc-values__layout {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 64px;
  align-items: start;
}

/* Левая колонка — фото + бейдж */
.vc-values__media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vc-values__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--vc-radius-lg);
  overflow: hidden;
  /* Заглушка: индиго с тёплым светом (в духе «костёр/закат») */
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(208, 142, 87, 0.32) 0%, transparent 60%),
    radial-gradient(60% 50% at 70% 20%, rgba(208, 142, 87, 0.12) 0%, transparent 55%),
    var(--vc-indigo);
}

.vc-values__photo::after {
  /* лёгкая «дымка» снизу для глубины */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22, 20, 72, 0.45) 100%);
}

.vc-values__photo.has-photo {
  background: var(--vc-values-photo) center / cover no-repeat;
  transition: transform var(--vc-dur-slow) var(--vc-ease);
}

.vc-values__media:hover .vc-values__photo.has-photo {
  transform: scale(1.04);
}

/* Бейдж под фото — премиальная карточка */
.vc-values__badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--vc-radius-md);
  background: var(--vc-surface);
  border: var(--vc-hairline);
}

.vc-values__badge-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--vc-copper);
}

.vc-values__badge-icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vc-values__badge-text {
  font-size: var(--vc-small);
  line-height: 1.4;
  color: var(--vc-text);
  font-weight: var(--vc-weight-medium);
}

/* Правая колонка — список с разделителями (без карточек) */
.vc-values__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vc-value {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: var(--vc-hairline);
}

.vc-value:first-child {
  padding-top: 0;
}

.vc-value:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.vc-value__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-top: 4px;
  color: var(--vc-copper);
}

.vc-value__icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vc-value__title {
  margin: 0 0 8px;
  font-family: var(--vc-font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--vc-indigo);
}

.vc-value__text {
  margin: 0;
  font-size: var(--vc-body);
  line-height: var(--vc-lh-body);
  color: var(--vc-text-secondary);
}

@media (max-width: 900px) {
  .vc-values__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .vc-values__photo {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 600px) {
  .vc-values__head {
    margin-bottom: 40px;
  }
  .vc-value {
    gap: 18px;
    padding: 26px 0;
  }
}

/* ==========================================================================
   Блок «Маршруты» — сетка карточек (как в референсе: фото + белая карточка)
   ========================================================================== */

.vc-routes {
  width: 100%;
  background: var(--vc-bg);
  padding: var(--vc-section-gap) 0;
}

.vc-routes__container {
  max-width: var(--vc-content);
  margin: 0 auto;
  padding: 0 var(--vc-gutter);
}

.vc-routes__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 54px;
}

.vc-routes__eyebrow {
  margin: 0 0 12px;
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vc-copper-dark);
}

.vc-routes__title {
  margin: 0;
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--vc-text);
}

.vc-routes__title-line {
  display: block;
}

.vc-routes__all {
  font-family: var(--vc-font-display);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vc-text);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.vc-routes__all:hover {
  border-bottom-color: var(--vc-copper);
}

/* Сетка карточек: 2 колонки */
.vc-routes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* --- Карточка маршрута: фото сверху + белая карточка --- */
.vc-tour {
  display: block;
}

.vc-tour__link {
  display: block;
  background: var(--vc-surface);
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 0 var(--vc-border);
  transition: transform 0.5s var(--vc-ease);
}

.vc-tour__link:hover {
  transform: translateY(-6px);
}

/* Фото */
.vc-tour__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--vc-indigo) var(--vc-tour-photo, none) center / cover no-repeat;
  transition: transform 0.8s var(--vc-ease);
}

.vc-tour__link:hover .vc-tour__media {
  transform: scale(1.05);
}

.vc-tour__media--placeholder {
  background:
    radial-gradient(70% 55% at 70% 15%, rgba(91, 99, 230, 0.28) 0%, transparent 60%),
    var(--vc-indigo);
}

/* Бейдж — слева сверху */
.vc-tour__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 2px;
  background: var(--vc-copper);
  color: var(--vc-text-on-dark);
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* «Предзапись» — тёмная капсула с рамкой */
.vc-tour__badge--soon {
  background: rgba(18, 18, 28, 0.78);
  border: 1px solid var(--vc-border-on-dark);
}

/* Тело карточки */
.vc-tour__body {
  padding: 30px 30px 34px;
}

.vc-tour__title {
  margin: 0;
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--vc-text);
}

.vc-tour__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0 0;
}

.vc-tour__meta-item {
  font-family: var(--vc-font-display);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vc-text-secondary);
}

.vc-tour__meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c4c7d6;
}

.vc-tour__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--vc-border);
}

.vc-tour__price {
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--vc-text);
}

.vc-tour__more {
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vc-copper-dark);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .vc-routes__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .vc-routes__head {
    margin-bottom: 36px;
  }
  .vc-tour__body {
    padding: 24px 24px 28px;
  }
}

/* ==========================================================================
   Страница маршрута (single-tour)
   ========================================================================== */

/* Hero тура — фото на всю ширину, заголовок поверх */
/* ==========================================================================
   Тур «Скоро / предзапись» — упрощённый hero
   ========================================================================== */

.vc-soon__hero {
  position: relative;
  min-height: calc(100vh - var(--vc-header-h));
  min-height: calc(100svh - var(--vc-header-h));
  display: flex;
  align-items: center;
  background: var(--vc-indigo);
  background-size: cover;
  background-position: center;
}

.vc-soon__hero.has-photo {
  background-image: var(--vc-tour-hero-photo);
}

.vc-soon__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 20, 72, 0.55) 0%, rgba(22, 20, 72, 0.78) 100%);
}

.vc-soon__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 64px var(--vc-gutter);
  text-align: center;
  color: var(--vc-ivory);
}

.vc-soon__back {
  display: inline-block;
  margin-bottom: 28px;
  color: rgba(248, 246, 242, 0.8);
  text-decoration: none;
  font-size: var(--vc-small);
}

.vc-soon__back:hover { color: var(--vc-copper); }

.vc-soon__badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--vc-copper);
  color: var(--vc-surface);
  font-size: var(--vc-small);
  font-weight: var(--vc-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vc-soon__title {
  margin: 0 0 16px;
  font-family: var(--vc-font-display);
  font-size: var(--vc-h1);
  line-height: var(--vc-lh-display);
  color: var(--vc-ivory);
}

.vc-soon__season {
  margin: 0 0 18px;
  font-size: var(--vc-body-lg);
  font-weight: var(--vc-weight-medium);
  color: var(--vc-copper);
}

.vc-soon__text {
  margin: 0 auto 32px;
  max-width: 620px;
  font-size: var(--vc-body);
  line-height: var(--vc-lh-body);
  color: rgba(248, 246, 242, 0.85);
}

.vc-soon__cta {
  display: inline-flex;
}

.vc-tour-hero {
  position: relative;
  /* Высота экрана за вычетом sticky-шапки, чтобы hero ровно умещался в первый экран */
  min-height: calc(100vh - var(--vc-header-h));
  min-height: calc(100svh - var(--vc-header-h));
  display: flex;
  align-items: flex-end;
  background: var(--vc-indigo);
  background-size: cover;
  background-position: center;
}

.vc-tour-hero.has-photo {
  background-image: var(--vc-tour-hero-photo);
}

.vc-tour-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.vc-tour-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--vc-content);
  margin: 0 auto;
  padding: 48px var(--vc-gutter);
  color: var(--vc-ivory);
}

.vc-tour-hero__back {
  display: inline-block;
  margin-bottom: 20px;
  color: rgba(248, 246, 242, 0.8);
  text-decoration: none;
  font-size: var(--vc-small);
}

.vc-tour-hero__back:hover {
  color: var(--vc-copper);
}

.vc-tour-hero__title {
  margin: 0 0 16px;
  font-family: var(--vc-font-display);
  font-size: var(--vc-h1);
  line-height: var(--vc-lh-display);
  color: var(--vc-ivory);
}

.vc-tour-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: var(--vc-body);
  color: rgba(248, 246, 242, 0.85);
}

.vc-tour-hero__seats--low { color: var(--vc-copper); }
.vc-tour-hero__seats--none { color: rgba(248, 246, 242, 0.6); }

/* Тело: контент + сайдбар */
.vc-tour-body {
  /* Та же ширина, что и текст в hero (контент-контейнер) */
  max-width: var(--vc-content);
  margin: 0 auto;
  padding: var(--vc-section-gap) var(--vc-gutter);
}

.vc-tour-section {
  margin-bottom: 48px;
  /* Якорь останавливается ниже sticky-шапки и sticky-меню тура,
     чтобы заголовок секции не прятался под ними. */
  scroll-margin-top: calc(var(--vc-header-h) + 76px);
}

.vc-tour-section__title {
  margin: 0 0 20px;
  font-family: var(--vc-font-display);
  font-size: var(--vc-h3);
  color: var(--vc-indigo);
}

.vc-tour-section__text p {
  margin: 0 0 14px;
  font-size: var(--vc-body-lg);
  line-height: var(--vc-lh-body);
  color: var(--vc-text-secondary);
}

/* Программа по дням */
/* Программа по дням — аккордеон из белых скруглённых карточек */
.vc-program {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vc-program__item {
  background: var(--vc-surface);
  border: var(--vc-hairline);
  border-radius: var(--vc-radius-lg);
  overflow: hidden;
}

.vc-program__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none; /* убираем стандартный маркер <summary> */
}

/* Прячем дефолтный треугольник <summary> в разных движках */
.vc-program__header::-webkit-details-marker { display: none; }
.vc-program__header::marker { content: ''; }

.vc-program__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vc-program__suptitle {
  font-family: var(--vc-font-body);
  font-size: 13px;
  font-weight: var(--vc-weight-medium);
  color: var(--vc-text-muted);
  letter-spacing: 0.02em;
}

.vc-program__title {
  font-family: var(--vc-font-body);
  font-size: 1.25rem;
  font-weight: var(--vc-weight-semibold);
  color: var(--vc-indigo);
}

.vc-program__icon {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--vc-indigo);
  transition: transform 0.25s ease;
}

.vc-program__item[open] .vc-program__icon {
  transform: rotate(180deg);
}

.vc-program__body {
  /* Только анимация высоты (accordion.js задаёт height в px → transition).
     Паддинг и раскладка — на внутренней обёртке, чтобы анимация была гладкой. */
  overflow: hidden;
  transition: height 0.3s ease;
}

/* Раскрытая карточка дня: текст слева, фото справа (как у neverend) */
.vc-program__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 0 28px 28px;
}

/* День без фото — текст на всю ширину */
.vc-program__inner--no-photo {
  grid-template-columns: 1fr;
}

.vc-program__text {
  margin: 0 0 16px;
  font-size: var(--vc-body);
  line-height: var(--vc-lh-body);
  color: var(--vc-text-secondary);
}

.vc-program__text:last-child {
  margin-bottom: 0;
}

.vc-program__media {
  margin: 0;
}

.vc-program__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--vc-radius-lg);
}

/* Что входит */
.vc-tour-included {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vc-tour-included li {
  position: relative;
  padding: 0 0 12px 28px;
  font-size: var(--vc-body);
  color: var(--vc-text);
}

.vc-tour-included li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vc-copper);
}

/* Сайдбар с ценой/CTA — sticky */
.vc-tour-card {
  padding: 28px;
  border-radius: var(--vc-radius-lg);
  border: var(--vc-hairline);
  background: var(--vc-surface);
}

.vc-tour-card__price {
  margin: 0 0 20px;
  font-family: var(--vc-font-display);
  font-size: 1.75rem;
  color: var(--vc-indigo);
}

.vc-tour-card__facts {
  margin: 0 0 24px;
}

.vc-tour-card__facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: var(--vc-hairline);
}

.vc-tour-card__facts dt {
  color: var(--vc-text-secondary);
  font-size: var(--vc-small);
}

.vc-tour-card__facts dd {
  margin: 0;
  font-weight: var(--vc-weight-semibold);
  color: var(--vc-indigo);
  font-size: var(--vc-small);
  text-align: right;
}

.vc-tour-card__seats--low { color: var(--vc-copper); }
.vc-tour-card__seats--none { color: var(--vc-text-muted); }

.vc-tour-card__cta {
  width: 100%;
}

.vc-tour-card__note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--vc-text-muted);
  text-align: center;
}

/* Якорное липкое меню */
.vc-tour-nav {
  position: sticky;
  top: var(--vc-header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: var(--vc-hairline);
}

.vc-tour-nav__inner {
  max-width: var(--vc-content);
  margin: 0 auto;
  padding: 12px var(--vc-gutter);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.vc-tour-nav__inner::-webkit-scrollbar { height: 0; }

/* Пункт-пилюля */
.vc-tour-nav a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: var(--vc-small);
  font-weight: var(--vc-weight-medium);
  color: var(--vc-text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.vc-tour-nav a:hover {
  color: var(--vc-indigo);
  background: rgba(22, 20, 72, 0.06);
}

/* Активный пункт (подсвечивается при скролле через JS) */
.vc-tour-nav a.is-active {
  color: var(--vc-indigo);
  background: rgba(22, 20, 72, 0.08);
}

/* CTA — медная пилюля, прижата вправо */
.vc-tour-nav__cta,
.vc-tour-nav a.vc-tour-nav__cta {
  margin-left: auto;
  padding: 8px 18px;
  background: var(--vc-copper);
  color: var(--vc-surface);
  font-weight: var(--vc-weight-semibold);
}

.vc-tour-nav a.vc-tour-nav__cta:hover {
  background: var(--vc-copper-hover, #454dc9);
  color: var(--vc-surface);
}

/* Блок «Главное» — 4 фишки */
.vc-tour-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vc-tour-feature {
  border-radius: var(--vc-radius-md);
  border: var(--vc-hairline);
  background: var(--vc-surface);
  overflow: hidden;
}

/* Фото фишки — сверху карточки, фикс. пропорция */
.vc-tour-feature__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.vc-tour-feature__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vc-tour-feature__body {
  padding: 24px;
}

.vc-tour-feature__title {
  margin: 0 0 8px;
  font-family: var(--vc-font-display);
  font-size: 1.2rem;
  color: var(--vc-indigo);
}

.vc-tour-feature__text {
  margin: 0;
  font-size: var(--vc-body);
  line-height: var(--vc-lh-body);
  color: var(--vc-text-secondary);
}

/* «Что вас ждёт» — теги-чипы */
.vc-tour-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vc-tour-highlight {
  padding: 10px 18px;
  border-radius: 999px;
  border: var(--vc-hairline);
  font-size: var(--vc-small);
  color: var(--vc-text);
}

/* Галерея */
/* Fullscreen gallery slider */
.vc-gallery {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 48px;
  margin-bottom: 48px;
  height: 90vh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  background: var(--vc-indigo);
  scroll-margin-top: calc(var(--vc-header-h) + 76px);
  outline: none;
}

.vc-gallery__track-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.vc-gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.vc-gallery__track:active {
  cursor: grabbing;
}

.vc-gallery__slide {
  flex: 0 0 100%;
  height: 100%;
  background: var(--vc-indigo) center / cover no-repeat;
  position: relative;
}

/* Градиент снизу для читаемости подписи */
.vc-gallery__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(22, 20, 72, 0.72) 0%,
    rgba(22, 20, 72, 0.18) 40%,
    transparent 65%
  );
  pointer-events: none;
}

/* Подпись — левый нижний угол */
.vc-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 48px 56px 44px;
  pointer-events: none;
}

.vc-gallery__caption-title {
  margin: 0 0 8px;
  font-family: var(--vc-font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.vc-gallery__caption-text {
  margin: 0;
  font-family: var(--vc-font-ui);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
}

/* UI — счётчик + кнопки — нижний правый угол */
.vc-gallery__ui {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}

.vc-gallery__counter {
  font-family: var(--vc-font-ui);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.vc-gallery__btns {
  display: flex;
  gap: 8px;
}

.vc-gallery__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.vc-gallery__btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 600px) {
  .vc-gallery {
    height: 75vh;
    min-height: 400px;
  }

  .vc-gallery__caption {
    padding: 32px 24px 28px;
  }

  .vc-gallery__ui {
    bottom: 24px;
    right: 24px;
    gap: 12px;
  }
}

/* Что входит / не входит */
.vc-tour-incl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vc-tour-incl__head {
  margin: 0 0 14px;
  font-weight: var(--vc-weight-semibold);
  font-size: var(--vc-body);
}

.vc-tour-incl__head--yes { color: #2e7d4f; }
.vc-tour-incl__head--no { color: var(--vc-text-muted); }

.vc-tour-incl__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vc-tour-incl__list li {
  position: relative;
  padding: 0 0 10px 26px;
  font-size: var(--vc-body);
  color: var(--vc-text-secondary);
}

.vc-tour-incl__list--yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2e7d4f;
  font-weight: 700;
}

.vc-tour-incl__list--no li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--vc-text-muted);
}

/* Тарифы */
.vc-tour-tariffs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.vc-tour-tariff {
  padding: 28px;
  border-radius: var(--vc-radius-lg);
  border: var(--vc-hairline);
  display: flex;
  flex-direction: column;
}

.vc-tour-tariff.is-featured {
  border-color: var(--vc-copper);
}

.vc-tour-tariff__name {
  margin: 0 0 8px;
  font-size: var(--vc-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vc-copper);
}

.vc-tour-tariff__price {
  margin: 0 0 18px;
  font-family: var(--vc-font-display);
  font-size: 1.6rem;
  color: var(--vc-indigo);
}

.vc-tour-tariff__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}

.vc-tour-tariff__list li {
  padding: 8px 0;
  border-top: var(--vc-hairline);
  font-size: var(--vc-small);
  color: var(--vc-text-secondary);
}

.vc-tour-tariff__cta { width: 100%; }

/* FAQ-аккордеон */
.vc-tour-faq__item {
  border-bottom: var(--vc-hairline);
}

.vc-tour-faq__q {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: var(--vc-font-display);
  font-size: 1.1rem;
  color: var(--vc-indigo);
}

.vc-tour-faq__q::-webkit-details-marker { display: none; }

.vc-tour-faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.5rem;
  color: var(--vc-copper);
  transition: transform 0.2s ease;
}

.vc-tour-faq__item[open] .vc-tour-faq__q::after {
  transform: rotate(45deg);
}

.vc-tour-faq__a {
  /* Анимируемое тело без паддинга — паддинг на .vc-tour-faq__inner,
     чтобы схлопывание до height:0 было идеально гладким (как у программы). */
  overflow: hidden;
  transition: height 0.3s ease;
}

.vc-tour-faq__inner {
  padding: 0 0 20px;
}

.vc-tour-faq__a p {
  margin: 0;
  font-size: var(--vc-body);
  line-height: var(--vc-lh-body);
  color: var(--vc-text-secondary);
}

@media (max-width: 860px) {
  .vc-tour-features,
  .vc-tour-incl,
  .vc-tour-tariffs {
    grid-template-columns: 1fr;
  }
  .vc-tour-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Карточка дня — в одну колонку, фото под текстом */
  .vc-program__header {
    padding: 20px;
  }
  .vc-program__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 20px 20px;
  }
}

/* ==========================================================================
   Блок сложности маршрута
   ========================================================================== */

.vc-difficulty {
  padding: 72px 0 80px;
  border-top: var(--vc-hairline);
  border-bottom: var(--vc-hairline);
  scroll-margin-top: calc(var(--vc-header-h) + 76px);
}

.vc-difficulty__head {
  margin-bottom: 48px;
}

.vc-difficulty__eyebrow {
  margin: 0 0 16px;
  font-family: var(--vc-font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vc-indigo);
  opacity: 0.4;
}

.vc-difficulty__question {
  margin: 0;
  font-family: var(--vc-font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--vc-indigo);
}

.vc-difficulty__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: var(--vc-hairline);
}

.vc-difficulty__col {
  padding: 40px 0;
}

.vc-difficulty__col--hard {
  padding-right: 64px;
  border-right: var(--vc-hairline);
}

.vc-difficulty__col--easy {
  padding-left: 64px;
}

.vc-difficulty__col-label {
  margin: 0 0 28px;
  font-family: var(--vc-font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.vc-difficulty__col--hard .vc-difficulty__col-label {
  color: var(--vc-copper);
}

.vc-difficulty__col--easy .vc-difficulty__col-label {
  color: var(--vc-indigo);
  opacity: 0.4;
}

.vc-difficulty__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vc-difficulty__list li {
  padding: 18px 0;
  border-top: 1px solid rgba(31, 36, 48, 0.07);
  font-family: var(--vc-font-ui);
  font-size: var(--vc-body-lg);
  line-height: 1.55;
  color: var(--vc-indigo);
}

.vc-difficulty__list li:first-child {
  border-top: none;
}

.vc-difficulty__verdict {
  padding-top: 40px;
  border-top: var(--vc-hairline);
  margin-top: 8px;
}

.vc-difficulty__verdict p {
  margin: 0;
  font-family: var(--vc-font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--vc-indigo);
  max-width: 640px;
}

/* Mobile */
@media (max-width: 720px) {
  .vc-difficulty {
    padding: 56px 0 64px;
  }

  .vc-difficulty__body {
    grid-template-columns: 1fr;
  }

  .vc-difficulty__col--hard {
    padding-right: 0;
    border-right: none;
    border-bottom: var(--vc-hairline);
    padding-bottom: 40px;
  }

  .vc-difficulty__col--easy {
    padding-left: 0;
    padding-top: 40px;
  }

  .vc-difficulty__list li {
    font-size: var(--vc-body);
  }
}

/* ==========================================================================
   Форма заявки (лид) — ядро конверсии
   ========================================================================== */

.vc-lead {
  position: relative;
  background: var(--vc-indigo);
  color: var(--vc-text-on-dark);
  overflow: hidden;
}

/* Full-width двухколоночная сетка: фото слева, панель с формой справа */
.vc-lead__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

/* Фото слева с затемнением */
.vc-lead__media {
  position: relative;
  background: var(--vc-indigo);
}

.vc-lead__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--vc-lead-photo, none) center / cover no-repeat;
}

.vc-lead__media--placeholder,
.vc-lead__media:not(.has-photo)::before {
  background:
    radial-gradient(60% 70% at 30% 20%, rgba(91, 99, 230, 0.3) 0%, transparent 60%),
    var(--vc-indigo);
}

/* Затемняющий градиент к панели */
.vc-lead__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 12, 20, 0.2), rgba(18, 18, 28, 0.85));
}

/* Панель с формой справа */
.vc-lead__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 64px;
}

.vc-lead__eyebrow {
  margin: 0 0 16px;
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vc-copper-light);
}

.vc-lead__title {
  margin: 0;
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 4.6vw, 3.75rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--vc-text-on-dark);
}

.vc-lead__lead {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: var(--vc-body);
  line-height: var(--vc-lh-body);
  color: rgba(244, 245, 250, 0.72);
}

/* --- Форма --- */
.vc-lead__form {
  margin-top: 36px;
  max-width: 440px;
}

.vc-lead__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.vc-lead__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vc-lead__label {
  font-size: var(--vc-small);
  color: rgba(244, 245, 250, 0.7);
}

.vc-lead__field input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 3px;
  border: 1px solid rgba(244, 245, 250, 0.24);
  background: transparent;
  color: var(--vc-text-on-dark);
  font-family: var(--vc-font-ui);
  font-size: var(--vc-body);
  transition: border-color 0.2s ease;
}

.vc-lead__field input::placeholder {
  color: #9094a3;
}

.vc-lead__field input:focus {
  outline: none;
  border-color: var(--vc-copper);
}

/* Honeypot — прячем от людей */
.vc-lead__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vc-lead__submit {
  width: 100%;
  margin-top: 4px;
}

.vc-lead__submit:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.vc-lead__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 4px;
  cursor: pointer;
}

.vc-lead__consent-cb {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--vc-copper);
  cursor: pointer;
}

.vc-lead__consent-text {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(248, 246, 242, 0.6);
}

.vc-lead__consent a {
  color: rgba(248, 246, 242, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vc-lead__message {
  margin: 14px 0 0;
  font-size: var(--vc-small);
  min-height: 1.2em;
}

.vc-lead__message.is-success {
  color: #6cc28a;
}

.vc-lead__message.is-error {
  color: #e9907f;
}

@media (max-width: 860px) {
  .vc-lead__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  /* Фото — узкой полосой сверху */
  .vc-lead__media {
    min-height: 220px;
  }
  .vc-lead__panel {
    padding: 56px var(--vc-gutter);
  }
  .vc-lead__form {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .vc-lead__panel {
    padding: 44px 20px;
  }
  .vc-lead__media {
    min-height: 160px;
  }
}

/* ==========================================================================
   Заглушка «Сайт в разработке» (front-page.php) — временная
   ========================================================================== */

.vc-coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 60px 20px;
  text-align: center;
}

.vc-coming-soon__inner {
  max-width: 560px;
}

.vc-coming-soon__logo {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(22, 20, 72, 0.25);
}

.vc-coming-soon__title {
  margin: 28px 0 8px;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: var(--vc-color-dark);
  letter-spacing: 0.02em;
}

.vc-coming-soon__lead {
  margin: 0 0 24px;
  font-family: var(--vc-font-body);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--vc-color-accent);
}

.vc-coming-soon__note {
  margin: 0 auto;
  max-width: 420px;
  color: #555;
  font-size: 1.05rem;
}

/* ==========================================================================
   Юридические страницы (политика, согласие) — hero + карточки
   ========================================================================== */

/* Hero на всю ширину (full-bleed: выходим за пределы .vc-container из header.php) */
.vc-legal-hero {
  width: 100%;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(208, 142, 87, 0.18) 0%, transparent 55%),
    var(--vc-color-dark);
  color: var(--vc-color-light);
  padding: 56px 0 64px;
}

/* Тело документа тоже выводим из родительского контейнера, чтобы карточки
   центрировались по своей max-width, а не сдвигались отступами .vc-container */
.vc-legal {
  width: 100%;
}

.vc-legal-hero__inner {
  max-width: 820px;
}

.vc-legal-hero__crumbs {
  margin: 0 0 18px;
  font-size: 0.85rem;
  opacity: 0.6;
}

.vc-legal-hero__crumbs a {
  color: var(--vc-color-light);
  text-decoration: none;
}

.vc-legal-hero__crumbs a:hover {
  color: var(--vc-color-accent);
}

.vc-legal-hero__title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  color: var(--vc-color-light);
}

.vc-legal-hero__updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--vc-color-accent);
}

/* Тело документа */
.vc-legal {
  max-width: 820px;
  margin: -36px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 0 50px;
  counter-reset: vc-section;
}

/* Вводный абзац (lead) перед карточками */
.vc-legal__lead {
  margin: 0 0 14px;
  padding: 26px 30px;
  background: var(--vc-surface);
  border: var(--vc-hairline);
  border-radius: var(--vc-radius-md);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--vc-text);
}

/* Карточка раздела */
.vc-card {
  position: relative;
  margin: 0 0 12px;
  padding: 26px 30px 26px 78px;
  background: var(--vc-surface);
  border: var(--vc-hairline);
  border-radius: var(--vc-radius-md);
}

.vc-card__title {
  counter-increment: vc-section;
  position: relative;
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--vc-color-dark);
}

.vc-card__title::before {
  content: counter(vc-section);
  position: absolute;
  left: -54px;
  top: -2px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--vc-radius-sm);
  background: var(--vc-color-accent);
  color: #fff;
  font-family: var(--vc-font-heading);
  font-size: 1rem;
  font-weight: 600;
}

.vc-card p,
.vc-card li {
  font-size: 1rem;
  line-height: 1.7;
  color: #3a3a44;
}

.vc-card p {
  margin: 12px 0 0;
}

.vc-card p:first-of-type {
  margin-top: 0;
}

.vc-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.vc-card li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 22px;
}

.vc-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vc-color-accent);
}

.vc-legal a {
  color: var(--vc-color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Карточка с реквизитами — выделяем фоном */
.vc-card--requisites {
  background: linear-gradient(180deg, #fbfaff 0%, #fff 100%);
}

@media (max-width: 600px) {
  .vc-card {
    padding: 24px 20px 24px 20px;
  }
  .vc-card__title {
    padding-left: 50px;
  }
  .vc-card__title::before {
    left: 0;
    width: 34px;
    height: 34px;
  }
}

/* ==========================================================================
   Куки-баннер
   ========================================================================== */

.vc-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: rgba(248, 246, 242, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(22, 20, 72, 0.08);
  border-radius: var(--vc-radius-lg);
  color: var(--vc-indigo);
}

.vc-cookie[hidden] {
  display: none;
}

.vc-cookie__inner {
  max-width: var(--vc-max-width);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.vc-cookie__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--vc-indigo);
  opacity: 0.75;
}

.vc-cookie__text a {
  color: var(--vc-copper);
  opacity: 1;
}

.vc-cookie__accept {
  flex-shrink: 0;
  border: 0;
  border-radius: var(--vc-radius-btn);
  padding: 12px 28px;
  background: var(--vc-indigo);
  color: var(--vc-text-on-dark);
  font-family: var(--vc-font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.vc-cookie__accept:hover {
  opacity: 0.82;
}

@media (max-width: 600px) {
  .vc-cookie__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
  }
}

/* ==========================================================================
   Вторичная кнопка на светлом фоне (для styleguide и светлых секций)
   ========================================================================== */

.vc-btn--ghost-dark {
  border-color: rgba(31, 36, 48, 0.3);
  color: var(--vc-indigo);
}

.vc-btn--ghost-dark:hover {
  border-color: var(--vc-copper);
  color: var(--vc-copper);
}

/* ==========================================================================
   Styleguide — страница-гайд дизайн-системы
   ========================================================================== */

.vc-sg {
  width: 100%;
  background: var(--vc-bg);
  padding: 64px 0 96px;
}

.vc-sg__container {
  padding: 0 var(--vc-gutter);
  margin: 0 auto;
  padding: 0 var(--vc-gutter);
}

.vc-sg__eyebrow {
  margin: 0 0 12px;
  font-size: var(--vc-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vc-copper);
}

.vc-sg__title {
  margin: 0 0 16px;
  font-family: var(--vc-font-display);
  font-size: var(--vc-h1);
  line-height: var(--vc-lh-display);
  font-weight: var(--vc-weight-display);
  color: var(--vc-indigo);
}

.vc-sg__intro {
  max-width: 640px;
  margin: 0 0 24px;
  font-size: var(--vc-body-lg);
  line-height: var(--vc-lh-body);
  color: var(--vc-text-secondary);
}

.vc-sg__section {
  margin-top: var(--vc-section-gap);
}

.vc-sg__h2 {
  margin: 0 0 8px;
  font-family: var(--vc-font-display);
  font-size: var(--vc-h3);
  color: var(--vc-indigo);
}

.vc-sg__note,
.vc-sg__intro {
  color: var(--vc-text-secondary);
}

.vc-sg__note {
  margin: 0 0 28px;
  font-size: var(--vc-small);
}

/* Цвета */
.vc-sg__swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.vc-sg__swatch {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vc-sg__chip {
  height: 96px;
  border-radius: var(--vc-radius-sm);
  border: 1px solid var(--vc-border);
  box-shadow: var(--vc-shadow);
}

.vc-sg__swatch-name {
  font-size: var(--vc-small);
  font-weight: var(--vc-weight-semibold);
  color: var(--vc-text);
}

.vc-sg__code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  color: var(--vc-text-muted);
}

/* Типографика */
.vc-sg__type {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  padding: 36px;
  background: var(--vc-surface);
  border-radius: var(--vc-radius-md);
  border: var(--vc-hairline);
}

.vc-sg__type-row {
  margin: 0;
  color: var(--vc-text);
}

/* Кнопки */
.vc-sg__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

/* Скругления */
.vc-sg__radii {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.vc-sg__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  background: var(--vc-indigo);
  color: var(--vc-text-on-dark);
  font-size: var(--vc-small);
}

.vc-sg__box--shadow {
  background: var(--vc-surface);
  color: var(--vc-text);
  box-shadow: var(--vc-shadow);
}

/* ==========================================================================
   Архив маршрутов — тёмный hero-заголовок + сетка карточек (как в референсе)
   ========================================================================== */

/* Тёмный заголовочный экран каталога */
.vc-arc-hero {
  position: relative;
  background:
    radial-gradient(60% 80% at 80% 10%, rgba(91, 99, 230, 0.22) 0%, transparent 60%),
    var(--vc-indigo);
  color: var(--vc-text-on-dark);
}

.vc-arc-hero__inner {
  width: 100%;
  max-width: var(--vc-wide);
  margin: 0 auto;
  padding: calc(var(--vc-header-h) + 80px) var(--vc-gutter) 80px;
}

.vc-arc-hero__eyebrow {
  margin: 0 0 18px;
  font-family: var(--vc-font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--vc-copper-light);
}

.vc-arc-hero__title {
  margin: 0;
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--vc-text-on-dark);
}

.vc-arc-hero__lead {
  margin: 24px 0 0;
  max-width: 52ch;
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  line-height: 1.6;
  color: rgba(244, 245, 250, 0.78);
}

.vc-archive {
  padding: 80px 0 120px;
  background: var(--vc-bg);
  min-height: 40vh;
}

.vc-archive__container {
  max-width: var(--vc-content);
  margin: 0 auto;
  padding: 0 var(--vc-gutter);
}

.vc-archive__head {
  margin-bottom: 40px;
}

.vc-archive__title {
  margin: 0;
  font-family: var(--vc-font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: var(--vc-indigo);
}

/* Сетка: первая карточка широкая, остальные — 3 в ряд */
.vc-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Карточка */
.vc-arc-card {
  border-radius: var(--vc-radius-lg);
  overflow: hidden;
}

.vc-arc-card--wide {
  grid-column: span 2;
}

.vc-arc-card__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  height: 380px;
  background: var(--vc-indigo) center / cover no-repeat;
  text-decoration: none;
  border-radius: var(--vc-radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--vc-ease);
}

.vc-arc-card--wide .vc-arc-card__inner {
  height: 440px;
}

.vc-arc-card__inner:hover {
  transform: scale(1.015);
}

/* Градиент снизу */
.vc-arc-card__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(22, 20, 72, 0.82) 0%,
    rgba(22, 20, 72, 0.2) 50%,
    transparent 75%
  );
  border-radius: inherit;
  pointer-events: none;
}

/* Места — правый верхний угол */
.vc-arc-card__seats {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(22, 20, 72, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px;
  font-family: var(--vc-font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

/* Бейдж «Предзапись» на карточке каталога */
.vc-arc-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--vc-copper);
  color: var(--vc-surface);
  font-family: var(--vc-font-ui);
  font-size: 12px;
  font-weight: var(--vc-weight-semibold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Подпись */
.vc-arc-card__caption {
  position: relative;
  z-index: 2;
  padding: 24px 24px 24px;
}

.vc-arc-card__title {
  margin: 0 0 10px;
  font-family: var(--vc-font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}

.vc-arc-card--wide .vc-arc-card__title {
  font-size: clamp(20px, 2vw, 26px);
}

.vc-arc-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.vc-arc-card__meta {
  margin: 0;
  font-family: var(--vc-font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.vc-arc-card__price {
  margin: 0;
  font-family: var(--vc-font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--vc-copper);
  white-space: nowrap;
}

/* Пагинация */
.vc-archive__pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.vc-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--vc-font-ui);
  font-size: 14px;
  color: var(--vc-indigo);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vc-archive__pagination .page-numbers:hover,
.vc-archive__pagination .page-numbers.current {
  background: var(--vc-indigo);
  color: #fff;
}

.vc-archive__empty {
  font-family: var(--vc-font-ui);
  font-size: var(--vc-body-lg);
  color: var(--vc-text-secondary);
}

/* Tablet */
@media (max-width: 900px) {
  .vc-archive__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vc-arc-card--wide {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .vc-archive__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .vc-arc-card--wide {
    grid-column: span 1;
  }
  .vc-arc-card__inner,
  .vc-arc-card--wide .vc-arc-card__inner {
    height: 280px;
  }
}

/* ==========================================================================
   Страница 404 — полноэкранный тёмный блок (в стиле hero)
   ========================================================================== */

.vc-404 {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 80% 10%, rgba(91, 99, 230, 0.22) 0%, transparent 60%),
    radial-gradient(50% 60% at 15% 90%, rgba(91, 99, 230, 0.12) 0%, transparent 55%),
    var(--vc-indigo);
}

.vc-404__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 12, 20, 0.7) 0%, rgba(12, 12, 20, 0) 40%);
  pointer-events: none;
}

.vc-404__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--vc-wide);
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: calc(var(--vc-header-h) + 60px) var(--vc-gutter) 80px;
}

.vc-404__eyebrow {
  margin: 0 0 18px;
  font-family: var(--vc-font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--vc-copper-light);
}

.vc-404__code {
  font-family: var(--vc-font-display);
  font-weight: 700;
  font-size: clamp(7rem, 22vw, 16rem);
  line-height: 0.85;
  letter-spacing: 0.01em;
  color: var(--vc-text-on-dark);
}

.vc-404__title {
  margin: 18px 0 0;
  font-family: var(--vc-font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--vc-text-on-dark);
}

.vc-404__text {
  margin: 22px 0 0;
  max-width: 44ch;
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  line-height: 1.6;
  color: rgba(244, 245, 250, 0.8);
}

.vc-404__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.vc-404__aside {
  position: absolute;
  top: 50%;
  right: var(--vc-gutter);
  transform: translateY(-50%);
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--vc-font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 245, 250, 0.45);
}

@media (max-width: 860px) {
  .vc-404__aside {
    display: none;
  }
}
