/* Page: Как проходят катания — content only */
.kat-page {
  --kat-text: #000;
  --kat-text-inv: #fff;
  --kat-accent: #1e71c8;
  --kat-surface: #f3f6f9;
  --kat-surface-accent: #eaf3fc;
  --kat-toggle: #e3e9f0;
  --kat-track: #d6dee8;
  --kat-white: #fff;
  --kat-gap: 40px;
  --kat-r-lg: 24px;
  --kat-r-md: 20px;
  --kat-r-sm: 16px;
  --kat-r-btn: 12px;
  --kat-font: "Inter-Medium", sans-serif;
  --kat-fs: 20px;
  --kat-lh: 27px;
  color: var(--kat-text);
  font-family: var(--kat-font);
  font-size: var(--kat-fs);
  line-height: var(--kat-lh);
  font-weight: normal;
}

@media screen and (max-width: 992px) {
  .kat-page { --kat-gap: 40px; }
}
@media screen and (max-width: 768px) {
  .kat-page { --kat-gap: 40px; }
}

.kat-page .kat-h2 {
  font-family: var(--kat-font);
  font-size: var(--kat-fs);
  line-height: var(--kat-lh);
  letter-spacing: 0.2px;
  font-weight: normal;
  margin: 0;
  color: var(--kat-text);
  text-transform: none;
}
.kat-page .kat-sub {
  font-family: var(--kat-font);
  font-size: var(--kat-fs);
  line-height: var(--kat-lh);
  letter-spacing: 0.2px;
  font-weight: normal;
  margin: 0;
  color: var(--kat-text);
  text-transform: none;
}
.kat-page .kat-text,
.kat-page .kat-text-b {
  font-family: "Inter-Medium", sans-serif !important;
  font-size: var(--kat-fs);
  line-height: var(--kat-lh);
  letter-spacing: 0.2px;
  margin: 0;
  color: #000 !important;
  font-weight: normal !important;
  text-transform: none;
}
.kat-page .kat-title,
.kat-page [data-kat-title] {
  font-family: "Inter-Bold", sans-serif !important;
  font-size: var(--kat-fs) !important;
  line-height: var(--kat-lh) !important;
  letter-spacing: 0.2px;
  margin: 0;
  color: #1e71c8 !important;
  font-weight: normal !important;
  text-transform: none;
}



.kat-section {
  margin-top: var(--kat-gap);
}
.kat-section:first-child {
  margin-top: var(--kat-gap);
}

[data-kat-reveal] {
  opacity: 1;
  transform: none;
}
[data-kat-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}
[data-kat-reveal].is-visible {
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-kat-reveal],
  [data-kat-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.kat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--kat-surface-accent);
  font-family: var(--kat-font);
  font-size: var(--kat-fs);
  line-height: var(--kat-lh);
  letter-spacing: 0.2px;
  font-weight: normal;
  color: var(--kat-text);
  text-transform: none;
}
.kat-pill--accent {
  background: var(--kat-accent);
  color: #fff;
  font-family: var(--kat-font);
  font-size: var(--kat-fs);
  line-height: var(--kat-lh);
  font-weight: normal;
  text-transform: none;
}

/* ===== Video ===== */
.kat-video {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 56px;
  align-items: center;
}
.kat-video__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.kat-video__cues {
  display: flex;
  flex-direction: column;
}
.kat-video__cue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  border-bottom: 1px solid var(--kat-track);
  color: #000;
}
.kat-video__cue:last-child { border-bottom: 0; }
.kat-video__cue-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  box-sizing: border-box;
  padding: 9px;
  border-radius: 10px;
  background: #eaf3fc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e71c8;
}
.kat-video__cue-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 20px;
}
.kat-video__cue.is-active .kat-video__cue-icon {
  background: #1e71c8;
  color: #fff;
}
.kat-video__cue-title {
  flex: 1;
  font-family: "Inter-Bold", sans-serif;
  font-size: 20px;
  line-height: 27px;
}
.kat-video__cue-time {
  font-family: "Inter-Medium", sans-serif;
  font-size: 16px;
  line-height: 22px;
  white-space: normal;
  text-align: right;
  max-width: 42%;
}
.kat-video__player {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 412;
  border-radius: var(--kat-r-md);
  overflow: hidden;
  background: #0b1424;
}
.kat-video__poster {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.kat-video__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kat-video__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 20, 36, 0.25);
}
.kat-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--kat-accent);
}
.kat-video__pill {
  position: absolute;
  left: 16px;
  bottom: 20px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(11, 20, 36, 0.55);
  color: #fff;
  font-family: "Inter-Bold", sans-serif;
  font-size: 20px;
  line-height: 27px;
}
.kat-video__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 2;
}
.kat-video__bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--kat-accent);
}
.kat-video__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 992px) {
  .kat-video {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .kat-video__player { order: -1; }
}

/* ===== Step cards ===== */
.kat-step {
  background: var(--kat-surface);
  border-radius: var(--kat-r-lg);
  padding: 48px;
}
.kat-step--1 {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 56px;
  align-items: start;
}
.kat-step__label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.kat-step__left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.kat-checklist {
  background: var(--kat-white);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kat-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "Inter-Medium", sans-serif;
  font-size: 20px;
  line-height: 27px;
}
.kat-check {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  box-sizing: border-box;
  padding: 4px;
  border-radius: 50%;
  background: var(--kat-surface-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kat-accent);
  margin-top: 2px;
}
.kat-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--kat-surface-accent);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 4px;
}

@media screen and (max-width: 992px) {
  .kat-step { padding: 28px 20px; }
  .kat-step--1 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== Step 2 route ===== */
.kat-step--2 {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 48px 40px;
}
.kat-route-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}
.kat-route-head__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}
.kat-toggle {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: var(--kat-toggle);
  border-radius: 16px;
  position: relative;
}
.kat-toggle__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 20px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  color: #000;
  text-align: left;
  position: relative;
  z-index: 1;
}
.kat-toggle__btn.is-active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.kat-toggle__btn.is-active .kat-toggle__icon { color: var(--kat-accent); }
.kat-toggle__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #000;
}
.kat-toggle__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kat-track-card {
  background: #fff;
  border-radius: var(--kat-r-md);
  padding: 20px 16px 24px;
  position: relative;
  overflow: hidden;
}
.kat-track {
  position: relative;
  padding-top: 44px;
}
.kat-track__line {
  position: absolute;
  height: 2px;
  background: var(--kat-track);
  z-index: 0;
  transform: translateY(-50%);
  border-radius: 2px;
}
.kat-track__progress {
  position: absolute;
  height: 4px;
  background: var(--kat-accent);
  z-index: 1;
  border-radius: 4px;
  width: 0;
  transform: translateY(-50%);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.kat-track__marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--kat-accent);
  color: #fff;
  font-family: var(--kat-font);
  font-size: var(--kat-fs);
  line-height: 1.2;
  font-weight: normal;
  text-transform: none;
  white-space: nowrap;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.kat-track__marker svg { width: 18px; height: 18px; flex: 0 0 auto; }
.kat-points {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0;
}
.kat-route-point {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--kat-text);
  font-family: var(--kat-font);
  font-size: var(--kat-fs);
  line-height: 1.25;
  font-weight: normal;
  text-transform: none;
}
.kat-route-point__rail {
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.kat-route-point__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  position: relative;
  box-sizing: border-box;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(43, 130, 222, 0.15);
  background: #d6dee8;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
  flex: 0 0 auto;
}
.kat-route-point__dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.kat-route-point__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  background: var(--kat-accent);
  color: #fff;
  border: 2px solid #fff;
  font-family: var(--kat-font);
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-transform: none;
}
.kat-route-point__label {
  font-family: var(--kat-font);
  font-size: var(--kat-fs);
  line-height: 1.25;
  font-weight: normal;
  text-align: center;
  width: 100%;
  max-width: 140px;
  color: var(--kat-text);
  text-transform: none;
}
.kat-route-point.is-passed .kat-route-point__dot {
  border-color: var(--kat-accent);
}
.kat-route-point.is-active .kat-route-point__dot {
  width: 72px;
  height: 72px;
  border: 4px solid var(--kat-accent);
  box-shadow: 0 8px 20px rgba(43, 130, 222, 0.35);
}
.kat-route-point.is-next .kat-route-point__dot {
  border-color: #fff;
}
.kat-route-point:not(.is-active):hover .kat-route-point__dot {
  transform: scale(1.06);
}
.kat-route-point:focus-visible {
  outline: 2px solid var(--kat-accent);
  outline-offset: 4px;
  border-radius: 12px;
}

.kat-route-body {
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  gap: 40px;
  align-items: start;
}
.kat-route-photo {
  position: relative;
  border-radius: var(--kat-r-md);
  overflow: hidden;
  aspect-ratio: 720 / 520;
  width: 100%;
  background: #eaf3fc;
}
.kat-route-photo-link {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.kat-route-photo img,
.kat-route-photo-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
.kat-route-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(43, 130, 222, 0.25));
  pointer-events: none;
  z-index: 1;
}
.kat-route-photo-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  background: var(--kat-accent);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--kat-font);
  font-size: var(--kat-fs);
  line-height: var(--kat-lh);
  font-weight: normal;
  color: #fff;
  text-transform: none;
}

.kat-route-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  opacity: 0;
  transform: translateY(8px);
}
.kat-route-details.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.kat-route-num {
  font-family: var(--kat-font);
  font-size: var(--kat-fs);
  line-height: var(--kat-lh);
  letter-spacing: 0.2px;
  font-weight: normal;
  color: var(--kat-text);
  text-transform: none;
}
.kat-train {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kat-train[hidden] {
  display: none !important;
}
.kat-train-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kat-train-chip {
  background: var(--kat-surface-accent);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: "Inter-Bold", sans-serif;
  font-size: 20px;
  line-height: 27px;
}
.kat-route-nav {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}
.kat-route-nav .kat-nav-prev {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: var(--kat-r-btn);
  border: 1px solid var(--kat-track);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  color: #000;
}
.kat-route-nav .kat-nav-prev:disabled {
  opacity: 0.4;
  cursor: default;
}
.kat-route-nav .kat-nav-next {
  flex: 1;
  border: 0;
  border-radius: var(--kat-r-btn);
  background: var(--kat-accent);
  color: #fff !important;
  font-family: var(--kat-font) !important;
  font-size: var(--kat-fs) !important;
  line-height: var(--kat-lh) !important;
  font-weight: normal !important;
  text-transform: none !important;
  padding: 14px 20px;
  cursor: pointer;
  text-align: center;
}
.kat-route-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #000;
}


@media screen and (max-width: 992px) {
  .kat-step--2 { padding: 28px 20px; gap: 28px; }
  .kat-route-head { grid-template-columns: 1fr; }
  .kat-toggle { width: 100%; }
  .kat-toggle__btn { flex: 1; justify-content: center; }
  .kat-route-body { grid-template-columns: 1fr; gap: 24px; }
}


@media (prefers-reduced-motion: reduce) {
  .kat-track__progress,
  .kat-track__marker,
  .kat-route-point__dot,
  .kat-route-details {
    transition: none !important;
  }
}

/* ===== Pricing ===== */
.kat-price-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: var(--kat-gap);
}
.kat-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.kat-price-card {
  background: var(--kat-surface);
  border-radius: var(--kat-r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.kat-price-card__media {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #eaf3fc;
}
.kat-price-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
}
.kat-price-card__pill {
  position: absolute;
  left: 16px;
  top: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 100px;
  padding: 6px 12px;
  font-family: "Inter-Bold", sans-serif;
  font-size: 20px;
  line-height: 27px;
  color: #000;
}
.kat-price-card__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.kat-price-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.kat-price-tile {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  flex: 1 1 120px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kat-price-tile:hover {
  border-color: rgba(43, 130, 222, 0.45);
}
.kat-price-tile:focus-visible {
  outline: 2px solid #1e71c8;
  outline-offset: 2px;
}
.kat-price-tile.is-featured {
  border-color: var(--kat-accent);
}
.kat-price-note {
  background: var(--kat-surface-accent);
  border-radius: 12px;
  padding: 12px 14px;
}
.kat-price-card .btn.book-btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

@media screen and (max-width: 992px) {
  .kat-price-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
  .kat-price-grid { grid-template-columns: 1fr; }
  .kat-price-card__media { height: 400px; }
}

/* Hide old leftover if any */
.kat-page + .container .sert_icons { display: none; }

/* Strict type: no black, no bold, 20px everywhere on page content */
.kat-page h1.title,
.kat-page .banner .description,
.kat-page .kat-toggle__btn,
.kat-page .kat-toggle__meta,
.kat-page .kat-train,
.kat-page .kat-train-chip,
.kat-page .kat-checklist,
.kat-page .kat-checklist__item,
.kat-page .kat-note,
.kat-page .kat-price-card,
.kat-page .kat-price-card__body,
.kat-page .kat-price-tile,
.kat-page .kat-price-note,
.kat-page .kat-price-card__pill,
.kat-page .kat-route-hint,
.kat-page .kat-video__cue,
.kat-page .kat-video__cue-title,
.kat-page .kat-video__cue-time {
  font-family: var(--kat-font) !important;
  font-size: var(--kat-fs) !important;
  line-height: var(--kat-lh) !important;
  font-weight: normal !important;
  color: #000 !important;
  text-transform: none !important;
}
.kat-page .kat-text,
.kat-page .kat-text-b {
  color: #000 !important;
  font-family: "Inter-Medium", sans-serif !important;
}
.kat-page .kat-title,
.kat-page [data-kat-title] {
  color: #1e71c8 !important;
  font-family: "Inter-Bold", sans-serif !important;
}
.kat-page .kat-pill--accent,
.kat-page .kat-track__marker,
.kat-page .kat-route-photo-badge,
.kat-page .kat-route-nav .kat-nav-next,
.kat-page .btn.book-btn,
.kat-page .kat-price-card .btn.book-btn {
  color: #fff !important;
  font-family: var(--kat-font) !important;
  font-size: var(--kat-fs) !important;
  font-weight: normal !important;
  text-transform: none !important;
}
.kat-page .kat-video__pill {
  color: #fff !important;
  background: rgba(43, 130, 222, 0.85);
}
.kat-train-chip {
  background: var(--kat-surface-accent);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--kat-text) !important;
}
.kat-page .banner .block_content h1.title,
.kat-page .banner .block_content .description {
  color: var(--kat-text) !important;
  font-family: var(--kat-font) !important;
  font-weight: normal !important;
}

/* ===== Smartphone adaptation ===== */
@media screen and (max-width: 768px) {
  .kat-page {
    --kat-gap: 28px;
    --kat-fs: 16px;
    --kat-lh: 22px;
    --kat-r-lg: 16px;
    --kat-r-md: 14px;
  }

  .kat-page .kat-h2,
  .kat-page .kat-sub,
  .kat-page .kat-text,
  .kat-page .kat-text-b,
  .kat-page .kat-title,
  .kat-page .kat-pill,
  .kat-page .kat-pill--accent,
  .kat-page .kat-route-point__label,
  .kat-page .kat-route-photo-badge,
  .kat-page .kat-track__marker,
  .kat-page .kat-route-nav .kat-nav-next,
  .kat-page .btn.book-btn {
    font-size: 16px !important;
    line-height: 22px !important;
  }

  .kat-page .kat-text,
  .kat-page .kat-text-b {
    color: #000 !important;
    font-family: "Inter-Medium", sans-serif !important;
  }
  .kat-page .kat-title,
  .kat-page [data-kat-title] {
    color: #1e71c8 !important;
    font-family: "Inter-Bold", sans-serif !important;
  }

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

  .kat-video {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .kat-video__player {
    order: -1;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }
  .kat-video__play { width: 64px; height: 64px; }
  .kat-video__left { gap: 14px; }
  .kat-video__cue {
    padding: 10px 0;
    gap: 10px;
    align-items: flex-start;
  }
  .kat-video__cue-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    margin-top: 2px;
  }

  .kat-step {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .kat-step--1 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .kat-step--2 {
    padding: 20px 14px;
    gap: 24px;
  }
  .kat-checklist {
    padding: 18px 16px;
    border-radius: 14px;
  }
  .kat-step__label-row {
    gap: 8px;
    margin-bottom: 12px;
  }

  .kat-route-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kat-route-head__left {
    max-width: none;
    gap: 12px;
  }
  .kat-toggle {
    width: 100%;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
  }
  .kat-toggle__btn {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    box-sizing: border-box;
  }

  .kat-track-card {
    padding: 16px 0 18px;
    border-radius: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .kat-track { padding-top: 40px; }
  .kat-points {
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
    padding: 0 12px;
  }
  .kat-route-point {
    flex: 0 0 108px;
    padding: 0 6px;
    gap: 8px;
    scroll-snap-align: center;
  }
  .kat-route-point__rail { height: 64px; }
  .kat-route-point__dot {
    width: 48px;
    height: 48px;
  }
  .kat-route-point.is-active .kat-route-point__dot {
    width: 60px;
    height: 60px;
  }
  .kat-route-point__badge {
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 16px;
  }
  .kat-route-point__label {
    max-width: 100px;
    font-size: 14px !important;
    line-height: 18px !important;
  }
  .kat-track__marker {
    padding: 5px 12px;
    font-size: 14px !important;
  }

  .kat-route-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .kat-route-photo {
    aspect-ratio: 4 / 5;
    border-radius: 14px;
  }
  .kat-route-photo-badge {
    left: 12px;
    top: 12px;
    padding: 5px 12px;
    font-size: 14px !important;
  }
  .kat-route-details { gap: 10px; }
  .kat-route-nav {
    flex-direction: row;
    gap: 10px;
    padding-top: 8px;
  }
  .kat-route-nav .kat-nav-prev {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .kat-route-nav .kat-nav-next {
    padding: 12px 14px;
    font-size: 16px !important;
  }
  .kat-route-hint {
    font-size: 14px !important;
    line-height: 20px !important;
  }
  .kat-train { padding: 12px 14px; }
  .kat-train-chip {
    padding: 6px 10px;
    font-size: 14px !important;
  }

  .kat-price-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }
  .kat-price-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kat-price-card { border-radius: 16px; }
  .kat-price-card__media { height: 360px; }
  .kat-price-card__body {
    padding: 18px 16px 20px;
    gap: 14px;
  }
  .kat-price-tiles { gap: 8px; }
  .kat-price-tile {
    flex: 1 1 calc(50% - 8px);
    min-width: 120px;
    padding: 12px 14px;
    border-radius: 12px;
  }
  .kat-price-card .btn.book-btn {
    padding: 14px 16px !important;
    font-size: 16px !important;
  }

  .banner.banner-image .block_content {
    width: calc(100% - 16px);
    max-width: 100%;
    padding: 14px 12px;
  }
}

@media screen and (max-width: 480px) {
  .kat-page {
    --kat-gap: 24px;
    --kat-fs: 15px;
    --kat-lh: 21px;
  }
  .kat-step,
  .kat-step--2 { padding: 16px 12px; }
  .kat-route-point { flex-basis: 96px; }
  .kat-price-card__media { height: 300px; }
  .kat-video__pill {
    font-size: 13px !important;
    left: 10px;
    bottom: 14px;
    padding: 4px 10px;
  }
}

/* Figma icons */
.kat-video__play svg { width: 32px; height: 32px; display: block; }
.kat-check svg { width: 16px; height: 16px; display: block; }
.kat-price-card .kat-check svg { width: 18px; height: 18px; }
.kat-check {
  width: 24px;
  height: 24px;
  padding: 4px;
  box-sizing: border-box;
}
.kat-note > span:first-child,
.kat-note > span[aria-hidden="true"] {
  display: flex;
  flex: 0 0 20px;
  color: #1e71c8;
}
.kat-note svg { width: 20px; height: 20px; display: block; }
.kat-route-hint { color: #5b6675; }
.kat-route-hint > span[aria-hidden="true"] {
  display: flex;
  flex: 0 0 16px;
  margin-top: 5px;
  color: #5b6675;
}
.kat-route-hint svg { width: 16px; height: 16px; display: block; }
.kat-toggle__btn {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kat-toggle__icon {
  display: flex;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #5b6675;
}
.kat-toggle__btn.is-active .kat-toggle__icon { color: #1e71c8; }
.kat-toggle__icon svg { width: 22px; height: 22px; display: block; }
.kat-nav-prev,
.kat-nav-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.kat-nav-prev svg,
.kat-nav-next svg { width: 20px; height: 20px; display: block; flex: 0 0 20px; }
.kat-route-photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kat-route-photo-badge__icon {
  display: flex;
  color: #1e71c8;
}
.kat-route-photo-badge__icon svg { width: 18px; height: 18px; display: block; }
.kat-express-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.kat-express-title__icon {
  display: flex;
  flex: 0 0 20px;
  margin-top: 3px;
  color: #1e71c8;
}
.kat-express-title__icon svg { width: 20px; height: 20px; display: block; }
.kat-price-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kat-price-card__pill-icon {
  display: flex;
  color: #1e71c8;
}
.kat-price-card__pill-icon svg { width: 18px; height: 18px; display: block; }
.kat-price-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.kat-price-note__icon {
  display: flex;
  flex: 0 0 20px;
  margin-top: 3px;
  color: #1e71c8;
}
.kat-price-note__icon svg { width: 20px; height: 20px; display: block; }

/* Removed: blue «Остановка для фото» badge */
.kat-route-photo-badge { display: none !important; }

/* Mobile: horizontal track must not steal vertical page scroll */
@media (max-width: 768px) {
  .kat-track-card {
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }
  .kat-points,
  .kat-route-point {
    touch-action: manipulation;
  }
}
.kat-page {
  touch-action: manipulation;
}

/* Pills moved to checklist */
.kat-price-card__pill { display: none !important; }

/* Card titles: Снежик Турист / Прогулка на санях */
.kat-price-card__body h3.kat-sub {
  color: #1e71c8 !important;
  font-family: "Inter-Bold", sans-serif !important;
  font-weight: 700 !important;
}

/* Second-screen video poster → modal with sound + controls */
.kat-video__poster[data-nsu-open-modal] {
  cursor: pointer;
}
.kat-video__pill,
.kat-video__bar {
  display: none !important;
}
.nsu-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}
.nsu-video-modal[hidden] {
  display: none !important;
}
.nsu-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 26, 0.82);
}
.nsu-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: #0b0f17;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.nsu-video-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.nsu-video-modal__video {
  display: block;
  width: 100%;
  max-height: min(80vh, 720px);
  background: #000;
  vertical-align: top;
}


/* Homepage embed: space before blue promo */
.kat-page--embed {
  margin-top: var(--section-gap, 48px);
  margin-bottom: 0;
}
.kat-page--embed .kat-section {
  margin-top: 0;
}
