/* ===== Локальные шрифты ===== */
/* Inter — основной текст (субсет cyrillic+latin в одном файле) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/inter-regular.woff2) format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/inter-500.woff2) format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/inter-600.woff2) format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/inter-700.woff2) format('woff2');
}

/* Montserrat — вариативный woff2 (один файл на диапазон 500–700) */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url(../fonts/montserrat-cyrillic.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url(../fonts/montserrat-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond — акцентный курсив */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/cormorant-garamond-italic-cyrillic.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Новая палитра — тихая роскошь ===== */
:root {
    --bg: #1A1F1C;
    --bg-deep: #11140F;
    --accent: #D9D2C5;
    --text: #F7F4EE;
    --muted: rgba(247, 244, 238, 0.65);
    --line: rgba(247, 244, 238, 0.18);
    --container: 1280px;
    --pad-x: 56px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    --nv2-radius: 14px;
    --nv2-radius-pill: 999px;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
}
body.page {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
/* Убираем ложный зум на двойной тап для интерактивных элементов */
a, button, input, label, select, textarea, [role="button"] {
    touch-action: manipulation;
}

/* ============================================================
   ДЕСКТОП-ШАПКА (nv2-)
   ============================================================ */
.nv2 {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 22px var(--pad-x);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    pointer-events: none;
    transition: padding .35s var(--ease);
}
.nv2 > * { pointer-events: auto; }
.nv2-logo { justify-self: start; }
.nv2 > nav { justify-self: center; }
.nv2-lang { justify-self: end; }

/* Текстовое лого — без засечек, белое, моноцветное */
.nv2-logo-container {
    display: inline-flex;
    align-items: center;
    height: 32px;
    overflow: visible;
}

.nv2-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 5px;
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

/* 3D Split-Flap логотип (DAGTRAVEL ⇄ DAGESTAN) */
.logo-flip {
    display: inline-flex;
    align-items: center;
    perspective: 800px;
    cursor: pointer;
}
.flip-card {
    display: inline-block;
    width: 18px;
    height: 30px;
    position: relative;
    transform-style: preserve-3d;
    margin-right: 2px;
}
.flip-card-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}
.flip-card:nth-child(1) .flip-card-inner { transition-delay: 0.00s; }
.flip-card:nth-child(2) .flip-card-inner { transition-delay: 0.04s; }
.flip-card:nth-child(3) .flip-card-inner { transition-delay: 0.08s; }
.flip-card:nth-child(4) .flip-card-inner { transition-delay: 0.12s; }
.flip-card:nth-child(5) .flip-card-inner { transition-delay: 0.16s; }
.flip-card:nth-child(6) .flip-card-inner { transition-delay: 0.20s; }
.flip-card:nth-child(7) .flip-card-inner { transition-delay: 0.24s; }
.flip-card:nth-child(8) .flip-card-inner { transition-delay: 0.28s; }
.flip-card:nth-child(9) .flip-card-inner { transition-delay: 0.32s; }

.logo-flip.force-active .flip-card-inner {
    transform: rotateX(180deg);
}
.logo-flip:hover .flip-card-inner {
    transform: rotateX(0deg) !important;
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0; left: 0;
    background: rgba(17, 20, 15, 0.1);
    border-radius: 2px;
}
.flip-card-front {
    color: var(--text);
}
.flip-card-back {
    transform: rotateX(180deg);
    color: #D9D2C5;
    font-weight: 700;
}

/* Язык — иконка без подложки */
.nv2-lang {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 24px; height: 24px;
    color: var(--text);
    text-decoration: none;
    opacity: .9;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.nv2-lang:hover { opacity: 1; }
.nv2-lang svg {
    width: 20px; height: 20px;
    display: block;
    fill: currentColor;
    flex-shrink: 0;
}

/* Горизонтальное меню — белые пункты, без подложки изначально */
.nv2-list {
    list-style: none; margin: 0; padding: 6px 10px;
    display: flex; align-items: center;
    gap: 2px;
    background: transparent;
    border-radius: var(--nv2-radius-pill);
    transition: background .35s var(--ease), backdrop-filter .35s var(--ease), box-shadow .35s var(--ease);
}
.nv2-item { position: relative; }
.nv2-link {
    display: inline-block;
    padding: 9px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: .89rem;
    font-weight: 400;
    letter-spacing: .02em;
    white-space: nowrap;
    transition: color .25s var(--ease);
}
.nv2-link:hover { color: var(--accent); }

/* Скролл-состояние: подложка сильнее */
body.nv2-scrolled .nv2-list {
    background: rgba(17, 20, 15, 0.86);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    box-shadow: 0 8px 28px rgba(0,0,0,.35);
}

/* Выпадашка — тёмная, полупрозрачная, скруглённая, плавно снизу */
.nv2-sub {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translate(-50%, 8px);
    min-width: 240px;
    list-style: none; margin: 0; padding: 8px;
    background: rgba(17, 20, 15, 0.88);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid var(--line);
    border-radius: var(--nv2-radius);
    opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
    box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
/* Невидимый мост между пунктом и подменю — чтобы hover не терялся */
.nv2-item--has-sub::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -12px; right: -12px;
    height: 16px;
    pointer-events: none;
}
.nv2-item--has-sub:hover::after,
.nv2-item--has-sub:focus-within::after { pointer-events: auto; }
.nv2-item--has-sub:hover > .nv2-sub,
.nv2-item--has-sub:focus-within > .nv2-sub {
    opacity: 1; visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s 0s;
}
.nv2-sub a {
    display: block;
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none;
    font-size: .9rem;
    border-radius: 10px;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.nv2-sub a:hover {
    transform: translateX(6px);
    color: var(--accent);
}

/* Скрыть мобильную часть на десктопе */
.nv2-burger, .nv2-m, .nv2-m-logo, .nv2-m-contacts, .nv2-m__lang--top { display: none; }

/* ============================================================
   МОБИЛЬНАЯ ШАПКА
   ============================================================ */
@media (max-width: 768px) {
    /* Шапка не занимает места в потоке — иначе сверху видна полоса фона */
    .nv2 {
        position: fixed;
        top: 0; left: 0; right: 0;
        padding: 0;
        display: block;
        pointer-events: none;
        z-index: 1000;
    }
    .nv2 > * { pointer-events: auto; }
    .nv2 > nav,
    .nv2 > .nv2-logo,
    .nv2 > .nv2-logo-container,
    .nv2 > .nv2-lang { display: none !important; }

    /* Мобильный текст-логотип:
       всегда fixed (никаких смен типа позиционирования и размера —
       чтобы не дёргался layout). Положение и видимость рулим
       через transform translateY и opacity. */
    .nv2-m-logo {
        display: block;
        position: fixed;
        top: calc(env(safe-area-inset-top) + 28px); left: 22px;
        line-height: 1;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 1.6rem;
        letter-spacing: 5px;
        text-transform: uppercase;
        color: var(--text);
        pointer-events: none;
        z-index: 1001;
        will-change: transform, opacity;
        transition: opacity .3s var(--ease);
        /* мягкая тень, чтобы лого читалось поверх фото в хиро */
        text-shadow: 0 1px 18px rgba(17,20,15,.75);
    }
    /* JS подставит transform translateY (от ~70px к 0) и .is-hidden */
    .nv2-m-logo.is-hidden { opacity: 0; }
    /* При открытии меню лого остаётся там, где было —
       не прыгаем в шапку, не дёргаемся. */
    body.nv2-menu-open .nv2-m-logo { z-index: 1102; color: #1A1F1C; text-shadow: none; }

    /* Гамбургер: верхний правый угол, изначально без подложки */
    .nv2-burger {
        display: flex;
        align-items: center; justify-content: center;
        position: fixed;
        top: calc(env(safe-area-inset-top) + 16px);
        right: 18px;
        width: 50px; height: 50px;
        border-radius: 50%;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1110;
        transition: background .3s var(--ease), box-shadow .3s var(--ease);
    }
    /* Подложка появляется когда лого исчезло при скролле — белая */
    body.nv2-logo-hidden .nv2-burger {
        background: rgba(255, 255, 255, .92);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 2px 14px rgba(0,0,0,.18);
    }
    /* На белой подложке линии тёмные */
    body.nv2-logo-hidden .nv2-burger__line {
        background: #1A1F1C;
    }
    /* При открытом меню — подложка не нужна, veil всё перекрывает */
    body.nv2-menu-open .nv2-burger { background: transparent; box-shadow: none; }
    body.nv2-menu-open .nv2-burger__line { background: #1A1F1C; }
    .nv2-burger__box { position: relative; width: 22px; height: 14px; }
    .nv2-burger__line {
        position: absolute; left: 0; right: 0;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease);
    }
    .nv2-burger__line:nth-child(1) { top: 0; }
    .nv2-burger__line:nth-child(2) { top: 6px; }
    .nv2-burger__line:nth-child(3) { top: 12px; }
    body.nv2-menu-open .nv2-burger__line:nth-child(1) { top: 6px; transform: rotate(45deg); }
    body.nv2-menu-open .nv2-burger__line:nth-child(2) { opacity: 0; }
    body.nv2-menu-open .nv2-burger__line:nth-child(3) { top: 6px; transform: rotate(-45deg); }

    /* Мобильное меню — полноэкранный оверлей */
    .nv2-m {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        z-index: 1090;
        pointer-events: none;
        opacity: 0;
        transition: opacity .3s var(--ease);
    }
    body.nv2-menu-open .nv2-m {
        pointer-events: auto;
        opacity: 1;
    }
    .nv2-m__veil {
        position: absolute;
        inset: 0;
        background: rgba(250, 246, 240, 0.985);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: inset 0 0 0 1px rgba(17,20,15,.05);
        pointer-events: none;
    }

    /* Прокручиваемая область: список + цитата, от бургера вниз */
    .nv2-m__scroll {
        position: relative;
        z-index: 1;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        padding: calc(env(safe-area-inset-top) + 74px) 22px 24px;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .nv2-m__scroll::-webkit-scrollbar { display: none; }
    .nv2-m__scroll::before {
        content: '';
        position: absolute;
        top: calc(env(safe-area-inset-top) + 64px);
        left: 22px; right: 22px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(200,166,89,.45), transparent);
    }

    /* Список пунктов — в потоке, правый край */
    .nv2-m__list {
        list-style: none; margin: 0; padding: 0;
        text-align: right;
        flex-shrink: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
    }
    .nv2-m__list::-webkit-scrollbar { display: none; }

    /* Цитата — сразу под списком */
    .nv2-m__phrase.is-gone { visibility: hidden; }
    .nv2-m__phrase {
        flex-shrink: 0;
        margin-top: 28px;
        padding: 0;
        display: block;
        text-align: right;
        font-family: 'Inter', system-ui, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 1.02rem;
        letter-spacing: 0;
        line-height: 1.6;
        color: #2C302A;
        opacity: 1;
    }
    .nv2-m__phrase p { margin: 0; white-space: pre-line; }
    .nv2-m__phrase p + p { margin-top: 16px; }
    .nv2-m__phrase-author {
        display: block;
        margin-top: 6px;
        font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
        font-style: normal;
        font-size: 9px;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        color: #1A1F1C;
        opacity: 0.5;
    }
    .nv2-m__phrase:empty { display: none; }

    /* Погода — по центру, под телефоном */
    .nv2-m__weather {
        position: absolute;
        z-index: 1;
        left: 50%;
        transform: translateX(-50%);
        bottom: calc(env(safe-area-inset-bottom) + 10px);
        pointer-events: none;
        display: inline-grid;
        grid-template-columns: auto auto auto;
        column-gap: 10px;
        row-gap: 0;
        font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, monospace;
        font-size: 11px;
        letter-spacing: 0.1em;
        line-height: 1.6;
        color: #1A1F1C;
        opacity: .45;
    }
    .nv2-m__weather span { white-space: nowrap; }
    .nv2-m__weather span:nth-child(3n+1) { text-align: left; }
    .nv2-m__weather span:nth-child(3n+2) { text-align: right; }
    .nv2-m__weather span:nth-child(3n)   { text-align: left; }
    .nv2-m__item { width: 100%; }
    .nv2-m__link {
        display: block;
        padding: 8px 0;
        color: #1A1F1C;
        text-decoration: none;
        font-size: 1.35rem;
        font-weight: 500;
        letter-spacing: .005em;
        background: none; border: none; cursor: pointer;
        font-family: inherit;
        width: 100%; text-align: right;
        text-shadow: none;
    }
    .nv2-m__sub {
        list-style: none; margin: 0; padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s var(--ease);
    }
    .nv2-m__item.is-open > .nv2-m__sub { max-height: 520px; }
    .nv2-m__sub a {
        display: block;
        padding: 6px 0;
        color: rgba(17,20,15,.56);
        text-decoration: none;
        font-size: .95rem;
        font-weight: 400;
        text-shadow: none;
    }
    .nv2-m__sub a:hover { color: #B5891F; }

    /* English — аккуратная иконка внутри меню */
    .nv2-m__lang {
        margin-top: 14px;
        display: inline-flex; align-items: center; justify-content: center;
        width: 28px; height: 28px;
        color: #1A1F1C;
        text-decoration: none;
        opacity: .85;
        align-self: flex-end;
    }
    .nv2-m__lang svg { width: 18px; height: 18px; fill: currentColor; }

    /* Контакты: по центру снизу */
    .nv2-m-contacts {
        display: none;
        position: fixed;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: calc(env(safe-area-inset-bottom) + 72px);
        z-index: 1099;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        color: #1A1F1C;
        text-shadow: none;
        white-space: nowrap;
        line-height: 1;
    }
    body.nv2-menu-open .nv2-m-contacts { display: flex; }
    .nv2-m-contacts a {
        color: #1A1F1C;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }
    .nv2-m-contacts__tel {
        font-weight: 500;
        font-size: 1.15rem;     /* крупнее */
        line-height: 1;
    }
    .nv2-m-contacts__msg { display: inline-flex; gap: 16px; align-items: center; }
    /* Высота иконок ~= высоте текста телефона */
    .nv2-m-contacts__msg svg { width: 32px; height: 32px; display: block; }

    /* Пункт языка в конце списка меню */
    .nv2-m__item--lang { margin-top: 10px; }
    .nv2-m__link--lang {
        display: inline-flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        font-size: 1rem !important;
        color: rgba(17,20,15,.5) !important;
        width: auto !important;
    }
    .nv2-m__link--lang svg { width: 16px; height: 16px; flex-shrink: 0; }
}

/* ============================================================
   HERO 2.0
   ============================================================ */
.hero2 {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    min-height: clamp(360px, 60svh, 630px);
    padding: 120px var(--pad-x) 24px;
    overflow: hidden;
    isolation: isolate;
    background: #11140F;
    color: var(--text);
}
.hero2::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(17,20,15,0.3) 0%, rgba(17,20,15,0.4) 40%, rgba(17,20,15,0.92) 100%),
        linear-gradient(90deg, rgba(17,20,15,0.72) 0%, rgba(17,20,15,0.4) 40%, rgba(17,20,15,0) 80%);
}
.hero2__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease;
}
.hero2__bg.is-active { opacity: 1; z-index: 2; }


.hero2__inner {
    position: relative;
    z-index: 4;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
}

.hero2__title {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(2.6rem, 7vw, 6rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0;
    max-width: 18ch;
}

/* Анимированное слово */
.hero2__rotator {
    display: block;
    font-size: clamp(2.6rem, 7vw, 6rem);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--accent);
    font-style: italic;
}
.hero2__rotator-word {
    display: inline-block;
    opacity: 0;
    filter: blur(5px);
    transition: opacity .65s ease, filter .65s ease;
}
.hero2__rotator-word.is-in {
    opacity: 1;
    filter: blur(0);
}
.hero2__rotator-word.is-out {
    opacity: 0;
    filter: blur(3px);
    transition: opacity .35s ease, filter .35s ease;
}

@media (max-width: 768px) {
    .hero2 {
        min-height: clamp(280px, 42svh, 420px);
        padding: 80px 22px 16px;
    }
    .hero2__title { max-width: none; }
    .hero2__title-line { white-space: nowrap; }
}

body.nv2-menu-open { overflow: hidden; }


/* ============================================================
   СЕКЦИЯ ТУРОВ (tc2-)
   ============================================================ */
.tc2 {
    background: var(--bg);
    padding: 24px var(--pad-x) 72px;
    position: relative;
    z-index: 2;
}
.tc2__container {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}

/* Фильтр-бар */
.tc2__bar {
    margin-bottom: 32px;
}
.tc2__filters {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.tc2__filter {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: var(--nv2-radius-pill);
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: .85rem;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tc2__filter:hover { color: var(--text); border-color: rgba(247,244,238,.38); }
.tc2__filter.is-active {
    background: var(--accent);
    color: var(--bg-deep);
    border-color: var(--accent);
    font-weight: 500;
}

/* Сетка */
.tc2__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Карточка */
.tc2-card {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Фото-карусель */
.tc2-card__photo {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #0d0f0d;
    flex-shrink: 0;
}
.tc2-card__slides {
    display: flex;
    height: 100%;
    transition: transform .42s var(--ease);
}
.tc2-card__slide {
    min-width: 100%; width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.tc2-card__badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 4px 10px;
    border-radius: var(--nv2-radius-pill);
    background: rgba(17,20,15,.38);
    backdrop-filter: blur(8px);
    color: var(--accent);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.tc2-card__photo-title {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 14px 18px;
    background: linear-gradient(to top, rgba(17,20,15,.88) 0%, rgba(17,20,15,0) 100%);
    color: var(--text);
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    display: block;
}
a.tc2-card__photo-title:hover {
    color: var(--accent);
    transition: color .25s var(--ease);
}
.tc2-card__dots {
    position: absolute;
    bottom: 12px; right: 12px;
    display: flex; gap: 5px;
}
.tc2-card__dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(247,244,238,.4);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.tc2-card__dot.is-active { background: var(--text); transform: scale(1.35); }

/* Стрелки */
.tc2-card__arr {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(17,20,15,.55);
    backdrop-filter: blur(6px);
    border: none;
    color: var(--text);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .2s, background .2s;
    padding: 0; line-height: 1;
}
.tc2-card__photo:hover .tc2-card__arr { opacity: 1; }
.tc2-card__arr--prev { left: 8px; }
.tc2-card__arr--next { right: 8px; }
.tc2-card__arr:hover { background: rgba(17,20,15,.82); }

/* Тело карточки */
.tc2-card__body {
    flex: 1;
    background: #F2EDE4;
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #1A1F1C;
}

/* Варианты тура */
.tc2-card__variants { display: flex; flex-direction: column; gap: 5px; }
.tc2-variant {
    display: flex;
    cursor: pointer;
    border-radius: 10px;
    border: 2px solid transparent;
    background: rgba(17,20,15,.05);
    transition: background .18s, border-color .18s;
    overflow: hidden;
}
.tc2-variant input[type="radio"] {
    position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.tc2-variant:has(input:checked) {
    background: rgba(17,20,15,.08);
    border-color: rgba(17,20,15,.55);
}
.tc2-variant__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    width: 100%;
    padding: 9px 12px;
    align-items: start;
}
.tc2-variant__name {
    font-size: .81rem; font-weight: 600; color: #1A1F1C;
    grid-column: 1; grid-row: 1;
}
.tc2-variant__desc {
    font-size: .73rem; color: rgba(17,20,15,.88);
    grid-column: 1 / -1; grid-row: 2;
    margin-top: 3px; line-height: 1.35;
}
.tc2-variant__price {
    font-size: .86rem; font-weight: 600; color: #1A1F1C;
    grid-column: 2; grid-row: 1;
    align-self: center;
    white-space: nowrap;
}

/* Отель */
.tc2-card__hotel {
    font-size: .83rem;
    font-weight: 400;
    color: rgba(17,20,15,.88);
    line-height: 1.4;
}

/* Питание + экскурсии */
.tc2-card__meal-exc {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .83rem;
    font-weight: 400;
    color: rgba(17,20,15,.82);
    margin-top: -8px;
}
.tc2-card__exc {
    color: #B8712A;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.tc2-card__meal-exc span + span::before {
    content: '·';
    margin-right: 10px;
    color: rgba(17,20,15,.5);
    font-weight: 300;
}

/* Дополнительно включено */
.tc2-card__extras { display: flex; flex-wrap: wrap; gap: 5px; }
.tc2-card__extra {
    font-size: .72rem;
    color: rgba(17,20,15,.88);
    background: rgba(17,20,15,.06);
    border-radius: 5px;
    padding: 3px 8px;
}

/* Дополнительная заметка */
.tc2-card__note {
    font-size: .9rem;
    color: rgba(17,20,15,.82);
    margin: 0; line-height: 1.4;
    font-style: italic;
}

/* Нижняя строка */
.tc2-card__footer {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(17,20,15,.1);
}
.tc2-card__price-block {
    display: flex; flex-direction: column; align-items: center;
    gap: 0;
    padding-right: 12px;
    border-right: 1px solid rgba(17,20,15,.12);
}
.tc2-card__price { font-size: 1.15rem; font-weight: 700; color: #1A1F1C; line-height: 1; }
.tc2-card__price-note { font-size: .78rem; color: rgba(17,20,15,.82); margin-top: 1px; }
.tc2-card__cta {
    display: block;
    background: #1A1F1C;
    color: rgba(247,244,238,.9);
    text-decoration: none;
    font-size: .75rem; font-weight: 600;
    line-height: 1.3; text-align: center;
    padding: 9px 10px;
    border-radius: 8px;
    justify-self: stretch;
    transition: background .18s, color .18s;
}
.tc2-card__cta:hover { background: #11140F; color: #fff; }

@media (max-width: 960px) {
    .tc2__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .tc2 { padding: 24px 22px 56px; }
    .tc2__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Скролл-анимации хиро: fade ротатора + смена первой буквы
   ============================================================ */
/* Скрытие ротатора и лого — анимированно через класс, не по скроллу */
.hero2__rotator { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.hero2__rotator.is-hidden { opacity: 0; transform: translateY(-8px); }
.nv2-m-logo.is-hidden { opacity: 0; }

.hero2__title-group {
    width: fit-content;
    transition: opacity .4s ease;
}
.hero2__title-group.is-hidden { opacity: 0; }
.hero2__fact {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: normal;
    color: rgba(247,244,238,.65);
    letter-spacing: .06em;
    margin: 6px 0 0;
    text-align: right;
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transition: clip-path .75s linear, opacity .2s ease;
}
.hero2__fact.is-in {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
}
.hero2__fact.is-out {
    clip-path: inset(0 0% 0 0);
    opacity: 0;
    transition: opacity .3s ease;
}
.hero2__fact.is-hidden {
    opacity: 0;
    transition: opacity .45s var(--ease);
}


/* ============================================================
   БЛОК ЗАХВАТА ЗАЯВКИ (lead-)
   ============================================================ */
.lead {
    background: var(--bg);
    padding: 80px var(--pad-x);
    position: relative;
    z-index: 2;
}
.lead__container {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.lead__heading {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.02em;
    margin: 0 0 12px;
}
.lead__sub {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 40px;
}
.lead__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}
.lead__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.lead__input, .lead__textarea {
    background: rgba(247,244,238,.05);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-size: .95rem;
    font-family: inherit;
    padding: 14px 18px;
    outline: none;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}
.lead__input::placeholder, .lead__textarea::placeholder { color: rgba(247,244,238,.35); }
.lead__input:focus, .lead__textarea:focus { border-color: rgba(217,210,197,.5); }
.lead__textarea { min-height: 68px; resize: vertical; }
.lead__btn {
    background: var(--accent);
    color: #11140F;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .01em;
    border: none;
    border-radius: 10px;
    padding: 16px 24px;
    cursor: pointer;
    transition: opacity .2s;
    width: 100%;
}
.lead__btn:hover { opacity: .85; }
.lead__btn:disabled { cursor: wait; opacity: .6; }
.lead__fine {
    color: rgba(247,244,238,.3);
    font-size: .78rem;
    text-align: center;
    margin: 4px 0 0;
}
.lead__message {
    min-height: 1.4em;
    margin: 2px 0 0;
    color: rgba(247,244,238,.7);
    font-size: .84rem;
    text-align: center;
}
.lead__message--ok { color: #8fd09b; }
.lead__message--err { color: #ff9e93; }
@media (max-width: 600px) {
    .lead { padding: 60px 22px; }
    .lead__row { grid-template-columns: 1fr; }
}

/* ============================================================
   ФАКТЫ / ПОЧЕМУ МЫ (facts-)
   ============================================================ */
.facts {
    background: var(--bg);
    padding: 64px var(--pad-x);
    position: relative;
    z-index: 2;
}
.facts__container {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
}
.facts__main {
    padding-right: 48px;
}
.facts__heading {
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.02em;
    margin: 0 0 14px;
}
.facts__rating {
    display: flex;
    align-items: baseline;
    gap: 6px 14px;
    flex-wrap: wrap;
    font-size: .9rem;
    color: var(--muted);
}
.facts__rating-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}
.facts__rating-sep { color: var(--line); }
.facts__rating-link {
    display: block;
    margin-top: 10px;
    color: rgba(217,210,197,.5);
    text-decoration: none;
    border-bottom: 1px solid rgba(217,210,197,.18);
    font-size: .8rem;
    width: fit-content;
    transition: color .2s;
}
.facts__rating-link:hover { color: var(--accent); }
.facts__feature {
    padding: 0 40px;
}
.facts__feature:last-child { padding-right: 0; }
.facts__label {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}
.facts__desc {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 768px) {
    .facts__container { grid-template-columns: 1fr; }
    .facts__main { padding-right: 0; border-right: none; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
    .facts__feature { padding: 24px 0 0; border-right: none; }
    .facts__feature:last-child { padding-right: 0; }
}
@media (max-width: 600px) {
    .facts { padding: 48px 22px; }
}

/* ============================================================
   ЦИТАТЫ (qt-)
   ============================================================ */
.qt {
    background: #FAF6F0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px var(--pad-x);
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-top: 1px solid rgba(17,20,15,.08);
}
.qt__container { max-width: 860px; text-align: center; position: relative; }
.qt__title {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(17, 20, 15, 0.45);
    margin: 0 0 32px;
}
.qt__mark {
    position: absolute;
    top: -24px;
    left: -16px;
    font-size: clamp(6rem, 12vw, 10rem);
    line-height: 1;
    color: rgba(255, 209, 102, 0.18);
    font-family: Georgia, serif;
    user-select: none;
    pointer-events: none;
}
.qt__text {
    font-size: clamp(1.35rem, 3.2vw, 2.1rem);
    font-weight: 500;
    color: #1A1F1C;
    line-height: 1.48;
    letter-spacing: -.01em;
    font-style: italic;
    margin: 0 0 28px;
    transition: opacity .5s var(--ease);
}
.qt__text.is-fade { opacity: 0; }
.qt__author {
    font-size: .9rem;
    color: rgba(17, 20, 15, 0.72);
    margin: 0;
    transition: opacity .5s var(--ease);
}
.qt__author.is-fade { opacity: 0; }
.qt__author-name { font-weight: 600; color: #B8712A; }
@media (max-width: 600px) {
    .qt { padding: 40px 22px; }
}

/* ============================================================
   О ТУРАХ + КАК УСТРОЕНО (hw-)
   ============================================================ */
.hw {
    background: #FAF6F0;
    padding: 80px var(--pad-x);
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(17,20,15,.06);
}
.hw__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
}
/* Левая колонка */
.hw__about-title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 300;
    letter-spacing: -.02em;
    margin: 0 0 28px;
    color: #1A1F1C;
}
.hw__about-text {
    font-size: .92rem;
    line-height: 1.75;
    color: rgba(17, 20, 15, 0.78);
    margin: 0 0 16px;
}
.hw__about-text:last-child { margin-bottom: 0; }
/* Правая колонка */
.hw__nav-title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 300;
    letter-spacing: -.02em;
    margin: 0 0 28px;
    color: #1A1F1C;
}
.hw__links { border-top: 1px solid rgba(17, 20, 15, 0.12); }
.hw__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(17, 20, 15, 0.12);
    font-size: .95rem;
    font-weight: 400;
    color: rgba(17, 20, 15, 0.78);
    text-decoration: none;
    transition: color .2s;
}
.hw__link span {
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform .2s;
    color: rgba(17, 20, 15, 0.35);
}
.hw__link:hover { color: #1A1F1C; }
.hw__link:hover span { transform: translateX(4px); color: #1A1F1C; }
.hw__all {
    display: inline-block;
    margin-top: 20px;
    font-size: .8rem;
    color: rgba(17, 20, 15, 0.5);
    text-decoration: none;
    letter-spacing: .03em;
    transition: color .2s;
}
.hw__all:hover { color: #1A1F1C; }
@media (max-width: 900px) {
    .hw__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
    .hw { padding: 56px 22px; }
}

/* ============================================================
   НОВЫЙ ФУТЕР (ft-)
   ============================================================ */
.ft {
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
    padding: 56px var(--pad-x) 40px;
    color: var(--muted);
}
.ft__inner {
    max-width: var(--container);
    margin: 0 auto;
}
.ft__body {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}
/* Колонка бренда */
.ft__brand {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none;
    margin-bottom: 12px;
}
.ft__logo { width: 44px; height: auto; display: block; }
.ft__brand-name {
    font-size: 1.25rem; font-weight: 500;
    color: var(--text);
    letter-spacing: -.02em;
}
.ft__tagline {
    font-size: .82rem;
    font-style: italic;
    color: rgba(247,244,238,.38);
    margin: 0 0 22px;
    letter-spacing: .02em;
}
.ft__social { display: flex; gap: 18px; }
.ft__soc {
    color: rgba(247,244,238,.3);
    text-decoration: none;
    line-height: 1;
    transition: color .18s;
}
.ft__soc img { width: 32px; height: 32px; }
.ft__soc:hover { color: var(--accent); }
/* Колонка навигации */
.ft__col-title {
    display: block;
    font-size: .7rem; font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(247,244,238,.3);
    margin-bottom: 18px;
}
.ft__nav { display: flex; flex-direction: column; gap: 11px; }
.ft__nav-link {
    font-size: .84rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .18s;
}
.ft__nav-link:hover { color: var(--text); }
/* Колонка контактов */
.ft__col--contacts { display: flex; flex-direction: column; gap: 18px; }
.ft__phone {
    font-size: 1.1rem; font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: color .18s;
}
.ft__phone:hover { color: var(--accent); }
.ft__messengers { display: flex; flex-direction: column; gap: 10px; }
.ft__msg {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .92rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .18s;
}
.ft__msg img { width: 20px; height: 20px; flex-shrink: 0; }
.ft__msg:hover { color: var(--text); }
/* Нижняя строка */
.ft__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
.ft__copy { display: flex; flex-direction: row; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.ft__tm { font-size: .75rem; color: var(--muted); }
.ft__city { font-size: .71rem; color: rgba(247,244,238,.3); }
.ft__legal { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
.ft__lnk {
    font-size: .78rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .18s;
}
.ft__lnk:hover { color: var(--text); }
/* Дисклеймер */
.ft__disclaimer {
    font-size: .625rem;
    line-height: 1.4;
    color: rgba(247,244,238,.2);
    margin: 0;
}
.ft__disc-link {
    color: rgba(247,244,238,.28);
    text-decoration: underline dotted;
    transition: color .18s;
}
.ft__disc-link:hover { color: rgba(247,244,238,.5); }
@media (max-width: 900px) {
    .ft__body { grid-template-columns: 1fr 1fr; }
    .ft__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .ft { padding: 40px 22px 32px; }
    .ft__body { grid-template-columns: 1fr; gap: 28px; }
    .ft__col--brand { grid-column: auto; }
    .ft__bottom { flex-direction: column; align-items: flex-start; }
    .ft__copy { flex-direction: column; gap: 3px; }
}

/* ============================================================
   КОНТЕНТНЫЕ СТРАНИЦЫ (cpg-)
   ============================================================ */

/* --- Шапка страницы без изображения --- */
.cpg-head {
    padding: 110px var(--pad-x) 56px;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
}
.cpg-head__inner {
    max-width: 860px;
    margin: 0 auto;
}
.cpg-head__title {
    margin: 0 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--text);
}
.cpg-head__sub {
    margin: 0;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.5;
}

/* --- Хлебные крошки --- */
.cpg-crumbs {
    margin-bottom: 24px;
}
.cpg-crumbs ol {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.cpg-crumbs li {
    display: flex;
    align-items: center;
    font-size: .75rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
}
.cpg-crumbs li + li::before {
    content: '/';
    margin: 0 10px;
    opacity: .3;
}
.cpg-crumbs a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.cpg-crumbs a:hover { color: var(--text); }
.cpg-crumbs [aria-current="page"] { color: var(--accent); }

/* --- Основная область --- */
.cpg-main {
    background: var(--bg);
    min-height: 50vh;
}
.cpg-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 64px var(--pad-x) 96px;
}

/* ===== Контент-блок: все теги без классов ===== */
.cpg-body {
    max-width: 720px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.78;
}

/* Заголовки */
.cpg-body h1,
.cpg-body h2,
.cpg-body h3,
.cpg-body h4,
.cpg-body h5,
.cpg-body h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
    margin: 2em 0 .55em;
}
.cpg-body > :first-child { margin-top: 0; }

.cpg-body h1 {
    font-size: 2.1rem;
    letter-spacing: -.025em;
}
.cpg-body h2 {
    font-size: 1.55rem;
    letter-spacing: -.015em;
    padding-bottom: .4em;
    border-bottom: 1px solid var(--line);
}
.cpg-body h3 {
    font-size: 1.2rem;
    letter-spacing: -.01em;
}
.cpg-body h4 {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0;
}
.cpg-body h5 {
    font-size: .85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
}
.cpg-body h6 {
    font-size: .78rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--muted);
    opacity: .65;
}

/* Параграфы */
.cpg-body p { margin: 0 0 1.2em; }

/* Ссылки */
.cpg-body a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(217, 210, 197, .28);
    text-underline-offset: 3px;
    transition: text-decoration-color .2s;
}
.cpg-body a:hover { text-decoration-color: var(--accent); }

/* Жирный и курсив */
.cpg-body strong { font-weight: 600; color: var(--text); }
.cpg-body em { font-style: italic; color: var(--muted); }

/* Списки */
.cpg-body ul,
.cpg-body ol {
    margin: 0 0 1.2em;
    padding-left: 0;
}
.cpg-body ul { list-style: none; }
.cpg-body ul li {
    position: relative;
    padding-left: 1.4em;
    margin-bottom: .4em;
}
.cpg-body ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted);
    opacity: .45;
}
.cpg-body ol {
    list-style: decimal;
    padding-left: 1.4em;
}
.cpg-body ol li { margin-bottom: .4em; }
.cpg-body ol li::marker {
    color: var(--muted);
    font-size: .9em;
}
.cpg-body ul ul,
.cpg-body ol ol,
.cpg-body ul ol,
.cpg-body ol ul {
    margin: .4em 0 .4em;
}

/* Цитата */
.cpg-body blockquote {
    margin: 1.75em 0;
    padding: 1em 1.5em;
    border-left: 2px solid var(--accent);
    background: rgba(217, 210, 197, .04);
    border-radius: 0 6px 6px 0;
}
.cpg-body blockquote p {
    margin: 0;
    font-style: italic;
    color: var(--muted);
    font-size: 1.05rem;
}

/* Код */
.cpg-body code {
    font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
    font-size: .875em;
    padding: .15em .4em;
    background: rgba(247, 244, 238, .07);
    border-radius: 4px;
    color: var(--accent);
}
.cpg-body pre {
    margin: 1.5em 0;
    padding: 1.25em 1.5em;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow-x: auto;
}
.cpg-body pre code {
    background: none;
    padding: 0;
    font-size: .875rem;
    color: var(--text);
    border-radius: 0;
}

/* Горизонтальный разделитель */
.cpg-body hr {
    margin: 2.5em 0;
    border: none;
    border-top: 1px solid var(--line);
}

/* Изображения */
.cpg-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 1.5em 0;
}
.cpg-body figure { margin: 2em 0; }
.cpg-body figcaption {
    margin-top: .5em;
    font-size: .8rem;
    color: var(--muted);
    text-align: center;
    font-style: italic;
}

/* Таблицы */
.cpg-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: .9rem;
}
.cpg-body th,
.cpg-body td {
    padding: .65em 1em;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
.cpg-body th {
    font-weight: 600;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    border-bottom-color: rgba(247, 244, 238, .28);
}
.cpg-body tr:last-child td { border-bottom: none; }
.cpg-body tr:hover td { background: rgba(247, 244, 238, .02); }

/* --- Адаптив --- */
@media (max-width: 768px) {
    .cpg-head { padding: 90px 24px 40px; }
    .cpg-wrap { padding: 40px 24px 64px; }
    .cpg-body { font-size: .96rem; }
    .cpg-body h2 { font-size: 1.3rem; }
    .cpg-body h3 { font-size: 1.1rem; }
    .cpg-body table { font-size: .82rem; }
    .cpg-body th,
    .cpg-body td { padding: .5em .75em; }
}

/* ── Ковровый разделитель (перед футером) — тёмная тема ────── */
.ornament-border {
    position: relative;
    height: 60px;
    background-color: var(--bg);
    background-image: url('../ornament-border-dark.svg');
    background-repeat: repeat-x;
    background-size: 80px 60px;
    background-position: bottom left;
    overflow: visible;
    opacity: .55;
    user-select: none;
}
.ornament-border .fringe-svg {
    position: absolute;
    top: 54px;
    left: 0;
    width: 100%;
    overflow: visible;
    pointer-events: auto;
    cursor: default;
}

/* ============================================================
   НОВАЯ ВОЛНОВАЯ КОНЦЕПЦИЯ (v7c1g) — Мягкий Мед & Янтарно-Угольное Море
   ============================================================ */
:root {
    --gold: #FFD166; /* Мягкая золотисто-желтая пена волны (неопасный теплый мед) */
    --dark-olive: #241A10; /* Янтарно-угольный глубокий океан */
    --cream-light: #FAF6F0; /* Жемчужно-песчаный нежный берег */
    --sand-bg: #FAF6F0;
}

/* Настройки Хиро (без фото) */
.hero2 {
    background: radial-gradient(circle at 50% 40%, #241A10 0%, #0F0B07 85%) !important; /* Глубокое янтарное ночное море */
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(340px, 45svh, 460px) !important; /* Уменьшенная высота */
    padding: 90px 24px 40px !important; /* Уменьшенные отступы */
    overflow: hidden;
}
@media (max-width: 768px) {
    .hero2 {
        min-height: 280px !important; /* Очень компактно на мобильных */
        padding: 72px 16px 28px !important;
    }
    .hero-top-badge {
        margin-bottom: 12px !important;
    }
    .hero2-v3-cta {
        margin-top: 18px !important;
    }
}
.hero2::before, .hero2::after { display: none !important; }
.hero2__bg { display: none !important; }

/* Облака с параллаксом при скролле */
.hero-clouds-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.16; /* Едва заметный стильный туман */
}
.cloud-layer {
    position: absolute;
    width: 160%;
    height: 100%;
    left: -30%;
    background: radial-gradient(circle at 15% 40%, rgba(255,255,255,0.06) 0%, transparent 40%),
                radial-gradient(circle at 55% 45%, rgba(255,255,255,0.07) 0%, transparent 35%),
                radial-gradient(circle at 85% 30%, rgba(255,255,255,0.05) 0%, transparent 45%);
    transition: transform 0.1s ease-out; /* Плавное смещение параллакса */
}
.cloud-1 {
    top: 0;
}
.cloud-2 {
    top: 15%;
    opacity: 0.8;
}

/* === V6 (f): горный разделитель (водный прилив) =============== */
.tc2 { background: #FAF6F0 !important; }

/* --- Адаптация карточек туров под светлый кремовый фон --------- */
.tc2-card {
    background: #FFFFFF;
    box-shadow:
        0 1px 2px rgba(17, 20, 15, .05),
        0 10px 30px rgba(17, 20, 15, .08),
        0 0 0 1px rgba(17, 20, 15, .04);
    transition: transform .25s ease, box-shadow .25s ease;
}
.tc2-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 2px rgba(17, 20, 15, .06),
        0 18px 40px rgba(17, 20, 15, .12),
        0 0 0 1px rgba(255, 209, 102, .25);
}
.tc2-card__body { background: #FFFFFF !important; }

/* Заголовок секции/фильтр-бар на кремовом */
.tc2__filters-label {
    color: rgba(17, 20, 15, .82) !important;
    opacity: 1 !important;
}

.tc2__filter {
    color: rgba(17, 20, 15, .72) !important;
    border-color: rgba(17, 20, 15, .18) !important;
}
.tc2__filter:hover {
    color: #1A1F1C !important;
    border-color: rgba(17, 20, 15, .42) !important;
    background: rgba(17, 20, 15, .04) !important;
}
.tc2__filter.is-active {
    background: #1A1F1C !important;
    color: #FAF6F0 !important;
    border-color: #1A1F1C !important;
}

/* Выбранный вариант тура: золотистая рамка */
.tc2-variant:has(input:checked) {
    background: rgba(255, 209, 102, .10) !important;
    border-color: rgba(255, 209, 102, .70) !important;
}
.tc2-variant:hover {
    background: rgba(17, 20, 15, .04);
}

/* Разделитель внутри карточки */
.tc2-card__footer { border-top-color: rgba(17, 20, 15, .08) !important; }
.tc2-card__price-block { border-right-color: rgba(17, 20, 15, .10) !important; }

.hero-divider {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 90px;
    z-index: 5;
    pointer-events: none;
}
@media (max-width: 768px) {
    .hero-divider { height: 60px; }
}
.hero-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}
/* Заливка нижней половины — цвет следующего блока (влажный песок). */
.hero-divider-fill {
    fill: #FAF6F0;
}
/* Светящаяся золотистая пена по краю береговой линии */
.hero-divider-stroke-base {
    fill: none;
    stroke: rgba(255, 209, 102, 0.28);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.hero-divider-stroke {
    fill: none;
    stroke: #FFD166;
    stroke-width: 2.0;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.85));
    animation: divider-glow-breath 4s ease-in-out infinite alternate;
}
@keyframes divider-glow-breath {
    0% { opacity: 0.75; filter: drop-shadow(0 0 5px rgba(255, 209, 102, 0.6)); }
    100% { opacity: 1.0; filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.95)); }
}

/* Верхний золотой бейдж */
.hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(200, 166, 89, 0.22);
    background: rgba(24, 29, 20, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px; /* Уменьшен отступ */
}

/* Стилизация заголовка хиро */
.hero2__inner {
    position: relative;
    z-index: 4;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.hero2__title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero2__rotator {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(2.2rem, 6vw, 4.2rem) !important; /* Уменьшен размер шрифта */
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--gold);
    text-shadow: 0 0 35px rgba(200, 166, 89, 0.18);
    margin-bottom: 6px; /* Уменьшен отступ */
}
.hero2__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700 !important;
    font-size: clamp(1.5rem, 4vw, 2.6rem) !important; /* Уменьшен размер шрифта */
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 auto;
    max-width: 24ch;
}
.hero2__fact {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-top: 20px;
    opacity: 0.85;
    min-height: 24px;
}

/* Hero CTA кнопки */
.hero2-v3-cta {
    display: flex; gap: 12px; flex-wrap: nowrap; margin-top: 24px; justify-content: center; align-items: center; /* Уменьшен отступ */
}
.hero2-v3-cta__btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; border-radius: 999px;
    font-size: 16px; font-weight: 600; letter-spacing: .01em;
    text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer; border: 0;
}
.hero2-v3-cta__btn--primary {
    background: var(--gold); color: #1A1B17;
    box-shadow: 0 6px 32px rgba(200,166,89,.35);
}
.hero2-v3-cta__btn--primary:hover { transform: translateY(-1px); box-shadow:0 10px 36px rgba(200,166,89,.45); }
.hero2-v3-cta__btn--icon {
    padding: 0; width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,.1); color:#fff;
    border: 1px solid rgba(255,255,255,.3); backdrop-filter:blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center; flex-shrink: 0;
}
.hero2-v3-cta__btn--icon:hover { transform: translateY(-1px); }
.hero2-v3-cta__btn--icon svg { width: 20px; height: 20px; }
/* Фирменные цвета сразу (как раньше было при наведении) */
.hero2-v3-cta__btn--wa { background: #25D366; border-color: #25D366; box-shadow: 0 6px 22px rgba(37,211,102,.30); }
.hero2-v3-cta__btn--tg { background: #2AABEE; border-color: #2AABEE; box-shadow: 0 6px 22px rgba(42,171,238,.30); }
.hero2-v3-cta__btn--wa:hover { background: #1FB855; border-color: #1FB855; }
.hero2-v3-cta__btn--tg:hover { background: #1D9BDB; border-color: #1D9BDB; }
.hero2-v3-cta__btn svg { width: 18px; height: 18px; }

@media (max-width:640px){
    .hero2-v3-cta { padding: 0 16px; gap: 8px; }
    .hero2-v3-cta__btn--primary { padding: 14px 22px; font-size: 15px; flex: 1; justify-content: center; min-width: 0; }
    .hero2-v3-cta__btn--icon { width: 46px; height: 46px; }
}

.tc2-card__photo {
    aspect-ratio: 16/9.5 !important;
}

.tc2__filters-label{
    font-size:.75rem; letter-spacing:.1em; text-transform:uppercase;
    color:var(--muted); opacity:.7; margin-right:4px; align-self:center;
    white-space:nowrap;
}

.tc2-card__info-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 10;
    pointer-events: none;
}
.tc2-card__info-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 11px;
    border-radius: var(--nv2-radius-pill);
    background: rgba(10, 12, 8, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(200, 166, 89, 0.32);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
