/* Страницы статей luxtravels.ru. Один файл на весь блог: правится здесь —
   меняется на всех страницах сразу, ничего пересобирать не нужно. */

:root {
    --ink: #1d2530;
    --muted: #6b7686;
    --gold: #b08d3f;
    --line: #e6e2da;
    --bg: #fbfaf8;
    --card: #ffffff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.7 "Georgia", "Times New Roman", serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }

/* ---------------------------------------------------------------- шапка */

/* Шапка едет за читателем: статья длинная, и без липкой полосы человек,
   дочитавший до середины, не имеет на экране ни одного способа написать. */
.head {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    padding: 12px 32px; background: #fff; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-face {
    width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
    background: #efece6; flex-shrink: 0;
}
.head-right { display: flex; align-items: center; gap: 22px; }
.head-cta {
    display: inline-block; padding: 9px 22px; background: var(--gold); color: #fff;
    text-decoration: none; border-radius: 4px; white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px; letter-spacing: .03em;
}
.head-cta:hover { background: #c9a355; color: #fff; }
.head-burger {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 38px; padding: 0; border: 0; background: none;
    color: var(--ink); cursor: pointer;
}
.brand-name {
    display: block; font-size: 13px; letter-spacing: .3em;
    text-transform: uppercase; color: var(--gold);
}
.brand-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

.menu { display: flex; gap: 22px; flex-wrap: wrap; }
.menu a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px; color: var(--ink); text-decoration: none;
}
.menu a:hover { color: var(--gold); }

/* С четырьмя направлениями в меню семь пунктов; на 1024–1180 с зазорами 22px
   правая часть шапки уезжала под логотип, и липкая шапка занимала 133px.
   Ужимаем зазоры и поля — ряд помещается в одну строку и на 1024. */
@media (min-width: 900px) and (max-width: 1180px) {
    .head { gap: 14px; padding-left: 20px; padding-right: 20px; }
    .head-right { gap: 14px; }
    .menu { gap: 13px; }
    .head-cta { padding: 9px 16px; }
}

/* ------------------------------------------------------- подпись у статьи */

/* Читатель приходит из поиска и с площадок, лендинга он не видел: под
   заголовком должно быть видно, кто это пишет и почему ему верить. */
.byline { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; }
.byline-face {
    width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
    background: #efece6; flex-shrink: 0;
}
.byline-who { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 15px; color: var(--ink); }
.byline-what {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 13px; color: var(--muted); margin-top: 2px;
}

/* ---------------------------------------------------------------- статья */

.main { max-width: 720px; margin: 0 auto; padding: 40px 24px 20px; }

.crumbs {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px; color: var(--muted); margin-bottom: 18px;
}
.crumbs a { color: var(--muted); }

.article h1 {
    font-size: 36px; line-height: 1.22; font-weight: 400; margin: 0 0 20px;
}
.article .lead {
    font-size: 20px; line-height: 1.6; color: #3c4757;
    padding-left: 18px; border-left: 3px solid var(--gold); margin-bottom: 28px;
}
.body p { margin: 0 0 20px; }
.body h2 {
    font-size: 23px; font-weight: 400; margin: 36px 0 14px; color: var(--ink);
}

/* ---------------------------------------------------------------- фото */

.pic {
    margin: 34px 0;
    padding: 0;
}
.pic img {
    display: block; width: 100%; height: auto;
    aspect-ratio: 3 / 2; object-fit: cover;
    border-radius: 8px; background: #efece6;
}
.pic figcaption {
    margin-top: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px; line-height: 1.5; color: var(--muted);
}
/* Вертикальный кадр: пропорции 3:4, колонкой по центру и уже текста —
   портретный снимок нельзя резать под 3:2, от человека остаётся полоса. */
.pic-v img { aspect-ratio: 3 / 4; max-width: 460px; margin: 0 auto; }
.pic-v figcaption { max-width: 460px; margin-left: auto; margin-right: auto; }

/* Инфографика: схему нельзя обрезать под пропорции кадра — показываем целиком.
   Фон у схемы тот же, что у страницы, поэтому белой плашки под ней нет.
   Ограничиваем высоту, а не ширину: вертикальная схема во всю ширину колонки
   занимала весь первый экран, и читатель видел три яруса из шести вместо всей
   картины, а широкая таблица от такого ограничения не страдает. */
.pic-info img {
    aspect-ratio: auto; object-fit: contain; background: transparent;
    width: auto; max-width: 100%; max-height: 580px; margin: 0 auto;
}
.pic-info figcaption { max-width: 620px; margin-left: auto; margin-right: auto; }
.pic-info.pic-cover img { aspect-ratio: auto; }

.pic-credit { color: #9aa3af; }
.pic-credit a { color: #9aa3af; text-decoration: none; }
.pic-credit a:hover { color: var(--gold); }

/* Обложка шире колонки текста: страница открывается кадром, а не стеной букв.
   На узком экране выходит на всю ширину, поэтому углы там убираем. */
.pic-cover {
    margin: 0 0 30px;
}
.pic-cover img { aspect-ratio: 16 / 9; }

@media (min-width: 900px) {
    .pic-cover { margin-left: -60px; margin-right: -60px; }
}

@media (max-width: 640px) {
    .pic { margin: 26px 0; }
    .pic-cover { margin: 0 -18px 24px; }
    .pic-cover img { border-radius: 0; }
    .pic-cover figcaption { padding: 0 18px; }
}

/* ------------------------------------------------- оговорка и подпись */

.pricenote {
    margin: 30px 0 0; padding: 14px 18px;
    background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold);
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px; line-height: 1.6; color: var(--muted);
}

.sign {
    margin: 34px 0 0; padding: 22px 24px;
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.sign-who {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 8px;
}
.sign-text { margin: 0 0 16px; font-size: 16px; color: var(--ink); }
.sign-links { display: flex; gap: 10px; flex-wrap: wrap; }
.sign-links a {
    display: inline-block; padding: 9px 18px;
    border: 1px solid var(--line); border-radius: 999px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px; text-decoration: none; color: var(--ink);
}
.sign-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------------------------------------------------------------- список */

.index h1 { font-size: 34px; font-weight: 400; margin: 0 0 10px; }
.index-sub { color: var(--muted); margin: 0 0 32px; }
.cards { display: grid; gap: 16px; }
.card {
    display: block; padding: 22px 24px; background: var(--card);
    border: 1px solid var(--line); border-radius: 8px;
    text-decoration: none; color: var(--ink);
}
.card:hover { border-color: var(--gold); }
.card h2 { font-size: 21px; font-weight: 400; margin: 0 0 8px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card-meta {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px; color: var(--gold); text-transform: uppercase;
    letter-spacing: .08em; margin-bottom: 8px;
}
.hs-card-status { color: var(--muted); }
.card-date {
    text-transform: none; letter-spacing: 0; color: var(--muted);
}
.empty { color: var(--muted); }

/* ---------------------------------------------------------------- заявка */

.cta {
    max-width: 720px; margin: 40px auto 0; padding: 34px 32px;
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    text-align: center;
}
.cta h2 { font-size: 25px; font-weight: 400; margin: 0 0 12px; }
.cta p { color: var(--muted); margin: 0 0 22px; }
.cta-btn {
    display: inline-block; padding: 15px 40px; background: var(--gold);
    color: #fff; text-decoration: none; letter-spacing: .06em;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 15px;
}
.cta-btn:hover { background: #c9a355; }

.lead-form { max-width: 680px; margin: 0 auto; text-align: left; }

/* Форма под лидом статьи (12.09.2026): та же, что и внизу, но во всю ширину
   колонки и по левому краю — как текст, под которым она стоит. До формы в конце
   лонгрида доезжают немногие, поэтому основная теперь верхняя. */
.cta-top { max-width: none; margin: 0 0 34px; text-align: left; }
.cta-top h2 { font-size: 22px; }
.cta-top .lead-form { max-width: none; margin: 0; }
.lead-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-input {
    flex: 1 1 150px; padding: 13px 14px; background: #fff;
    border: 1px solid var(--line); border-radius: 6px;
    font: inherit; font-size: 15px; box-sizing: border-box;
}
.lead-submit {
    flex: 0 0 auto; padding: 13px 26px; background: var(--gold); color: #fff;
    border: none; border-radius: 6px; cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 15px;
}
.lead-submit:hover { background: #c9a355; }
.lead-submit:disabled { opacity: .7; }
.lead-status { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 13px; margin: 10px 0 0; color: var(--muted); }
.lead-status.is-ok { color: #2f7a3d; }
.lead-status.is-error { color: #b3413a; }
.lead-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-alt {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px; color: var(--muted); margin: 18px 0 0;
}

/* ---------------------------------------------------------------- подвал */

.foot {
    margin-top: 50px; padding: 26px 32px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px; color: var(--muted);
}

.foot-copy { margin-top: 6px; }
.foot-right { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.foot-social { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-social a { color: var(--muted); text-decoration: none; }
.foot-social a:hover { color: var(--gold); }

@media (max-width: 640px) {
    .foot-right { align-items: flex-start; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .main { padding: 26px 18px 10px; }
    .article h1 { font-size: 27px; }
    .article .lead { font-size: 18px; }
    .cta { padding: 26px 20px; border-radius: 0; }

    /* На телефоне липкая полоса должна быть тонкой: лицо, название, кнопка
       и бургер в одну строку. Меню — по нажатию на бургер, коротким списком
       под шапкой: те же семь пунктов, что на десктопе. До 11.09.2026 меню на
       телефоне было только в подвале, и читатель со статьи до направлений
       не доходил. */
    .head { padding: 9px 12px 9px 16px; gap: 10px; flex-wrap: nowrap; }
    .head-right { gap: 8px; }
    .head .menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; gap: 0; padding: 0 16px 6px;
        background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: 0 10px 24px rgba(29, 37, 48, 0.08);
    }
    .head.menu-open .menu { display: flex; }
    .head .menu a { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
    .head-burger { display: inline-flex; }
    .head.menu-open .head-burger { color: var(--gold); }
    .brand-sub { display: none; }
    .brand-face { width: 36px; height: 36px; }
    .head-cta { padding: 8px 14px; font-size: 13px; }

    /* В колонку flex-basis задаёт высоту, поэтому его надо сбросить —
       иначе поля вытягиваются на 170 px каждое. */
    .lead-row { flex-direction: column; }
    .lead-input { flex: 0 0 auto; width: 100%; }
    .lead-submit { width: 100%; }
}

/* ---------------------------------------------------------- отели у статьи */

@media (min-width: 1024px) {
    .main.article-page { max-width: 980px; }
}

.article-columns { display: flex; flex-direction: column; gap: 36px; margin: 8px 0 6px; }
.article-main { min-width: 0; }

.hotel-sidebar {
    background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px;
    min-width: 0;
}
.hs-eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--gold); margin: 0 0 6px;
}
.hs-title { font-size: 18px; font-weight: 400; margin: 0 0 16px; color: var(--ink); }
.hs-list { display: grid; gap: 12px; margin-bottom: 16px; }
.hs-card {
    display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink);
    padding: 6px; margin: -6px; border-radius: 6px; transition: background .2s;
}
.hs-card:hover { background: var(--bg); }
.hs-card img {
    width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex-shrink: 0;
    background: #efece6;
}
.hs-card-info { min-width: 0; }
/* Названия длинные («Four Seasons Resort Seychelles at Desroches Island»):
   в одну строку они распирают колонку, поэтому переносим и обрезаем на второй. */
.hs-card-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px; line-height: 1.3; margin-bottom: 3px; overflow: hidden;
}
.hs-card-price {
    display: block; font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px; color: var(--gold);
}
.hs-note {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px; line-height: 1.5; color: var(--muted); margin: 0 0 14px;
}
.hs-all-link {
    display: inline-block; font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
}


@media (min-width: 1024px) {
    .article-columns { flex-direction: row; align-items: flex-start; gap: 40px; }
    .article-main { flex: 1 1 auto; }
    .hotel-sidebar { flex: 0 0 280px; order: -1; }
}

/* ---------------------------------------------------------------- связность */

.related {
    margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line);
}
.related h2 { font-size: 20px; font-weight: 400; margin: 0 0 16px; }
.rel-list { display: grid; gap: 10px; }
.rel-item {
    display: block; padding: 14px 16px; background: #fff;
    border: 1px solid var(--line); border-radius: 6px;
    text-decoration: none; color: var(--ink); font-size: 16px; line-height: 1.4;
}
.rel-item:hover { border-color: var(--gold); }
.rel-item span {
    display: block; font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 5px;
}
.rel-all { margin: 14px 0 0; font-size: 15px; }

.topics { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.topic-pill {
    padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px;
    background: #fff; text-decoration: none; color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 14px;
}
.topic-pill:hover { border-color: var(--gold); color: var(--gold); }
.topic-pill b { color: var(--muted); font-weight: 400; }

.group { margin-bottom: 38px; }
.group-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px; margin-bottom: 14px;
}
.group-head h2 { font-size: 24px; font-weight: 400; margin: 0; }
.group-head a {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 14px;
}

.archive {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin: -18px 0 32px; padding-top: 4px;
}
.archive .topic-pill { font-size: 13px; padding: 5px 13px; }
.topic-pill.is-active {
    border-color: var(--gold); color: var(--gold); background: #fff;
}

/* ---------------------------------------------------------------- cookie */
/* Плашка про cookie — та же, что на основном сайте: полоса внизу на телефоне,
   карточка слева внизу на десктопе, без затемнения. Разметку создаёт скрипт
   в layout.html; после «Хорошо» отметка год живёт в localStorage. */
.ltw-cookie {
    position: fixed; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 40; display: flex; align-items: center; gap: 14px;
    padding: 12px 12px 12px 16px;
    background: var(--bg); color: var(--ink);
    border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(29, 37, 48, 0.16);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px; line-height: 1.45;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease; pointer-events: none;
}
.ltw-cookie.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ltw-cookie p { margin: 0; flex: 1 1 auto; }
.ltw-cookie a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; white-space: nowrap; }
.ltw-cookie-ok {
    flex: 0 0 auto; padding: 10px 18px; background: var(--ink); color: #fff;
    border: 0; font: inherit; letter-spacing: 0.04em; cursor: pointer; transition: background 0.2s ease;
}
.ltw-cookie-ok:hover { background: var(--gold); }
@media (min-width: 768px) {
    .ltw-cookie { left: 0; right: 0; bottom: 0; justify-content: center; gap: 20px; padding: 10px 24px; border-width: 1px 0 0; box-shadow: 0 -6px 24px rgba(29, 37, 48, 0.08); }
    .ltw-cookie p { flex: 0 1 auto; }
    .ltw-cookie-ok { padding: 7px 16px; }
}

/* Согласие под формой заявки и ссылка на политику в подвале */
.lead-privacy {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px; line-height: 1.5; color: var(--muted); margin: 10px 0 0;
}
.lead-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.foot-policy { display: inline-block; margin-top: 6px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.foot-policy:hover { color: var(--gold); }

/* ------------------------------------------------ кнопка связи (телефон) */
/* Та же, что на сайте: круг в правом нижнем углу, по нажатию три иконки —
   Telegram, WhatsApp, звонок. Только на ширинах до 1023 px. Над плашкой
   cookie поднимается (--cookie-lift ставит скрипт плашки). */
.contact-fab {
    position: fixed; right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px) + var(--cookie-lift, 0px));
    z-index: 45; display: none; flex-direction: column; align-items: center; gap: .7rem;
    transition: bottom .35s ease;
}
@media (max-width: 1023px) { .contact-fab { display: flex; } }
.contact-fab-btn {
    width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 0; padding: 0;
    display: grid; place-items: center; background: #1a1f2e; color: #d4af77; cursor: pointer;
    box-shadow: 0 10px 28px rgba(26,31,46,.32), 0 0 0 1px rgba(212,175,119,.35);
    transition: transform .25s ease; -webkit-tap-highlight-color: transparent;
}
.contact-fab-btn:active { transform: scale(.94); }
.contact-fab-ico { grid-area: 1 / 1; transition: opacity .2s ease, transform .25s ease; }
.contact-fab-ico--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.contact-fab.is-open .contact-fab-ico--open { opacity: 0; transform: rotate(90deg) scale(.6); }
.contact-fab.is-open .contact-fab-ico--close { opacity: 1; transform: none; }
.contact-fab-menu { display: flex; flex-direction: column; align-items: center; gap: .7rem; pointer-events: none; }
.contact-fab.is-open .contact-fab-menu { pointer-events: auto; }
.contact-fab-item {
    display: block; border-radius: 50%; text-decoration: none;
    box-shadow: 0 8px 22px rgba(26,31,46,.26); opacity: 0; transform: translateY(12px) scale(.85);
    transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.3,1.1); -webkit-tap-highlight-color: transparent;
}
.contact-fab.is-open .contact-fab-item { opacity: 1; transform: none; }
.contact-fab.is-open .contact-fab-item:nth-child(3) { transition-delay: 0s; }
.contact-fab.is-open .contact-fab-item:nth-child(2) { transition-delay: .05s; }
.contact-fab.is-open .contact-fab-item:nth-child(1) { transition-delay: .1s; }
.contact-fab-icon {
    width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
    color: #fff; border: 2px solid #fff;
}
.contact-fab-icon--wa { background: #25d366; }
.contact-fab-icon--tg { background: #2aabee; }
.contact-fab-icon--call { background: #1a1f2e; color: #d4af77; }
@media (prefers-reduced-motion: reduce) {
    .contact-fab, .contact-fab-btn, .contact-fab-ico, .contact-fab-item { transition: none; }
}
