/* ============================================================
   HOTELS — css/hotels.css
   Компоненты: hl- (список отелей)  +  ht- (страница отеля)
   Зависит от: css/new_style.css
   ============================================================ */

/* ============================================================
   СПИСОК ОТЕЛЕЙ (hl-)
   ============================================================ */

/* ── Хиро ────────────────────────────────────────────────── */
.hl-hero {
    position: relative;
    height: clamp(300px, 46dvh, 520px);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.hl-hero__bg {
    position: absolute;
    inset: 0;
}
.hl-hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.hl-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(17,20,15,.35) 0%,
        rgba(17,20,15,.72) 65%,
        rgba(17,20,15,.94) 100%);
}
.hl-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad-x) 52px;
}
.hl-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 0.73rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: .8;
}
.hl-hero__h1 {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
}
.hl-hero__sub {
    margin: 0;
    max-width: 540px;
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--muted);
}

/* ── Интро-полоса ────────────────────────────────────────── */
.hl-intro {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
}
.hl-intro__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px var(--pad-x);
}
.hl-intro__text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--muted);
}

/* ── Sticky-фильтры ──────────────────────────────────────── */
.hl-filters-wrap {
    position: sticky;
    top: 72px;
    z-index: 90;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
}
@media (max-width: 768px) { .hl-filters-wrap { top: 0; } }

.hl-filters {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.hl-filters__main {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.hl-filters__main::-webkit-scrollbar { display: none; }

/* Универсальный чип */
.hl-chip {
    flex-shrink: 0;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: color .18s, border-color .18s, background .18s;
}
.hl-chip:hover { color: var(--text); border-color: rgba(247,244,238,.35); }
.hl-chip.is-active {
    background: rgba(217,210,197,.1);
    border-color: rgba(217,210,197,.4);
    color: var(--text);
}

/* Кнопка «Фильтры» */
.hl-filters-toggle {
    flex-shrink: 0;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: color .18s, border-color .18s, background .18s;
}
.hl-filters-toggle:hover { color: var(--text); border-color: rgba(247,244,238,.35); }
.hl-filters-toggle.is-active {
    background: rgba(217,210,197,.1);
    border-color: rgba(217,210,197,.4);
    color: var(--text);
}
.hl-filters-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--bg-deep);
    font-size: 0.65rem;
    font-weight: 700;
}
.hl-toggle-icon { transition: transform .25s; }
.hl-filters-toggle.is-active .hl-toggle-icon { transform: rotate(180deg); }

/* Расширенная панель */
.hl-filters-panel { display: none; border-top: 1px solid var(--line); }
.hl-filters-panel.is-open { display: block; }
.hl-filters-panel__inner {
    padding: 16px 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
}
@media (max-width: 640px) {
    .hl-filters-panel__inner { flex-direction: column; gap: 16px; }
}
.hl-filters-group { min-width: 180px; }
.hl-filters-group__label {
    margin: 0 0 8px;
    font-size: 0.72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: .65;
}
.hl-filters-group__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hl-filters-footer { width: 100%; padding-top: 4px; }
.hl-filters-reset {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
    opacity: .65;
    transition: opacity .18s;
}
.hl-filters-reset:hover { opacity: 1; }

/* ── Секция с сеткой ─────────────────────────────────────── */
.hl-section {
    background: var(--bg-deep);
    padding: 40px 0 72px;
}
.hl-section__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.hl-meta { display: flex; align-items: center; margin-bottom: 28px; }
.hl-count { margin: 0; font-size: 0.85rem; color: var(--muted); }
.hl-count strong { color: var(--text); font-weight: 600; }

/* Сетка */
.hl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .hl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .hl-grid { grid-template-columns: 1fr; } }

/* ── Карточка отеля ──────────────────────────────────────── */
.hl-card {
    background: #F2EDE4;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform .22s var(--ease);
}
.hl-card:hover {
    transform: translateY(-2px);
}
.hl-card.is-hidden { display: none; }

.hl-card__photo-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    flex-shrink: 0;
}
.hl-card__photo {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .45s var(--ease);
}
.hl-card:hover .hl-card__photo { transform: scale(1.04); }

.hl-card__badges {
    position: absolute;
    top: 10px; left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.hl-type-badge {
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: .04em;
    background: rgba(17,20,15,.65);
    backdrop-filter: blur(4px);
}
.hl-type-badge--hotel      { color: #7898c0; }
.hl-type-badge--glamping   { color: #7aaa86; }
.hl-type-badge--apartment  { color: #c0a882; }
.hl-type-badge--base       { color: #9a84b4; }
.hl-type-badge--sanatorium { color: #6aafaa; }

.hl-recommend-badge {
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(17,20,15,.65);
    backdrop-filter: blur(4px);
    color: #c8972f;
}

.hl-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hl-card__location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.73rem;
    color: rgba(17,20,15,.48);
    margin-bottom: 7px;
}
.hl-card__name {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1A1F1C;
}
.hl-card__name a { color: inherit; text-decoration: none; }
.hl-card__name a:hover { color: #1A1F1C; }

.hl-card__desc {
    margin: 0 0 8px;
    font-size: 0.83rem;
    line-height: 1.55;
    color: rgba(17,20,15,.75);
    flex: 1;
}
.hl-card__comment {
    margin: 0 0 12px;
    padding: 8px 12px;
    border-left: 2px solid rgba(17,20,15,.15);
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(17,20,15,.65);
    font-style: italic;
}
.hl-card__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 14px;
}
.hl-amenity-tag {
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(17,20,15,.06);
    border: 1px solid rgba(17,20,15,.12);
    font-size: 0.72rem;
    color: rgba(17,20,15,.6);
}
.hl-card__footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(17,20,15,.1);
}
.hl-card__price { font-size: 0.82rem; color: rgba(17,20,15,.52); }
.hl-price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1F1C;
    margin: 0 2px;
}
.hl-card__btn {
    padding: 7px 16px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: rgba(17,20,15,.65);
    font-size: 0.8rem;
    font-family: inherit;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dotted rgba(17,20,15,.3);
    white-space: nowrap;
    transition: color .18s, border-color .18s;
}
.hl-card__btn:hover {
    color: #1A1F1C;
    border-bottom-color: rgba(17,20,15,.65);
}

/* ── Пустое состояние ────────────────────────────────────── */
.hl-empty { display: none; text-align: center; padding: 64px 0; }
.hl-empty.is-visible { display: block; }
.hl-empty__icon { font-size: 2.5rem; margin-bottom: 16px; }
.hl-empty__title { margin: 0 0 8px; font-size: 1.1rem; font-weight: 600; }
.hl-empty__text  { margin: 0 0 20px; font-size: 0.9rem; color: var(--muted); }
.hl-empty__reset {
    padding: 9px 22px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: background .18s, border-color .18s;
}
.hl-empty__reset:hover { background: rgba(247,244,238,.06); border-color: rgba(247,244,238,.3); }

/* ── Нижний CTA ──────────────────────────────────────────── */
.hl-cta {
    background: var(--bg);
    padding: 64px 0;
    border-top: 1px solid var(--line);
}
.hl-cta__inner {
    max-width: 580px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
    text-align: center;
}
.hl-cta__title { margin: 0 0 12px; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 600; }
.hl-cta__text  { margin: 0 0 28px; font-size: 0.95rem; line-height: 1.65; color: var(--muted); }
.hl-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.hl-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
}
.hl-cta__btn:hover { opacity: .9; transform: translateY(-1px); }
.hl-cta__btn--wa { background: #25d366; color: #fff; }
.hl-cta__btn--tg { background: #0088cc; color: #fff; }
.hl-cta__btn svg { fill: currentColor; }


/* ============================================================
   СТРАНИЦА ОТЕЛЯ (ht-)
   ============================================================ */

/* ── Галерея — Airbnb-стиль ──────────────────────────────── */
.ht-gallery { position: relative; }
.ht-gallery__wrap {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 4px;
    height: clamp(300px, 38vw, 520px);
    overflow: hidden;
    position: relative;
}
/* Тёмный градиент сверху — для читаемости навигации */
.ht-gallery__wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(17,20,15,.6) 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}
.ht-gallery__main { overflow: hidden; cursor: pointer; }
.ht-gallery__main img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s var(--ease);
}
.ht-gallery__main:hover img { transform: scale(1.03); }

.ht-gallery__side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
}
.ht-gallery__thumb { overflow: hidden; cursor: pointer; }
.ht-gallery__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s var(--ease);
}
.ht-gallery__thumb:hover img { transform: scale(1.05); }

/* +N фото — оверлей на последнем тумбе */
.ht-gallery__thumb--more { position: relative; }
.ht-gallery__more {
    position: absolute;
    inset: 0;
    background: rgba(17,20,15,.52);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.ht-gallery__thumb--more:hover .ht-gallery__more { background: rgba(17,20,15,.32); }
.ht-gallery__more-label {
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: -.01em;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

/* Скрытые дополнительные фото для лайтбокса */
.ht-gallery__extras { display: none; }

@media (max-width: 768px) {
    .ht-gallery__wrap {
        grid-template-columns: 1fr;
        height: 260px;
    }
    .ht-gallery__side { display: none; }
}

/* ── Контентная секция ───────────────────────────────────── */
.ht-content-section {
    background: var(--bg);
    padding: 40px 0 88px;
}
.ht-content-section__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

/* ── 2-колоночный лейаут ─────────────────────────────────── */
.ht-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
}
@media (max-width: 1024px) {
    .ht-layout { grid-template-columns: 1fr; gap: 36px; }
    .ht-layout__sidebar { order: -1; }
}

/* ── Кнопка «назад» ──────────────────────────────────────── */
.ht-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .18s;
}
.ht-back:hover { color: var(--text); }
.ht-back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Мета: тип + рейтинг + локация ─────────────────────── */
.ht-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.ht-type-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: .04em;
    background: rgba(120,152,192,.15);
    color: #7898c0;
}
.ht-recommend-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(200,151,47,.15);
    color: #c8972f;
}
.ht-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ── Заголовок ───────────────────────────────────────────── */
.ht-heading {
    margin: 0 0 20px;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
}

/* ── Описание ────────────────────────────────────────────── */
.ht-desc { margin-bottom: 24px; }
.ht-desc p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(247,244,238,.82);
}

/* ── Комментарий редакции ────────────────────────────────── */
.ht-editor-comment {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 28px;
    background: rgba(247,244,238,.04);
    border: 1px solid rgba(247,244,238,.1);
    border-radius: 10px;
}
.ht-editor-comment__icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(217,210,197,.1);
    color: var(--accent);
}
.ht-editor-comment__label {
    margin: 0 0 6px;
    font-size: 0.72rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: .7;
}
.ht-editor-comment__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--muted);
    font-style: italic;
}

/* ── Плюсы и минусы ──────────────────────────────────────── */
.ht-verdict {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
@media (max-width: 640px) { .ht-verdict { grid-template-columns: 1fr; } }

.ht-verdict__col-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ht-verdict__col-title svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none; stroke-width: 2.5;
}
.ht-verdict__col-title--pro { color: #7aaa86; }
.ht-verdict__col-title--con { color: #c87060; }

.ht-verdict__list { margin: 0; padding: 0; list-style: none; }
.ht-verdict__item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(247,244,238,.05);
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(247,244,238,.8);
}
.ht-verdict__item:last-child { border-bottom: none; }
.ht-verdict-marker { font-size: 0.85rem; flex-shrink: 0; }
.ht-verdict-marker--pro { color: #7aaa86; }
.ht-verdict-marker--con { color: #c87060; }

/* ── Удобства ────────────────────────────────────────────── */
.ht-amenities { margin-bottom: 36px; }
.ht-amenities__label {
    margin: 0 0 12px;
    font-size: 0.72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: .65;
}
.ht-amenities__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ht-amenity {
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(247,244,238,.06);
    border: 1px solid rgba(247,244,238,.1);
    font-size: 0.8rem;
    color: var(--muted);
}

/* ── Номера и цены ───────────────────────────────────────── */
.ht-rooms { margin-bottom: 40px; }
.ht-rooms__title { margin: 0 0 18px; font-size: 1.25rem; font-weight: 600; }
.ht-rooms__list { display: flex; flex-direction: column; gap: 16px; }

.ht-room {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(247,244,238,.04);
    border: 1px solid rgba(247,244,238,.1);
}
.ht-room--no-photo { grid-template-columns: 1fr; }
@media (max-width: 640px) { .ht-room { grid-template-columns: 1fr; } }

.ht-room__photo { overflow: hidden; }
.ht-room__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    min-height: 130px;
    transition: transform .45s var(--ease);
}
.ht-room:hover .ht-room__photo img { transform: scale(1.04); }

.ht-room__body { padding: 16px 20px; display: flex; flex-direction: column; }
.ht-room__name { margin: 0 0 10px; font-size: 0.975rem; font-weight: 600; }

.ht-room__features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.ht-room-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--muted);
}
.ht-room-feature svg {
    width: 13px; height: 13px;
    stroke: currentColor; fill: none; stroke-width: 1.75; opacity: .6;
}
.ht-room__desc {
    margin: 0 0 12px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--muted);
    flex: 1;
}
.ht-room__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.ht-room__price { font-size: 0.82rem; color: var(--muted); }
.ht-room__price-value { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.ht-room__meal {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.73rem;
    background: rgba(247,244,238,.06);
    border: 1px solid rgba(247,244,238,.1);
    color: var(--muted);
}

/* ── Отзывы ──────────────────────────────────────────────── */
.ht-reviews { margin-bottom: 0; }
.ht-reviews__title { margin: 0 0 18px; font-size: 1.25rem; font-weight: 600; }
.ht-reviews__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 640px) { .ht-reviews__grid { grid-template-columns: 1fr; } }

.ht-review-quote {
    margin: 0;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(247,244,238,.1);
    font-size: 0.83rem;
    line-height: 1.6;
    color: var(--muted);
    font-style: normal;
    position: relative;
}
.ht-review-quote::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    border-radius: 3px 0 0 3px;
}
.ht-review-quote--pro { background: rgba(122,170,134,.05); }
.ht-review-quote--pro::before { background: rgba(122,170,134,.4); }
.ht-review-quote--con { background: rgba(200,112,96,.05); }
.ht-review-quote--con::before { background: rgba(200,112,96,.35); }
.ht-review-quote p { margin: 0; }

/* ── Сайдбар ─────────────────────────────────────────────── */
.ht-layout__sidebar { position: sticky; top: 88px; align-self: start; }
.ht-sidebar-card {
    background: rgba(247,244,238,.04);
    border: 1px solid rgba(247,244,238,.12);
    border-radius: 14px;
    padding: 24px;
}
.ht-sidebar__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}
.ht-sidebar__price-from { font-size: 0.8rem; color: var(--muted); }
.ht-sidebar__price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.ht-sidebar__price-unit { font-size: 0.82rem; color: var(--muted); }
.ht-sidebar__price-note {
    margin: 0 0 18px;
    font-size: 0.75rem;
    color: var(--muted);
    opacity: .6;
    line-height: 1.5;
}
.ht-sidebar__wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    background: #25d366;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 16px;
    transition: opacity .2s;
}
.ht-sidebar__wa-btn:hover { opacity: .9; }
.ht-sidebar__wa-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.ht-sidebar__divider { border: none; border-top: 1px solid var(--line); margin: 14px 0; }
.ht-sidebar__section-title {
    margin: 0 0 8px;
    font-size: 0.72rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: .6;
}
.ht-sidebar__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: color .18s;
}
.ht-sidebar__phone:hover { color: var(--accent); }
.ht-sidebar__phone svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none; stroke-width: 1.75; opacity: .6;
}
.ht-sidebar__map-links { display: flex; flex-direction: column; gap: 8px; }
.ht-sidebar__map-link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .18s;
}
.ht-sidebar__map-link:hover { color: var(--text); }
.ht-sidebar__map-link svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none; stroke-width: 1.75; opacity: .7;
}
.ht-sidebar__map-rating { margin-left: auto; font-size: 0.78rem; color: #c8972f; }

/* Раскрывашка «Хочу тур» */
.ht-tour-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}
.ht-tour-trigger:hover { color: var(--accent); }
.ht-tour-trigger__icon {
    flex-shrink: 0;
    width: 15px; height: 15px;
    stroke: currentColor; fill: none; stroke-width: 2;
    transition: transform .25s var(--ease);
}
.ht-tour-trigger.is-open .ht-tour-trigger__icon { transform: rotate(180deg); }

.ht-tour-form-wrap { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.ht-tour-form-wrap.is-open { max-height: 520px; }

.ht-tour-form { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.ht-form-input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(247,244,238,.2);
    background: rgba(247,244,238,.06);
    color: var(--text);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color .18s;
}
.ht-form-input::placeholder { color: var(--muted); opacity: .7; }
.ht-form-input:focus { border-color: rgba(217,210,197,.5); }
.ht-form-submit {
    padding: 11px;
    border-radius: 8px;
    border: 1px solid rgba(217,210,197,.3);
    background: rgba(217,210,197,.12);
    color: var(--text);
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s;
}
.ht-form-submit:hover { background: rgba(217,210,197,.22); }

/* ── Секция фидбека ──────────────────────────────────────── */
.ht-feedback-section {
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
    padding: 40px 0;
}
.ht-feedback-section__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.ht-feedback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.ht-feedback__title { margin: 0 0 6px; font-size: 1rem; font-weight: 600; }
.ht-feedback__desc {
    margin: 0;
    font-size: 0.83rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 520px;
}
.ht-feedback__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    background: rgba(37,211,102,.1);
    border: 1px solid rgba(37,211,102,.25);
    color: #25d366;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s;
}
.ht-feedback__btn:hover { background: rgba(37,211,102,.18); }
.ht-feedback__btn svg { fill: currentColor; }

/* ── Лайтбокс ────────────────────────────────────────────── */
.ht-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(17,20,15,.95);
    align-items: center;
    justify-content: center;
}
.ht-lightbox.is-open { display: flex; }
.ht-lightbox__content {
    max-width: 90vw;
    max-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ht-lightbox__img {
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 4px;
}
.ht-lightbox__close,
.ht-lightbox__prev,
.ht-lightbox__next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247,244,238,.1);
    border: 1px solid rgba(247,244,238,.2);
    color: var(--text);
    cursor: pointer;
    border-radius: 50%;
    transition: background .18s;
    font-size: 1rem;
}
.ht-lightbox__close:hover,
.ht-lightbox__prev:hover,
.ht-lightbox__next:hover { background: rgba(247,244,238,.22); }
.ht-lightbox__close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 1.4rem; }
.ht-lightbox__prev { top: 50%; left: 16px; transform: translateY(-50%); width: 44px; height: 44px; }
.ht-lightbox__next { top: 50%; right: 16px; transform: translateY(-50%); width: 44px; height: 44px; }
.ht-lightbox__counter {
    position: absolute;
    bottom: 16px; left: 50%;
    transform: translateX(-50%);
    font-size: 0.82rem;
    color: var(--muted);
}

/* ── Мобильные отступы ───────────────────────────────────── */
@media (max-width: 768px) {
    .hl-hero__inner,
    .hl-intro__inner,
    .hl-section__inner,
    .hl-filters,
    .hl-cta__inner {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hl-hero__inner { padding-bottom: 40px; }
    .ht-content-section__inner,
    .ht-feedback-section__inner {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hl-section { padding-top: 28px; padding-bottom: 48px; }
}

/* ============================================================
   СВЕТЛАЯ ТЕМА ДЛЯ СТРАНИЦЫ ОТЕЛЯ (.theme-light)
   ============================================================ */
.theme-light {
    --bg: #FAF9F6;
    --bg-deep: #F3F1EC;
    --accent: #8E7C68;
    --text: #1E2220;
    --muted: rgba(30, 34, 32, 0.65);
    --line: rgba(30, 34, 32, 0.12);
}

/* Галерея: ширина контент-области, отцентрирована, отступ под шапку */
.theme-light .ht-gallery {
    padding-top: 104px;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
}
.theme-light .ht-gallery__wrap {
    grid-template-columns: 3fr 2fr;
    gap: 6px;
    height: clamp(240px, 24vw, 360px);
    border-radius: 14px;
}
.theme-light .ht-gallery__wrap::before {
    display: none;
}
/* Главное фото справа */
.theme-light .ht-gallery__main {
    grid-column: 2;
    grid-row: 1;
}
/* Сетка из 6 маленьких фото слева (3 колонки × 2 ряда) */
.theme-light .ht-gallery__side {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
}

/* Шапка nv2 и выпадающее меню на светлой теме */
.theme-light.nv2-scrolled .nv2-list {
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08) !important;
}
.theme-light .nv2-sub {
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(30, 34, 32, 0.1) !important;
}
.theme-light .nv2-link,
.theme-light .nv2-logo,
.theme-light .nv2-lang {
    color: var(--text) !important;
}
.theme-light .flip-card-back {
    color: var(--accent) !important;
}

/* Глобальный блок вынесенного заголовка */
.ht-header-block {
    margin-bottom: 24px;
}

/* Кнопки с бокс-сайзингом */
.theme-light .ht-sidebar__wa-btn,
.theme-light .ht-feedback__btn,
.theme-light .ht-form-submit,
.theme-light .ht-tour-trigger {
    box-sizing: border-box !important;
}

/* Улучшенная кнопка «Хочу тур с этим отелем» */
.theme-light .ht-tour-trigger {
    background: rgba(142, 124, 104, 0.08) !important;
    border: 1px dashed var(--accent) !important;
    color: var(--accent) !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: background .2s, color .2s !important;
    margin-top: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    border-bottom: 1px dashed var(--accent) !important;
}
.theme-light .ht-tour-trigger:hover {
    background: rgba(142, 124, 104, 0.16) !important;
    color: #756654 !important;
}

/* Внутренние компоненты страницы */
.theme-light .ht-editor-comment {
    background: rgba(30, 34, 32, 0.03);
    border-color: rgba(30, 34, 32, 0.08);
    display: block !important;
}
.theme-light .ht-editor-comment__header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}
.theme-light .ht-editor-comment__icon {
    background: rgba(30, 34, 32, 0.05);
    color: var(--accent);
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
}
.theme-light .ht-editor-comment__label {
    margin: 0 !important;
}
.theme-light .ht-editor-comment__text {
    margin-top: 8px !important;
    width: 100% !important;
}
.theme-light .ht-desc p {
    color: rgba(30, 34, 32, 0.85);
}
.theme-light .ht-verdict__item {
    border-bottom-color: rgba(30, 34, 32, 0.06);
    color: rgba(30, 34, 32, 0.85);
}
.theme-light .ht-amenity {
    background: rgba(30, 34, 32, 0.03);
    border-color: rgba(30, 34, 32, 0.08);
    color: var(--muted);
}
.theme-light .ht-room {
    background: #FFFFFF;
    border-color: rgba(30, 34, 32, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.theme-light .ht-room__price-value {
    color: var(--text);
}
.theme-light .ht-room__meal {
    background: rgba(30, 34, 32, 0.03);
    border-color: rgba(30, 34, 32, 0.08);
    color: var(--muted);
}
.theme-light .ht-review-quote {
    border-color: rgba(30, 34, 32, 0.08);
}
.theme-light .ht-review-quote--pro {
    background: rgba(122, 170, 134, 0.08);
}
.theme-light .ht-review-quote--con {
    background: rgba(200, 112, 96, 0.06);
}
.theme-light .ht-sidebar-card {
    background: #FFFFFF;
    border-color: rgba(30, 34, 32, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.theme-light .ht-form-input {
    border-color: rgba(30, 34, 32, 0.15);
    background: #FFFFFF;
    color: var(--text);
}
.theme-light .ht-form-input:focus {
    border-color: var(--accent);
}
.theme-light .ht-form-submit {
    border-color: var(--accent);
    background: var(--accent);
    color: #FFFFFF;
}
.theme-light .ht-form-submit:hover {
    background: #756654;
    border-color: #756654;
}

/* Ограничения для полноэкранного лайтбокса (сохраняем тёмным) */
.theme-light .ht-lightbox__close,
.theme-light .ht-lightbox__prev,
.theme-light .ht-lightbox__next {
    color: #FFFFFF !important;
}
.theme-light .ht-lightbox__counter {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Адаптивность для мобильных экранов */
@media (max-width: 768px) {
    .theme-light .ht-gallery {
        padding-top: 76px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .theme-light .ht-gallery__wrap {
        grid-template-columns: 1fr;
        height: 260px;
        border-radius: 8px;
    }
    .theme-light .ht-gallery__main {
        grid-column: auto;
        grid-row: auto;
    }
    .theme-light .ht-gallery__side {
        display: none;
    }
    .theme-light .ht-header-block {
        margin-bottom: 12px;
    }
    .theme-light .ht-content-section {
        padding-top: 18px; /* подняли контент выше, было 40px */
    }
    .theme-light .ht-back {
        margin-bottom: 10px; /* приблизили крошки к заголовку, было 20px */
    }
    .theme-light .ht-meta {
        margin-bottom: 8px; /* приблизили мета-информацию, было 14px */
    }
}

@media (max-width: 640px) {
    .theme-light .ht-feedback {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
    .theme-light .ht-feedback__btn {
        width: 100% !important;
        justify-content: center !important;
    }
}
