/* Prevent smooth-scroll jump during position restore */
html.vsetochki-restore-pending {
  scroll-behavior: auto !important;
}

/* ===== Russia page — hero back button ===== */
.russia-hero {
  position: relative;
  padding: 0;
  min-height: clamp(220px, 38vw, 320px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.russia-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.russia-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.russia-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0.35) 0%, rgba(6, 7, 10, 0.2) 40%, rgba(6, 7, 10, 0.72) 100%),
    linear-gradient(90deg, rgba(6, 7, 10, 0.55) 0%, transparent 55%);
  pointer-events: none;
}

.russia-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(28px, 5vw, 48px) 18px clamp(32px, 5vw, 52px);
}

.russia-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 12, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.russia-back-btn:hover {
  background: rgba(8, 8, 12, 0.58);
  border-color: rgba(255, 125, 84, 0.45);
  transform: translateX(-2px);
}

.russia-back-btn:active {
  transform: translateX(0);
}

.russia-back-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 125, 84, 0.18);
  color: #ff9a6e;
  flex-shrink: 0;
}

.russia-back-btn__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.russia-hero__title {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.russia-hero__sub {
  margin: 0;
  max-width: 560px;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3);
}

.russia-tours-section {
  padding-top: clamp(32px, 5vw, 48px);
}

@media (max-width: 640px) {
  .russia-hero {
    min-height: clamp(200px, 52vw, 280px);
  }

  .russia-hero__inner {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .russia-back-btn {
    margin-bottom: 16px;
    min-height: 44px;
    padding: 10px 16px 10px 12px;
    font-size: 13px;
  }
}

/* Tours: booking steps 3×2 */
.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.booking-steps .step {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  height: 100%;
}

.booking-steps .step span {
  flex: 1;
}

@media (max-width: 900px) {
  .booking-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .booking-steps {
    grid-template-columns: 1fr;
  }
}
