/* ── Brand tokens (from Figma / РЖД Тур) ── */
:root {
  --brand-red: #e21a1a;
  --brand-red-hover: #ff0000;
  --brand-blue: #262e62;
  --brand-gold: #c49128;
  --brand-green: #00993e;

  --text-primary: #292929;
  --text-inverse: #ffffff;
  --text-muted: #a4a7ab;
  --text-body: #4a4a4a;

  --surface-page: #ffffff;
  --surface-subtle: #f9f9f9;
  --surface-muted: #f2f2f2;
  --surface-footer: #14172e;
  --surface-hero: #0f1230;

  --border-hairline: #ebebeb;
  --border-card: #e9eaeb;
  --border-separator: #cccccc;

  --font-display: "RussianRail G Pro", "RussianRail G Pro Extended", "Segoe UI", system-ui, sans-serif;
  --font-ui: "Objektiv Mk3", "Segoe UI", system-ui, sans-serif;

  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-pill: 50px;

  --container: 1280px;
  --pad: 40px;
  --header-h: 78px;

  --shadow-soft: 0 12px 40px rgba(20, 23, 46, 0.08);
}

@font-face {
  font-family: "RussianRail G Pro";
  src: url("../assets/fonts/RussianRailGPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RussianRail G Pro";
  src: url("../assets/fonts/RussianRailGPro-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RussianRail G Pro";
  src: url("../assets/fonts/RussianRailGPro-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RussianRail G Pro";
  src: url("../assets/fonts/RussianRailGPro-Extended.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RussianRail G Pro";
  src: url("../assets/fonts/RussianRailGPro-ExtendedBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Objektiv Mk3";
  src: url("../assets/fonts/ObjektivMk3-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Objektiv Mk3";
  src: url("../assets/fonts/ObjektivMk3-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Objektiv Mk3";
  src: url("../assets/fonts/ObjektivMk3-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
}

a:hover {
  color: var(--brand-gold);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--brand-gold);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 100;
  background: var(--brand-blue);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: min(var(--container), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.eyebrow {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin: 0 0 20px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 20px;
  max-width: 680px;
}

.section-title--wide {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-title--tabs {
  margin-bottom: 40px;
}

.section-title--block {
  margin-bottom: 56px;
}

.lead--tight {
  margin-bottom: 28px;
}

.lead--contact {
  margin-bottom: 36px;
}

.section-title--light {
  color: #fff;
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  color: inherit;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--brand-gold);
  color: #1c1f36;
  padding: 18px 40px;
  font-size: 15px;
}

.btn-gold:hover {
  background: #d4a43a;
  color: #1c1f36;
}

.btn-blue {
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 26px;
  font-size: 13px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.btn-blue:hover {
  background: #323e86;
  color: #fff;
}

.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 15px;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-hairline);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 14px;
}

.logo img {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.nav a:hover {
  color: var(--brand-gold);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger span {
  top: 21px;
}

.burger span::before,
.burger span::after {
  content: "";
  left: 0;
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

body.nav-open .burger span {
  background: transparent;
}

body.nav-open .burger span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .burger span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brand-blue);
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 54, 0.55) 0%, rgba(20, 24, 54, 0.55) 40%, rgba(15, 18, 42, 0.92) 100%);
}

.hero__content {
  position: relative;
  width: min(var(--container), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 0 0 88px;
}

.hero__copy {
  max-width: 760px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  color: #fff;
  margin: 0 0 24px;
}

.hero__gold {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: var(--brand-gold);
  margin: 0 0 20px;
}

.hero__text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 40px;
  max-width: 640px;
}

/* ── Formats ── */
.section {
  padding: 120px 0;
}

.formats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
}

.format-card {
  background: #fff;
  padding: 48px;
}

.format-card__tag {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brand-gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.format-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.format-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

.note {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 48px 0 0;
  padding: 32px 40px;
  background: var(--surface-subtle);
  border-radius: var(--radius-16);
}

/* ── Concept ── */
.concept {
  background: var(--brand-blue);
  padding: 130px 0;
  text-align: center;
}

.concept__inner {
  max-width: 840px;
  margin: 0 auto;
}

.concept h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.3;
  color: #fff;
  margin: 0 0 32px;
}

.concept p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 24px;
}

.concept__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: var(--brand-gold);
  margin: 16px 0 0;
}

/* ── Vagons ── */
.vagons__head {
  max-width: 680px;
  margin: 0 0 56px;
}

.vagon-list {
  border-top: 1px solid var(--border-hairline);
}

.vagon {
  border-bottom: 1px solid var(--border-hairline);
}

.vagon__btn {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 28px 0;
  cursor: pointer;
}

.vagon__btn:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 4px;
}

.vagon__n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-gold);
  flex-shrink: 0;
  width: 32px;
}

.vagon__title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-primary);
}

.vagon__icon {
  font-size: 22px;
  color: var(--text-muted);
  flex-shrink: 0;
  line-height: 1;
}

.vagon__panel {
  display: none;
  grid-template-columns: 1fr minmax(240px, 380px);
  gap: 32px;
  padding: 0 0 36px 60px;
  align-items: start;
}

.vagon.is-open .vagon__panel {
  display: grid;
}

.vagon__copy {
  min-width: 0;
}

.vagon__meta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.vagon__panel p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
  max-width: 640px;
}

.vagon__panel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: var(--surface-muted);
}

.vagons .note {
  background: transparent;
  padding: 0;
  margin: 48px 0 0;
}

/* ── Service ── */
.service {
  background: var(--surface-subtle);
}

.service__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.service h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  margin: 0 0 20px;
}

.row-list {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-card);
}

.row--stack {
  display: block;
}

.dash {
  font-weight: 700;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.row span,
.row p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.row h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 4px;
}

.row .muted {
  color: var(--text-body);
}

.service .hint {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 24px 0 0;
}

/* ── Routes ── */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-hairline);
}

.tab {
  all: unset;
  cursor: pointer;
  padding: 14px 4px;
  margin-right: 32px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
}

.tab.is-active {
  color: var(--text-primary);
  border-bottom-color: var(--brand-gold);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.tab-panel > p {
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.example {
  background: var(--surface-subtle);
  border-radius: var(--radius-16);
  padding: 32px;
}

.example__label {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brand-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.example p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

#panel-private.is-active {
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}

.routes-copy {
  max-width: 760px;
}

.route-slider {
  min-width: 0;
  max-width: 100%;
}

.route-slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.route-slider__head .example__label {
  margin-bottom: 0;
}

.route-slider__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.route-slider__count {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-right: 4px;
}

.route-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: #fff;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.route-slider__btn:hover:not(:disabled) {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.route-slider__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.route-slider__viewport {
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  outline: none;
  touch-action: pan-y;
  contain: inline-size;
}

.route-slider__viewport:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 4px;
  border-radius: 12px;
}

.route-slider__track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
}

.route-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-16);
  overflow: hidden;
}

.route-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.route-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 22px 22px 24px;
}

.route-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
}

.route-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0;
  flex: 1;
}

.route-card a {
  margin-top: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-gold);
}

.route-card a:hover {
  color: var(--brand-blue);
}

/* ── Events ── */
.events {
  background: var(--surface-subtle);
}

.events .section-title {
  max-width: 680px;
  margin-bottom: 56px;
}

.events__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.event-card {
  background: #fff;
  border-radius: var(--radius-16);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-card__body {
  padding: 28px;
}

.event-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.event-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* ── Why ── */
.why {
  background: var(--brand-blue);
}

.why__list {
  max-width: 1000px;
}

.why-item {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  align-items: baseline;
}

.why-item__n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-gold);
  flex-shrink: 0;
  width: 32px;
}

.why-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 6px;
}

.why-item p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* ── Process ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.step__n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--brand-gold);
  margin: 0 0 16px;
}

.step h3 {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* ── Contact ── */
.contact {
  background: var(--surface-subtle);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  max-width: 1000px;
  margin: 0 auto;
}

.phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.phone a {
  color: inherit;
}

.phone a:hover {
  color: var(--brand-gold);
}

.phone--office {
  font-size: 16px;
  margin-bottom: 12px;
}

.phone--office span {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-body);
}

.manager {
  margin: 0 0 28px;
}

.manager__role {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin: 0 0 8px;
}

.manager__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 14px;
}

.manager__line {
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 6px;
}

.mail {
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 32px;
}

.fine {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.form-card {
  background: #fff;
  border-radius: var(--radius-16);
  padding: 40px;
  border: 1px solid var(--border-hairline);
}

.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form-alert {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--brand-red);
}

.form-alert[hidden] {
  display: none;
}

.btn:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-8);
  font-size: 15px;
  line-height: 1.4;
  background: #fff;
  color: var(--text-primary);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
}

.field.is-error input {
  border-color: var(--brand-red);
}

.error {
  display: none;
  font-weight: 500;
  font-size: 12px;
  color: var(--brand-red);
  margin-top: 6px;
}

.field.is-error .error {
  display: block;
}

.success {
  display: none;
  padding: 40px 0;
  text-align: center;
}

.success.is-visible {
  display: block;
}

.success h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 12px;
}

.success p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.form-card.is-done .form {
  display: none;
}

/* ── Footer ── */
.footer {
  background: var(--surface-footer);
  padding: 80px 0 40px;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  color: #fff;
  margin: 0 0 12px;
}

.footer__tag {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.5;
  color: var(--brand-gold);
  margin: 0 0 40px;
}

.footer__meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
}

.footer__meta p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ── Overlay ── */
.nav-overlay {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .events__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  :root {
    --pad: 20px;
  }

  .header__cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--border-hairline);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  body.nav-open .nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-hairline);
    font-size: 16px;
  }

  .formats__grid,
  .service__grid,
  .tab-panel.is-active,
  .contact__grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .vagon__panel {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .format-card {
    padding: 32px 24px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero__content {
    padding-bottom: 56px;
  }

  .section,
  .concept,
  .why {
    padding: 80px 0;
  }

  .events__grid {
    gap: 20px;
  }

  .route-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .events__grid {
    grid-template-columns: 1fr;
  }

  .route-card {
    flex-basis: 100%;
  }

  .route-card img {
    height: 190px;
  }

  .vagon__title {
    font-size: 18px;
  }

  .form-card {
    padding: 24px;
  }

  .note {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav,
  .route-slider__track {
    transition: none;
  }
}
