/* ===== ШАПКА И МЕНЮ (обновлено) ===== */
.header-static {
    position: relative;
    background: #fff;
    z-index: 1000;
    transition: box-shadow .2s ease, transform .2s ease;
}
.header-static.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,.12);
    animation: headerStaticShow 0.2s ease;
}
.header-static-placeholder {
    display: none;
}
.header-static-placeholder.is-active {
    display: block;
}

.mk-header-main {
    background: #fff;
    padding: 24px 0;
    transition: padding .25s ease;
}
.mk-header-main__inner {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.mk-header-logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}
.mk-header-logo img {
    max-height: 86px;
    width: auto;
    transition: all .25s ease;
}
.mk-header-location__title {
    color: #111;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}
.mk-header-location__text {
    margin-top: 6px;
    color: #7291a4;
    font-size: 16px;
    line-height: 1.3;
}

/* Sticky header */
.header-static.is-fixed .mk-header-main {
    padding: 10px 0;
}
.header-static.is-fixed .mk-header-main__inner {
    grid-template-columns: 160px 1fr;
    gap: 24px;
}
.header-static.is-fixed .mk-header-logo img {
    max-height: 54px;
}
.header-static.is-fixed .mk-header-location__title {
    font-size: 17px;
}
.header-static.is-fixed .mk-header-location__text {
    display: none;
}

@keyframes headerStaticShow {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Основное меню (горизонтальное) */
.mk-menu-layer {
    position: relative;
    z-index: 1020;
}
.mk-main-menu {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #18367c;
    z-index: 1020;
}
.mk-main-menu__link {
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 34px;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none !important;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: background .2s ease;
    white-space: nowrap;
    box-sizing: border-box;
}
.mk-main-menu__link:hover,
.mk-main-menu__link.is-active {
    background: #20aee0;
}

/* Мобильное меню */
.mk-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1020;
    position: relative;
    margin-left: auto;
}
.mk-burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #18367c;
    border-radius: 3px;
    transition: all .3s ease;
}
.mk-burger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mk-burger.is-open span:nth-child(2) {
    opacity: 0;
}
.mk-burger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mk-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #edf1f4;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
    z-index: 1015;
    flex-direction: column;
    padding: 10px 0;
}
.mk-mobile-menu.is-open {
    display: flex;
}
.mk-mobile-menu__link {
    display: block;
    padding: 14px 20px;
    color: #111;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background .2s;
}
.mk-mobile-menu__link:hover,
.mk-mobile-menu__link.is-current {
    background: #f4f9fc;
    color: #0791c5;
}

body.mk-menu-open {
    overflow: hidden;
}

/* Показываем бургер и скрываем ПК-меню на мобильных (≤768px) */
@media (max-width: 768px) {
    .mk-main-menu {
        display: none !important;
    }
    .mk-burger {
        display: flex;
    }
}

/* На ПК скрываем бургер и мобильное меню */
@media (min-width: 769px) {
    .mk-burger,
    .mk-mobile-menu {
        display: none !important;
    }
}

/* Фиксация мобильного меню при sticky-шапке */
.header-static.is-fixed .mk-mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 9999;
}

/* Новая мобилка */
@media (max-width: 768px) {
    .header .header-desktop {
        display: block !important;
    }
    .header .header-mobile {
        display: none !important;
    }
}

/* телефон в мобилке */
/* Показываем header-desktop всегда (отменяем скрытие) */
@media (max-width: 768px) {
    .header .header-desktop {
        display: block !important;
    }
    .header .header-mobile {
        display: none !important;
    }
}

/* Скрываем логотип и адрес на мобильных */
@media (max-width: 768px) {
    .mk-header-main {
        display: none !important;
    }
}

/* Стили телефона в мобильной версии меню */
.mk-menu-layer {
    position: relative;
    z-index: 1020;
}
.mk-mobile-phone {
    display: none; /* на десктопе скрыт */
    font-size: 15px;
    color: var(--mk-muted, #5a6b7c);
    margin-right: auto; /* прижимает бургер вправо */
    align-items: center;
    gap: 6px;
}
.mk-mobile-phone a {
    font-weight: 700;
    text-decoration: none !important;
    font-size: 16px;
    color: var(--mk-accent-dk, #0b6fa0) !important;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .mk-menu-layer {
        display: flex;
        align-items: center;
        justify-content: flex-end; /* бургер справа */
        padding: 8px 15px;
        background: #fff;
        border-bottom: 1px solid #edf1f4;
    }
    .mk-mobile-phone {
        display: flex;
        flex: 1;
        justify-content: flex-start;
    }
    /* бургер остается в правой части */
    .mk-burger {
        margin-left: auto;
    }
}

/* ========== КАРТОЧКА ТУРА (GANDHI) ========== */
.mk-tour-card {
  background: var(--mk-white, #fff);
  border: 1px solid var(--mk-line, #e4ebf2);
  border-radius: var(--mk-radius, 18px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mk-tour-card:hover {
  border-color: var(--mk-accent, #1497d4);
  transform: translateY(-6px);
  box-shadow: var(--mk-shadow, 0 18px 50px -22px rgba(13,58,92,.45));
}

/* Изображение */
.mk-tour-card__thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--mk-soft, #f3f7fb);
}
.mk-tour-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.mk-tour-card:hover .mk-tour-card__thumb img {
  transform: scale(1.05);
}

/* Бейдж сложности */
.mk-tour-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(37, 211, 102, 0.12);
  color: #1f8b4c;
  z-index: 2;
}

/* Тело карточки */
.mk-tour-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Мета-информация (время, сложность) */
.mk-tour-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.mk-tour-card__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--mk-muted, #5a6b7c);
}
.mk-tour-card__meta-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--mk-muted, #5a6b7c);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Заголовок и описание */
.mk-tour-card h3 {
  font-family: var(--mk-display, 'Manrope', sans-serif);
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--mk-ink, #1d2b3a);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.mk-tour-card p {
  font-size: 13.5px;
  color: var(--mk-muted, #5a6b7c);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

/* Теги маршрута */
.mk-tour-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.mk-tour-card__tag {
  background: rgba(20, 151, 212, 0.08);
  border: 1px solid rgba(20, 151, 212, 0.2);
  font-size: 11px;
  color: var(--mk-accent-dk, #0b6fa0);
  padding: 4px 10px;
  border-radius: 6px;
}

/* Нижняя часть с ценой и кнопкой */
.mk-tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--mk-line, #e4ebf2);
  margin-top: auto;
  gap: 12px;
}
.mk-tour-card__price {
  font-family: var(--mk-display, 'Manrope', sans-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--mk-accent, #1497d4);
}
.mk-tour-card__price span {
  font-size: 12px;
  font-weight: 500;
  color: var(--mk-muted, #5a6b7c);
  font-family: var(--mk-font, 'Manrope', sans-serif);
}

/* Кнопка маленькая */
.mk-btn--sm {
  padding: 10px 20px;
  font-size: 12px;
}

/* Ссылка "Подробнее" */
.mk-tour-card__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mk-accent, #1497d4);
  text-decoration: none;
  transition: color 0.2s;
}
.mk-tour-card__more:hover {
  color: var(--mk-accent-dk, #0b6fa0);
  text-decoration: underline;
}

.mk-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}