/* Дизайн сайта (Купитур.ру) */
/* Поисковый модуль для мобильной версии не изменяем — стили блока поиска в конце файла */

:root {
    --header-height: 64px;
    --yellow: #FFD500;
    --yellow-price: #FFD500;
    --yellow-light: #FFF9D6;
    --yellow-hover: #E6C000;
    --brand-orange: #FF5A36;
    --brand-purple: #8122EE;
    --brand-purple-pale: #E9DDFF;
    --brand-turquoise: #2DD4BF;
    --gray-900: #171717;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-50: #f9fafb;
    --white: #fff;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container: min(1200px, 100% - 2rem);
    --radius: 8px;
    --radius-lg: 12px;
}

* { box-sizing: border-box; }

html {
    scrollbar-gutter: stable;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

a { color: var(--gray-900); text-decoration: none; }
a:hover { color: var(--yellow); text-decoration: underline; }

.container {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ========== Шапка ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 20px;
    flex-wrap: nowrap;
    min-width: 0;
}

/* Второй этап поиска (десктоп): логотип на одной вертикали со строкой поиска */
@media (min-width: 993px) {
    body.page-search {
        --search-page-gutter: clamp(16px, 2vw, 40px);
    }
    body.page-search .site-header .header-inner.container {
        max-width: none;
        width: 100%;
        padding-left: var(--search-page-gutter);
        padding-right: var(--search-page-gutter);
    }
}

.site-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-900);
    flex-shrink: 0;
}

.site-header .logo:hover { text-decoration: none; color: var(--gray-900); }

.site-header .logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--yellow);
    flex-shrink: 0;
    position: relative;
}

.site-header .logo-icon::after {
    content: '';
    position: absolute;
    inset: 7px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23171717'%3E%3Cpath d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center/18px no-repeat;
}

.site-header .logo-titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-header .logo-text {
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.site-header .logo-slogan {
    display: none;
}

.site-header .nav-main {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
    flex: 1;
    min-width: 0;
}

.site-header .nav-main a {
    color: #262626;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    line-height: 1;
    white-space: nowrap;
}

.site-header .nav-main a:hover,
.site-header .nav-main a.is-active {
    color: var(--brand-purple);
    background: var(--brand-purple-pale);
    text-decoration: none;
}

.site-header .header-right {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.site-header .header-city {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-500);
    padding: 0 8px 0 4px;
}

.site-header .btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    font-size: 0.875rem;
    font-weight: 800;
    border-radius: 12px;
    background: var(--yellow);
    color: var(--gray-900);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.site-header .btn-header:hover {
    background: var(--yellow-hover);
    text-decoration: none;
    color: var(--gray-900);
}

.hdr-slot { position: relative; }
.hdr-ico {
    width: 40px;
    height: 40px;
    border: 0;
    padding: 0;
    border-radius: 12px;
    background: transparent;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    position: relative;
}
.hdr-ico:hover,
.hdr-ico:focus-visible,
.hdr-slot.is-open .hdr-ico {
    background: #f3f4f6;
    color: var(--brand-orange);
    text-decoration: none;
}
.hdr-ico--fav.has-items { color: var(--brand-orange); }
.hdr-fav-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}
.hdr-drop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    padding: 8px 0;
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(23, 23, 23, 0.12);
    z-index: 130;
}
.hdr-drop a,
.hdr-drop-lead {
    display: block;
    padding: 10px 16px;
    color: #111;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
}
.hdr-drop a:hover { background: #f9fafb; text-decoration: none; color: #111; }
.hdr-drop-lead {
    font-weight: 500;
    color: #4b5563;
    font-size: 0.8125rem;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 4px;
}
.hdr-tip {
    position: absolute;
    top: calc(100% + 10px);
    right: -12px;
    width: 280px;
    padding: 14px 16px;
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(23, 23, 23, 0.12);
    color: #374151;
    font-size: 0.8125rem;
    line-height: 1.45;
    z-index: 131;
    font-weight: 500;
}

.site-header .header-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.site-header .header-menu-btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: #111;
    border-radius: 2px;
}

.header-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
}
.header-drawer.is-open,
.header-drawer.is-drag {
    visibility: visible;
    pointer-events: auto;
}
.header-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 23, 0.45);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.header-drawer.is-open .header-drawer-backdrop { opacity: 1; }
.header-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(360px, 88vw);
    z-index: 201;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: env(safe-area-inset-top, 8px) 18px env(safe-area-inset-bottom, 20px);
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 8px 0 32px rgba(23, 23, 23, 0.12);
}
.header-drawer.is-open .header-drawer-panel { transform: none; }
.header-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    flex-shrink: 0;
}
.header-drawer-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.header-drawer-nav {
    display: flex;
    flex-direction: column;
    margin: 8px 0 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.header-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 48px;
    padding: 0 4px;
    color: #111;
    font-size: 1.0625rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}
.header-drawer-nav a:nth-child(3),
.header-drawer-nav a:nth-child(8) {
    margin-bottom: 8px;
    border-bottom-width: 2px;
    border-bottom-color: #e5e7eb;
}
.header-drawer-nav a:not(:has(.hdr-nav-ico)) { padding-left: 40px; }
.hdr-nav-ico {
    width: 22px;
    display: inline-flex;
    color: #111;
    flex-shrink: 0;
}
.header-drawer-nav em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 800;
    background: #111;
    color: #fff;
    border-radius: 999px;
    min-width: 20px;
    text-align: center;
    padding: 1px 6px;
}
.header-drawer-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
}
.btn-header--block {
    width: 100%;
    height: 48px;
    font-size: 1rem;
}
.header-drawer-phone {
    text-align: center;
    font-weight: 800;
    font-size: 1.0625rem;
    color: #111;
    text-decoration: none;
}
.header-drawer-phone:hover { text-decoration: none; color: #111; }
.header-drawer-nav a:hover { text-decoration: none; color: #111; }
.header-drawer .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-900);
}
.header-drawer .logo:hover { text-decoration: none; color: var(--gray-900); }
.header-drawer .logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--yellow);
    position: relative;
    flex-shrink: 0;
}
.header-drawer .logo-icon::after {
    content: '';
    position: absolute;
    inset: 7px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23171717'%3E%3Cpath d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center/18px no-repeat;
}
.header-drawer .logo-text {
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.03em;
}
.header-drawer .btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: var(--gray-900);
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
}
.header-drawer .btn-header:hover {
    background: var(--yellow-hover);
    color: var(--gray-900);
    text-decoration: none;
}
.header-drawer-city {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 600;
}
.header-drawer-swipe {
    margin: 0;
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ========== Hero ========== */
.hero-sletat {
    position: relative;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}

/* Главное фото — на весь экран от края до края; кадр смещён вниз (60%), чтобы лица и ноги людей не обрезались и не перекрывались блоком поиска */
.hero-banner-full.hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    background-color: #e5e7eb;
    filter: brightness(1.08) saturate(1.2);
}

.hero-bg-sletat {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(129, 34, 238, 0.14) 0%, rgba(129, 34, 238, 0.05) 42%, rgba(255, 213, 0, 0.04) 100%);
    pointer-events: none;
}

.hero-sletat .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-copy {
    width: 100%;
    max-width: 36rem;
    margin: 0 0 1rem;
}

.hero-sletat .hero-title {
    margin: 0;
    font-size: clamp(1.85rem, 4.2vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #fff;
    line-height: 1.08;
    text-shadow: 0 2px 12px rgba(23, 23, 23, 0.28);
}

.hero-title-line {
    display: block;
}

.hero-sletat .hero-title-line:last-child {
    color: #FFD500;
}

.hero-sletat .hero-title-accent { color: inherit; }

.hero-sletat .hero-subtitle {
    margin: 0.45rem 0 0;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 8px rgba(23, 23, 23, 0.25);
}

/* ========== Поисковый модуль (вытянутый, компактный) ========== */
.search-module-wrap {
    width: 100%;
    max-width: 1080px; /* на 20% длиннее (900 * 1.2) */
    margin: 0 auto;
    padding: 0 1rem;
    overflow: visible;
    position: relative;
    z-index: 30;
}

.search-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.search-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: 8px 8px 0 0;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.search-tab:hover { background: rgba(255, 255, 255, 0.3); }
.search-tab-active,
.search-tab.search-tab-active {
    background: #fff;
    color: #171717;
}
.search-tab-icon { flex-shrink: 0; width: 18px; height: 18px; }

/* Форма: меньше padding по вертикали */
.search-form {
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Grid: колонки разной ширины, меньший gap */
.search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 768px) {
    .search-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .search-grid {
        grid-template-columns: 1fr 1.15fr 1.05fr 0.9fr 1.1fr 0.95fr;
        gap: 10px;
    }
}

.search-field { min-width: 0; }
.search-field-btn { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }

/* Надписи в одну строчку, помещаются в ячейке */
.search-label {
    display: block;
    font-size: 11px;
    color: #6B7280;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-label-invisible { visibility: hidden; margin-bottom: 4px; height: 0; overflow: hidden; }

.search-input-wrap { position: relative; }
.search-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #171717;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    height: 36px;
}
.search-input:focus { border-color: #9CA3AF; }
.search-input-with-clear { padding-right: 34px; }

.search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: #9CA3AF;
    display: none;
    align-items: center;
    justify-content: center;
}
.search-input-wrap.has-value .search-clear { display: flex; }
.search-clear:hover { color: #4B5563; }
.search-clear svg { width: 18px; height: 18px; display: block; }

.search-btn {
    width: 100%;
    height: 36px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    background-color: #FFD500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
}
.search-btn:hover { opacity: 0.9; }

/* ========== Секции ========== */
.section {
    padding: 2.5rem 0;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--gray-900);
    margin: 0 0 1.5rem;
}

.section-title.text-center { text-align: center; }

/* Инфо-блок */
.section-info { background: var(--gray-50); }

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.info-card p { margin: 0; color: var(--gray-700); }

/* Преимущества */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

/* Карточки туров */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    transition: box-shadow .2s;
}

.tour-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,.1); }

.tour-card-image {
    height: 180px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-card-body { padding: 1rem; }

.tour-card-title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.tour-card-location,
.tour-card-meta {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.tour-card-price-wrap {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.tour-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--yellow-price);
}

.btn-tour {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    background: var(--yellow-price);
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-tour:hover {
    background: #e6ac2b;
    text-decoration: none;
    color: #1a1a1a;
}

/* Страны */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}

.country-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    text-decoration: none;
    color: var(--gray-900);
}

.country-card span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* Промо тёмный */
.section-promo-dark {
    background: linear-gradient(to right, var(--gray-900), #262626);
    color: var(--white);
}

.promo-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.promo-text { flex: 1; min-width: 280px; }

.promo-title {
    margin: 0 0 0.5rem;
    font-size: 1.875rem;
    font-weight: 700;
}

.promo-desc {
    margin: 0 0 1.5rem;
    color: rgba(255,255,255,.8);
    font-size: 1.125rem;
}

.btn-promo {
    display: inline-block;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius);
    background: var(--yellow);
    color: var(--gray-900);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-promo:hover {
    opacity: .95;
    text-decoration: none;
    color: var(--gray-900);
}

.promo-image {
    flex: 1;
    min-width: 260px;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

/* Почему Купитур.ру — карточки как у Level */
.section-why-kupitur {
    padding: 3rem 0 2.5rem;
    background: linear-gradient(180deg, #f8f4ff 0%, #fffef8 100%);
    overflow: hidden;
}
.why-kupitur-kicker {
    margin: 0 0 0.3rem;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-purple);
}
.why-kupitur-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.why-kupitur-title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #171717;
}
.why-kupitur-arrows {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.why-kupitur-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #171717;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(23, 23, 23, 0.08);
}
.why-kupitur-arrow:hover {
    background: var(--brand-purple);
    color: #fff;
}
.why-kupitur-arrow svg { display: block; }

.why-kupitur-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    padding: 4px 16px 18px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.why-kupitur-scroll::-webkit-scrollbar { display: none; }

.why-kupitur-card {
    flex: 0 0 min(300px, calc(100vw - 52px));
    width: min(300px, calc(100vw - 52px));
    min-height: 320px;
    background: #fff;
    border-radius: 22px;
    padding: 1.35rem 1.25rem 1.2rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border: 1px solid rgba(129, 34, 238, 0.08);
}
.why-kupitur-card--yellow { background: linear-gradient(180deg, #fff9d6 0%, #fff 42%); }
.why-kupitur-card--orange { background: linear-gradient(180deg, #fff1ec 0%, #fff 42%); }
.why-kupitur-card--purple { background: linear-gradient(180deg, #f3ebff 0%, #fff 42%); }
.why-kupitur-card--teal { background: linear-gradient(180deg, #e8faf6 0%, #fff 42%); }

.why-kupitur-card-illus {
    width: 92px;
    height: 92px;
    margin: 0 0 1rem;
    filter: drop-shadow(0 4px 8px rgba(23, 23, 23, 0.08));
}
.why-kupitur-card-illus svg { display: block; }
.why-kupitur-card-title {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #171717;
}
.why-kupitur-card-desc {
    margin: 0 0 1.1rem;
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.5;
    flex: 1;
}
.why-kupitur-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.875rem;
    font-weight: 800;
    color: #171717;
    background: var(--yellow);
    border-radius: 12px;
    text-decoration: none;
}
.why-kupitur-btn:hover {
    background: var(--brand-orange);
    color: #fff;
    text-decoration: none;
}
.why-kupitur-card--orange .why-kupitur-btn { background: var(--brand-orange); color: #fff; }
.why-kupitur-card--orange .why-kupitur-btn:hover { background: #e84e2e; }
.why-kupitur-card--purple .why-kupitur-btn { background: var(--brand-purple); color: #fff; }
.why-kupitur-card--purple .why-kupitur-btn:hover { background: #6b1acc; }

@media (min-width: 768px) {
    .why-kupitur-scroll {
        scroll-padding-inline: max(16px, calc((100vw - min(1200px, 100% - 2rem)) / 2));
        padding-inline: max(16px, calc((100vw - min(1200px, 100% - 2rem)) / 2));
    }
    .why-kupitur-card {
        flex-basis: 320px;
        width: 320px;
    }
}

/* Отзывы */
.reviews-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: -0.5rem 0 1rem;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 0;
    border: none;
    border-top: 3px solid var(--brand-purple-pale);
}

.review-stars {
    color: var(--brand-orange);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.review-card p {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.review-card cite {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-style: normal;
}

/* Футер */
.site-footer {
    background: #171717;
    color: #d4d4d4;
    padding: 2.5rem 0 1.25rem;
    margin-top: 0;
}
.site-footer a { color: #e5e5e5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}
.footer-brand:hover { color: #fff; }
.site-footer .logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--yellow);
    position: relative;
    flex-shrink: 0;
}
.site-footer .logo-icon::after {
    content: '';
    position: absolute;
    inset: 7px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23171717'%3E%3Cpath d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center/18px no-repeat;
}
.footer-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.footer-logo {
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}
.footer-slogan {
    font-size: 0.75rem;
    font-weight: 500;
    color: #a3a3a3;
    margin: 0;
}
.footer-top-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.footer-phone {
    font-weight: 800;
    font-size: 1.125rem;
    color: #fff;
    letter-spacing: -0.02em;
}
.footer-phone:hover { color: #fff; }
.footer-city { font-size: 0.8125rem; color: #a3a3a3; margin: 0; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 2rem;
    margin-bottom: 2rem;
}
.footer-col h4 {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #737373;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col li { margin: 0 0 0.45rem; }
.footer-col a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e5e5e5;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: #737373;
    text-align: left;
}
.footer-copy,
.footer-legal {
    margin: 0;
    line-height: 1.45;
}
.footer-legal { margin-top: 0.25rem; }

@media (max-width: 800px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
    }
    .footer-top-contacts { align-items: flex-start; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 1.5rem;
        margin-bottom: 1.25rem;
    }
    .site-footer { padding: 1.75rem 0 1.1rem; }
}

/* Наши партнёры */
.section-partners { background: var(--white); overflow: hidden; }
.partners-marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.partners-marquee {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: partners-scroll 40s linear infinite;
}
.partners-marquee:hover { animation-play-state: paused; }
@keyframes partners-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    opacity: 0.9;
}
.partner-item:hover { opacity: 1; }
.partner-logo {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

.section-countries,
.section-excursions,
.section-cheap { background: var(--gray-50); }

/* Популярные направления — SEO-каталог стран, не горящие */
.pop-home-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.pop-home .section-title { margin: 0 0 0.35rem; }
.pop-home-desc {
    margin: 0;
    max-width: 38rem;
    text-align: left;
}
.pop-home-all {
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--brand-purple);
    text-decoration: none;
    white-space: nowrap;
}
.pop-home-all:hover { color: var(--brand-orange); text-decoration: underline; }
.pop-home-all--mob { display: none; }
.pop-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}
.pop-card {
    position: relative;
    display: block;
    min-height: 200px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 22px rgba(23, 23, 23, 0.1);
}
.pop-card:hover { text-decoration: none; color: #fff; }
.pop-card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .35s ease;
}
.pop-card:hover .pop-card-photo { transform: scale(1.07); }
.pop-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.04) 28%, rgba(23, 23, 23, .58) 100%);
}
.pop-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.9rem 0.95rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.pop-card-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.pop-card-name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.pop-card-name img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.35);
}
.pop-card-sub {
    margin-top: 0.15rem;
    font-size: 0.8125rem;
    opacity: .92;
}

@media (max-width: 900px) {
    .pop-home-grid { grid-template-columns: repeat(2, 1fr); }
    .pop-card { min-height: 168px; border-radius: 14px; }
    .pop-card-name { font-size: 1.05rem; }
}
@media (max-width: 768px) {
    .pop-home-head { margin-bottom: .75rem; }
    .pop-home .section-title { font-size: 1.375rem; }
    .pop-home-desc { font-size: .875rem; }
    .pop-home-all--desk { display: none; }
    .pop-home-all--mob {
        display: block;
        margin: .9rem 0 0;
        text-align: center;
        background: #111;
        color: #fff;
        border-radius: 12px;
        padding: .8rem 1rem;
    }
    .pop-home-all--mob:hover { color: #fff; text-decoration: none; }
}

/* Куда чаще подбираем — мозаика как у агрегаторов, без застывших цен */
.section-pick {
    background: #fff;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}
.pick-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.pick-desc {
    margin: 0;
    max-width: 38rem;
    text-align: left;
}
.pick-all {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
}
.pick-all:hover { color: #111; text-decoration: underline; }
.pick-all--mob { display: none; }
.pick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(168px, auto);
    gap: 12px;
}
.pick-card {
    position: relative;
    display: block;
    min-height: 176px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(23, 23, 23, 0.12);
}
.pick-card:hover { text-decoration: none; color: #fff; }
.pick-card--hero {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 392px;
}
.pick-card--wide {
    grid-column: span 2;
}
.pick-card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform .4s ease;
}
.pick-card:hover .pick-card-photo { transform: scale(1.08); }
.pick-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 22%, rgba(23, 23, 23, .72) 100%);
}
.pick-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.95rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
}
.pick-kicker {
    display: inline-block;
    margin-bottom: 0.4rem;
    padding: 0.14rem 0.5rem;
    border-radius: 999px;
    background: rgba(255,255,255,.2);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.pick-name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 10px rgba(0,0,0,.4);
}
.pick-card--hero .pick-name { font-size: 2rem; }
.pick-name img {
    position: static;
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.35);
}
.pick-sub {
    margin-top: 0.2rem;
    font-size: 0.875rem;
    opacity: .94;
}
.pick-cta {
    margin-top: 0.7rem;
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #111;
    font-weight: 800;
    font-size: 0.8125rem;
    border-radius: 999px;
    padding: 0.42rem 0.85rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.pick-card:hover .pick-cta { background: #FFD500; }

@media (max-width: 900px) {
    .pick-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(150px, auto);
    }
    .pick-card--hero,
    .pick-card--wide {
        grid-column: span 2;
        grid-row: auto;
        min-height: 240px;
    }
    .pick-card--hero .pick-name { font-size: 1.55rem; }
    .pick-all--desk { display: none; }
    .pick-all--mob {
        display: block;
        margin: 1rem 0 0;
        text-align: center;
        background: #111;
        color: #fff;
        border-radius: 12px;
        padding: .8rem 1rem;
    }
    .pick-all--mob:hover { color: #fff; text-decoration: none; }
}

/* Топ направлений (старые карточки, если остались) */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.dest-card {
    position: relative;
    display: block;
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
}
.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.dest-card:hover img { transform: scale(1.05); }
.dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}
.dest-card-overlay h3 { margin: 0 0 0.25rem; font-size: 1.125rem; }
.dest-card-sub { margin: 0; font-size: 0.875rem; opacity: .9; }
.dest-card-price { margin: 0.5rem 0 0; font-size: 0.9375rem; font-weight: 700; color: var(--yellow); }

/* Горящие туры — карточки как у агрегаторов */
.section-hot-tours {
    background: #fff;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}
.hot-home-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.hot-home .section-title { margin: 0 0 0.35rem; }
.hot-home-desc {
    margin: 0;
    max-width: 36rem;
    text-align: left;
}
.hot-home-all {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
}
.hot-home-all:hover { color: #111; text-decoration: underline; }
.hot-home-all--mob { display: none; }
.hot-home-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}
.hot-dest-card {
    position: relative;
    display: block;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 24px rgba(23, 23, 23, 0.12);
}
.hot-dest-card:hover { text-decoration: none; color: #fff; }
.hot-dest-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform .35s ease;
}
.hot-dest-card:hover .hot-dest-photo { transform: scale(1.08); }
.hot-dest-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.08) 20%, rgba(0,0,0,.72) 100%);
}
.hot-dest-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1rem 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hot-dest-badge {
    display: inline-block;
    margin-bottom: 0.4rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--yellow);
    color: #111;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.hot-dest-name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.hot-dest-name img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.35);
}
.hot-dest-meta {
    margin-top: 0.2rem;
    font-size: 0.8125rem;
    opacity: .92;
}
.hot-dest-price {
    margin-top: 0.45rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: #FFD54F;
}
.hot-dest-price--ghost { color: #fff; font-size: 0.9375rem; font-weight: 700; }

.kt-hot-catalog { margin: 0 0 1.75rem; }
.kt-hot-chips { display: flex; flex-wrap: nowrap; gap: .5rem; margin: 0 0 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .15rem; }
.kt-chip.is-active { background: #111; color: #fff; border-color: #111; }
.kt-chip.is-active:hover { color: #fff; border-color: #111; }
.kt-hot-offers { display: flex; flex-direction: column; gap: .65rem; }
.kt-hot-offer {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: .75rem;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: .65rem;
    text-decoration: none;
    color: inherit;
}
.kt-hot-offer:hover { text-decoration: none; color: inherit; border-color: #d1d5db; box-shadow: 0 6px 18px rgba(23,23,23,.06); }
.kt-hot-offer-photo {
    width: 92px;
    height: 76px;
    border-radius: 12px;
    background: #e5e7eb center/cover no-repeat;
    flex-shrink: 0;
}
.kt-hot-offer-body { min-width: 0; }
.kt-hot-offer-name {
    display: block;
    font-weight: 800;
    font-size: .95rem;
    line-height: 1.25;
}
.kt-hot-offer-name em { font-style: normal; color: #FFD500; margin-left: .2rem; }
.kt-hot-offer-meta {
    display: block;
    margin-top: .2rem;
    color: #6b7280;
    font-size: .8125rem;
    line-height: 1.35;
}
.kt-hot-offer-price {
    font-weight: 800;
    font-size: 1rem;
    white-space: nowrap;
    color: #111;
}
.kt-seo-body:has(.kt-hot-catalog) { max-width: 44rem; }

@media (max-width: 768px) {
    .section-hot-tours { padding-top: 1.25rem; padding-bottom: 1.35rem; }
    .hot-home-head { margin-bottom: .75rem; }
    .hot-home .section-title { font-size: 1.375rem; }
    .hot-home-desc { font-size: .875rem; margin: 0; }
    .hot-home-all--desk { display: none; }
    .hot-home-all--mob {
        display: block;
        margin: .9rem 0 0;
        text-align: center;
        background: #111;
        color: #fff;
        border-radius: 12px;
        padding: .8rem 1rem;
    }
    .hot-home-all--mob:hover { color: #fff; text-decoration: none; }
    .hot-home-scroll {
        display: flex;
        grid-template-columns: none;
        gap: .7rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 0 1rem 0.35rem;
        scrollbar-width: none;
    }
    .hot-home-scroll::-webkit-scrollbar { display: none; }
    .hot-dest-card {
        flex: 0 0 78%;
        max-width: 280px;
        height: 220px;
        scroll-snap-align: start;
        border-radius: 18px;
    }
    .hot-dest-name { font-size: 1.15rem; }
    .kt-hot-offer { grid-template-columns: 76px 1fr; grid-template-areas: "pic body" "pic price"; }
    .kt-hot-offer-photo { width: 76px; height: 68px; grid-area: pic; }
    .kt-hot-offer-body { grid-area: body; }
    .kt-hot-offer-price { grid-area: price; font-size: 1.05rem; }
}

/* Экскурсии и впечатления */
.section-desc {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: var(--gray-600);
    font-size: 1rem;
}
.excursions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.excursion-card {
    position: relative;
    display: block;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
}
.excursion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.excursion-card:hover img { transform: scale(1.08); }
.excursion-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65), transparent 50%);
    pointer-events: none;
}
.excursion-card span {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    font-weight: 700;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

/* Гиды «Куда сходить» — как журнальная сетка, не плитки с одной подписью */
.guides-home-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}
.guides-home .section-title { margin: 0 0 0.4rem; }
.guides-home-desc {
    margin: 0;
    max-width: 40rem;
    text-align: left;
    color: var(--gray-700);
    line-height: 1.45;
}
.guides-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}
.guide-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 22px rgba(23, 23, 23, 0.08);
    min-height: 100%;
}
.guide-card:hover { text-decoration: none; color: inherit; }
.guide-card img {
    width: 100%;
    height: 148px;
    object-fit: cover;
    display: block;
    background: #e5e7eb;
}
.guide-card--lead {
    grid-column: span 2;
    grid-row: span 2;
}
.guide-card--lead img {
    height: auto;
    min-height: 240px;
    flex: 1 1 auto;
    max-height: none;
}
.guide-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.85rem 0.95rem 1rem;
}
.guide-card-kicker {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand-purple);
}
.guide-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #171717;
}
.guide-card--lead .guide-card-title { font-size: 1.45rem; }
.guide-card-sub {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #4b5563;
}
.guides-hub {
    margin-top: 0.85rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.85rem;
    align-items: stretch;
}
.guides-hub-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.9rem;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 22px rgba(23, 23, 23, 0.08);
    padding: 0;
}
.guides-hub-card:hover { text-decoration: none; color: inherit; }
.guides-hub-card img {
    width: 140px;
    height: 100%;
    min-height: 112px;
    object-fit: cover;
    display: block;
}
.guides-hub-card span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem 0.85rem 0;
}
.guides-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-content: center;
}
.guides-topics a {
    display: inline-block;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 650;
    box-shadow: 0 1px 0 rgba(23, 23, 23, 0.04);
    border: 1px solid #e5e7eb;
}
.guides-topics a:hover { border-color: #111; }

@media (max-width: 900px) {
    .guides-grid { grid-template-columns: 1fr 1fr; }
    .guide-card--lead { grid-column: span 2; grid-row: auto; }
    .guide-card--lead img { min-height: 200px; max-height: 260px; }
    .guide-card--lead .guide-card-title { font-size: 1.2rem; }
    .guides-hub { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .guides-grid { grid-template-columns: 1fr; }
    .guide-card--lead { grid-column: auto; }
    .guide-card img, .guide-card--lead img { height: 180px; min-height: 0; max-height: none; }
    .guides-hub-card { grid-template-columns: 96px 1fr; }
    .guides-hub-card img { width: 96px; }
}

/* Хотите, мы к вам сами? + карта/адрес */
.map-block {
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.map-placeholder {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    padding: 3rem 2rem;
    text-align: center;
}
.map-address-title { margin: 0 0 0.25rem; font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
.map-address { margin: 0 0 1rem; color: var(--gray-600); }

/* Почему мы такие дешёвые */
.cheap-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.cheap-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.cheap-text { flex: 1; min-width: 280px; }
.cheap-text .section-title { margin-top: 0; }
.cheap-text p { margin: 0 0 0.75rem; color: var(--gray-700); }
.cheap-signature { margin-top: 1rem !important; color: var(--gray-900) !important; }
.cheap-role { font-size: 0.875rem; color: var(--gray-500) !important; }

/* Вопросы (FAQ) — стильно, с градиентами */
.section-faq {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 50%, var(--white) 100%);
}
.faq-accordion {
    max-width: 680px;
    margin: 0 auto;
}
.faq-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 0.6rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(254,243,199,0.4) 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow 0.25s, transform 0.2s;
}
.faq-item:hover {
    box-shadow: 0 4px 16px rgba(255,184,0,0.12);
}
.faq-item.faq-open {
    background: linear-gradient(135deg, #fff 0%, rgba(254,243,199,0.6) 100%);
    box-shadow: 0 6px 20px rgba(255,184,0,0.2);
}
.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: color 0.2s;
}
.faq-item.faq-open .faq-question { color: var(--gray-900); }
.faq-question::after {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23374151'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") no-repeat center;
    transition: transform 0.25s ease;
}
.faq-item.faq-open .faq-question::after { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}
.faq-item.faq-open .faq-answer {
    max-height: 280px;
}
.faq-answer p {
    margin: 0;
    padding: 0 1.25rem 1rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.faq-more {
    text-align: center;
    margin: 2rem 0 0;
}
.faq-more a { font-weight: 600; color: var(--gray-900); }
.faq-more a:hover { color: var(--yellow); }

/* Как забронировать — крупные рисованные маскоты */
.section-how {
    background: #fff;
    padding: 2.75rem 0 2.75rem;
}
.how-head {
    text-align: center;
    margin-bottom: 1.75rem;
}
.how-head .section-title { margin-bottom: 0.4rem; }
.how-desc {
    margin: 0 auto;
    max-width: 36rem;
    text-align: center;
}
.how-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}
.how-step {
    text-align: center;
    padding: 1.25rem 0.75rem 1.1rem;
    border-radius: 22px;
    background: #fffef8;
    border: 1px solid rgba(129, 34, 238, 0.08);
}
.how-step:nth-child(2) { background: #fff5f2; }
.how-step:nth-child(3) { background: #f8f4ff; }
.how-step:nth-child(4) { background: #eefcf9; }
.how-mascot {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 0.7rem;
    transform-origin: 50% 50%;
    animation: kt-home-flip 5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(23, 23, 23, 0.1));
}
.how-step:nth-child(2) .how-mascot { animation-delay: 0.7s; }
.how-step:nth-child(3) .how-mascot { animation-delay: 1.4s; }
.how-step:nth-child(4) .how-mascot { animation-delay: 2.1s; }
@keyframes kt-home-flip {
    0%, 74%, 100% {
        transform: rotate(0deg) scale(1);
    }
    87% {
        transform: rotate(180deg) scale(1.2);
    }
}
@media (prefers-reduced-motion: reduce) {
    .how-mascot { animation: none; }
}
.how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    margin-bottom: 0.45rem;
    border-radius: 999px;
    background: var(--brand-purple);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}
.how-step:nth-child(2) .how-num { background: var(--brand-orange); }
.how-step:nth-child(1) .how-num { background: #171717; color: var(--yellow); }
.how-step:nth-child(4) .how-num { background: var(--brand-turquoise); color: #171717; }
.how-step h3 {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.how-step p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.45;
}
.how-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(280px, 100%);
    min-height: 48px;
    margin: 1.75rem auto 0;
    background: var(--yellow);
    color: #171717;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
}
.how-cta:hover {
    background: var(--brand-orange);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 800px) {
    .how-steps {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .how-mascot {
        width: 80px;
        height: 80px;
    }
    .how-step {
        padding: 1rem 0.7rem 0.95rem;
    }
}

/* Гарантия — жёлто-золотой, текст слева, фото справа */
.section-guarantee {
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #FFF9D6 0%, #FFD500 38%, #E9DDFF 100%);
}
.guarantee-inner {
    max-width: none;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 1.5rem;
}
.guarantee-details {
    flex: 1;
    min-width: 280px;
    max-width: 560px;
    text-align: left;
}
.guarantee-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}
.guarantee-lead {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 600;
    line-height: 1.4;
}
.guarantee-list {
    margin: 0;
    padding: 0 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--gray-800, #262626);
    line-height: 1.7;
}
.guarantee-list li { margin-bottom: 0.25rem; }
.guarantee-photo-wrap {
    flex-shrink: 0;
    width: 220px;
}
.guarantee-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 8px 24px rgba(255,184,0,0.35);
}
@media (max-width: 640px) {
    .guarantee-inner { flex-direction: column-reverse; padding: 1rem; }
    .guarantee-details { text-align: center; max-width: none; }
    .guarantee-list { list-style: none; padding-left: 0; }
    .guarantee-photo-wrap { width: 180px; }
}

/* ========== Адаптив ========== */
@media (max-width: 1200px) {
    .site-header .nav-main a { padding: 8px 8px; font-size: 0.875rem; }
}

@media (max-width: 1100px) {
    .site-header .header-city { display: none; }
}

@media (max-width: 992px) {
    .site-header .nav-main,
    .site-header .header-city { display: none; }
    .site-header .header-menu-btn { display: inline-flex; }
    .hdr-slot[data-hdr-drop] { display: none; }
    .site-header .header-right { gap: 2px; }
    .hdr-tip { display: none !important; }
}

@media (max-width: 640px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .tours-grid { grid-template-columns: 1fr; }
    .countries-grid { grid-template-columns: repeat(2, 1fr); }
    .destinations-grid { grid-template-columns: 1fr 1fr; }
    .excursions-grid { grid-template-columns: 1fr 1fr; }
    .promo-inner { flex-direction: column; }
    .cheap-inner { flex-direction: column; text-align: center; }
}

/* Герой: главное фото выводится через .hero-banner-bg внутри секции hero (фон за поиском) */

/* ============================================================
   БЛОК ПОИСКА ДЛЯ МОБИЛЬНОЙ ВЕРСИИ — НЕ ИЗМЕНЯТЬ
   ============================================================ */
.hero-search {
    max-width: 900px;
    width: 100%;
    margin: 1.25rem auto 0;
    padding: 0 1rem;
}

.hero-search-inline-wrap {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    background: transparent !important;
    border: none !important;
}

.hero-search #tourvisor-search-root,
#tourvisor-search-root {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 992px) {
    :root { --header-height: 56px; }

    .page-home .search-module-wrap {
        padding: 0;
        max-width: none;
        width: 100%;
    }

    .page-home .hero-sletat,
    .page-home .hero {
        padding-left: 0;
        padding-right: 0;
    }

    .page-home .hero-sletat .hero-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-sletat,
    .hero {
        min-height: auto;
        padding-top: 1.25rem;
        padding-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-sletat .hero-title,
    .hero-title {
        font-size: 1.75rem;
        text-align: center;
        padding: 0;
        margin: 0;
        max-width: 16.5em;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy {
        margin: 0 0 0.75rem;
    }

    .hero-sletat .hero-subtitle {
        font-size: 0.875rem;
        margin-top: 0.35rem;
        max-width: 22em;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-sletat .hero-search,
    .hero-search {
        margin-top: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Блок поиска: не сжимать, горизонтальная прокрутка при узком экране */
.hero-search .search-placeholder,
#tourvisor-search {
    min-width: 860px;
    overflow-x: auto;
    width: 100%;
}

/* ========== Бета: новый сайт, основной kupitoursam.ru ========== */
body.beta-notice-modal-open {
    overflow: hidden;
}

body.has-beta-notice-strip {
    padding-bottom: 52px;
}

@media (max-width: 480px) {
    body.has-beta-notice-strip {
        padding-bottom: 72px;
    }
}

.beta-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(2px);
}

.beta-notice-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001;
    width: min(440px, calc(100% - 2rem));
    max-height: min(90vh, 640px);
    overflow-y: auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.beta-notice-dialog-inner {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    border: 2px solid var(--yellow);
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.2);
}

.beta-notice-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 600;
}

.beta-notice-title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--gray-900);
}

.beta-notice-text {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--gray-700);
}

.beta-notice-text p {
    margin: 0 0 0.75rem;
}

.beta-notice-text p:last-child {
    margin-bottom: 0;
}

.beta-notice-punch {
    font-style: italic;
    color: var(--gray-600) !important;
}

.beta-notice-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.beta-notice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.beta-notice-btn-primary {
    background: var(--yellow);
    color: var(--gray-900);
    border-color: var(--yellow);
}

.beta-notice-btn-primary:hover {
    background: var(--yellow-hover);
    border-color: var(--yellow-hover);
    text-decoration: none;
    color: var(--gray-900);
}

.beta-notice-btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-500);
}

.beta-notice-btn-ghost:hover {
    border-color: var(--gray-900);
    color: var(--gray-900);
    background: var(--gray-50);
}

.beta-notice-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99990;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    padding: 0.65rem 2.25rem 0.65rem 1rem;
    background: linear-gradient(90deg, #262626 0%, #171717 100%);
    color: #f9fafb;
    font-size: 0.8125rem;
    line-height: 1.4;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    border-top: 3px solid var(--yellow);
}

.beta-notice-strip-text {
    text-align: center;
}

.beta-notice-strip-text a {
    color: var(--yellow);
    font-weight: 600;
    text-decoration: underline;
}

.beta-notice-strip-text a:hover {
    color: var(--yellow);
}

.beta-notice-strip-badge {
    display: inline-block;
    margin-right: 0.35rem;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    background: var(--yellow);
    color: var(--gray-900);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.beta-notice-strip-btns {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.beta-notice-strip-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius);
    background: var(--yellow);
    color: var(--gray-900) !important;
    font-weight: 700;
    font-size: 0.8125rem;
    text-decoration: none !important;
}

.beta-notice-strip-link:hover {
    background: var(--yellow-hover);
    color: var(--gray-900) !important;
    text-decoration: none !important;
}

.beta-notice-strip-close {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
}

.beta-notice-strip-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Шапка внутренних страниц */
.header-compact {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.header-compact .header-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
}
.header-compact .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 800;
    letter-spacing: .02em;
}
.header-compact .logo:hover { text-decoration: none; color: var(--gray-900); }
.header-compact .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--yellow);
}
.header-compact .nav-compact {
    display: flex;
    align-items: center;
    gap: .15rem;
    flex: 1;
}
.header-compact .nav-item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .7rem;
    border-radius: 8px;
    color: var(--gray-700);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}
.header-compact .nav-item:hover,
.header-compact .nav-item.is-active {
    background: var(--gray-50);
    color: var(--gray-900);
    text-decoration: none;
}
.header-compact .header-phone {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    white-space: nowrap;
}
.header-mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}
.header-mobile-menu-btn-line {
    display: block;
    height: 2px;
    background: var(--gray-900);
    margin: 5px 0;
    border-radius: 2px;
}
.header-mobile-drawer { display: none; }
.header-mobile-drawer.is-open { display: block; }
.header-mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,.45);
    z-index: 200;
}
.header-mobile-drawer-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: #fff;
    z-index: 201;
    padding: 1rem 1.25rem;
    box-shadow: 8px 0 30px rgba(0,0,0,.12);
}
.header-mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 800;
}
.header-mobile-drawer-close {
    border: 0;
    background: transparent;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
}
.header-mobile-drawer-nav { display: flex; flex-direction: column; gap: .15rem; }
.header-mobile-drawer-nav a {
    padding: .7rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: var(--gray-900);
    font-weight: 600;
    text-decoration: none;
}
@media (max-width: 900px) {
    .header-compact .nav-compact,
    .header-compact .header-phone-text { display: none; }
    .header-mobile-menu-btn { display: block; }
}

/* Посадочные: туры, отели, туристам */
.kt-seo-page { background: #f4f6f8; }
.kt-seo { color: var(--gray-900); padding-bottom: 3.5rem; }
.kt-hero {
    background: linear-gradient(180deg, #fff 0%, #f4f6f8 100%);
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 0 1.75rem;
}
.kt-seo h1 {
    margin: 0 0 .6rem;
    font-size: clamp(1.75rem, 3.4vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -.02em;
}
.kt-seo h2 { margin: 2rem 0 .85rem; font-size: 1.25rem; }
.kt-kicker {
    margin: 0 0 .35rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand-orange);
}
.kt-seo-crumbs { margin: 0 0 .85rem; font-size: .8125rem; color: var(--gray-500); }
.kt-seo-crumbs a { color: var(--gray-600); text-decoration: none; }
.kt-seo-crumbs a:hover { color: var(--gray-900); }
.kt-crumb-sep { opacity: .5; }
.kt-seo-lead {
    max-width: 46rem;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--gray-700);
    margin: 0 0 1.15rem;
}
.kt-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.kt-tab {
    padding: .4rem .85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
}
.kt-tab:hover { border-color: #d1d5db; text-decoration: none; color: var(--gray-900); }
.kt-tab.is-active { background: var(--gray-900); color: #fff; border-color: var(--gray-900); }
.kt-searchbar {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: .6rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: .75rem;
    box-shadow: 0 10px 30px rgba(17,24,39,.06);
    max-width: 720px;
}
.kt-searchbar-field { display: flex; flex-direction: column; gap: .2rem; font-size: .7rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; }
.kt-searchbar-field input {
    border: 0;
    background: var(--gray-50);
    border-radius: 10px;
    padding: .7rem .8rem;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}
.kt-searchbar-btn {
    align-self: end;
    border: 0;
    background: var(--yellow);
    color: var(--gray-900);
    font-weight: 800;
    border-radius: 10px;
    padding: .85rem 1.2rem;
    cursor: pointer;
}
.kt-searchbar-btn:hover { background: var(--yellow-hover); }
.kt-seo-wrap { padding-top: 1.5rem; }
.kt-seo-body { line-height: 1.7; max-width: 48rem; }
.kt-seo-body p { margin: 0 0 1rem; color: #262626; }
.kt-seo-list { margin: 0 0 1.25rem; padding-left: 1.15rem; }
.kt-seo-list li { margin: .4rem 0; }
.kt-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.kt-chip {
    padding: .45rem .85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--gray-800, #262626);
}
.kt-chip:hover { border-color: var(--yellow); background: var(--yellow-light); text-decoration: none; }
.kt-ccards, .kt-hotelgrid, .kt-topicgrid {
    display: grid;
    gap: .75rem;
    margin: 0 0 1.25rem;
    max-width: none;
}
.kt-ccards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.kt-hotelgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.kt-topicgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.kt-ccard, .kt-hcard, .kt-tcard {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    display: block;
}
.kt-ccard { padding: 1rem 1.05rem; }
.kt-ccard strong { display: block; font-size: 1.05rem; margin-bottom: .25rem; }
.kt-ccard span { color: var(--gray-600); font-size: .875rem; line-height: 1.4; }
.kt-ccard:hover, .kt-hcard:hover, .kt-tcard:hover {
    border-color: #FFD500;
    box-shadow: 0 8px 24px rgba(17,24,39,.06);
    text-decoration: none;
    color: inherit;
}
.kt-hcard-visual {
    height: 88px;
    background: linear-gradient(135deg, #171717, #374151);
    color: #FFD500;
    display: flex;
    align-items: flex-end;
    padding: .65rem 1rem;
    font-size: 2rem;
    font-weight: 800;
}
.kt-hcard-photo {
    padding: 0;
    height: 140px;
    overflow: hidden;
}
.kt-hcard-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.kt-gallery { margin: 0 0 1.5rem; max-width: 48rem; }
.kt-gallery-frame {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #171717;
    aspect-ratio: 16 / 10;
    touch-action: pan-y;
    user-select: none;
}
.kt-gallery-track {
    display: flex;
    height: 100%;
    transition: transform .35s ease;
    will-change: transform;
}
.kt-gallery-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
}
.kt-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.kt-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(23, 23, 23, .62);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 3px;
}
.kt-gallery-nav:hover { background: rgba(23, 23, 23, .82); }
.kt-gallery-prev { left: 10px; }
.kt-gallery-next { right: 10px; }
.kt-gallery-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(23, 23, 23, .7);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding: .28rem .55rem;
    border-radius: 999px;
}
.kt-gallery figcaption { margin: .5rem 0 0; font-size: .75rem; color: var(--gray-500); }
.kt-hcard-body { padding: .75rem .9rem 1rem; }
.kt-hcard-meta { margin: 0; font-size: .75rem; color: var(--gray-500); font-weight: 700; }
.kt-hcard h3 { margin: .2rem 0 .25rem; font-size: 1rem; line-height: 1.25; }
.kt-hcard-for { margin: 0; font-size: .8125rem; color: var(--gray-600); }
.kt-tcard { padding: 1rem 1.05rem; }
.kt-tcard h3 { margin: 0 0 .35rem; font-size: 1rem; }
.kt-tcard p { margin: 0; font-size: .875rem; color: var(--gray-600); }
.kt-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .6rem;
    margin: 0 0 1.35rem;
    max-width: none;
}
.kt-facts > div {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: .7rem .85rem;
}
.kt-facts dt { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); margin: 0 0 .2rem; }
.kt-facts dd { margin: 0; font-weight: 700; }
.kt-tv-catalog {
    margin: 1.5rem 0 1.75rem;
    max-width: 48rem;
}
.kt-tv-catalog > h2 {
    margin: 0 0 .55rem;
    font-size: 1.25rem;
}
.kt-tv-addr {
    margin: 0 0 1rem;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--gray-600);
}
.kt-tv-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem 1.15rem 1.05rem;
    margin: 0 0 .75rem;
    box-shadow: 0 1px 2px rgba(23, 23, 23, .04);
}
.kt-tv-card h3 {
    margin: 0 0 .75rem;
    padding: 0 0 .55rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #737373;
}
.kt-tv-block { font-size: .9375rem; line-height: 1.6; color: #262626; }
.kt-tv-block p { margin: 0 0 .7rem; }
.kt-tv-block p:last-child { margin-bottom: 0; }
.kt-tv-block ul, .kt-tv-block ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
.kt-tv-block li {
    position: relative;
    margin: 0;
    padding: .55rem 0 .55rem 1.05rem;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.5;
}
.kt-tv-block li:last-child { border-bottom: 0; }
.kt-tv-block li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFD500;
}
.kt-tv-note { margin: .35rem 0 0; font-size: .75rem; color: var(--gray-500); }
.kt-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 1.25rem 0; }
.kt-seo-cta {
    display: inline-flex;
    align-items: center;
    padding: .85rem 1.25rem;
    border-radius: 12px;
    background: var(--yellow);
    color: var(--gray-900) !important;
    font-weight: 800;
    text-decoration: none !important;
}
.kt-seo-cta:hover { background: var(--yellow-hover); }
.kt-cta-note { margin: 0; font-size: .875rem; color: var(--gray-600); }
.kt-seo-faq { margin: 2.25rem 0 0; max-width: 48rem; }
.kt-seo-faq details { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: .85rem 1rem; margin: 0 0 .5rem; }
.kt-seo-faq summary { cursor: pointer; font-weight: 700; }
.kt-seo-faq details p { margin: .55rem 0 0; color: var(--gray-600); }
.footer { background: #171717; color: #e5e7eb; padding: 2.5rem 0 1.5rem; margin-top: 0; }
.footer a { color: #f9fafb; }
.footer a:hover { color: var(--yellow); }
.footer h4 { margin: 0 0 .75rem; color: #fff; }
.footer .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: .4rem 0; }
.footer .footer-bottom { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid #374151; font-size: .8125rem; color: #9ca3af; }
@media (max-width: 700px) {
    .kt-searchbar { grid-template-columns: 1fr; }
    .kt-searchbar-btn { width: 100%; }
    .footer .footer-grid { grid-template-columns: 1fr; }
}

/* Внутренние страницы: помощь, о компании, избранное, сертификаты */
.page-simple { padding: 2rem 0 4rem; }
.page-simple .lead {
    margin: 0 0 1.5rem;
    max-width: 40rem;
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.55;
}
.about-hero,
.help,
.contacts-main,
.contacts-rekvizity { padding: 2rem 0; }
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 800px) {
    .contacts-grid { grid-template-columns: 1fr; }
}
.contacts-block h2,
.help-block h2,
.help-block h3 { margin: 0 0 .75rem; font-size: 1.125rem; }
.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.5rem 0;
}
@media (max-width: 800px) {
    .help-grid { grid-template-columns: 1fr; }
}
.help-block {
    background: #f9fafb;
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
}
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.form-consultation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 180px;
}
.form-label { font-size: 0.8125rem; font-weight: 700; color: #374151; }
.form-consultation input,
.form-consultation textarea {
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 12px;
    font: inherit;
}
.form-consultation textarea { height: 96px; padding: 10px 12px; resize: vertical; }
.btn,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}
.btn-primary,
.btn.btn-primary { background: var(--yellow); color: #111; }
.btn-primary:hover { background: var(--yellow-hover); color: #111; text-decoration: none; }
.btn-secondary { background: #f3f4f6; color: #111; }
.btn-secondary:hover { background: #e5e7eb; color: #111; text-decoration: none; }
.form-message { margin: 12px 0 0; font-size: 0.9375rem; }
.form-message.is-ok { color: #166534; }
.form-message.is-err { color: #b91c1c; }
.rekvizity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 800px) {
    .rekvizity-grid { grid-template-columns: 1fr; }
}

.fav-list { display: grid; gap: 12px; max-width: 720px; }
.fav-card {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 10px;
}
.fav-card-photo {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    background: #f3f4f6;
}
.fav-card-photo.is-empty { display: block; }
.fav-card-place,
.fav-card-meta { margin: 0; font-size: 0.8125rem; color: #6b7280; }
.fav-card-title {
    display: block;
    margin: 2px 0 4px;
    font-weight: 800;
    color: #111;
    text-decoration: none;
}
.fav-card-title:hover { color: #111; text-decoration: underline; }
.fav-card-price {
    margin: 6px 0 8px;
    font-weight: 800;
    color: var(--brand-orange);
}
.fav-card-watch {
    display: inline-flex;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    color: #111;
}
.fav-card-watch:hover { background: #fffbeb; border-color: #FFD500; }
.watch-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(17, 17, 17, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
}
.watch-modal[hidden] { display: none; }
.watch-modal-card {
    position: relative;
    width: min(440px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 22px 20px 20px;
    max-height: 92vh;
    overflow: auto;
}
.watch-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    background: #f3f4f6;
    border-radius: 10px;
    font-size: 1.25rem;
    cursor: pointer;
}
.watch-modal .price-watch-label {
    margin: 0 0 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4b5563;
}
.watch-modal-select,
.watch-modal-field input {
    width: 100%;
    min-height: 42px;
    margin: 0 0 12px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font: inherit;
    box-sizing: border-box;
}
.watch-modal-field { display: block; font-size: 0.8rem; font-weight: 600; color: #4b5563; }
.watch-modal .price-watch-check,
.watch-modal .price-watch-marketing {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0 0 10px;
    font-size: 0.875rem;
    cursor: pointer;
}
.watch-modal .price-watch-marketing { color: #1d4ed8; }
.watch-modal .btn { width: 100%; margin-top: 8px; }
@media (min-width: 640px) {
    .watch-modal { align-items: center; }
}
.fav-card-remove {
    width: 36px;
    height: 36px;
    border: 0;
    background: #f3f4f6;
    border-radius: 10px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #111;
}
.fav-empty {
    max-width: 36rem;
    padding: 1.25rem 1.4rem;
    background: #fffbeb;
    border: 1px dashed #FFD500;
    border-radius: 16px;
}
@media (max-width: 640px) {
    .fav-card { grid-template-columns: 72px 1fr auto; }
    .fav-card-photo { width: 72px; height: 56px; }
}

.cert-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}
.cert-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
}
.cert-card ul { margin: 0.5rem 0 0; padding-left: 1.1rem; color: #374151; }
.cert-card li { margin: 0.35rem 0; }
@media (max-width: 800px) {
    .cert-grid { grid-template-columns: 1fr; }
}

.kt-memo-visual {
    margin: 0 0 1.25rem;
    max-width: 280px;
    border-radius: 18px;
    overflow: hidden;
    background: #eef2f6;
}
.kt-memo-visual img {
    display: block;
    width: 100%;
    height: auto;
}
.kt-need {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 1.5rem;
}
.kt-need-card {
    display: block;
    padding: 14px 14px 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
}
.kt-need-card strong {
    display: block;
    font-size: .95rem;
    margin-bottom: .25rem;
}
.kt-need-card span {
    display: block;
    font-size: .8125rem;
    line-height: 1.35;
    color: #6b7280;
}
.kt-need-card:hover {
    border-color: #FFD500;
    background: #fffbeb;
}
@media (max-width: 720px) {
    .kt-need { grid-template-columns: 1fr; }
    .kt-memo-visual { max-width: 220px; }
}
