/* =============================================================================
   «Хитте Балтика» — публичные стили
   Светлая природная палитра: бумага, хвоя, янтарь
   ============================================================================= */

:root {
    --bg:           #f7f5ef;
    --bg-soft:      #efebe1;
    --panel:        #ffffff;
    --panel-2:      #f4f1e9;
    --line:         rgba(36, 50, 44, .12);
    --line-strong:  rgba(36, 50, 44, .24);
    --text:         #22302b;
    --muted:        #61716a;
    --accent:       #9d6b13;
    --accent-dark:  #7d540e;
    --accent-soft:  rgba(157, 107, 19, .12);
    --sea:          #47806f;
    --danger:       #b04338;
    --success:      #2f7a46;
    --radius:       18px;
    --radius-sm:    12px;
    --shadow:       0 22px 55px rgba(43, 53, 47, .16);
    --container:    1240px;
    --serif:        'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --sans:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 16px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--soft { background: var(--bg-soft); }
.section--panel { background: linear-gradient(180deg, var(--panel), var(--bg)); border-block: 1px solid var(--line); }

.eyebrow {
    font: 500 12px/1 var(--sans);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 14px;
}
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 100px;
    border: 1px solid transparent;
    font: 500 15px/1 var(--sans);
    white-space: nowrap;
    transition: transform .18s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fdfbf5; box-shadow: 0 12px 30px rgba(157, 107, 19, .25); }
.btn--accent:hover { background: #855a0f; color: #fdfbf5; }
.btn--outline { border-color: var(--line-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { color: var(--text); padding-inline: 12px; }
.btn--ghost:hover { color: var(--accent); }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--small { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Topbar ---------- */
.topbar {
    background: #f0ece2;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--muted);
}
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 42px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__social { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: var(--accent); }
.topbar__phone { color: var(--text); font-weight: 500; }
.topbar__hours { opacity: .8; }

/* ---------- Шапка ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(14px);
    background: rgba(247, 245, 239, .88);
    border-bottom: 1px solid var(--line);
    transition: background .25s ease, box-shadow .25s ease;
}
.header.is-scrolled { background: rgba(250, 249, 245, .97); box-shadow: 0 10px 28px rgba(43, 53, 47, .10); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { max-height: 44px; width: auto; }
.logo__mark {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 22px;
    border: 1px solid rgba(157, 107, 19, .38);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__text strong { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .02em; }
.logo__text small { color: var(--muted); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
    padding: 10px 14px;
    border-radius: 100px;
    font-size: 15px;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav__link:hover { background: rgba(36, 50, 44, .05); color: var(--accent); }
.nav__link.is-active { color: var(--accent); background: var(--accent-soft); }
.nav__caret { font-size: 10px; opacity: .7; }
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 230px;
    padding: 10px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.nav__dropdown-menu a { padding: 9px 12px; border-radius: 10px; font-size: 14.5px; }
.nav__dropdown-menu a:hover { background: rgba(36, 50, 44, .06); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; padding: 12px 11px; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
.burger span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease, transform 6s linear;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6, 10, 9, .55) 0%, rgba(6, 10, 9, .35) 35%, rgba(6, 10, 9, .92) 100%);
    pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding: clamp(70px, 12vh, 150px) 0 clamp(40px, 6vh, 70px); max-width: 900px; color: #f6f3ea; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .10); color: #f6f3ea;
    font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
    margin-bottom: 22px;
}
.hero h1 { margin-bottom: 18px; text-shadow: 0 6px 40px rgba(0, 0, 0, .5); }
.hero__subtitle { font-size: clamp(1rem, 1.6vw, 1.25rem); color: #d5d2c9; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .btn--outline { border-color: rgba(255, 255, 255, .45); color: #f6f3ea; }
.hero .btn--outline:hover { border-color: #e2b55e; color: #e2b55e; }
.hero__dots { position: absolute; z-index: 3; bottom: 28px; right: 24px; display: flex; gap: 8px; }
.hero__dot { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .3); }
.hero__dot.is-active { background: var(--accent); }

/* ---------- Панель бронирования ---------- */
.booking-bar-wrap { position: relative; z-index: 5; margin-top: -44px; }
.booking-bar {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr .8fr auto;
    gap: 14px;
    align-items: end;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f6f3ea);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.booking-bar__hint { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* ---------- Поля форм ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > label { font-size: 13.5px; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 13px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: #ffffff;
    color: var(--text);
    font: 400 15px/1.4 var(--sans);
    transition: border-color .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(157, 107, 19, .06);
}
.field input::placeholder, .field textarea::placeholder { color: #6f7a75; }
.field--row { flex-direction: row; gap: 12px; }
.field--row > .field { flex: 1; margin: 0; }
.field__error { color: var(--danger); font-size: 12.5px; }
.field--inline { flex-direction: row; align-items: center; gap: 10px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form__grid .field--full { grid-column: 1 / -1; }
.form__result { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 14.5px; }
.form__result.is-error { background: rgba(176, 67, 56, .08); border: 1px solid rgba(176, 67, 56, .35); color: #8f2b22; }
.form__result.is-success { background: rgba(47, 122, 70, .10); border: 1px solid rgba(47, 122, 70, .35); color: #1f6b34; }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 4px 0 16px; }
.checkbox input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.checkbox a { color: var(--accent); text-decoration: underline; }

/* ---------- Карточки ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(157, 107, 19, .38); }
.card__icon { font-size: 26px; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 15px; }

.room-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.room-card:hover { transform: translateY(-4px); border-color: rgba(157, 107, 19, .38); box-shadow: 0 18px 40px rgba(43, 53, 47, .14); }
.room-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e7e3d8; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .room-card__media img { transform: scale(1.05); }
.room-card__badge {
    position: absolute; top: 14px; left: 14px;
    padding: 7px 13px; border-radius: 100px;
    background: rgba(247, 245, 239, .88);
    border: 1px solid var(--line-strong);
    font-size: 12.5px; letter-spacing: .04em;
}
.room-card__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.room-card__title { margin: 0; }
.room-card__text { color: var(--muted); font-size: 14.5px; flex: 1; }
.room-card__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--muted); }
.room-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.room-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.room-card__price { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.room-card__price small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 15px; border-radius: 100px;
    border: 1px solid var(--line);
    background: #ffffff;
    font-size: 14px;
}
.chip--accent { border-color: rgba(157, 107, 19, .45); background: var(--accent-soft); color: #7d540e; }

/* ---------- Карточки впечатлений ---------- */
.exp-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); min-height: 340px; display: flex; align-items: flex-end; background: #e7e3d8; }
.exp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exp-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 10, 9, .1), rgba(6, 10, 9, .9)); }
.exp-card__body { position: relative; z-index: 2; padding: 24px; color: #f4f1e8; }
.exp-card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.exp-card p { color: #cfd3cc; font-size: 14.5px; }

/* ---------- Список удобств ---------- */
.list-check { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.list-check li { position: relative; padding-left: 28px; color: #3f4d47; font-size: 15px; }
.list-check li::before { content: '✦'; position: absolute; left: 0; top: 0; color: var(--accent); }

/* ---------- Галерея ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; aspect-ratio: 4 / 3; background: #e7e3d8; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__caption {
    position: absolute; inset: auto 0 0 0;
    padding: 30px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(6, 10, 9, .9));
    color: #f4f1e8;
    font-size: 14px;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filters a { padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line); font-size: 14px; }
.filters a.is-active { background: var(--accent); border-color: var(--accent); color: #fdfbf5; }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(4, 7, 6, .94); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; border-radius: 12px; }
.lightbox__close { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; }
.lightbox__nav { position: absolute; bottom: 26px; display: flex; gap: 14px; }
.lightbox__nav button { background: rgba(255,255,255,.1); border: 1px solid var(--line-strong); color: #fff; border-radius: 100px; padding: 10px 20px; }

/* ---------- Отзывы ---------- */
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review__stars { color: var(--accent); letter-spacing: 3px; }
.review__text { color: #3f4d47; font-size: 15px; flex: 1; }
.review__author { font-size: 14px; color: var(--muted); }
.review__author strong { color: var(--text); font-weight: 500; }

.reviews-slider { position: relative; }
.reviews-track { display: grid; gap: 18px; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.reviews-track > * { scroll-snap-align: start; }

/* ---------- Аккордеон FAQ ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
    width: 100%; background: none; border: 0; color: var(--text);
    padding: 22px 44px 22px 0; text-align: left; position: relative;
    font-family: var(--serif); font-size: 1.2rem;
}
.accordion__trigger::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 24px; font-family: var(--sans); }
.accordion__item.is-open .accordion__trigger::after { content: '–'; }
.accordion__panel { display: none; padding: 0 40px 22px 0; color: var(--muted); }
.accordion__item.is-open .accordion__panel { display: block; }

/* ---------- Внутренние страницы ---------- */
.page-hero {
    position: relative;
    padding: clamp(60px, 9vw, 120px) 0 clamp(30px, 5vw, 60px);
    background: radial-gradient(120% 120% at 12% 0%, rgba(157, 107, 19, .10), transparent 45%), linear-gradient(180deg, #eeeae0, var(--bg));
    border-bottom: 1px solid var(--line);
}
.page-hero p { color: var(--muted); max-width: 640px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--accent); }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose p, .prose li { color: #3f4d47; }
.prose ul { padding-left: 20px; }

/* ---------- Страница бронирования ---------- */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .95fr); gap: 28px; align-items: start; }
.booking-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.booking-panel + .booking-panel { margin-top: 22px; }
.booking-panel h2 { font-size: 1.5rem; }
.booking-panel--sticky { position: sticky; top: 100px; }

.steps { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.step { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.step.is-active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.step__num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(36, 50, 44, .08); font-size: 12px; }

.offer { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfaf6; margin-bottom: 14px; }
.offer img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }
.offer h3 { margin: 0 0 6px; font-size: 1.15rem; }
.offer__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.offer__footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.offer__price { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.offer__price small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.offer.is-selected { border-color: var(--accent); background: var(--accent-soft); }

.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.summary-line span:last-child { color: var(--text); white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: end; padding-top: 16px; font-family: var(--serif); font-size: 26px; color: var(--accent); }
.summary-total small { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }

.empty-state { padding: 26px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); text-align: center; color: var(--muted); }
.loader { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(36, 50, 44, .25); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.contact-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-row h3 { margin: 0 0 4px; font-size: 1.05rem; font-family: var(--sans); font-weight: 500; }
.contact-row p { color: var(--muted); font-size: 14.5px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: #e7e3d8; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- CTA-полоса ---------- */
.cta-band { background: linear-gradient(120deg, rgba(157, 107, 19, .10), rgba(71, 128, 111, .08)), var(--panel-2); border-block: 1px solid var(--line); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(36px, 5vw, 60px) 24px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band__text { color: var(--muted); max-width: 560px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Подвал ---------- */
.footer { background: #f0ece2; border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 72px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 44px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--muted); }
.footer__col h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin: 0 0 6px; font-weight: 500; }
.footer__col p { font-size: 14px; color: var(--muted); }
.footer__col--about p { max-width: 340px; }
.footer__phone { font-family: var(--serif); font-size: 22px; color: var(--text); }
.footer__social { display: flex; gap: 14px; margin-top: 8px; }
.footer__social a { font-size: 13.5px; }
.footer__muted { opacity: .75; font-size: 13px; }
.footer__bottom { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 20px 24px 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.footer__bottom a { text-decoration: underline; }
.footer__legal { opacity: .8; }

/* ---------- Модальные окна, flash, cookie, to-top ---------- */
.modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; }
.modal__overlay { position: absolute; inset: 0; background: rgba(33, 40, 36, .45); backdrop-filter: blur(4px); }
.modal__dialog { position: relative; z-index: 2; width: min(520px, 100%); max-height: 90vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.modal__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; }
.modal__close:hover { color: var(--accent); }
.modal__text { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }

.flash { padding: 14px 0; font-size: 14.5px; }
.flash--success { background: rgba(47, 122, 70, .12); color: #1f6b34; }
.flash--error { background: rgba(176, 67, 56, .10); color: #8f2b22; }
.flash--info { background: rgba(71, 128, 111, .10); color: #1f5f52; }

.cookie {
    position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 90;
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    padding: 16px 20px; border-radius: var(--radius-sm);
    background: #ffffff; border: 1px solid var(--line); box-shadow: var(--shadow);
    font-size: 13.5px; color: var(--muted);
}
.cookie p { margin: 0; flex: 1; min-width: 240px; }
.cookie a { color: var(--accent); text-decoration: underline; }

.to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 80;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-strong); background: #ffffff; color: var(--text);
    opacity: 0; visibility: hidden; transition: .25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }

[hidden] { display: none !important; }

/* ---------- Адаптивность ---------- */
@media (max-width: 1080px) {
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .booking-bar { grid-template-columns: 1fr 1fr; }
    .booking-bar .btn { grid-column: 1 / -1; }
    .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .booking-layout { grid-template-columns: 1fr; }
    .booking-panel--sticky { position: static; }
    .contacts-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .topbar__hours, .topbar__address { display: none; }
    .topbar__inner { justify-content: space-between; }
    .topbar__social { margin-left: 0; gap: 12px; }
    .burger { display: block; }
    .nav {
        position: fixed; inset: 76px 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 4px;
        padding: 18px 24px 26px;
        background: #f7f5ef; border-bottom: 1px solid var(--line);
        transform: translateY(-120%); transition: transform .3s ease;
        max-height: calc(100vh - 76px); overflow-y: auto;
        z-index: 55;
    }
    .nav.is-open { transform: none; }
    .nav__link { padding: 13px 14px; font-size: 16px; }
    .nav__dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(36,50,44,.04); margin-top: 4px; }
    .header__call { display: none; }
    .hero__actions .btn { flex: 1; }
}

@media (max-width: 720px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .form__grid { grid-template-columns: 1fr; }
    .booking-bar { grid-template-columns: 1fr; }
    .offer { grid-template-columns: 1fr; }
    .offer img { height: 168px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .cta-band__actions { width: 100%; }
    .cta-band__actions .btn { flex: 1; }
}
