.nav-btn {
  transition: color 0.15s ease-out, opacity 0.15s ease-out;
}

.nav-btn--home:hover,
.nav-btn--home[aria-current="page"] {
  color: rgba(255, 255, 255, 0.95);
}

.nav-btn--extreme:hover,
.nav-btn--extreme[aria-current="page"] {
  color: #fb923c; /* tailwind orange-400 */
}

.nav-btn--luxe:hover,
.nav-btn--luxe[aria-current="page"] {
  color: #7dd3fc; /* tailwind cyan-300 */
}

.nav-btn--urban:hover,
.nav-btn--urban[aria-current="page"] {
  color: #e5e5e5; /* tailwind neutral-300 */
}

/* Радиус скругления для кнопок (перекрываем tailwind rounded-2xl: 1rem → 0.5rem) */
a.rounded-2xl,
button.rounded-2xl {
  border-radius: 0.5rem;
}

/* Hero video placeholder + fade-out */
#heroPlaceholder {
  opacity: 1;
  transition: opacity 0.7s ease-out, visibility 0.7s ease-out;
}

.hero-placeholder-hidden {
  opacity: 0;
  visibility: hidden;
}

.hero-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.95);
  animation: hero-spin 1.6s linear infinite;
}

@keyframes hero-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================
 *  Процесс под ключ — компактные шаги + вдавленное видео
 * ============================ */

.process-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

/* Свечение отключено на уровне всего layout */

.process-steps-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

/* Анимированное свечение только для блоков описания процессов */
.process-steps-stack::before {
  content: "";
  position: absolute;
  inset: -20px;                        /* ← Размер области свечения */
  border-radius: 2rem;
  background: rgba(170, 240, 90, 0.4);
  z-index: 0;
  pointer-events: none;
  filter: blur(50px);                  /* ← Сила размытия */
  opacity: 0.2;                       /* ← Яркость свечения */
  animation: glowColorShift 35s linear infinite;
}

/* Цвета свечения и их порядок */
@keyframes glowColorShift {
  0% {
    background: rgba(240, 224, 48, 0.4);   /* Жёлтый */
  }
  25% {
    background: rgba(100, 240, 80, 0.35);  /* Зелёный/лаймовый */
  }
  50% {
    background: rgba(0, 255, 180, 0.4);    /* Бирюзовый */
  }
  75% {
    background: rgba(80, 180, 255, 0.4);   /* Голубой/синий */
  }
  100% {
    background: rgba(240, 224, 48, 0.4);   /* Обратно к жёлтому */
  }
}

/* Общий анимированный градиентный фон для всей колонки - теперь не нужен, используем общий на .process-layout */

/* Карточки шагов с прозрачным фоном поверх общего градиента */
.process-step-card {
  background: rgba(10, 10, 10, 0.7) !important;
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.1) !important;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.process-step-card:hover {
  background: rgba(10, 10, 10, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Принудительно делаем все карточки шагов одинаковой высоты и растягиваем их */
.process-steps-stack > div {
  flex: 1; /* Каждый блок занимает равную долю высоты */
  display: flex;
  align-items: center; /* Центрируем контент внутри блока по вертикали */
  min-height: auto; /* Сбрасываем фиксированную минимальную высоту */
}

.process-video-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 2.5rem;
  background: rgba(10, 10, 10, 0.8);
  overflow: hidden;
  z-index: 1;
  /* Фиксированная высота для мобильных — работает везде включая Telegram */
  height: 85vh;
  max-height: 711px; /* 400px * 16/9 */
  
  box-shadow:
    inset 5px 5px 15px rgba(0, 0, 0, 0.8),
    inset -5px -5px 15px rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Десктоп — используем aspect-ratio */
@media (min-width: 1024px) {
  .process-video-frame {
    height: auto;
    max-height: none;
    aspect-ratio: 9 / 16;
  }
}

.process-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: transparent; 
}

/* В полноэкранном режиме видео не обрезается, а масштабируется пропорционально */
.process-video:fullscreen {
  object-fit: contain;
  background: #000;
}

/* Тень поверх видео для эффекта вдавливания — отключено */
.process-video-frame::after {
  display: none;
}

.process-video-overlay {
  display: none;
}

.process-video-play {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: none;
  background: none;
  color: #f8fafc;
  cursor: pointer;
  padding: 1rem;
  transition: transform 0.2s ease-out;
  z-index: 3;
}

.process-video-play:focus-visible {
  outline: 2px solid rgba(248, 250, 252, 0.4);
  outline-offset: 4px;
}

.process-video-play-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.process-video-play:hover .process-video-play-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.process-video-play-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  transform: translateX(2px);
}

.process-video-play-label {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.process-video-play:hover {
  transform: translateY(-1px);
}

.process-video-frame--playing .process-video-overlay,
.process-video-frame--playing .process-video-play {
  opacity: 0;
  pointer-events: none;
}

/* Мобильная версия — центрируем блоки */
.process-layout {
  align-items: center; /* Центрируем по горизонтали на мобилке */
}

.process-steps-stack {
  margin: 0 auto; /* Центрируем блок с шагами */
}

@media (min-width: 1024px) {
  .process-layout {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
  }

  .process-steps-stack {
    flex: 0 0 400px;
    width: 400px;
    height: auto;
    justify-content: space-between;
    margin: 0;
  }
  
  .process-video-frame {
    margin: 0;
    flex: 0 0 400px;
    width: 400px;
  }
}

 