/**
 * Кастомные стили темы.
 * Подключается последним и перезаписывает остальные при необходимости.
 */

/* Сообщения валидации в модалках (логин / регистрация) */
.auth-form__message {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    background-color: #f4f4f4;
    color: #222;
}

.auth-form__message.error {
    background-color: #ffeaea;
    color: #c53030;
    border: 1px solid #f5b5b5;
}

/* Подсветка ошибок в полях формы регистрации — только после первого сабмита */
#registr .js-registr-form.is-validated .auth-form__input:invalid {
    border: 1px solid #c53030;
    box-shadow: 0 0 0 1px rgba(197, 48, 48, 0.2);
}

#registr .js-registr-form.is-validated .auth-form__input:focus:invalid {
    outline: none;
    box-shadow: 0 0 0 2px rgba(197, 48, 48, 0.35);
}

#registr .js-registr-form.is-validated .auth-form__checkbox:invalid + span {
    color: #c53030;
}

/* Форма смены пароля: общее сообщение и ошибки у полей */
.user-profile-form-wrap .auth-form__message {
    margin-bottom: 12px;
}

.user-profile-form-wrap .auth-form__message.error {
    background-color: #ffeaea;
    color: #c53030;
    border: 1px solid #f5b5b5;
}

.user-profile-form-wrap .auth-form__message:not(.error):not([hidden]) {
    background-color: #e6f7ed;
    color: #1e7e34;
    border: 1px solid #a3d9a5;
}

/* Кнопка удаления аватара: красный кружок с белым крестиком, видна при наведении */
.user-profile-card__avatar-wrap {
    position: relative;
}
.user-profile-card__avatar-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #c53030;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.user-profile-card__avatar-delete:hover {
    background-color: #9b2c2c;
}
.user-profile-card__avatar-wrap:hover .user-profile-card__avatar-delete {
    opacity: 1;
}
.user-profile-card__avatar-delete svg {
    display: block;
}

/* Логин под названием типа аккаунта */
.user-profile-card__login {
  margin-bottom: 20px;
    font-size: 0.9em;
    color: #6b7280;
}
.user-profile-card__name{
    margin-bottom: 10px;
}

/* Сообщение под аватаром (успех/ошибка загрузки) */
.user-profile-card__avatar-wrap .auth-form__message--avatar {
    margin-top: 8px;
    width: 100%;
}
.user-profile-card__avatar-wrap .auth-form__message--avatar.error {
    background-color: #ffeaea;
    color: #c53030;
    border: 1px solid #f5b5b5;
}
.user-profile-card__avatar-wrap .auth-form__message--avatar:not(.error):not([hidden]) {
    background-color: #e6f7ed;
    color: #1e7e34;
    border: 1px solid #a3d9a5;
}

.user-profile-form__error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.3;
    color: #c53030;
}

.user-profile-form__error[hidden] {
    display: none;
}

/* Подсветка поля при ошибке (форма смены пароля) */
.js-change-password-form .auth-form__input:focus.user-profile-form__input--error,
.user-profile-form__field.has-error .auth-form__input {
    border-color: #c53030;
    box-shadow: 0 0 0 1px rgba(197, 48, 48, 0.25);
}

/* Контент страниц «Мои заказы» и «Стать гидом» */
.user-account__content {
    flex: 1;
    min-width: 0;
}
.user-account__title {
    margin: 0 0 0.5em;
    font-size: 1.5rem;
    font-weight: 600;
}
.user-account__placeholder {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Сообщение после отправки комментария на модерацию */
.post-comments__notice {
    margin: 20px 0 0;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #1a5d4a;
    background-color: #e8f5f0;
    border: 1px solid #7ec4a8;
    box-shadow: 0 1px 2px rgba(26, 93, 74, 0.06);
}

.post-comments .post-comments__list + .post-comments__notice {
    margin-top: 16px;
}

.post-comments__notice + .post-comments__form-block {
    margin-top: 20px;
}

/* Скрытый элемент (доступен для скриптов и скринридеров) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Кнопки рубрик в архиве туров */
.tours-hero-sec__teg.tour-teg,
.tour-teg {
    border: none;
}

/* Бронирование гида: статус «В ожидании» */
.user-guide-booking-card__status--pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: #92400e;
    background-color: #fef3c7;
}

.user-booking-detail__status--pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #92400e;
    background-color: #fef3c7;
}

/* Бронирование гида: статус «Отклонено» */
.user-guide-booking-card__status--declined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: #9b2c2c;
    background-color: #ffeaea;
}

.user-booking-detail__status--declined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #9b2c2c;
    background-color: #ffeaea;
}

/* Заказы пользователя: плашки статусов */
.user-order-card__status--pending {
    color: #92400e;
    background-color: #fef3c7;
}

.user-order-card__status--confirmed {
    color: #1a5d4a;
    background-color: #e8f5f0;
}

.user-order-card__status--declined {
    color: #9b2c2c;
    background-color: #ffeaea;
}

/* Карточка бронирования пользователя: плашки статусов */
.user-booking-card__status--pending {
    color: #92400e;
    background-color: #fef3c7;
}

.user-booking-card__status--cancelled {
    color: #9b2c2c;
    background-color: #ffeaea;
}

/* Деталка заказа пользователя: плашки статуса */
.order-detail__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.order-detail__status--pending {
    color: #92400e;
    background-color: #fef3c7;
}

.order-detail__status--confirmed {
    color: #1a5d4a;
    background-color: #e8f5f0;
}

.order-detail__status--cancelled {
    color: #9b2c2c;
    background-color: #ffeaea;
}

/* Деталка заказа: сообщение «В ожидании» */
.order-detail__message--pending {
    color: #92400e;
    background-color: #fef3c7;
}

/* Решение по заявке уже принято (без кнопок) */
.user-booking-detail__decision-final {
    margin: 0;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    max-width: 40em;
}

.user-booking-detail__decision-final--approved {
    color: #1a5d4a;
    background-color: #e8f5f0;
}

.user-booking-detail__decision-final--declined {
    color: #5c3d3d;
    background-color: #f7f0f0;
}

/* Отзыв с страницы брони: звёзды + статусы */
.user-booking-review__status {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.45;
}
.user-booking-review__status--ok {
    color: #1a5d4a;
    background: #e8f5f0;
    border: 1px solid #7ec4a8;
}
.user-booking-review__status--err {
    color: #9b2c2c;
    background: #ffeaea;
    border: 1px solid #e8a0a0;
}
.user-booking-review__star {
    color: #d1d5db;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 2px;
    transition: color 0.12s ease;
}
.user-booking-review__star.is-active,
.user-booking-review__star:hover {
    color: #f59e0b;
}

/* Отзыв по брони: блок «уже оставлен» */
.user-booking-review--submitted {
    margin-top: 0.5rem;
}
.user-booking-review__done-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem 1.125rem;
    max-width: 36rem;
    padding: 1.25rem 1.35rem 1.3rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(126, 196, 168, 0.65);
    background: linear-gradient(145deg, #f0faf6 0%, #e8f5f0 48%, #dff3ea 100%);
    box-shadow:
        0 1px 2px rgba(26, 93, 74, 0.06),
        0 4px 16px rgba(26, 93, 74, 0.07);
}
.user-booking-review__done-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    color: #15803d;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.user-booking-review__done-check {
    display: block;
    width: 2rem;
    height: 2rem;
    color: #15803d;
}
.user-booking-review__done-content {
    min-width: 0;
    flex: 1 1 auto;
    padding-top: 0.1rem;
}
.user-booking-review__done {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.01em;
    color: #14532d;
    max-width: 28em;
}
@media (max-width: 480px) {
    .user-booking-review__done-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.2rem 1.1rem;
    }
    .user-booking-review__done-content {
        padding-top: 0;
    }
    .user-booking-review__done {
        max-width: none;
    }
}

/* =====================================================================
 * Excursa fixes v1.2 — ratings, gallery, search, subscribe, mobile layout
 * ===================================================================== */

/* Rating in the tour header */
.tour-hero-sec__stars { display: inline-flex; gap: 2px; margin-right: 8px; }
.tour-hero-sec__rate-reviews { color: inherit; text-decoration: none; }
.tour-hero-sec__rate-reviews:hover { text-decoration: underline; }
.tour-hero-sec__rate-new {
    display: inline-block; padding: 4px 12px; border-radius: 100px;
    background: #e8f6f2; color: #2f8f7a; font-size: 14px; font-weight: 600;
}
.tour-card__rate-count { opacity: .85; font-size: 12px; }

/* Gallery with fewer than 5 photos */
.galery-tour { gap: 10px; }
.galery-tour--count-1 .galery-tour__front-img-wrapper { width: 100%; }
.galery-tour--count-2 .galery-tour__front-img-wrapper,
.galery-tour--count-3 .galery-tour__front-img-wrapper { width: calc(100% - 330px); }
.galery-tour--count-2 .galery-tour__col,
.galery-tour--count-3 .galery-tour__col { width: 320px; }
.galery-tour--count-2 .galery-tour__small-img-wrapper { height: 100%; }
.galery-tour--count-4 .galery-tour__col:last-child .galery-tour__small-img-wrapper { height: 100%; }

/* Header search is now a real form */
form.header__search { margin: 0; }
button.header__search-icon { border: 0; background: transparent; padding: 0; cursor: pointer; }
.header__search-input::-webkit-search-cancel-button { display: none; }

/* Search results page */
.search-results__form { display: flex; gap: 10px; margin: 0 0 24px; max-width: 640px; }
.search-results__input {
    flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 12px;
    border: 1px solid #dfe7e5; font-size: 16px; background: #fff;
}
.search-results__btn {
    height: 48px; padding: 0 22px; border: 0; border-radius: 12px; cursor: pointer;
    background: #5db8a6; color: #fff; font-weight: 600; font-size: 16px;
}
.search-results__dirs { margin-bottom: 24px; flex-wrap: wrap; gap: 8px; }
.search-results__subtitle { margin: 40px 0 12px; font-size: 24px; }
.search-results__articles { list-style: none; padding: 0; margin: 0 0 40px; }
.search-results__articles li { padding: 10px 0; border-bottom: 1px solid #eef2f1; }
.search-results__articles a { color: inherit; font-weight: 500; }
.tours-hero-sec__empty a { color: #2f8f7a; font-weight: 600; margin-left: 6px; }

/* Footer subscribe */
.footer__subscribe-done { margin: 0 0 10px; color: #5db8a6; font-weight: 600; font-size: 14px; }

/* Review is available after the tour */
.user-booking-review--later { margin-top: 24px; }
.user-booking-review__later {
    margin: 0; padding: 16px 20px; border-radius: 14px; background: #f3f8f7; color: #3d5552;
}

/* Sticky "book" bar on phones (tour page) */
.tour-mobile-bar { display: none; }

/* ---------------- Tablet & phone ---------------- */
@media (max-width: 1200px) {
    .galery-tour__front-img-wrapper { width: calc(100% - 340px); }
    .galery-tour__col { width: 160px; }
    .galery-tour--count-1 .galery-tour__front-img-wrapper { width: 100%; }
}

@media (max-width: 992px) {
    /* Tour page */
    .tour-hero-sec__title { font-size: 32px; margin-bottom: 18px; }
    .tour-hero-sec__info-row { flex-wrap: wrap; gap: 12px 20px; align-items: flex-start; }
    .tour-hero-sec__info-row-left { flex-wrap: wrap; gap: 10px 18px; }
    .tour-hero-sec__rate { flex-wrap: wrap; }

    .galery-tour { flex-wrap: wrap; }
    .galery-tour__front-img-wrapper,
    .galery-tour--count-2 .galery-tour__front-img-wrapper,
    .galery-tour--count-3 .galery-tour__front-img-wrapper { width: 100%; height: 320px; }
    .galery-tour__col,
    .galery-tour--count-2 .galery-tour__col,
    .galery-tour--count-3 .galery-tour__col { width: calc(50% - 5px); flex-direction: row; gap: 10px; height: 110px; }
    .galery-tour__small-img-wrapper,
    .galery-tour--count-4 .galery-tour__col:last-child .galery-tour__small-img-wrapper { height: 100%; flex: 1 1 0; min-width: 0; }
    .galery-tour__zoom { transform: none; right: 10px; bottom: 10px; }
    .galery-tour__small-img-wrapper .galery-tour__zoom { display: none; }

    .tour-info-sec__container { flex-direction: column; }
    .tour-info-sec__main,
    .tour-info-sec__aside { width: 100%; }
    .tour-info-sec__aside { order: -1; margin-bottom: 24px; }
    .booking-card { position: static; margin-top: 16px; }

    .tour-info-sec__fixed-nav { top: 0; }
    .tour-info-sec__fixed-nav-list {
        overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
        white-space: nowrap; border-radius: 0 0 10px 10px;
    }
    .tour-info-sec__fixed-nav-list::-webkit-scrollbar { display: none; }
    .tour-info-sec__fixed-nav-list-element { flex: 0 0 auto; }

    /* Account pages */
    .user-account__inner { flex-direction: column; gap: 16px; min-height: 0; }
    .user-aside { width: 100%; position: static; max-height: none; padding: 12px 0; }
    .user-aside__footer { margin-top: 8px; }
    .user-account__about-user { flex-direction: column; }
    .user-profile-card { width: 100%; }
    .user-profile-card__name, .user-profile-card__login, .user-profile-card__tabs { width: 100%; }
    .user-account__inner > *,
    .user-account__inner > * > * { max-width: 100%; min-width: 0; }
    .user-account__tab-contents { width: 100%; }
}

@media (max-width: 768px) {
    .tour-hero-sec__title { font-size: 26px; }
    .tour-hero-sec__price { width: 100%; }
    .galery-tour__front-img-wrapper,
    .galery-tour--count-2 .galery-tour__front-img-wrapper,
    .galery-tour--count-3 .galery-tour__front-img-wrapper { height: 240px; border-radius: 14px; }
    .galery-tour__col { height: 80px; }

    .tour-mobile-bar {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    }
    .tour-mobile-bar__price { font-size: 14px; line-height: 1.3; color: #5d736e; }
    .tour-mobile-bar__price strong { display: block; font-size: 20px; color: #202020; }
    .tour-mobile-bar__btn {
        flex: 0 0 auto; padding: 13px 22px; border-radius: 12px; background: #5db8a6;
        color: #fff; font-weight: 600; text-decoration: none; border: 0; font-size: 16px; cursor: pointer;
    }
    body.single-tours { padding-bottom: 76px; }

    .tour-hero-sec { padding-top: 100px; padding-bottom: 32px; }
    .tour-info-sec { padding-bottom: 60px; }
    .tour-info-sec__aside-org-img-wrapper { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 12px; }
    .tour-info-sec__aside-org-data { padding-left: 12px; min-width: 0; }
    .tour-available-dates__btn.offer-reserve-btn { height: auto; min-height: 50px; display: flex; align-items: center; justify-content: center; }

    .search-results__form { flex-direction: column; }
    .search-results__btn { width: 100%; }
}

/* "Message me" became a form button */
.astour-info-sec__aside-org-form { margin: 0; }
button.astour-info-sec__aside-org-btn { border: 0; font-family: inherit; gap: 6px; }

/* Question threads */
.user-booking-detail__status--question,
.user-booking-card__status--question,
.user-guide-booking-card__status--question { background: #eef4ff; color: #3b5bdb; }
.user-booking-detail__question-note { margin: 16px 0; padding: 16px 20px; border-radius: 14px; background: #f3f8f7; color: #3d5552; }
.user-booking-detail__question-note .user-booking-detail__btn { margin-top: 12px; display: inline-flex; }
.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px;
    overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* =====================================================================
 * Guide tour list: actions
 * ===================================================================== */
.user-tour-card { grid-template-columns: 80px minmax(0, 1fr) 90px 110px 150px; row-gap: 12px; }
.user-tour-card__title { display: block; text-decoration: none; }
.user-tour-card__title:hover { color: #5db8a6; }
.user-tour-card__status { min-width: 0; }
.user-tour-card__status--not-published { background: #eef1f4; color: #6b7785; }
.user-tour-card__status--rejected { background: #fdecec; color: #d9534f; }
.user-tour-card__actions {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding-top: 12px; border-top: 1px solid #eef1f4;
}
.user-tour-card__action-form { display: contents; }
.user-tour-card__action {
    display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 8px; border: 1px solid #d7e3e0;
    background: #fff; color: #1c274c; font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; font-family: inherit;
}
.user-tour-card__action:hover { border-color: #5db8a6; color: #2f8f7a; }
.user-tour-card__action--danger { margin-left: auto; color: #c0392b; border-color: #f1d5d2; }
.user-tour-card__action--danger:hover { border-color: #c0392b; color: #c0392b; }
@media (max-width: 768px) {
    .user-tour-card { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; }
    .user-tour-card__preview { width: 64px; height: 64px; }
    .user-tour-card__duration, .user-tour-card__price, .user-tour-card__status-wrap { grid-column: 2; justify-content: flex-start; }
}

/* =====================================================================
 * Tour editor
 * ===================================================================== */
.user-account__tour-editor { flex: 1; min-width: 0; }
.tour-editor { background: #fff; border-radius: 20px; padding: 28px 32px 32px; }
.tour-editor__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.tour-editor__back { width: 100%; color: #5db8a6; text-decoration: none; font-size: 14px; }
.tour-editor__title { margin: 0; font-size: 26px; line-height: 1.25; color: #1c274c; }
.tour-editor__state { padding: 5px 12px; border-radius: 100px; font-size: 13px; font-weight: 600; background: #eef1f4; color: #6b7785; }
.tour-editor__state--active { background: #dff2e5; color: #2f8f7a; }
.tour-editor__state--review { background: #fdf3e2; color: #c98a1b; }
.tour-editor__state--rejected { background: #fdecec; color: #d9534f; }
.tour-editor__view { font-size: 14px; color: #2f8f7a; }
.tour-editor__notice { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: #f1f5fb; color: #34495e; font-size: 14px; line-height: 1.5; }
.tour-editor__notice--ok { background: #e8f6f2; color: #22715f; }
.tour-editor__notice--warn { background: #fff4e0; color: #8a5a00; }
.tour-editor__form { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; }
.tour-editor__steps { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 100px; align-self: start; }
.tour-editor__step-link {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 10px;
    background: transparent; color: #4b5866; font-size: 14px; text-align: left; cursor: pointer; font-family: inherit;
}
.tour-editor__step-link span {
    display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center;
    background: #eef1f4; font-size: 12px; font-weight: 600; flex: 0 0 24px;
}
.tour-editor__step-link:hover { background: #f5f8f7; }
.tour-editor__step-link.is-active { background: #e8f6f2; color: #1c274c; font-weight: 600; }
.tour-editor__step-link.is-active span { background: #5db8a6; color: #fff; }
.tour-editor__panel-title { margin: 0 0 18px; font-size: 20px; color: #1c274c; }
.tour-editor__subtitle { margin: 24px 0 12px; font-size: 16px; color: #1c274c; }
.tour-editor__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.tour-editor__label { font-size: 14px; font-weight: 600; color: #1c274c; }
.tour-editor__hint { font-size: 13px; color: #8a95a1; line-height: 1.45; margin: 0; }
.tour-editor input[type="text"], .tour-editor input[type="number"], .tour-editor input[type="date"],
.tour-editor select, .tour-editor textarea {
    width: 100%; box-sizing: border-box; padding: 11px 14px; border: 1px solid #dfe5e9; border-radius: 10px;
    background: #f7f9fa; font: inherit; font-size: 15px; color: #1c274c;
}
.tour-editor textarea { resize: vertical; line-height: 1.5; }
.tour-editor input:focus, .tour-editor select:focus, .tour-editor textarea:focus { outline: none; border-color: #5db8a6; background: #fff; }
.tour-editor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.tour-editor__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.tour-editor__choice {
    display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid #dfe5e9; border-radius: 12px;
    cursor: pointer; flex: 1 1 200px; font-size: 14px; line-height: 1.4;
}
.tour-editor__choice small { color: #8a95a1; }
.tour-editor__choice:has(input:checked) { border-color: #5db8a6; background: #f2faf8; }
.tour-editor__checklist { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow: auto; padding: 10px 12px; border: 1px solid #dfe5e9; border-radius: 12px; }
.tour-editor__checklist--inline { flex-direction: row; flex-wrap: wrap; max-height: none; gap: 8px 16px; }
.tour-editor__check { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.tour-editor__check--child { padding-left: 22px; }
.tour-editor__repeater { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.tour-editor__row { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #eef1f4; border-radius: 12px; background: #fbfcfc; }
.tour-editor__row-main { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tour-editor__row--date input[type="date"] { flex: 1 1 60%; }
.tour-editor__row--date input[type="number"] { flex: 1 1 40%; }
.tour-editor__remove { flex: 0 0 34px; height: 34px; border: 0; border-radius: 8px; background: #f3f4f6; color: #8a95a1; font-size: 20px; cursor: pointer; }
.tour-editor__remove:hover { background: #fdecec; color: #c0392b; }
.tour-editor__add { align-self: flex-start; margin-bottom: 18px; padding: 8px 14px; border: 1px dashed #5db8a6; border-radius: 10px; background: #fff; color: #2f8f7a; font-weight: 600; cursor: pointer; font-family: inherit; }
.tour-editor__cover { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tour-editor__cover-img { width: 260px; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.tour-editor__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-bottom: 10px; }
.tour-editor__thumb { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #6b7785; cursor: pointer; }
.tour-editor__thumb img { width: 100%; height: 90px; object-fit: cover; border-radius: 10px; display: block; }
.tour-editor__thumb:has(input:checked) img { opacity: .35; outline: 2px solid #d9534f; }
.tour-editor__nav { display: flex; justify-content: space-between; margin: 8px 0 0; }
.tour-editor__footer {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; padding-top: 18px;
    border-top: 1px solid #eef1f4; position: sticky; bottom: 0; background: #fff; padding-bottom: 6px;
}
.tour-editor__btn {
    padding: 12px 22px; border-radius: 12px; border: 1px solid #5db8a6; background: #5db8a6; color: #fff;
    font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
}
.tour-editor__btn:hover { background: #4aa694; }
.tour-editor__btn--outline { background: #fff; color: #2f8f7a; }
.tour-editor__btn--outline:hover { background: #f2faf8; }
.tour-editor__btn--ghost { background: transparent; border-color: #dfe5e9; color: #1c274c; }
.tour-editor__btn--ghost:hover { background: #f5f8f7; }
@media (max-width: 992px) {
    .tour-editor { padding: 20px 16px 24px; }
    .tour-editor__form { grid-template-columns: 1fr; gap: 16px; }
    .tour-editor__steps { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .tour-editor__steps::-webkit-scrollbar { display: none; }
    .tour-editor__step-link { flex: 0 0 auto; white-space: nowrap; }
    .tour-editor__grid { grid-template-columns: 1fr; }
    .tour-editor__footer .tour-editor__btn { flex: 1 1 auto; }
}

/* =====================================================================
 * Become a guide
 * ===================================================================== */
.user-account__user-be-guide { flex: 1; min-width: 0; }
.user-account__inner--guest .user-account__user-be-guide { max-width: 900px; margin: 0 auto; }
.be-guide { background: #fff; border-radius: 20px; padding: 32px; }
.be-guide__title { margin: 0 0 10px; font-size: 30px; line-height: 1.2; color: #1c274c; }
.be-guide__lead { margin: 0 0 24px; font-size: 17px; color: #4b5866; line-height: 1.5; }
.be-guide__benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.be-guide__benefit { padding: 16px 18px; border-radius: 14px; background: #f3f8f7; }
.be-guide__benefit-title { margin: 0 0 4px; font-weight: 700; color: #1c274c; }
.be-guide__benefit-text { margin: 0; font-size: 14px; color: #4b5866; line-height: 1.45; }
.be-guide__cta, .be-guide__status { padding: 20px; border-radius: 14px; border: 1px solid #dfe5e9; }
.be-guide__cta p, .be-guide__status p { margin: 0 0 12px; }
.be-guide__status--ok { background: #e8f6f2; border-color: #cfeae2; }
.be-guide__status--warn { background: #fff4e0; border-color: #f6e2bb; margin-bottom: 18px; }
.be-guide__btn {
    display: inline-flex; padding: 12px 22px; border-radius: 12px; border: 1px solid #5db8a6; background: #5db8a6;
    color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; margin-right: 8px;
}
.be-guide__btn--outline { background: #fff; color: #2f8f7a; }
.be-guide__form.tour-editor { padding: 0; margin-top: 8px; }
.be-guide__agree { align-items: flex-start; margin: 4px 0 8px; line-height: 1.45; }
.tour-editor__field.is-error input, .tour-editor__field.is-error textarea, .tour-editor__field.is-error .tour-editor__checklist { border-color: #d9534f; }
.be-guide__agree.is-error { color: #c0392b; }
@media (max-width: 768px) {
    .be-guide { padding: 20px 16px; }
    .be-guide__title { font-size: 24px; }
    .be-guide__benefits { grid-template-columns: 1fr; }
}
.tour-editor__week { display: flex; flex-direction: column; gap: 8px; }
.tour-editor__weekday { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; }
.tour-editor__field--inline { margin-top: 12px; max-width: 320px; }
.tour-editor__row--date input[type="text"] { flex: 1 1 35%; }
@media (max-width: 600px) {
    .tour-editor__weekday { grid-template-columns: 1fr; gap: 4px; }
    .tour-editor__row--date { flex-wrap: wrap; }
    .tour-editor__row--date input { flex: 1 1 100% !important; }
}

/* =====================================================================
 * Booking: calendar + start times
 * ===================================================================== */
.tb-picker { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; border: 0; padding: 0; margin: 0 0 24px; }
.tb-picker .tour-booking__legend { grid-column: 1 / -1; }
.tb-picker.is-error .tb-picker__cal { outline: 2px solid #d9534f; }
.tb-picker__cal { border: 1px solid #e3e9ec; border-radius: 16px; padding: 14px; background: #fff; }
.tb-picker__cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tb-picker__month { margin: 0; font-weight: 700; text-transform: capitalize; color: #1c274c; }
.tb-picker__nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e3e9ec; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.tb-picker__nav:disabled { opacity: .3; cursor: default; }
.tb-picker__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tb-picker__wd { font-size: 12px; color: #8a95a1; text-align: center; padding: 4px 0; text-transform: capitalize; }
.tb-picker__day {
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 4px 0;
    border: 0; border-radius: 10px; background: transparent; color: #b8c0c8; font: inherit; cursor: default;
}
.tb-picker__day.is-available { background: #f1f8f6; color: #1c274c; cursor: pointer; }
.tb-picker__day.is-available:hover { background: #dff2ec; }
.tb-picker__day.is-full { text-decoration: line-through; }
.tb-picker__day.is-selected { background: #5db8a6; color: #fff; }
.tb-picker__day-n { font-weight: 600; font-size: 15px; }
.tb-picker__day-p { font-size: 11px; opacity: .85; }
.tb-picker__times-title { margin: 0 0 10px; font-weight: 700; color: #1c274c; text-transform: capitalize; }
.tb-picker__time-list { display: flex; flex-direction: column; gap: 8px; }
.tb-picker__time {
    display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px;
    border: 1px solid #e3e9ec; border-radius: 12px; background: #fff; font: inherit; cursor: pointer; text-align: left;
}
.tb-picker__time span { font-size: 13px; color: #6b7785; }
.tb-picker__time.is-selected { border-color: #5db8a6; background: #f1f8f6; box-shadow: inset 0 0 0 1px #5db8a6; }
.tb-picker__time:disabled { opacity: .45; cursor: default; }
@media (max-width: 768px) {
    .tb-picker { grid-template-columns: 1fr; }
}
.tour-available-dates__seats { margin: 4px 0 0; font-size: 12px; font-weight: 600; color: #d9822b; }
.user-booking-detail__cancel { margin-top: 14px; }
.user-booking-detail__cancel-btn { border: 0; background: none; padding: 0; color: #c0392b; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }

/* =====================================================================
 * Catalog filters
 * ===================================================================== */
.catalog__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 18px 0 12px; }
.catalog__quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.catalog__chip {
    padding: 9px 14px; border-radius: 100px; border: 1px solid #dfe5e9; background: #fff; color: #1c274c;
    font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.catalog__chip:hover { border-color: #5db8a6; }
.catalog__chip.active { background: #5db8a6; border-color: #5db8a6; color: #fff; }
.catalog__chip--more { font-weight: 600; }
.catalog__date, .catalog__sort { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 14px; border: 1px solid #dfe5e9; border-radius: 100px; background: #fff; font-size: 14px; color: #6b7785; }
.catalog__date input, .catalog__sort select { border: 0; background: transparent; font: inherit; color: #1c274c; padding: 5px 4px; outline: none; }
.catalog__panel {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 24px;
    padding: 18px 20px; margin-bottom: 18px; border: 1px solid #e3e9ec; border-radius: 16px; background: #fff;
}
.catalog__panel-title { margin: 0 0 8px; font-weight: 600; color: #1c274c; font-size: 14px; }
.catalog__panel select, .catalog__price input { padding: 9px 12px; border: 1px solid #dfe5e9; border-radius: 10px; font: inherit; width: 100%; box-sizing: border-box; background: #f7f9fa; }
.catalog__price { display: flex; gap: 8px; align-items: center; }
.catalog__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.catalog__check { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; margin-top: 26px; }
.catalog__panel-group--actions { display: flex; align-items: flex-end; }
.catalog__reset { border: 0; background: none; color: #2f8f7a; font: inherit; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; }
.tour-card__next { margin: 8px 0 0; font-size: 13px; color: #2f8f7a; font-weight: 600; }
.tours-hero-sec__empty p { margin: 0 0 8px; }
@media (max-width: 768px) {
    .catalog__quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
    .catalog__quick::-webkit-scrollbar { display: none; }
    .catalog__sort { width: 100%; justify-content: space-between; }
}
@media (max-width: 768px) {
    .tour-reviews__rating-block { flex-direction: column; align-items: stretch; gap: 16px; }
    .tour-reviews__rating-distribution { width: 100%; }
}
/* Long tour descriptions: readable size and paragraph spacing */
.tour-description { font-size: 18px; line-height: 1.65; }
.tour-description p { margin: 0 0 14px; }
.tour-description p:last-child { margin-bottom: 0; }
@media (max-width: 768px) { .tour-description { font-size: 16px; } }

/* "All dates" button under the dates grid (no icon circle, so give it real height) */
.tour-available-dates__btn.offer-reserve-btn { min-height: 50px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; }

/* ===== Home page (v1.5): trust strip, countries, cities, tour types, steps, join, index ===== */
.home-hero-sec { padding-bottom: 100px; }
.hx-sec { padding-bottom: 110px; }
.home-tours-sec.hx-sec { padding-bottom: 110px; }
.hx-sec[hidden] { display: none; }
.hx-sec .sec-header { margin-bottom: 28px; }
.review-card__title, .review-card__title a { color: #1c274c; }
.review-card__title a:hover { color: #2f8f7a; }
.hx-link { display: inline-flex; align-items: center; gap: 6px; color: #2f8f7a; font-weight: 600; font-size: 15px; }
.hx-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.hx-link:hover { color: #5db8a6; }
.hx-link:hover svg { transform: translateX(3px); }
.hx-chip { display: inline-block; padding: 6px 12px; border-radius: 100px; background: #eef6f3; color: #2f8f7a; font-size: 13px; font-weight: 500; transition: background .2s ease, color .2s ease; }
.hx-chip:hover { background: #5db8a6; color: #fff; }
.hx-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 100px; font-size: 16px; font-weight: 600; transition: all .25s ease; }
.hx-btn--light { background: #fff; color: #1c274c; }
.hx-btn--light:hover { background: #e8f5f0; color: #2f8f7a; }

/* Trust strip under the hero */
.hx-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 8px; background: #fff; border-radius: 20px; box-shadow: 0 6px 24px rgba(28,39,76,.08); }
.hx-trust__item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; }
.hx-trust__item + .hx-trust__item { border-left: 1px solid #eef1f4; }
.hx-trust__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: #e8f5f0; color: #2f8f7a; display: flex; align-items: center; justify-content: center; }
.hx-trust__text { display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.4; color: #8a95a1; }
.hx-trust__text strong { font-size: 15px; color: #1c274c; font-weight: 700; }

/* Recently viewed */
.hx-recent__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hx-mini { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.08); color: #1c274c; transition: box-shadow .2s ease; min-width: 0; }
.hx-mini:hover { box-shadow: 0 6px 20px rgba(0,0,0,.14); }
.hx-mini__img { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: #eef1f4; }
.hx-mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-mini__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hx-mini__title { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-mini__meta { font-size: 12px; color: #8a95a1; display: flex; gap: 8px; }
.hx-mini__rate { color: #2f8f7a; font-weight: 600; }
.hx-mini__price { font-size: 13px; font-weight: 700; }
.hx-mini__price small { font-weight: 500; color: #8a95a1; }

/* Countries */
.hx-countries__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hx-countries__grid--1 { grid-template-columns: 1fr; }
.hx-countries__grid--2 { grid-template-columns: repeat(2, 1fr); }
.hx-country { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 4px 18px rgba(28,39,76,.10); }
.hx-country__media { position: relative; display: block; height: 280px; overflow: hidden; background: linear-gradient(135deg, #5db8a6 0%, #2f8f7a 45%, #1c274c 100%); }
.hx-countries__grid--1 .hx-country__media { height: 360px; }
.hx-country__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.hx-country:hover .hx-country__img { transform: scale(1.04); }
.hx-country__ph, .hx-city__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); }
.hx-country__ph svg { width: 120px; height: 120px; stroke-width: 1.2; }
.hx-country__badge { position: absolute; left: 16px; top: 16px; padding: 7px 14px; border-radius: 100px; background: rgba(255,255,255,.92); color: #1c274c; font-size: 13px; font-weight: 600; }
.hx-country__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hx-country__name { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin: 0; }
.hx-country__name a { color: #1c274c; }
.hx-country__name a:hover { color: #2f8f7a; }
.hx-country__text { color: #6b7684; font-size: 15px; line-height: 1.5; margin: 0; }
.hx-country__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; padding: 0; }
.hx-country .hx-link { margin-top: auto; }

/* Cities and regions */
.hx-cities__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hx-city { position: relative; display: block; height: 260px; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #a3d2b2 0%, #5db8a6 40%, #1c274c 100%); }
.hx-city:nth-child(3n+2) { background: linear-gradient(160deg, #9cc9e0 0%, #4f8fb3 45%, #1c274c 100%); }
.hx-city:nth-child(3n+3) { background: linear-gradient(160deg, #e9c98f 0%, #c98c4f 45%, #1c274c 100%); }
.hx-city__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.hx-city:hover .hx-city__img { transform: scale(1.05); }
.hx-city__ph svg { width: 70px; height: 70px; stroke-width: 1.2; margin-top: -50px; }
.hx-city__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(10,20,40,.72) 100%); }
.hx-city__info { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; color: #fff; }
.hx-city__country { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.hx-city__name { font-size: 22px; font-weight: 700; line-height: 1.15; }
.hx-city__count { font-size: 13px; opacity: .9; }

/* Tour types */
.hx-types__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.hx-type { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 18px; border-radius: 18px; background: #f6f8fa; color: #1c274c; border: 1px solid transparent; transition: all .2s ease; }
.hx-type:hover { background: #fff; border-color: #a3d2b2; box-shadow: 0 6px 18px rgba(28,39,76,.08); }
.hx-type__icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; color: #2f8f7a; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.hx-type:hover .hx-type__icon { background: #5db8a6; color: #fff; }
.hx-type__name { font-size: 16px; font-weight: 700; line-height: 1.25; }
.hx-type__count { font-size: 13px; color: #8a95a1; }

/* How booking works */
.hx-steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; counter-reset: none; }
.hx-step { position: relative; padding: 28px 24px 26px; border-radius: 20px; background: #fff; box-shadow: 0 4px 18px rgba(28,39,76,.08); }
.hx-step__num { position: absolute; right: 20px; top: 14px; font-size: 54px; font-weight: 800; color: #eef1f4; line-height: 1; }
.hx-step__icon { position: relative; width: 52px; height: 52px; border-radius: 16px; background: #5db8a6; color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.hx-step__title { position: relative; font-size: 18px; font-weight: 700; color: #1c274c; margin: 0 0 8px; }
.hx-step__text { position: relative; font-size: 14px; line-height: 1.55; color: #6b7684; margin: 0; }

/* Become a guide banner */
.hx-join__box { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 60px; border-radius: 28px; background: linear-gradient(120deg, #1c274c 0%, #24406a 55%, #2f8f7a 100%); color: #fff; overflow: hidden; }
.hx-join__content { position: relative; z-index: 1; max-width: 640px; }
.hx-join__eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #a3d2b2; font-weight: 700; margin: 0 0 12px; }
.hx-join__title { font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -.5px; margin: 0 0 22px; color: #fff; }
.hx-join__list { margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hx-join__list li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: rgba(255,255,255,.9); }
.hx-join__list svg { flex: 0 0 22px; width: 22px; height: 22px; color: #a3d2b2; }
.hx-join__art { position: relative; z-index: 0; flex: 0 0 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); }
.hx-join__art svg { width: 160px; height: 160px; stroke-width: .9; }

/* Tours by destination (link index) */
.hx-index { padding-bottom: 90px; }
.hx-index__title { margin-bottom: 28px; }
.hx-index__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 28px; border-top: 1px solid #eef1f4; }
.hx-index__country { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.hx-index__country a { color: #1c274c; }
.hx-index__list { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hx-index__list a, .hx-index__country a:hover { color: #8a95a1; font-size: 14px; }
.hx-index__list a:hover { color: #2f8f7a; }

@media (max-width: 1250px) {
	.home-tours-sec__wrapper .tour-card { width: calc(50% - 30px); }
	.hx-trust { grid-template-columns: repeat(2, 1fr); }
	.hx-trust__item:nth-child(3) { border-left: 0; }
	.hx-trust__item:nth-child(n+3) { border-top: 1px solid #eef1f4; }
	.hx-recent__list { grid-template-columns: repeat(2, 1fr); }
	.hx-countries__grid, .hx-countries__grid--2 { grid-template-columns: repeat(2, 1fr); }
	.hx-countries__grid--1 { grid-template-columns: 1fr; }
	.hx-cities__grid { grid-template-columns: repeat(3, 1fr); }
	.hx-types__grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.hx-steps__list { grid-template-columns: repeat(2, 1fr); }
	.hx-join__box { padding: 44px 40px; }
	.hx-join__art { flex-basis: 180px; height: 180px; }
	.hx-join__art svg { width: 110px; height: 110px; }
	.hx-index__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
	.home-tours-sec__wrapper .tour-card { width: calc(100% - 30px); }
	.home-hero-sec { padding-bottom: 70px; }
	.hx-sec, .home-tours-sec.hx-sec { padding-bottom: 70px; }
	.hx-trust { grid-template-columns: 1fr; padding: 4px 6px; }
	.hx-trust__item { padding: 14px 10px; }
	.hx-trust__item + .hx-trust__item { border-left: 0; border-top: 1px solid #eef1f4; }
	.hx-recent__list { grid-template-columns: 1fr; gap: 12px; }
	.hx-countries__grid, .hx-countries__grid--2, .hx-countries__grid--1 { grid-template-columns: 1fr; gap: 18px; }
	.hx-country__media, .hx-countries__grid--1 .hx-country__media { height: 210px; }
	.hx-country__body { padding: 18px 18px 20px; }
	.hx-country__name { font-size: 22px; }
	.hx-cities__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.hx-city { height: 180px; border-radius: 16px; }
	.hx-city__info { left: 12px; right: 12px; bottom: 12px; }
	.hx-city__name { font-size: 17px; }
	.hx-city__ph svg { width: 48px; height: 48px; margin-top: -40px; }
	.hx-types__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.hx-type { padding: 16px 14px; }
	.hx-type__name { font-size: 15px; }
	.hx-steps__list { grid-template-columns: 1fr; gap: 14px; }
	.hx-join__box { padding: 32px 22px; border-radius: 22px; }
	.hx-join__title { font-size: 24px; }
	.hx-join__list li { font-size: 15px; align-items: flex-start; }
	.hx-join__art { display: none; }
	.hx-join .hx-btn { width: 100%; }
	.hx-index__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
	.sec-header { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 760px) {
	.home-guide-sec .swiper-button-blog, .home-reviews-sec .swiper-button-blog, .home-blog-sec .swiper-button-blog { display: none; }
}

/* Home: newsletter + help cards */
.hx-news__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hx-news__card { position: relative; overflow: hidden; padding: 48px 44px 44px; border-radius: 28px; display: flex; flex-direction: column; align-items: flex-start; min-height: 340px; }
.hx-news__card--mail { background: #eaf1fb; }
.hx-news__card--help { background: #e8f5f0; }
.hx-news__title { position: relative; z-index: 1; font-size: 34px; font-weight: 800; line-height: 1.12; letter-spacing: -.5px; color: #1c274c; margin: 0 0 14px; max-width: 460px; }
.hx-news__text { position: relative; z-index: 1; font-size: 16px; line-height: 1.55; color: #4b5866; margin: 0 0 26px; max-width: 440px; }
.hx-news__form { position: relative; z-index: 1; display: flex; gap: 10px; width: 100%; max-width: 480px; }
.hx-news__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hx-news__input { flex: 1; min-width: 0; padding: 15px 18px; border: 1px solid #d5dde6; border-radius: 12px; background: #fff; font-size: 16px; color: #1c274c; font-family: inherit; }
.hx-news__input:focus { border-color: #5db8a6; outline: 0; }
.hx-news__btn { flex: 0 0 auto; padding: 15px 26px; border: 0; border-radius: 12px; background: #5db8a6; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .2s ease; }
.hx-news__btn:hover { background: #2f8f7a; }
.hx-news__note { position: relative; z-index: 1; margin: 12px 0 0; font-size: 13px; color: #8a95a1; }
.hx-news__done { position: relative; z-index: 1; margin: 0; padding: 14px 18px; border-radius: 12px; background: #fff; color: #2f8f7a; font-weight: 600; }
.hx-news__error { position: relative; z-index: 1; margin: 0 0 10px; color: #c0392b; font-size: 14px; }
.hx-news__contacts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.hx-news__contact { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 12px; background: #1c274c; color: #fff; font-size: 16px; font-weight: 600; transition: background .2s ease; }
.hx-news__contact:hover { background: #2f8f7a; color: #fff; }
.hx-news__contact--mail { background: #fff; color: #1c274c; }
.hx-news__contact--mail:hover { background: #fff; color: #2f8f7a; }
.hx-news__art { position: absolute; right: -30px; bottom: -40px; z-index: 0; color: rgba(28,39,76,.07); pointer-events: none; }
.hx-news__art svg { width: 220px; height: 220px; stroke-width: 1.2; }
@media (max-width: 1250px) {
	.hx-news__grid { grid-template-columns: 1fr; }
	.hx-news__card { min-height: 0; }
}
@media (max-width: 760px) {
	.hx-news__card { padding: 30px 22px 28px; border-radius: 22px; }
	.hx-news__title { font-size: 25px; }
	.hx-news__text { font-size: 15px; margin-bottom: 20px; }
	.hx-news__form { flex-direction: column; }
	.hx-news__btn, .hx-news__contact { width: 100%; justify-content: center; }
	.hx-news__art svg { width: 150px; height: 150px; }
}

/* Home: popular tours (compact catalog cards) */
.hx-pop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.hx-tile { display: flex; flex-direction: column; min-width: 0; color: #1c274c; }
.hx-tile:hover .hx-tile__title { color: #2f8f7a; }
.hx-tile__media { position: relative; display: block; height: 200px; border-radius: 16px; overflow: hidden; background: #eef1f4; }
.hx-tile__media::before, .hx-tile__media::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.hx-tile__media::before { top: 0; height: 45%; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0)); }
.hx-tile__media::after { bottom: 0; height: 40%; background: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.hx-tile__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.hx-tile:hover .hx-tile__img { transform: scale(1.04); }
.hx-tile__format { position: absolute; z-index: 2; left: 14px; top: 12px; color: #fff; font-size: 13px; font-weight: 600; }
.hx-tile__meta { position: absolute; z-index: 2; right: 14px; bottom: 11px; left: 14px; text-align: right; color: #fff; font-size: 13px; font-weight: 500; }
.hx-tile__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13px; }
.hx-tile__place { display: inline-flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #1c274c; font-weight: 500; }
.hx-tile__place svg { flex: 0 0 16px; width: 16px; height: 16px; color: #8a95a1; }
.hx-tile__rating { flex: 0 0 auto; font-weight: 700; white-space: nowrap; }
.hx-tile__reviews { color: #8a95a1; font-weight: 500; margin-right: 6px; }
.hx-tile__star { color: #e0a100; margin-left: 2px; }
.hx-tile__new { flex: 0 0 auto; padding: 3px 9px; border-radius: 100px; background: #e8f5f0; color: #2f8f7a; font-size: 12px; font-weight: 600; }
.hx-tile__title { margin-top: 8px; font-size: 17px; font-weight: 700; line-height: 1.3; transition: color .2s ease; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hx-tile__text { margin-top: 6px; font-size: 14px; line-height: 1.45; color: #4b5866; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hx-tile__dates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hx-tile__date { padding: 4px 9px; border-radius: 8px; background: #eef4fb; color: #1c274c; font-size: 12px; font-weight: 500; }
.hx-tile__price { margin-top: 10px; font-size: 14px; color: #4b5866; }
.hx-tile__price strong { font-size: 17px; color: #1c274c; margin-right: 4px; }
@media (max-width: 1250px) {
	.hx-pop__grid { grid-template-columns: repeat(2, 1fr); }
	.hx-tile__media { height: 230px; }
}
@media (max-width: 760px) {
	.hx-pop__grid { grid-template-columns: 1fr; gap: 28px; }
	.hx-tile__media { height: 210px; }
}

/* Grids that fill the last row evenly */
.hx-pop__grid--3 { grid-template-columns: repeat(3, 1fr); }
.hx-pop__grid--3 .hx-tile__media { height: 240px; }
.hx-countries__grid--3 { grid-template-columns: repeat(6, 1fr); }
.hx-countries__grid--3 > .hx-country { grid-column: span 2; }
.hx-countries__grid--3 > .hx-country:nth-last-child(2):nth-child(3n+1),
.hx-countries__grid--3 > .hx-country:nth-last-child(1):nth-child(3n+2) { grid-column: span 3; }
.hx-countries__grid--3 > .hx-country:nth-last-child(1):nth-child(3n+1) { grid-column: span 6; }
@media (max-width: 1250px) {
	.hx-pop__grid--3 { grid-template-columns: repeat(2, 1fr); }
	.hx-countries__grid--3 { grid-template-columns: repeat(2, 1fr); }
	.hx-countries__grid.hx-countries__grid--3 > .hx-country.hx-country:nth-child(n) { grid-column: auto; }
	.hx-countries__grid.hx-countries__grid--3 > .hx-country.hx-country:nth-last-child(1):nth-child(2n+1) { grid-column: span 2; }
}
@media (max-width: 760px) {
	.hx-pop__grid--3 { grid-template-columns: 1fr; }
	.hx-countries__grid--3 { grid-template-columns: 1fr; }
	.hx-countries__grid.hx-countries__grid--3 > .hx-country.hx-country:nth-child(n):nth-last-child(n) { grid-column: auto; }
}

/* Tour gallery: thumbnails fill the column height whatever the photo proportions */
.galery-tour__col { align-self: stretch; gap: 10px; }
.galery-tour__col > .galery-tour__small-img-wrapper { flex: 1 1 0; min-height: 0; height: auto; }
.galery-tour__small-img-wrapper > .galery-tour__img-link { position: absolute; inset: 0; width: auto; height: auto; }

/* Tour cards: the whole photo opens the tour */
.tour-card__img-link { position: absolute; inset: 0; z-index: 2; display: block; cursor: pointer; }
.tour-card__img-wrapper::before, .tour-card__img-wrapper::after { pointer-events: none; }
.tour-card__img-top-row, .tour-card__img-down-row { pointer-events: none; }
.tour-card__img-top-row a, .tour-card__img-top-row button { pointer-events: auto; }
.tour-card__img-wrapper:hover .tour-card__img { transform: scale(1.04); }
.tour-card:hover .tour-card__title-link { color: #5db8a6; }

/* ==========================================================================
   Guide cabinet v1.6 (gc-*)
   ========================================================================== */
.gc { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 16px; color: #1c274c; }
.gc > * { margin: 0; }
.gc p { margin: 0; }
.gc-title { font-size: 26px; line-height: 1.2; font-weight: 700; color: #1c274c; margin: 0; }
.gc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* numbers strip + tabs */
.gc-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 12px 18px; background: #fff; border-radius: 16px; font-size: 13px; color: #8a95a1; }
.gc-strip__label { font-weight: 700; color: #1c274c; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.gc-strip__item b { color: #1c274c; font-weight: 700; margin-left: 2px; }
.gc-tabs { display: flex; gap: 4px; padding: 4px; background: #fff; border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.gc-tabs::-webkit-scrollbar { display: none; }
.gc-tabs__tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #4b5866; white-space: nowrap; transition: background .2s, color .2s; }
.gc-tabs__tab:hover { color: #1c274c; background: #f1f3f6; }
.gc-tabs__tab--active, .gc-tabs__tab--active:hover { background: #1c274c; color: #fff; }
.gc-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }

/* buttons, links, inputs */
.gc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border: 1px solid #5db8a6; border-radius: 100px; background: #5db8a6; color: #fff; font: 600 14px/1.2 Montserrat, sans-serif; cursor: pointer; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.gc-btn:hover { background: #4aa391; border-color: #4aa391; color: #fff; }
.gc-btn--ghost { background: #fff; color: #1c274c; border-color: #dfe5e9; }
.gc-btn--ghost:hover { background: #f1f3f6; color: #1c274c; border-color: #cfd7dd; }
.gc-btn--big { padding: 14px 28px; font-size: 15px; align-self: flex-start; }
.gc-link { padding: 0; border: 0; background: none; color: #3f9b89; font: 600 14px/1.3 Montserrat, sans-serif; cursor: pointer; }
.gc-link:hover { color: #1c274c; text-decoration: underline; }
.gc-select, .gc-search, .gc-field input, .gc-field textarea, .gc-field select { min-height: 42px; padding: 9px 14px; border: 1px solid #dfe5e9; border-radius: 10px; background: #fff; color: #1c274c; font: 500 14px/1.3 Montserrat, sans-serif; max-width: 100%; }
.gc-field textarea { min-height: 96px; resize: vertical; line-height: 1.5; width: 100%; }
.gc-select:focus, .gc-search:focus, .gc-field input:focus, .gc-field textarea:focus { border-color: #5db8a6; box-shadow: 0 0 0 3px rgba(93,184,166,.18); outline: none; }
.gc-select { padding-right: 34px; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a95a1' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 13px center; }
.gc-select--small { min-width: 0; }
.gc-search { width: 170px; }
.gc-field { display: inline-flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #4b5866; }
.gc-field > span { font-size: 13px; }
.gc-field small { font-weight: 500; color: #8a95a1; font-size: 12px; line-height: 1.45; }
.gc-field--block { display: flex; width: 100%; }
.gc-field--block input, .gc-field--block select { width: 100%; }
.gc-count-out { font-weight: 600; color: #4b5866; }

/* switch, chips, filters */
.gc-switch { display: inline-flex; padding: 3px; border-radius: 100px; background: #fff; border: 1px solid #dfe5e9; }
.gc-switch__btn { padding: 7px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; color: #4b5866; }
.gc-switch__btn--active { background: #1c274c; color: #fff; }
.gc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 100px; background: #fff; border: 1px solid #dfe5e9; font-size: 13px; font-weight: 600; color: #1c274c; transition: border-color .2s, background .2s; }
.gc-chip:hover { border-color: #5db8a6; }
.gc-chip--active, .gc-chip--active:hover { background: #e7f4f1; border-color: #5db8a6; color: #1c274c; }
.gc-chip b, .gc-chip i { font-style: normal; font-weight: 700; color: #8a95a1; }
.gc-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 14px; background: #fff; border-radius: 16px; }
.gc-filters--inline { padding: 0; background: none; align-items: center; }
.gc-filters .gc-field { flex-direction: column; }
.gc-count { font-size: 13px; color: #8a95a1; }
.gc-empty { padding: 36px 20px; background: #fff; border-radius: 16px; text-align: center; color: #8a95a1; font-size: 15px; }
.gc-card .gc-empty { padding: 24px 0 8px; }
.gc-note { font-size: 13px; line-height: 1.5; color: #8a95a1; }
.gc-notice { padding: 12px 16px; border-radius: 12px; background: #e7f4f1; color: #1d6b5c; font-size: 14px; font-weight: 600; border: 1px solid #bfe3da; }
.gc-notice--warn { background: #fff6e8; color: #8a5a10; border-color: #f4d9a8; }

/* bookings table */
.gc-table { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; }
.gc-row { display: grid; grid-template-columns: minmax(170px, 1.3fr) minmax(140px, 1.4fr) 120px 60px 70px 150px; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eef1f4; color: #1c274c; font-size: 14px; transition: background .15s; }
.gc-row:last-child { border-bottom: 0; }
.gc-row:hover { background: #f7f9fa; color: #1c274c; }
.gc-row--unread { background: #f3faf8; }
.gc-row--unread .gc-row__name { font-weight: 800; }
.gc-row__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gc-row__who-text { display: flex; flex-direction: column; min-width: 0; }
.gc-row__name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-row__sub { font-size: 12px; color: #8a95a1; }
.gc-row__tour { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
.gc-row__when { font-size: 13px; }
.gc-row__people, .gc-row__price { font-size: 13px; color: #4b5866; }
.gc-row__price { font-weight: 700; color: #1c274c; }
.gc-row__status { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.gc-avatar { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e7f4f1; color: #3f9b89; font-size: 14px; font-weight: 700; }
.gc-avatar__dot { position: absolute; right: -1px; top: -1px; width: 11px; height: 11px; border-radius: 50%; background: #e5484d; border: 2px solid #fff; }
.gc-pill { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 100px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #f1f3f6; color: #4b5866; }
.gc-pill--pending { background: #fff1d9; color: #9a6208; }
.gc-pill--question { background: #e9effc; color: #3555a8; }
.gc-pill--approved { background: #e1f4ee; color: #1d7a64; }
.gc-pill--completed { background: #eceff3; color: #4b5866; }
.gc-pill--declined, .gc-pill--cancelled { background: #fdecec; color: #b2373b; }
.gc-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.gc-pager__p { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: #1c274c; font-weight: 600; font-size: 14px; }
.gc-pager__p--active { background: #1c274c; color: #fff; }

/* departures */
.gc-deps { display: flex; flex-direction: column; gap: 10px; }
.gc-deps__day { margin: 10px 0 0; font-size: 15px; font-weight: 700; color: #4b5866; text-transform: capitalize; }
.gc-dep { display: flex; gap: 16px; padding: 16px 18px; background: #fff; border-radius: 16px; }
.gc-dep__time { flex: 0 0 64px; font-size: 18px; font-weight: 800; color: #1c274c; }
.gc-dep__main { flex: 1; min-width: 0; }
.gc-dep__tour { font-weight: 700; font-size: 15px; margin-bottom: 4px !important; }
.gc-dep__meta { font-size: 13px; color: #8a95a1; margin-bottom: 8px !important; }
.gc-dep__list { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.gc-dep__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gc-dep__list a { color: #3f9b89; font-weight: 700; }

/* stats */
.gc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gc-kpi { padding: 18px; background: #fff; border-radius: 16px; display: flex; flex-direction: column; gap: 6px; }
.gc-kpi__label { font-size: 13px; font-weight: 600; color: #8a95a1; }
.gc-kpi__value { font-size: 28px; line-height: 1.1; font-weight: 800; color: #1c274c; }
.gc-kpi__hint { font-size: 12px; line-height: 1.45; color: #8a95a1; }
.gc-card { padding: 22px; background: #fff; border-radius: 18px; display: flex; flex-direction: column; gap: 16px; }
.gc-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.gc-card__title { margin: 0; font-size: 18px; font-weight: 700; color: #1c274c; }
.gc-funnel { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.gc-funnel__step { flex: 1 1 120px; padding: 14px 16px; border-radius: 14px; background: #f5f7f9; display: flex; flex-direction: column; gap: 2px; }
.gc-funnel__step b { font-size: 22px; font-weight: 800; }
.gc-funnel__step span { font-size: 12px; color: #8a95a1; }
.gc-funnel__step--rate { background: #e7f4f1; }
.gc-funnel__arrow { align-self: center; color: #b4bec7; font-size: 18px; }
.gc-chart { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding: 18px 0 0; border-bottom: 1px solid #e3e8ec; }
.gc-chart__col { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.gc-chart__bar { display: block; width: 100%; max-width: 22px; min-height: 2px; border-radius: 4px 4px 0 0; background: #a9dbd0; transition: background .15s; }
.gc-chart__col:hover .gc-chart__bar { background: #5db8a6; }
.gc-chart__dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #efac44; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.gc-chart__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: #8a95a1; }
.gc-chart__legend span { display: inline-flex; align-items: center; gap: 6px; }
.gc-chart__key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.gc-chart__key--bar { background: #a9dbd0; }
.gc-chart__key--dot { background: #efac44; border-radius: 50%; }
.gc-chart__range { margin-left: auto; }
.gc-tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gc-tips > div { padding: 14px 16px; border-radius: 14px; background: #f5f7f9; font-size: 13px; line-height: 1.5; color: #4b5866; }
.gc-tips ul { margin: 6px 0 0; padding-left: 18px; }
.gc-tips li { list-style: disc; margin-bottom: 3px; }
.gc-tips__title { font-weight: 700; color: #1c274c; }
.gc-tt { display: flex; flex-direction: column; font-size: 14px; }
.gc-tt__row { display: grid; grid-template-columns: minmax(160px, 2.4fr) repeat(4, minmax(60px, .8fr)) minmax(90px, 1fr); gap: 10px; align-items: center; padding: 12px 10px; border-bottom: 1px solid #eef1f4; color: #1c274c; border-radius: 8px; }
a.gc-tt__row:hover { background: #f7f9fa; color: #1c274c; }
.gc-tt__row--head { font-size: 12px; font-weight: 700; color: #8a95a1; text-transform: uppercase; letter-spacing: .04em; padding-top: 0; }
.gc-tt__row--active { background: #e7f4f1; }
.gc-tt__name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gc-tt__name small { display: block; font-size: 12px; color: #8a95a1; font-weight: 500; }
.gc-tt--last .gc-tt__row { grid-template-columns: minmax(110px, 1fr) minmax(160px, 2fr) minmax(90px, 1fr) minmax(130px, 1fr); }

/* calendar */
.gc-cal { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; align-items: start; }
.gc-cal__side { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: #fff; border-radius: 18px; }
.gc-cal__filter { display: flex; }
.gc-month__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gc-month__title { font-weight: 700; text-transform: capitalize; }
.gc-month__nav { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #1c274c; background: #f1f3f6; }
.gc-month__nav:hover { background: #e3e8ec; color: #1c274c; }
.gc-month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.gc-month__wd { text-align: center; font-size: 11px; font-weight: 700; color: #8a95a1; text-transform: uppercase; padding-bottom: 4px; }
.gc-month__day { position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 13px; font-weight: 600; color: #1c274c; background: #fff; border: 1px solid transparent; }
.gc-month__day:hover { border-color: #cfd7dd; color: #1c274c; }
.gc-month__day--open { background: #eef8f5; }
.gc-month__day--booked { background: #5db8a6; color: #fff; }
.gc-month__day--booked:hover { color: #fff; }
.gc-month__day--past { opacity: .45; }
.gc-month__day--today { border-color: #1c274c; }
.gc-month__day--sel { box-shadow: 0 0 0 2px #1c274c; }
.gc-month__n { position: absolute; right: 3px; top: 2px; font-style: normal; font-size: 9px; font-weight: 800; line-height: 1; }
.gc-month__x { position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #e5484d; }
.gc-month__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12px; color: #8a95a1; }
.gc-month__legend span { display: inline-flex; align-items: center; gap: 6px; }
.gc-month__k { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.gc-month__k--open { background: #eef8f5; border: 1px solid #bfe3da; }
.gc-month__k--booked { background: #5db8a6; }
.gc-month__k--x { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
.gc-cal__day { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #fff; border-radius: 18px; }
.gc-cal__day-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.gc-cal__day-head form { display: flex; gap: 8px; flex-wrap: wrap; }
.gc-cal__day-title { margin: 0; font-size: 18px; font-weight: 700; text-transform: capitalize; }
.gc-slots { display: flex; flex-direction: column; gap: 10px; }
.gc-slot { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid #e3e8ec; border-left: 4px solid #5db8a6; border-radius: 12px; }
.gc-slot--booked { border-left-color: #1c274c; }
.gc-slot--closed { border-left-color: #e5484d; background: #fbf7f7; }
.gc-slot--closed .gc-slot__time, .gc-slot--closed .gc-slot__tour { color: #8a95a1; text-decoration: line-through; }
.gc-slot__time { font-size: 17px; font-weight: 800; }
.gc-slot__tour { font-weight: 700; margin-bottom: 3px !important; }
.gc-slot__meta { font-size: 13px; color: #8a95a1; }
.gc-slot__list { margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.gc-slot__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gc-slot__list a { color: #3f9b89; font-weight: 700; }
.gc-slot__act { margin: 0; }

/* profile & forms */
.gc-form { display: flex; flex-direction: column; gap: 16px; }
.gc-progress { display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: #fff; border-radius: 18px; }
.gc-progress__ring { --p: 0; flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: conic-gradient(#5db8a6 calc(var(--p) * 1%), #e8edf0 0); }
.gc-progress__ring span { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.gc-progress__title { font-weight: 700; font-size: 16px; margin-bottom: 4px !important; }
.gc-progress__text { font-size: 13px; color: #8a95a1; line-height: 1.5; }
.gc-photo { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.gc-photo__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #f1f3f6; }
.gc-photo input[type=file] { padding: 8px; font-size: 13px; }
.gc-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gc-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-checks label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #dfe5e9; border-radius: 100px; font-size: 13px; font-weight: 600; color: #1c274c; cursor: pointer; }
.gc-checks label:has(input:checked) { border-color: #5db8a6; background: #e7f4f1; }
.gc-checks input { accent-color: #5db8a6; min-height: 0; padding: 0; }

/* notifications */
.gc-notif__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gc-notif__col { font-size: 12px; font-weight: 700; color: #8a95a1; text-transform: uppercase; letter-spacing: .04em; }
.gc-notif__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #eef1f4; font-size: 14px; cursor: pointer; }
.gc-toggle { flex: 0 0 auto; appearance: none; -webkit-appearance: none; position: relative; width: 42px; height: 24px; margin: 0; border-radius: 12px; background: #d5dce1; cursor: pointer; transition: background .2s; }
.gc-toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.gc-toggle:checked { background: #5db8a6; }
.gc-toggle:checked::after { transform: translateX(18px); }
.gc-toggle:focus-visible { outline: 2px solid #1c274c; outline-offset: 2px; }

/* my tours: meta, note, more menu */
.user-tour-card__meta { margin: 4px 0 0; font-size: 13px; color: #8a95a1; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.user-tour-card__meta a { color: #3f9b89; font-weight: 600; }
.user-tour-card__note { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #fdecec; color: #8f2c30; font-size: 13px; line-height: 1.45; }
.gc-more { position: relative; display: inline-block; }
.gc-more > summary { list-style: none; cursor: pointer; letter-spacing: 1px; }
.gc-more > summary::-webkit-details-marker { display: none; }
.gc-more__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 200px; padding: 6px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(28,39,76,.16); display: flex; flex-direction: column; }
.gc-more__menu form { margin: 0; }
.gc-more__menu a, .gc-more__menu button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; text-align: left; color: #1c274c; font: 500 14px/1.3 Montserrat, sans-serif; cursor: pointer; }
.gc-more__menu a:hover, .gc-more__menu button:hover { background: #f1f3f6; color: #1c274c; }
.gc-more__menu .gc-more__danger { color: #c4373c; }

/* booking detail: price, reschedule, chat events */
.gc-price { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: #f5f7f9; display: flex; flex-direction: column; gap: 8px; }
.gc-price__title { margin: 0 0 2px; font-size: 15px; font-weight: 700; }
.gc-price__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #4b5866; }
.gc-price__row--total { padding-top: 8px; border-top: 1px dashed #d5dce1; font-weight: 800; color: #1c274c; }
.gc-price__hint { font-size: 12px; color: #8a95a1; line-height: 1.45; }
.gc-move { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.gc-move__box > summary { list-style: none; display: inline-flex; }
.gc-move__box > summary::-webkit-details-marker { display: none; }
.gc-move__box[open] > summary { margin-bottom: 12px; }
.gc-move__form { padding: 18px; background: #fff; border: 1px solid #e3e8ec; border-radius: 14px; max-width: 520px; gap: 12px; }
.gc-move__form .gc-field { display: flex; }
.gc-move__empty { font-size: 14px; color: #8a95a1; }
.user-booking-chat__event { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 8px; margin: 10px auto; padding: 7px 14px; max-width: 90%; border-radius: 100px; background: #f1f3f6; color: #4b5866; font-size: 12px; font-weight: 600; text-align: center; }
.user-booking-chat__event time { font-weight: 500; color: #8a95a1; }

/* aside badge */
.user-aside .gc-badge { margin-left: auto; }

@media (max-width: 1100px) {
    .gc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gc-cal { grid-template-columns: 1fr; }
    .gc-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who status" "tour tour" "when price"; row-gap: 6px; }
    .gc-row__who { grid-area: who; }
    .gc-row__status { grid-area: status; }
    .gc-row__tour { grid-area: tour; font-size: 13px; color: #4b5866; }
    .gc-row__when { grid-area: when; }
    .gc-row__people { display: none; }
    .gc-row__price { grid-area: price; text-align: right; }
}
@media (max-width: 768px) {
    .gc-title { font-size: 22px; }
    .gc-strip { padding: 10px 14px; gap: 6px 12px; font-size: 12px; }
    .gc-strip__label { width: 100%; }
    .gc-card { padding: 16px; }
    .gc-kpi { padding: 14px; }
    .gc-kpi__value { font-size: 22px; }
    .gc-grid2, .gc-tips { grid-template-columns: 1fr; }
    .gc-filters { padding: 12px; }
    .gc-filters .gc-select, .gc-filters .gc-search, .gc-filters .gc-field { flex: 1 1 140px; width: auto; }
    .gc-filters--inline .gc-select { flex: 1 1 auto; }
    .gc-funnel__arrow { display: none; }
    .gc-tt { overflow-x: auto; }
    .gc-tt__row { min-width: 620px; }
    .gc-tt--last .gc-tt__row { min-width: 520px; }
    .gc-slot { grid-template-columns: 56px minmax(0, 1fr); }
    .gc-slot__act { grid-column: 2; }
    .gc-dep { flex-direction: column; gap: 6px; }
    .gc-dep__time { flex: none; }
    .gc-chart { height: 120px; }
    .gc-chart__range { margin-left: 0; width: 100%; }
    .gc-progress { align-items: flex-start; }
    .gc-btn--big { width: 100%; }
    .gc-more__menu { right: auto; left: 0; }
}
.user-account__user-tours.gc { background: transparent; padding: 0; box-shadow: none; }
.user-account__user-tours.gc .user-tours__title { font-size: 26px; font-weight: 700; }
.user-account__user-tours.gc .user-tour-card { border-color: transparent; }
.user-booking-chat__event { background: #fff; box-shadow: 0 1px 2px rgba(28,39,76,.06); }
.gc-tt__row--head { font-size: 11px; letter-spacing: .02em; line-height: 1.25; }
@media (max-width: 768px) { .user-account__user-tours.gc .user-tours__title { font-size: 22px; } }
@media (max-width: 768px) {
    .gc-card__head .gc-filters--inline { width: 100%; }
    .gc-card__head .gc-filters--inline .gc-select { width: 100%; flex: 1 1 100%; }
}

/* ==========================================================================
   404 page (nf-*)
   ========================================================================== */
.nf { background: #f5f7f9; padding-bottom: 40px; }
.nf-hero { padding: 130px 0 40px; background: linear-gradient(180deg, #eaf6f3 0%, #f5f7f9 100%); }
.nf-hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.nf-hero__code { margin: 0 0 6px; font-size: 96px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px #5db8a6; }
.nf-hero__title { margin: 0 0 12px; font-size: 36px; line-height: 1.2; font-weight: 800; color: #1c274c; }
.nf-hero__lead { margin: 0 0 24px; font-size: 17px; line-height: 1.55; color: #4b5866; max-width: 560px; }
.nf-search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; background: #fff; border: 1px solid #dfe5e9; border-radius: 100px; box-shadow: 0 10px 30px rgba(28,39,76,.06); max-width: 560px; }
.nf-search:focus-within { border-color: #5db8a6; box-shadow: 0 0 0 4px rgba(93,184,166,.15); }
.nf-search__icon { flex: 0 0 auto; }
.nf-search__input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent; font: 500 15px/1.3 Montserrat, sans-serif; color: #1c274c; padding: 10px 0; }
.nf-search__btn { flex: 0 0 auto; border: 0; border-radius: 100px; background: #5db8a6; color: #fff; font: 700 14px/1 Montserrat, sans-serif; padding: 14px 22px; cursor: pointer; transition: background .2s; }
.nf-search__btn:hover { background: #4aa391; }
.nf-hero__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 16px; }
.nf-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 100px; background: #1c274c; color: #fff; font-weight: 700; font-size: 14px; border: 1px solid #1c274c; transition: background .2s, color .2s; }
.nf-btn:hover { background: #2b3a6b; color: #fff; }
.nf-btn--ghost { background: #fff; color: #1c274c; border-color: #dfe5e9; }
.nf-btn--ghost:hover { background: #f1f3f6; color: #1c274c; }
.nf-hero__help { margin: 0; font-size: 13px; color: #8a95a1; }
.nf-hero__help a { color: #3f9b89; font-weight: 600; }
.nf-art { width: 100%; height: auto; max-width: 420px; display: block; margin-left: auto; border-radius: 28px; background: #fff; box-shadow: 0 20px 50px rgba(28,39,76,.08); }
.nf-sec { padding: 32px 0 8px; }
.nf-sec__title { margin: 0 0 18px; font-size: 24px; font-weight: 800; color: #1c274c; }
.nf-dirs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.nf-dir { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: #fff; border-radius: 16px; border: 1px solid transparent; color: #1c274c; font-weight: 700; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.nf-dir:hover { border-color: #5db8a6; box-shadow: 0 8px 20px rgba(28,39,76,.08); color: #1c274c; }
.nf-dir__img { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.nf-dir__img--ph { display: block; background: #cfe9e2; }
.nf .hx-pop { padding-top: 32px; }
@media (max-width: 900px) {
    .nf-hero__inner { grid-template-columns: 1fr; gap: 24px; }
    .nf-hero__art { order: -1; }
    .nf-art { max-width: 200px; margin: 0; }
}
@media (max-width: 600px) {
    .nf-hero { padding: 84px 0 24px; }
    .nf-hero__code { font-size: 64px; }
    .nf-hero__title { font-size: 26px; }
    .nf-hero__lead { font-size: 15px; }
    .nf-search { flex-wrap: wrap; border-radius: 18px; padding: 10px 12px; }
    .nf-search__input { flex-basis: calc(100% - 40px); }
    .nf-search__btn { width: 100%; }
    .nf-btn { flex: 1 1 auto; }
    .nf-dirs { grid-template-columns: 1fr 1fr; }
    .nf-dir { font-size: 14px; }
    .nf-dir__img { flex-basis: 40px; width: 40px; height: 40px; }
}
@media (min-width: 601px) and (max-width: 1280px) { .nf-hero { padding-top: 110px; } }

/* ==========================================================================
   Information pages: help, about, contacts, legal (ip-*)
   ========================================================================== */
.ip { background: #f5f7f9; padding-bottom: 48px; color: #1c274c; }
.ip-hero { padding: 130px 0 36px; background: linear-gradient(180deg, #eaf6f3 0%, #f5f7f9 100%); }
.ip-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #8a95a1; margin-bottom: 14px; }
.ip-crumbs a { color: #4b5866; }
.ip-crumbs a:hover { color: #3f9b89; }
.ip-hero__title { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 800; color: #1c274c; }
.ip-hero__lead { margin: 12px 0 0; max-width: 720px; font-size: 17px; line-height: 1.55; color: #4b5866; }
.ip-sec { padding: 28px 0; }
.ip-sec--tight { padding: 8px 0; }
.ip-h2 { margin: 0 0 16px; font-size: 28px; line-height: 1.2; font-weight: 800; color: #1c274c; }
.ip-h2--center { text-align: center; margin-bottom: 24px; }
.ip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 100px; background: #5db8a6; color: #fff; border: 1px solid #5db8a6; font: 700 15px/1.2 Montserrat, sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ip-btn:hover { background: #4aa391; border-color: #4aa391; color: #fff; }
.ip-btn--ghost { background: #fff; color: #1c274c; border-color: #dfe5e9; }
.ip-btn--ghost:hover { background: #f1f3f6; color: #1c274c; border-color: #cfd7dd; }
.ip-btn--light { background: #fff; color: #1c274c; border-color: #fff; }
.ip-btn--light:hover { background: #eaf6f3; color: #1c274c; border-color: #eaf6f3; }
.ip-btn--big { padding: 15px 30px; font-size: 16px; }

/* support card */
.ip-support { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 24px; align-items: center; padding: 26px 28px; background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(28,39,76,.05); }
.ip-support__icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #e7f4f1; color: #3f9b89; }
.ip-support__title { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.ip-support__text { margin: 0; font-size: 14px; line-height: 1.5; color: #4b5866; }
.ip-support__actions { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ip-support__mail { font-size: 13px; font-weight: 600; color: #3f9b89; }

/* help */
.ip-help__top { padding-top: 0; }
.ip-help__search { display: flex; align-items: center; gap: 10px; max-width: 640px; padding: 4px 6px 4px 18px; background: #fff; border: 1px solid #dfe5e9; border-radius: 100px; box-shadow: 0 10px 30px rgba(28,39,76,.06); margin-bottom: 24px; }
.ip-help__search:focus-within { border-color: #5db8a6; box-shadow: 0 0 0 4px rgba(93,184,166,.15); }
.ip-help__search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 14px 6px; font: 500 15px/1.3 Montserrat, sans-serif; color: #1c274c; }
.ip-help__empty { margin: -8px 0 16px; color: #8a95a1; }
.ip-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ip-topic { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px; background: #fff; border-radius: 18px; border: 1px solid transparent; color: #1c274c; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ip-topic:hover { border-color: #5db8a6; box-shadow: 0 10px 24px rgba(28,39,76,.08); transform: translateY(-2px); color: #1c274c; }
.ip-topic__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #e7f4f1; color: #3f9b89; }
.ip-topic__title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.ip-topic__count { font-size: 13px; color: #8a95a1; margin-top: auto; }
.ip-help__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.ip-help__nav { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 2px; padding: 12px; background: #fff; border-radius: 18px; }
.ip-help__nav a { padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #4b5866; transition: background .2s, color .2s; }
.ip-help__nav a:hover { background: #f1f3f6; color: #1c274c; }
.ip-help__nav a.is-active { background: #e7f4f1; color: #1c274c; }
.ip-help__content { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.ip-help__topic { scroll-margin-top: 110px; }
.ip-help__topic-title { margin: 0 0 12px; font-size: 22px; font-weight: 800; }
.ip-help .faq-accordion { background: #fff; border-radius: 18px; padding: 4px 20px; }
.ip-help .faq-item:last-child { border-bottom: 0; }
.ip-help .faq-item__content a { color: #3f9b89; font-weight: 600; text-decoration: underline; }
.ip-help__docs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; font-size: 14px; }
.ip-help__docs a { color: #4b5866; text-decoration: underline; }

/* about */
.ip-about__story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ip-about__text p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: #4b5866; }
.ip-about__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ip-about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; display: block; box-shadow: 0 20px 50px rgba(28,39,76,.12); }
.ip-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ip-stat { flex: 1 1 160px; max-width: 240px; padding: 22px 16px; background: #fff; border-radius: 18px; text-align: center; }
.ip-stat b { display: block; font-size: 34px; line-height: 1.1; font-weight: 800; color: #3f9b89; }
.ip-stat span { display: block; margin-top: 4px; font-size: 14px; color: #4b5866; }
.ip-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ip-step { padding: 24px; background: #fff; border-radius: 20px; }
.ip-step__n { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #1c274c; color: #fff; font-weight: 800; margin-bottom: 14px; }
.ip-step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.ip-step p { margin: 0; font-size: 14px; line-height: 1.6; color: #4b5866; }
.ip-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ip-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ip-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border-radius: 20px; }
.ip-card__icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #e7f4f1; color: #3f9b89; margin-bottom: 4px; }
.ip-card__title { margin: 0; font-size: 18px; font-weight: 700; color: #1c274c; }
.ip-card__text { margin: 0; font-size: 14px; line-height: 1.6; color: #4b5866; }
.ip-card__mail { margin-top: auto; padding-top: 8px; font-weight: 700; color: #1c274c; word-break: break-all; }
.ip-card__mail:hover, .ip-card__link:hover { color: #3f9b89; }
.ip-card__link { font-size: 14px; font-weight: 600; color: #3f9b89; }
.ip-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ip-chip { display: inline-flex; padding: 10px 18px; border-radius: 100px; background: #fff; border: 1px solid #dfe5e9; font-weight: 700; color: #1c274c; transition: border-color .2s, background .2s; }
.ip-chip:hover { border-color: #5db8a6; background: #e7f4f1; color: #1c274c; }
.ip-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ip-duo__card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border-radius: 24px; background: #e7f4f1; }
.ip-duo__card p { margin: 0; font-size: 15px; line-height: 1.6; color: #4b5866; }
.ip-duo__card--dark { background: #1c274c; }
.ip-duo__card--dark .ip-duo__title { color: #fff; }
.ip-duo__card--dark p { color: #c9d1e4; }
.ip-duo__title { margin: 0; font-size: 24px; font-weight: 800; color: #1c274c; }

/* contacts */
.ip-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: start; scroll-margin-top: 100px; }
#contact-form { scroll-margin-top: 90px; }
.ip-contact__intro p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: #4b5866; }
.ip-contact__facts { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.55; color: #4b5866; }
.ip-contact__facts li { list-style: disc; }
.ip-contact__facts a { color: #3f9b89; font-weight: 600; }
.ip-form { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(28,39,76,.05); }
.ip-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ip-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ip-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #4b5866; }
.ip-field input, .ip-field select, .ip-field textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #dfe5e9; border-radius: 12px; background: #fff; font: 500 15px/1.4 Montserrat, sans-serif; color: #1c274c; }
.ip-field textarea { resize: vertical; min-height: 140px; }
.ip-field input:focus, .ip-field select:focus, .ip-field textarea:focus { border-color: #5db8a6; outline: none; box-shadow: 0 0 0 3px rgba(93,184,166,.18); }
.ip-form__note { margin: 0; font-size: 12px; line-height: 1.5; color: #8a95a1; }
.ip-form__note a { color: #3f9b89; text-decoration: underline; }
.ip-form .ip-btn { align-self: flex-start; }
.ip-notice { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.ip-notice--ok { background: #e7f4f1; color: #1d6b5c; border: 1px solid #bfe3da; }
.ip-notice--warn { background: #fff6e8; color: #8a5a10; border: 1px solid #f4d9a8; }

/* legal and text pages */
.ip-page__layout { display: grid; grid-template-columns: minmax(0, 860px); justify-content: center; }
.ip-page__layout--toc { grid-template-columns: 260px minmax(0, 820px); gap: 32px; align-items: start; justify-content: center; }
.ip-toc { position: sticky; top: 110px; padding: 18px; background: #fff; border-radius: 18px; font-size: 14px; }
.ip-toc__title { margin: 0 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #8a95a1; }
.ip-toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.ip-toc li { list-style: decimal; color: #8a95a1; }
.ip-toc a { color: #4b5866; line-height: 1.4; }
.ip-toc a:hover { color: #3f9b89; }
.ip-doc { padding: 32px 36px; background: #fff; border-radius: 20px; min-width: 0; }
.ip-doc__updated { margin: 0 0 18px; font-size: 13px; color: #8a95a1; }
.ip-doc__body { font-size: 16px; line-height: 1.75; color: #33405a; }
.ip-doc__body h2 { margin: 32px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 800; color: #1c274c; scroll-margin-top: 110px; }
.ip-doc__body h2:first-child { margin-top: 0; }
.ip-doc__body h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 700; color: #1c274c; }
.ip-doc__body p { margin: 0 0 14px; }
.ip-doc__body ul, .ip-doc__body ol { margin: 0 0 16px; padding-left: 22px; }
.ip-doc__body ul li { list-style: disc; margin-bottom: 6px; }
.ip-doc__body ol li { list-style: decimal; margin-bottom: 6px; }
.ip-doc__body a { color: #3f9b89; text-decoration: underline; }
.ip-doc__body table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.ip-doc__body th, .ip-doc__body td { padding: 10px 12px; border: 1px solid #e3e8ec; text-align: left; vertical-align: top; }
.ip-doc__body th { background: #f5f7f9; }
.ip-doc__body .ip-placeholder, .ip-doc__body mark { background: #fff1d9; color: #8a5a10; padding: 0 4px; border-radius: 4px; }
.ip-doc__edit { margin: 20px 0 0; font-size: 13px; }

@media (max-width: 1100px) {
    .ip-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ip-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ip-help__layout { grid-template-columns: 1fr; }
    .ip-help__nav { display: none; }
    .ip-page__layout--toc { grid-template-columns: minmax(0, 1fr); }
    .ip-toc { position: static; }
}
@media (max-width: 1280px) and (min-width: 601px) { .ip-hero { padding-top: 110px; } }
@media (max-width: 800px) {
    .ip-about__story, .ip-contact, .ip-duo { grid-template-columns: 1fr; }
    .ip-about__media { order: -1; }
    .ip-steps, .ip-cards--3 { grid-template-columns: 1fr; }
    .ip-support { grid-template-columns: auto 1fr; }
    .ip-support__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
}
@media (max-width: 600px) {
    .ip-hero { padding: 84px 0 22px; }
    .ip-hero__title { font-size: 28px; }
    .ip-hero__lead { font-size: 15px; }
    .ip-h2 { font-size: 22px; }
    .ip-topics { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ip-topic { padding: 14px; }
    .ip-topic__title { font-size: 14px; }
    .ip-cards { grid-template-columns: 1fr; }
    .ip-form { padding: 18px; }
    .ip-form__row { grid-template-columns: 1fr; }
    .ip-form .ip-btn { align-self: stretch; }
    .ip-doc { padding: 20px 18px; }
    .ip-doc__body { font-size: 15px; }
    .ip-support { padding: 20px; }
    .ip-duo__card { padding: 24px; }
    .ip-stat { flex-basis: 40%; padding: 16px 10px; }
    .ip-stat b { font-size: 26px; }
    .ip-help .faq-accordion { padding: 0 14px; }
}

/* ==========================================================================
   Favorites (fav-*)
   ========================================================================== */
.fav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 600 14px/1 Montserrat, sans-serif; transition: transform .15s, background .2s, color .2s; }
.fav-btn svg path { fill: none; stroke: currentColor; stroke-width: 1.9; transition: fill .2s; }
.fav-btn.is-on svg path { fill: currentColor; }
.fav-btn:active { transform: scale(.92); }
.fav-btn--card { position: absolute; top: 12px; right: 12px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: #1c274c; box-shadow: 0 4px 12px rgba(28,39,76,.15); pointer-events: auto; }
.fav-btn--card:hover { background: #fff; color: #e5484d; }
.fav-btn--card.is-on { color: #e5484d; }
.tour-card .tour-card__img-top-row { padding-right: 62px; }
.fav-wrap { position: relative; display: flex; flex-direction: column; min-width: 0; }
.fav-wrap > .hx-tile { flex: 1 1 auto; }
.fav-wrap.is-removed > .hx-tile { opacity: .45; }
.fav-btn--pill { padding: 10px 16px; border-radius: 100px; background: #fff; color: #1c274c; border: 1px solid #dfe5e9; }
.fav-btn--pill:hover { border-color: #5db8a6; }
.fav-btn--pill.is-on { color: #e5484d; border-color: #f3c2c4; background: #fff5f5; }
.fav-btn--share svg path { fill: none; }
.tour-hero-sec__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; margin-right: 16px; }
.fav-toast { position: fixed; left: 50%; bottom: 24px; z-index: 10050; display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 14px; background: #1c274c; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.25); transform: translate(-50%, 140%); opacity: 0; transition: transform .25s, opacity .25s; }
.fav-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.fav-toast a { color: #8fe0cf; text-decoration: underline; }
.header__fav { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-right: 10px; border-radius: 50%; color: #1c274c; transition: background .2s, color .2s; }
.header__fav:hover { background: #f1f3f6; color: #e5484d; }
.header__fav-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.header__fav-count[hidden] { display: none; }
.ip-favs__note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: #fff; font-size: 14px; color: #4b5866; }
.ip-favs__login { padding: 0; border: 0; background: none; color: #3f9b89; font: 700 14px/1.3 Montserrat, sans-serif; text-decoration: underline; cursor: pointer; }
.ip-favs__count { margin: 0 0 16px; font-size: 14px; color: #8a95a1; }
.ip-favs__count b { color: #1c274c; }
[data-fav-page].is-loading .ip-favs__grid { min-height: 240px; opacity: .5; }
.ip-favs__empty { max-width: 460px; margin: 20px auto; padding: 36px 24px; background: #fff; border-radius: 22px; text-align: center; }
.ip-favs__empty-icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff1f1; color: #e5484d; }
.ip-favs__empty h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.ip-favs__empty p { margin: 0 0 18px; color: #4b5866; line-height: 1.55; }
@media (max-width: 768px) {
    .tour-hero-sec__actions { margin: 10px 0 0; width: 100%; }
    .header__fav { width: 38px; height: 38px; margin-right: 6px; }
    .fav-btn--card { width: 36px; height: 36px; top: 10px; right: 10px; }
}

/* ==========================================================================
   Guide profile (gp-*)
   ========================================================================== */
.guide-hero-sec__spec { margin: -8px 0 12px; font-size: 14px; font-weight: 600; color: #3f9b89; }
.gp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.gp-fact { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 100px; background: #f5f7f9; font-size: 13px; font-weight: 600; color: #1c274c; }
.gp-fact svg { color: #5db8a6; flex: 0 0 auto; }
.gp-fact--ok { background: #e7f4f1; color: #1d6b5c; }
.gp-about p { margin: 0 0 10px; }
.gp-about.is-clamped { max-height: 160px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.gp-more { margin: 6px 0 0; padding: 0; border: 0; background: none; color: #3f9b89; font: 700 14px/1.3 Montserrat, sans-serif; cursor: pointer; }
.gp-cta { margin-top: 18px; }
.gp-reviews { padding: 30px 0 70px; }
.gp-reviews__title { margin-bottom: 22px; }
.gp-reviews__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.gp-summary { position: sticky; top: 110px; padding: 22px; border-radius: 20px; background: #f5f7f9; text-align: center; }
.gp-summary__avg { font-size: 46px; line-height: 1; font-weight: 800; color: #1c274c; }
.gp-summary__stars { margin: 8px 0 14px; display: flex; justify-content: center; }
.gp-summary__dist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #4b5866; }
.gp-summary__dist li { display: grid; grid-template-columns: 26px 1fr 24px; gap: 8px; align-items: center; }
.gp-summary__bar { height: 6px; border-radius: 3px; background: #e3e8ec; overflow: hidden; }
.gp-summary__bar i { display: block; height: 100%; border-radius: 3px; background: #5db8a6; }
.gp-reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gp-review { display: flex; flex-direction: column; gap: 8px; }
.gp-review[hidden] { display: none; }
.gp-review .review-card { width: 100%; height: auto; }
.gp-reply { margin-left: 18px; padding: 12px 14px; border-left: 3px solid #5db8a6; border-radius: 0 12px 12px 0; background: #f5f7f9; }
.gp-reply__who { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: #3f9b89; }
.gp-reply__text { margin: 0; font-size: 14px; line-height: 1.5; color: #33405a; }
.gp-reviews__more { grid-column: 1 / -1; justify-self: center; }
@media (max-width: 1000px) {
    .gp-reviews__layout { grid-template-columns: 1fr; }
    .gp-summary { position: static; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; text-align: left; align-items: center; }
    .gp-summary__avg { grid-row: span 2; }
    .gp-summary__stars { margin: 0; justify-content: flex-start; }
    .gp-summary__dist { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .gp-reviews__list { grid-template-columns: 1fr; }
    .gp-facts { justify-content: center; }
    .gp-cta { width: 100%; }
}
@media (max-width: 1250px) { .guide-tours-sec__wrapper .tour-card { width: calc(50% - 30px); } }
@media (max-width: 760px) {
    .guide-tours-sec__wrapper .tour-card { width: calc(100% - 30px); }
    .guide-hero-sec__profile { width: 100%; }
}

/* ==========================================================================
   Destination extras (dx-*) and reviews page (rp-*)
   ========================================================================== */
.dx-sec { padding: 20px 0 60px; }
.dx-title { margin-bottom: 22px; }
.dx-related__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.dx-place { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid #eef1f4; color: #1c274c; transition: border-color .2s, box-shadow .2s; }
.dx-place:hover { border-color: #5db8a6; box-shadow: 0 10px 24px rgba(28,39,76,.08); color: #1c274c; }
.dx-place__img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.dx-place__img--ph { display: block; background: #cfe9e2; }
.dx-place__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dx-place__name { font-weight: 700; font-size: 16px; }
.dx-place__count { font-size: 13px; color: #8a95a1; }
.dx-faq__list { max-width: 900px; }
.dx-faq .faq-item__content a { color: #3f9b89; font-weight: 600; text-decoration: underline; }
.catalog__chip--date.active { background: #1c274c; border-color: #1c274c; color: #fff; }
.ip-chips--left { justify-content: flex-start; margin-bottom: 24px; }
.ip-chip.is-active { background: #1c274c; border-color: #1c274c; color: #fff; }
.rp-total { margin: 0 0 12px; font-size: 14px; color: #4b5866; }
.rp-dist a { display: grid; grid-template-columns: 26px 1fr 24px; gap: 8px; align-items: center; padding: 3px 6px; margin: 0 -6px; border-radius: 8px; color: #4b5866; }
.rp-dist a:hover, .rp-dist a.is-active { background: #e7f4f1; color: #1c274c; }
.rp-dist li { display: block; }
.rp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.rp-bar__count { margin: 0; font-size: 14px; color: #4b5866; }
.rp-bar__count a { color: #3f9b89; font-weight: 600; }
.rp-bar__sort label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #8a95a1; }
.rp-bar__sort select { min-height: 40px; padding: 8px 12px; border: 1px solid #dfe5e9; border-radius: 10px; background: #fff; font: 600 14px/1.2 Montserrat, sans-serif; color: #1c274c; }
.rp-pager { margin-top: 20px; }
.ip-reviews .review-card { background: #fff; }

/* ==========================================================================
   Header v1.8: new logo, transparent over the home photo, white when scrolled
   ========================================================================== */
.header__logo, .opacityu-mod .header__logo { width: auto; border-radius: 0; overflow: visible; background: none; display: inline-flex; align-items: center; }
.header__logo-img { width: auto; height: 36px; display: block; }
.header__logo-img--light { display: none; }
@media (min-width: 1251px) {
    .header { position: fixed; transition: background-color .25s, box-shadow .25s, padding .25s; }
    .header.header--solid { background: #fff; box-shadow: 0 2px 18px rgba(28,39,76,.08); padding: 12px 0; }
    .header--over-photo:not(.header--solid) .header__logo-img--dark { display: none; }
    .header--over-photo:not(.header--solid) .header__logo-img--light { display: block; }
    .header--over-photo:not(.header--solid) .header__nav-list li a { color: #fff; }
    .header--over-photo.header--solid .header__nav-list li a, .opacityu-mod.header--solid .header__nav-list li a { color: #1c274c; }
    .header--over-photo:not(.header--solid) .header__fav { color: #fff; }
    .header--over-photo:not(.header--solid) .header__fav:hover { background: rgba(255,255,255,.15); color: #fff; }
    .header--over-photo:not(.header--solid) .header__search-input { background: rgba(255,255,255,.18); color: #fff; }
    .header--over-photo:not(.header--solid) .header__search-input::placeholder { color: rgba(255,255,255,.85); }
    .header--over-photo:not(.header--solid) .header__search-icon svg path { fill: #fff; }
}
@media (max-width: 1250px) {
    .header__logo-img { height: 28px; }
}
@media (max-width: 400px) {
    .header__logo-img { height: 24px; }
}
@media (min-width: 1251px) {
    .tour-info-sec__fixed-nav { top: 78px; }
    .booking-card { top: 92px; }
    .user-aside { top: 96px; }
}
@media (min-width: 1251px) {
    .admin-bar .header { top: 32px; }
}

/* ===== v1.8.1 mobile fixes: destination cards & guides list ===== */
@media only screen and (max-width: 1250px){
  .direction-page__wrapper .direction-card,
  .home-popular-directions__wrapper .direction-card{width:calc(33.333% - 20px)}
  .guides-page-sec__list-people .guide-card-2{width:calc(33.333% - 20px)}
}
@media only screen and (max-width: 900px){
  .direction-page__wrapper .direction-card,
  .home-popular-directions__wrapper .direction-card{width:calc(50% - 20px)}
  .guides-page-sec__list-people .guide-card-2{width:calc(50% - 20px)}
  .guide-card-2:hover{transform:none}
}
@media only screen and (max-width: 760px){
  .direction-page__wrapper,.home-popular-directions__wrapper{width:calc(100% + 12px);margin-left:-6px}
  .direction-page__wrapper .direction-card,
  .home-popular-directions__wrapper .direction-card{width:calc(50% - 12px);margin:0 6px 12px}
  .direction-card__img-wrapper{height:auto;aspect-ratio:4/3}
  .direction-card__name-location{font-size:15px;line-height:1.25}
  .guides-page-sec__list-people{width:calc(100% + 12px);margin-left:-6px}
  .guides-page-sec__list-people .guide-card-2{width:calc(50% - 12px);margin:0 6px 12px}
  .guide-card-2__img-wrapper{height:auto;aspect-ratio:1/1}
  .guide-card-2__data{padding:12px 10px 8px}
  .guide-card-2__name{font-size:16px;line-height:1.2}
  .guide-card-2__desctiption{font-size:13px;margin-top:8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .guide-card-2__down{padding:0 10px 12px}
  .guide-card-2__btn{padding:9px 6px;margin-top:12px;font-size:13px}
}
@media only screen and (max-width: 380px){
  .guides-page-sec__list-people .guide-card-2{width:calc(100% - 12px)}
  .guide-card-2__img-wrapper{aspect-ratio:4/3}
}
/* Tour card tags: never wrap inside a pill; hide the ones that don't fit */
.tour-card__tags-row{flex-wrap:wrap;overflow:hidden;max-height:30px;min-width:0;flex:1 1 auto;row-gap:10px}
.tour-card__tag{white-space:nowrap;flex:none}
.tour-card__rate{flex:none;margin-left:8px}
@media only screen and (max-width: 420px){
  .tour-card__tag{padding:5px 10px;font-size:11px;margin-right:6px}
}
/* Tighter vertical rhythm on phones (desktop paddings of 125px are too much) */
@media only screen and (max-width: 760px){
  .direction-page{padding-top:96px;padding-bottom:56px}
  .popular-tours-sec,.directions-guide-sec,.home-reviews-sec,.home-guide-sec,.home-faq-sec,.home-blog-sec{padding-bottom:56px}
  .guide-sec,.hx-sec{padding-bottom:56px}
  .dx-sec{padding-bottom:44px}
}
/* Account menu collapses into a toggle on tablets/phones */
.user-aside__toggle{display:none}
@media (max-width: 992px){
  .user-aside{padding:0!important}
  .user-aside__toggle{display:flex;align-items:center;gap:10px;width:100%;padding:14px 16px;border:0;background:none;font:600 15px/1.3 Montserrat,sans-serif;color:#1c274c;text-align:left;cursor:pointer}
  .user-aside__toggle-label{flex:1;min-width:0;display:flex;flex-direction:column}
  .user-aside__toggle-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#8a95a1}
  .user-aside__toggle-current{font-size:15px;text-transform:none;letter-spacing:0;color:#1c274c;margin-top:2px}
  .user-aside__toggle-current:empty{display:none}
  .user-aside__toggle .gc-badge{margin-left:0}
  .user-aside__toggle-icon{flex:none;transition:transform .2s}
  .user-aside--open .user-aside__toggle-icon{transform:rotate(180deg)}
  .user-aside__nav,.user-aside__footer{display:none}
  .user-aside--open .user-aside__nav,.user-aside--open .user-aside__footer{display:block}
  .user-aside--open .user-aside__nav{border-top:1px solid rgba(0,0,0,.06);padding-top:8px}
  .user-aside--open .user-aside__footer{padding:0 12px 12px}
}
@media (max-width: 992px){ .user-account{padding-top:96px} }
@media (max-width: 760px){ .user-account{padding-top:84px} }
/* Small laptops / tablets: account profile stacks instead of 3 squeezed columns */
@media (max-width: 1250px){
  .user-account__about-user{flex-direction:column}
}
/* Fluid container: the original fixed widths (750 / 360 / 330px) left tablets and large phones
   with wide empty margins and squeezed content. */
@media only screen and (max-width: 1250px){ .container{width:calc(100% - 48px);max-width:1220px} }
@media only screen and (max-width: 760px){ .container{width:calc(100% - 32px)} }
@media only screen and (max-width: 375px){ .container{width:calc(100% - 24px)} }
.guide-card-2__rate-row .guide-card__reviews-counter,.guide-card-2__rate-row .guide-card__rate-rate-count{white-space:nowrap}
@media only screen and (max-width: 760px){ .guide-card-2__rate-row .guide-card__rate{margin-right:12px} .guide-card-2__rate-row{flex-wrap:wrap;row-gap:4px} }
/* v1.9 booking flow */
.user-booking-chat__masked{margin:4px 0 0;font-size:12px;color:#8a95a1;font-style:italic}
.user-booking-chat__msg--user .user-booking-chat__masked{text-align:right}
.user-booking-chat__rules{margin:8px 0 0;font-size:12.5px;line-height:1.45;color:#6b7785}
.gc-contacts{background:#fff;border-radius:18px;padding:18px 20px;margin:0 0 16px;box-shadow:0 1px 3px rgba(28,39,76,.06)}
.gc-contacts__title{font:700 17px/1.3 Montserrat,sans-serif;color:#1c274c;margin:0 0 10px}
.gc-contacts__list{margin:0;display:grid;gap:8px}
.gc-contacts__list div{display:flex;gap:12px}
.gc-contacts__list dt{min-width:90px;color:#8a95a1;font-size:14px}
.gc-contacts__list dd{margin:0;font-weight:600;color:#1c274c}
.gc-contacts__list a{color:#2f9c86}
.gc-contacts__note{margin:0;color:#5c6878;font-size:14px;line-height:1.5}
.gc-cancel{margin:0 0 16px}
.gc-cancel__info{font-size:13.5px;color:#5c6878;line-height:1.5;margin:0 0 10px}
.gc-cancel__box > summary{list-style:none;display:inline-flex;cursor:pointer}
.gc-cancel__box > summary::-webkit-details-marker{display:none}
.gc-cancel__form{margin-top:12px;background:#fff;border-radius:18px;padding:18px 20px;border:1px solid #f1d2cf}
.gc-cancel__warn{margin:0 0 12px;font-size:13.5px;color:#9b3a2f;line-height:1.5}
.gc-cancel__form textarea{width:100%;box-sizing:border-box;border:1px solid #d9dee6;border-radius:12px;padding:10px 12px;font:inherit;margin-top:6px}
.gc-btn--danger{background:#c8473a;color:#fff;border-color:#c8473a}
.gc-btn--danger:hover{background:#a93a2f}
/* Account menu on desktop: if the window is short, the menu scrolls inside its card
   instead of spilling the "Log out" button over the footer. */
@media (min-width: 993px){
  .user-aside{max-height:calc(100vh - 120px);overflow:hidden}
  .user-aside__nav{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  .user-aside__footer{flex:none;padding-bottom:4px}
}
/* ===== v2.0 language versions ===== */
.lang-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:999px;background:rgba(28,39,76,.06);flex:none}
.lang-switch__item{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;padding:0 8px;border-radius:999px;font:700 12px/1 Montserrat,sans-serif;letter-spacing:.04em;color:#5c6878;text-decoration:none;transition:background .15s,color .15s}
.lang-switch__item:hover{color:#1c274c}
.lang-switch__item--active{background:#fff;color:#1c274c;box-shadow:0 1px 3px rgba(28,39,76,.12)}
.header__lang{margin:0 14px 0 4px}
.header--over-photo:not(.header--solid) .lang-switch{background:rgba(255,255,255,.18)}
.header--over-photo:not(.header--solid) .lang-switch__item{color:rgba(255,255,255,.85)}
.header--over-photo:not(.header--solid) .lang-switch__item--active{background:#fff;color:#1c274c}
.header-mobile-menu__lang{margin:14px 0 4px}
@media (max-width: 760px){ .header__lang{display:none} }
.lang-banner{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:9998;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 18px;background:#1c274c;color:#fff;border-radius:999px;box-shadow:0 8px 24px rgba(28,39,76,.25);font:500 14px/1.3 Montserrat,sans-serif;max-width:calc(100% - 24px)}
.lang-banner__go{background:#5dd3b6;color:#1c274c;font-weight:700;text-decoration:none;padding:8px 14px;border-radius:999px;white-space:nowrap}
.lang-banner__close{background:none;border:0;color:rgba(255,255,255,.7);font-size:22px;line-height:1;cursor:pointer;padding:0 4px}
/* Russian version fields in editors */
.i18n-fields{display:grid;gap:16px;margin-top:14px}
.i18n-fields__row{display:grid;gap:6px}
.i18n-fields__label{font-weight:700;font-size:14px;color:#1c274c}
.i18n-fields__en{margin:0;font-size:13px;line-height:1.45;color:#6b7785;background:#f4f6f8;border-radius:10px;padding:8px 10px}
.i18n-fields__en span{display:inline-block;font:700 10px/1 Montserrat,sans-serif;background:#dfe5eb;color:#1c274c;border-radius:4px;padding:3px 5px;margin-right:4px;vertical-align:1px}
.i18n-fields input[type=text],.i18n-fields textarea{width:100%;box-sizing:border-box;border:1px solid #d9dee6;border-radius:12px;padding:10px 12px;font:inherit;font-size:15px}
.i18n-fields__empty{color:#8a95a1;font-size:14px}
/* Tour language / guide language filters */
.catalog__lang select{min-width:150px}
.catalog__lang.active{border-color:#5db8a6;box-shadow:0 0 0 1px #5db8a6 inset}
.guides-page-sec__lang{margin-top:16px;display:inline-flex;max-width:100%}
.guide-card-2__langs{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 0}
.guide-card-2__lang{font-size:11px;font-weight:600;color:#2f7f70;background:#e8f5f1;border-radius:999px;padding:3px 8px}
.header-mobile-menu__lang{display:flex;width:max-content;margin:0 auto 34px}
.lang-banner{width:max-content}
.lang-banner__text{white-space:nowrap}
@media (max-width: 420px){ .lang-banner{font-size:13px;gap:8px;padding:8px 8px 8px 14px} }

/* v2.0.1 Rotating hints in search fields */
.header__search-input::placeholder,.search-results__input::placeholder,.nf-search__input::placeholder{transition:opacity .25s ease,transform .25s ease;opacity:1}
.header__search-input.is-hint-out::placeholder,.search-results__input.is-hint-out::placeholder,.nf-search__input.is-hint-out::placeholder{opacity:0}
.header__search-input{text-overflow:ellipsis}

/* v2.1 SEO: images get width/height attributes for layout stability; keep their proportions
   unless a component sets its own height (zero specificity, any class rule wins). */
:where(img[width][height]){height:auto}
/* Server-rendered tour list shown until the interactive catalog loads */
.seo-ssr .tours-hero-sec__all-tours-wrapper{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:30px}
@media (max-width:992px){.seo-ssr .tours-hero-sec__all-tours-wrapper{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.seo-ssr .tours-hero-sec__all-tours-wrapper{grid-template-columns:1fr}}
.seo-ssr .tours-hero-sec__tegs-wrapper{margin-top:20px}
/* More tours in <city> */
.tour-related-sec{padding:20px 0 60px}
.tour-related-sec__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:10px}
@media (max-width:992px){.tour-related-sec__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.tour-related-sec__grid{grid-template-columns:1fr}.tour-related-sec .sec-header{flex-wrap:wrap;gap:10px}}
