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

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #eeeeee;
  --color-primary: #373737;
  --color-accent: #ffd46f;
  --color-accent-hover: #ffeb83;
  --color-text: #2c2c2c;
  --color-text-muted: #666666;
  --color-text-light: #999999;
  --color-border: #eeeeee;
  --color-tg: #229ED9;
  --color-wa: #25D366;
  --color-btn: #3c7f00;
  --font-main: 'Museo Sans Cyrl', 'museo', Arial, sans-serif;
  --radius-card: 30px;
  --radius-button: 30px;
  --max-width: 1200px;
  --header-height: 70px;
  --transition: 0.3s ease;
}

/* --- Reset / Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Roboto Condensed",sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

.spisok {
  margin: 0 0 12px;
}

.spisok li {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  padding: 2px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}

.spisok li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-text);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

blockquote {
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.2);
    margin: 16px 16px 30px 16px;
    padding: 16px 24px;
    position: relative;
    font-size: 16px;
    background: #efefef;
    color: #000;
    font-style: italic;
}
blockquote::before {
    border: 14px solid transparent;
    border-top: 14px solid #efefef;
    border-bottom: 0;
    height: 0;
    width: 0;
    border-top-width: 25px;
    content: '';
    display: block;
    position: absolute;
    left: 40px;
    bottom: -25px;
    transform-origin: center;
    transform: rotate(90deg) skew(-25deg) translateY(17px);
}

/* --- Container --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Section --- */
.section {
  padding: 40px 0 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--accent {
  background: var(--color-accent);
}

.section--dark {
  background: var(--color-primary);
  color: #ffffff;
}
.section--yellow {
  background: var(--color-accent);
  color: var(--color-text);
  padding: 48px 0;
}

.section__title {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.35;
}

.section__h3 {
  font-size: 34px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.25;
}

.section__h4 {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section--dark .section__title {
  color: #ffffff;
}

.section__subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section__subtitle {
  color: rgba(255,255,255,0.6);
}

/* ============================================
   HEADER (user approved — keeping as-is)
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-bg);
  z-index: 1000;
  transition: box-shadow var(--transition);
  border-bottom: 1px solid var(--color-border);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom-color: transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  gap: 24px;
}

.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo img { height: 40px; width: auto; }
.header__logo svg { height: 40px; width: 40px; display: block; }

.header__phone {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--color-primary);
}
.header__phone:hover { color: var(--color-text-muted); }

.header__messengers {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.header__messenger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: transform var(--transition), opacity var(--transition);
}
.header__messenger-btn:hover { transform: scale(1.1); opacity: 0.85; }
.header__messenger-btn svg { width: 24px; height: 24px; }

.header__nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  white-space: nowrap;
  transition: background var(--transition);
}
.header__cta:hover {
  background: var(--color-accent-hover);
}
.header__cta svg {
  width: 18px;
  height: 18px;
}

.header__nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -110%;
  width: 260px;
  height: 100vh;
  background: var(--color-accent);
  z-index: 2000;
  padding: 80px 32px 32px;
  transition: right var(--transition);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--color-primary);
  cursor: pointer;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu__nav a {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
}

.mobile-menu__phone {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 700;
  display: block;
  color: var(--color-primary);
}

.mobile-menu__messengers {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.mobile-menu__messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.mobile-menu__messengers svg { width: 28px; height: 28px; }

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ============================================
   HERO — двухколоночный, с фото такси слева
   ============================================ */
.hero {
  background: var(--color-bg);
  padding: 40px 0 0;
  position: relative;
  overflow: hidden;
}

.hero__row {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 520px;
}

.hero__image {
  flex: 0 0 65%;
  max-width: 65%;
  margin-left: -100px;
}

.hero__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__content {
  flex: 1;
  text-align: right;
}

.hero__title {
  font-size: 64px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0;
  line-height: 1.1;
}

.hero__title-text {
  display: block;
}

.hero__title-accent {
  display: block;
  font-size: 90px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 0.95;
  letter-spacing: 3px;
}

.hero__text {
  font-size: 30px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 20px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero__subtext {
  font-size: 17px;
  font-weight: 500;
  color: rgba(44,44,44,0.45);
  margin-bottom: 0;
}

/* Calculator section embedded on homepage */
.calc-section {
  padding: 60px 0 0;
  background: var(--color-bg);
}

.calc-section__title {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
}

/* iframe removed — calculator embedded directly */

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--radius-button);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
  text-align: center;
  line-height: 1.4;
}

.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
}
.btn--primary:hover { background: #444444; }

.btn--accent {
  background: var(--color-accent);
  color: var(--color-primary);
}
.btn--accent:hover { background: var(--color-accent-hover); }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: #ffffff; }

/* ===== Форма поиска ===== */
    #city_filter_form {
        display: flex;
        width: 100%;
        max-width: 1200px;
        margin: 10px auto;
        gap: 10px;
        align-items: flex-start;
        flex-wrap: wrap;
        position: relative;
    }

    .form-group {
        position: relative;
        flex: 1;
        min-width: 110px;
    }

    .city_input_wrapper {
        position: relative;
    }

    .city_input {
        width: 100%;
        padding: 12px 40px 12px 15px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        box-sizing: border-box;
        transition: all 0.3s ease;
        background: white;
        color: #080808;
        height: 48px;
    }

    .city_input:focus {
        outline: none;
        border-color: #4a90e2;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    }

    .city_input.valid {
        border-color: #36b37e;
    }

    .city_input.error {
        border-color: #ff5630;
    }

    .clear_btn {
        position: absolute;
        right: 12px;
        top: 40%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        opacity: 0.6;
        transition: opacity 0.2s;
        padding: 0;
        display: none;
    }

    .clear_btn:hover {
        opacity: 1;
    }

    .clear_btn::before,
    .clear_btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 14px;
        height: 2px;
        background: #666;
        border-radius: 1px;
    }

    .clear_btn::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .clear_btn::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .autocomplete_dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border: 1px solid #ddd;
        border-top: none;
        border-radius: 0 0 8px 8px;
        max-height: 300px;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        display: none;
        animation: fadeIn 0.2s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .autocomplete_item {
        padding: 12px 15px;
        cursor: pointer;
        transition: background-color 0.2s;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .autocomplete_item:last-child {
        border-bottom: none;
    }

    .autocomplete_item:hover,
    .autocomplete_item.active {
        background-color: #f5f9ff;
    }

    .city_name {
        font-weight: 500;
        color: #333;
    }
.city_region {
    font-size: 0.75em;
    color: #6c757d;
    margin-top: 2px;
    line-height: 1.2;
}

    .loading_indicator {
        padding: 15px;
        text-align: center;
        color: #666;
        font-style: italic;
    }

    .no_results {
        padding: 15px;
        text-align: center;
        color: #999;
    }

    .btn_search {
        padding: 0 30px;
        background: linear-gradient(135deg, #ffd067 0%, #edc500 100%);
        color: #181818;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        height: 48px;
        min-width: 150px;
        flex-shrink: 0;
    }

    .btn_search:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

    .btn_search:active:not(:disabled) {
        transform: translateY(0);
    }

    .btn_search:disabled {
        opacity: 0.9;
        cursor: not-allowed;
        background: linear-gradient(135deg, #ffd067 0%, #edc500 100%);
    }

    .input_hint {
        position: absolute;
        bottom: -20px;
        left: 0;
        font-size: 12px;
        color: #999;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    .city_input:focus + .input_hint {
        opacity: 1;
    }

    @media (max-width: 768px) {
        #city_filter_form {
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .form-group {
            width: 100%;
            margin: 5px 0;
        }
        
        .btn_search {
            width: 100%;
            min-width: auto;
        }
    }

    /* Стили для результатов поиска */
    .city_icon {
        width: 20px;
        height: 20px;
        background: #667eea;
        border-radius: 50%;
        flex-shrink: 0;
        position: relative;
    }

    .city_icon::before {
        content: '📍';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 12px;
    }

/* ============================================
   TARIFF CARDS — 3+2 сетка как в оригинале
   ============================================ */
.tariffs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
margin-bottom: 20px;
}

.tariffs-grid .tariff-card {
  flex: 0 0 calc(33.333% - 16px);
}

.tariff-card {
  background: #ffffff;
  position: relative;
  border-radius: var(--radius-card);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e8e8;
}

.tariff-card:hover {
  transform: translateY(-4px);
}

.tariff-card.featured {
    border-color: #0071e3;
    box-shadow: 0 16px 32px -12px rgba(0, 113, 227, 0.25);
}

.tariff-card.featured_2 {
    border-color: #ffc100;
    box-shadow: 0 16px 32px -12px rgba(0, 113, 227, 0.25);
}

.tariff-card.featured_3 {
    border-color: #13b941;
    box-shadow: 0 16px 32px -12px rgba(0, 113, 227, 0.25);
}


.tariff-card.featured::before {
	content: "Популярный";
    position: absolute;
    background: #0071e3;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    
}

.tariff-card.featured_2::before {
	content: "Экономичный";
    position: absolute;
    background: #ffc100;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #000;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 16px 32px -12px rgba(0, 113, 227, 0.25);
}

.tariff-card.featured_3::before {
	content: "Премиум";
    position: absolute;
    background: #13b941;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 16px 32px -12px rgba(0, 113, 227, 0.25);
}

.tariff-card__body {
  padding: 24px 24px 0;
  flex: 0;
}

.tariff-card__name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}

.tariff-card__desc {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.tariff-card__image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(to bottom, #ffffff 50%, var(--color-accent) 50%);
}

.tariff-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.tariff-card__bottom {
  padding: 24px;
  background: var(--color-accent);
  border-bottom-right-radius: var(--radius-card);
  border-bottom-left-radius: var(--radius-card);
}

.tariff-card__features {
  margin: 0 0 12px;
}

.tariff-card__features li {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  padding: 2px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}

.tariff-card__features li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-text);
}

.tariff-card__price {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

.tariff-card__price em {
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
}

.tariff-rout__price {
    display: inline-block;
    background: #3c7f00;
    font-size: 20px;
    font-weight: 600;
    border-radius: 25px;
    width: 100%;
    color: var(--color-bg);
    padding: 5px;
    text-align: center;
}

/* Tariff detail (tariffs.html) */
.tariff-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}
.tariff-detail:last-child { border-bottom: none; }

.tariff-detail:nth-child(even) { direction: rtl; }
.tariff-detail:nth-child(even) > * { direction: ltr; }

.tariff-detail__image {
  border-radius: var(--radius-card);
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.tariff-detail__content { padding: 0; }

.tariff-detail__name {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}

.tariff-detail__price {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
}
.tariff-detail__price span,
.tariff-detail__price em {
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.tariff-detail__desc {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.55;
  margin-bottom: 20px;
}

.tariff-detail__info {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ============================================
   SERVICES — ТЁМНЫЙ фон, жёлтая обводка карточек
   ============================================ */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.services-grid .service-card {
  flex: 0 0 calc(33.333% - 16px);
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-card);
  padding: 30px 20px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent-hover);
}

.section--dark .service-card__title {
  color: #ffffff;
}

.section--dark .service-card__desc {
  color: rgba(255,255,255,0.6);
}

.service-card__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.service-card__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}

.service-card__desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ============================================
   REVIEWS — ЖЁЛТЫЕ карточки в карусели, 3 видимых
   ============================================ */
.reviews-section {
  background: var(--color-bg-alt);
  padding: 80px 0;
  margin-top: 40px;
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
}

.reviews-carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.review-card {
  flex: 0 0 calc(50% - 12px);
  background: var(--color-accent);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.review-card__name {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
  line-height: 1.35;
}

.review-card__route {
  font-size: 15px;
  font-weight: 600;
  color: #49483e;
  margin-bottom: 20px;
}

.review-card__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.55;
  flex: 1;
}

/* Carousel controls — arrows on sides */
.reviews-carousel__controls {
  display: contents;
}

.reviews-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}
.reviews-carousel__btn:hover { background: #ffffff; }

.reviews-carousel__btn--prev { left: 0; }
.reviews-carousel__btn--next { right: 0; }

.reviews-carousel__btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #222;
  stroke-width: 2;
}

/* Grid for reviews page (non-carousel) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reviews-grid .review-card {
  flex: none;
}

/* ============================================
   FAQ — SVG «+» в круге, border-top #eee
   ============================================ */
.faq-section {
            margin: 0 auto;
            padding: 20px;
            font-family: Arial, sans-serif;
        }

        .faq-category {
            margin: 20px 0;
        }

        .faq-category h3 {
            font-size: 20px;
            font-weight: 600;
            color: #2c3e50;
            border-bottom: 2px solid #0071e3;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }

        /* Стили аккордеона */
        .faq-item {
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            margin-bottom: 10px;
            background: #fff;
            transition: all 0.5s ease;
        }

        .faq-item:hover {
            border-color: #3498db;
        }

        .faq-question {
            padding: 20px;
            cursor: pointer;
            position: relative;
            font-weight: bold;
            color: #2c3e50;
            user-select: none;
            transition: background-color 0.5s ease;
            border-radius: 8px;
        }

        .faq-question:hover {
            background-color: #f8f9fa;
        }

        .faq-question::after {
            content: '+';
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 20px;
            color: #0071e3;
            transition: transform 0.5s ease;
        }

        .faq-question.active::after {
            content: '-';
            transform: translateY(-50%) rotate(0deg);
        }

        .faq-answer {
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.5s ease;
            background: #f8f9fa;
            border-radius: 0 0 8px 8px;
        }

        .faq-answer.open {
            padding: 20px;
            max-height: 1000px;
        }

        .faq-answer-content {
            line-height: 1.6;
            color: #555;
        }

        .faq-answer-content ul {
            margin: 10px 0;
            padding-left: 20px;
        }

        .faq-answer-content li {
            margin-bottom: 5px;
        }

        /* Анимация для плавного появления */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .faq-answer.open .faq-answer-content {
            animation: fadeIn 0.5s ease;
        }

/* ============================================
   FORM — жёлтый фон, двухколоночный layout
   ============================================ */
.contacts-section-wrap {
  background: var(--color-accent);
  padding: 80px 0;
  margin-top: 40px;
}

.contacts-section-wrap .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.contacts-section__left {
  flex: 0 0 40%;
}

.contacts-section__title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--color-primary);
}

.contacts-section__subtitle {
  font-size: 18px;
  font-weight: 500;
  color: rgba(44,44,44,0.7);
}

.contacts-section__right {
  flex: 1;
}

.contacts-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 40px 36px;
}

.telephone, .messenger {
	padding: 5px;
    display: flex;
    color: #000000;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    gap: 10px;
    align-items: center;
    background: #ffd46f;
    margin: 15px 0;
    border-radius: 10px;
    justify-content: center;
}

/* Dark button for form */
.btn--dark {
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-button);
}
.btn--dark:hover { background: #444; }

.form__success {
  display: none;
  padding: 24px;
  background: #e8f5e9;
  border-radius: 10px;
  color: #2e7d32;
  font-size: 16px;
  text-align: center;
}
.form__success.show { display: block; }

.form__error {
  display: block;
  color: #d32f2f;
  font-size: 13px;
  margin-top: 4px;
  font-weight: 500;
}
.form__error--send {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fbe9e7;
  border-radius: 8px;
  font-size: 14px;
}

.btn-spinner {
  vertical-align: middle;
  margin-right: 6px;
}

/* ============================================
   FOOTER — БЕЛЫЙ фон, как в оригинале
   ============================================ */
.ya-share2 {
    text-align: center;
    margin-bottom: 10px;
}

.footer {
  background: #ffffff;
  color: var(--color-text);
  padding: 48px 0 24px;
  border-top: 1px solid #eee;
}

.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.footer__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.footer__logo img {
  height: 50px;
  width: auto;
}
.footer__logo svg {
  height: 50px;
  width: 50px;
  display: block;
}

.footer__nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--color-text-muted); }

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition);
}
.footer__cta:hover { background: var(--color-accent-hover); }
.footer__cta svg { width: 20px; height: 20px; }

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

.footer__copy {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 400;
}

.footer__messengers-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__messengers-label {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 400;
}

.footer__messengers {
  display: flex;
  gap: 10px;
}

.footer__messengers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform var(--transition);
}
.footer__messengers a:hover { transform: scale(1.1); }
.footer__messengers svg { width: 24px; height: 24px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__legal a {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: underline;
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--color-text); }

.footer__info {
  font-size: 13px;
  color: var(--color-text-light);
  max-width: 100%;
  line-height: 1.6;
  font-weight: 500;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--color-accent);
  padding: 60px 0;
}

.page-hero__title {
  font-size: 60px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.1;
  text-align: center;
}

.page-hero__subtitle {
  font-size: 20px;
  font-weight: 500;
  color: rgba(44,44,44,0.6);
  max-width: 600px;
  margin: 0 auto;
}
.page-hero__text {
  font-size: 18px;
  color: rgba(44,44,44,0.7);
  max-width: 700px;
  margin: 0 auto 24px;
}
.btn-zakaz {
    text-align: center;
}
.page-hero .btn {
  background: var(--color-btn);
  color: #ffffff;
  text-decoration: none;
}
.page-hero .btn:hover {
  background: #444;
}

.alert {
    margin-top: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 960px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__burger { display: flex; }

  .hero__row { flex-direction: column-reverse; gap: 16px; min-height: auto; }
  .hero__image { flex: none; max-width: 90%; margin: 0 auto; }
  .hero__content { text-align: center; }
  .hero__title { font-size: 32px; }
  .hero__title-accent { font-size: 72px; letter-spacing: 2px; font-weight: 900; -webkit-text-stroke: 1px currentColor; }
  .hero__text { font-size: 17px; font-weight: 700; font-family: 'Arial', sans-serif; }
  .hero__image { max-width: 100%; }
  .hero { padding: 30px 0 0; }

  .tariffs-grid .tariff-card { flex: 0 0 calc(50% - 12px); }
  .services-grid .service-card { flex: 0 0 calc(50% - 12px); }

  .review-card { flex: 0 0 100%; }
  .reviews-carousel { padding: 0 50px; }

  .tariff-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tariff-detail:nth-child(even) { direction: ltr; }

  .section__title { font-size: 30px; }
  .faq-item__question { font-size: 20px; }

  .page-hero__title { font-size: 40px; }

  .contacts-section-wrap .container {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .contacts-section__left { flex: none; }
.contacts-section__right {
    width: 100%;
}

.route-calculator-blok {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .footer__main {
    flex-direction: column;
    text-align: center;
  }
  .footer__nav { flex-wrap: wrap; justify-content: center; }
  .footer__middle { justify-content: center; flex-direction: column; align-items: center; }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .section {padding: 38px 0 0; }
  .section__title { font-size: 26px; }
  .section__subtitle { font-size: 16px; margin-bottom: 32px; }

  .hero { padding: 32px 0; }
  .hero__title { font-size: 28px; }
  .hero__title-accent { font-size: 68px; letter-spacing: 1px; font-weight: 900; -webkit-text-stroke: 1px currentColor; }
  .hero__text { font-size: 15px; font-weight: 700; font-family: 'Arial', sans-serif; }
  .hero__subtext { font-size: 14px; }
  .hero__image { max-width: 110%; margin-left: -5%; }

  .header__phone {
    font-size: 14px;
    background: var(--color-accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
  }
  .header__messengers { gap: 8px; }
  .header__messenger-btn { width: 32px; height: 32px; }
  .header__messenger-btn svg { width: 20px; height: 20px; }

  .tariffs-grid .tariff-card { flex: 0 0 100%; }
  .services-grid .service-card { flex: 0 0 100%; }
  .reviews-grid { grid-template-columns: 1fr; }

  .reviews-carousel { padding: 0 40px; }
  .review-card {
    flex: 0 0 100%;
    padding: 28px 24px;
    min-height: auto;
  }
  .review-card__name { font-size: 20px; }
  .review-card__text { font-size: 16px; }

  .tariff-detail__image { height: 220px; }
  .tariff-detail__name { font-size: 24px; }
  .tariff-detail__price { font-size: 20px; }

  .btn { padding: 14px 28px; font-size: 16px; }

  .page-hero { padding: 40px 0; }
  .page-hero__title { font-size: 30px; }
  .page-hero__subtitle { font-size: 16px; }

  .faq-item__question { font-size: 18px; padding-right: 40px; }
  .faq-item__icon { font-size: 24px; }
  .faq-item__answer-inner { font-size: 16px; }

  .contacts-section__title { font-size: 24px; }
  .contacts__row { flex-direction: column; }
  .contacts-section-wrap { padding: 48px 0; }
.contacts-card {
    padding: 20px 16px;
}
  .calc-section__title { font-size: 28px; }

  .footer__nav {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .footer__legal {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__title { font-size: 26px; }
  .hero__title-accent { font-size: 48px; letter-spacing: 1px; font-weight: 900; -webkit-text-stroke: 1.5px currentColor; }
  .hero__text { font-size: 14px; font-weight: 700; font-family: 'Arial', sans-serif; }
  .hero__subtext { font-size: 12px; }
  .container { padding: 0 16px; }
  .header__inner { gap: 6px; padding: 0 10px; }
  .header__messengers { gap: 4px; }
  .page-hero__title { font-size: 24px; }
}

/* ============================================
   Generated pages components
   ============================================ */

/* --- Breadcrumb --- */
.breadcrumb {
display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb li:not(:last-child) {
    padding-right: 10px;
    position: relative;
}

.breadcrumb li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: url(/img/right-arrow.png) 0 0 no-repeat;
    background-size: contain;
}

/* --- Route stats (hero numbers) --- */
.route-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 24px 0 28px;
  flex-wrap: wrap;
}
.route-stat {
display: flex;
align-items: center;
gap: 8px;
}
.route-stat__value {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
}
.route-stat__label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* --- Tariffs table --- */
.tariffs-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -16px;
  padding: 0 16px;
}
.tariffs-table {
  width: 100%;
  border-collapse: collapse;
}
.tariffs-table th,
.tariffs-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}
.tariffs-table th {
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-bg-alt);
  white-space: nowrap;
}
.tariffs-table td:last-child {
  white-space: nowrap;
}
.tariffs-table tr:hover td {
  background: #fafafa;
}
.tariffs-table a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px dashed var(--color-text-light);
  transition: border-color var(--transition);
}
.tariffs-table a:hover {
  border-color: var(--color-text);
}

/* --- Section note --- */
.section__note {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* --- SEO text --- */
.seo-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 16px;
}
.seo-text p:last-child { margin-bottom: 0; }

.rout-desc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    justify-content: center;
}

.rout-desc div {
    display: inline-flex;
    background: rgb(245, 248, 255);
    border: 1px solid rgb(214, 224, 240);
    border-radius: 40px;
    color: rgb(45, 58, 79);
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 16px;
    font-weight: 600;
    -webkit-backdrop-filter: blur(4px);
}

.rout-document {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 12px;
    gap: 12px;
}

.rout-doc {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    background: #f5f8ff;
    border: 1px solid #d6e0f0;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #2d3a4f;
}

.rout-doc-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

/* --- Routes list (city page) --- */
.routes-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}
.routes-list li {
  break-inside: avoid;
  padding: 6px 0;
}
.routes-list a {
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px dashed var(--color-text-light);
  transition: border-color var(--transition);
  font-size: 16px;
}
.routes-list a:hover {
  border-color: var(--color-text);
}

/* Стили для компактной пагинации */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.pagination button,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.pagination button:hover {
    background: #f0f0f0;
    border-color: #aaa;
}
.pagination button:active {
    background: #e0e0e0;
}
.pagination .active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
    font-weight: bold;
}
.pagination .dots {
    border: none;
    background: transparent;
    cursor: default;
    min-width: 20px;
    color: #999;
}
.pagination .nav-btn {
    font-weight: bold;
}

/* --- Related routes --- */
.related-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-route {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-radius: 16px;
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow var(--transition), transform var(--transition);
}
.related-route:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.related-route__name {
  font-weight: 700;
  font-size: 15px;
}
.related-route__info {
  font-size: 13px;
  color: var(--color-text-muted);
}

.related-route--reverse {
  border: 2px solid var(--color-accent);
  background: #fffbe6;
}
.related-route--reverse .related-route__name {
  color: var(--color-accent);
}
.related-route--reverse:hover {
  background: var(--color-accent);
}
.related-route--reverse:hover .related-route__name,
.related-route--reverse:hover .related-route__info {
  color: #fff;
}

.route-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}
.route-links__item {
  display: inline-block;
  padding: 8px 18px;
  background: var(--color-bg-alt);
  border-radius: 20px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.route-links__item:hover {
  background: var(--color-accent);
  color: #fff;
}

.poezkapar {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
}

.poezdkalist {
    background: #ccc;
    padding: 15px;
    flex: 1;
}

.poezdkalist h4 {
    text-align: center;
    font-size: 20px;
}

.poezdkalist:nth-of-type(2) {
  background: #ddd;
}

.route-calculator-blok {
    display: flex;
    gap: 15px;
    overflow: hidden;
}



.route-calculator-blok div {
    flex: 1;
    background: bisque;
    padding: 20px;
    border-radius: 10px;
}

#departure-time {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
}

.route-calculator-btn {
	padding: 8px 20px;
    margin-top: 20px;
    width: 100%;
}

/* --- How-to steps --- */
.how-to-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.how-to-step {
  text-align: center;
}
.how-to-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.how-to-step__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
}
.how-to-step__text a {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--color-text-light);
}
.how-to-step__text a:hover {
  border-color: var(--color-text);
}

/* --- Search filter --- */
.searchbar {
    background: #e5e5e5;
    padding: 2px;
    margin-top: 15px;
    margin-bottom: 15px;
    display: grid;
    border-radius: 7px;
}

.searchbar .query {
    height: 40px;
}

.query {
    width: 100%;
    background: #f4f4f4;
    border: none;
    padding-left: 28px;
    padding-right: 28px;
    color: #2c2c2c;
    float: left;
    clear: none;
    border-radius: 14px;
}

.searchbar .btn_submit {
    float: right;
    display: block;
    border: none;
    background-color: transparent;
    background-image: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI4IiB2aWV3Qm94PSIwIDAgMjggMjgiIHdpZHRoPSIyOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMy4zMjIzNyAxOS4zOWMtNC40Mjk3NS00LjQyOTktNC40Mjk2Ni0xMS42Mzc3OCAwLTE2LjA2NzYyIDQuNDI5ODQtNC40Mjk4NCAxMS42Mzc2My00LjQyOTg0IDE2LjA2NzQzIDAgMy43NTgxIDMuNzU4MTEgNC4zMjczIDkuMzQ3NDIgMS43MDkgMTMuNzEyMDIgMCAwLS4xODguMzE1NS4wNjYuNTY5MyAxLjQ0OSAxLjQ0OSA1Ljc5NjUgNS43OTY2IDUuNzk2NSA1Ljc5NjYgMS4xNTM4IDEuMTUzNyAxLjQyODQgMi43NjY5LjQwNTMgMy43OTAybC0uMTc2Mi4xNzZjLTEuMDIzMSAxLjAyMzMtMi42MzY0Ljc0ODgtMy43OTAxLS40MDUgMCAwLTQuMzM4My00LjMzODQtNS43ODQ0LTUuNzg0NC0uMjY2Mi0uMjY2Mi0uNTgxNi0uMDc4MS0uNTgxNi0uMDc4MS00LjM2NDUgMi42MTgyLTkuOTUzODIgMi4wNDkxLTEzLjcxMTkzLTEuNzA5em0xMy45Njk5My0yLjA5NzZjMy4yNzMyLTMuMjczMiAzLjI3MzEtOC41OTkwMy0uMDAwMS0xMS44NzIyMy0zLjI3MzItMy4yNzMxLTguNTk5MDItMy4yNzMxOS0xMS44NzIxMyAwLTMuMjczMTkgMy4yNzMxMS0zLjI3MzE5IDguNTk5MDMgMCAxMS44NzIyMyAzLjI3MzIgMy4yNzMgOC41OTg5MyAzLjI3MyAxMS44NzIyMyAweiIgZmlsbD0iI2I0YjRiNCIvPjwvc3ZnPg==);
    background-repeat: no-repeat;
    background-position: center center;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    transition: all 300ms;
}

#search-res {
    top: 0px !important;
    left: 0px !important;
    width: 100% !important;
    z-index: 1;
}

.ui-widget.ui-widget-content {
    border: 0 solid #fff;
}

.ui-widget-content {
    border: 1px solid #fff;
    background: #fff;
    color: #333;
}

.ui-menu-item-wrapper:hover {
    margin: 0;
    background: #ffde02;
}

@media (min-width: 1600px) {
    .ui-widget {
        font-size: 18px;
        line-height: 20px;
        letter-spacing: 1px;
    }
}

.ui-menu .ui-menu-item {
    margin: 0;
    cursor: pointer;
    list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
}

.ui-menu .ui-menu-item-wrapper {
    position: relative;
}

@media (min-width: 1200px) {
    .ui-menu .ui-menu-item-wrapper {
        padding: 21px 28px 21px 28px;
    }
}


/* --- City regions (index pages) --- */
.city-region {
  margin-bottom: 32px;
}
.city-region__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}
.city-region__list {
  list-style: none;
  columns: 3;
  gap: 8px 32px;
}
.city-region__list li {
  break-inside: avoid;
  padding: 4px 0;
}
.city-region__list a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px dashed var(--color-text-light);
  font-size: 15px;
  transition: border-color var(--transition);
}
.city-region__list a:hover {
  border-color: var(--color-text);
}

/* --- Responsive: generated pages --- */
@media (max-width: 960px) {
  .related-routes { grid-template-columns: repeat(2, 1fr); }
  .how-to-steps { grid-template-columns: repeat(2, 1fr); }
  .city-region__list { columns: 2; }
  .routes-list { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 640px) {
  .route-stats { gap: 20px; }
  .route-stat__value { font-size: 22px; }
  .related-routes { grid-template-columns: 1fr; }
  .how-to-steps { grid-template-columns: 1fr; }
  .city-region__list { columns: 1; }
  .tariffs-table th,
  .tariffs-table td { padding: 8px 8px; font-size: 13px; }
  .tariffs-table th { white-space: normal; }
  .tariff-card__bottom {padding: 15px;}
  .breadcrumb {
    justify-content: center;
}
.poezkapar {
    flex-direction: column;
}

.poezdkalist {
    flex: none;
}
}
