/* ============================================================
   Гостевой дом «Тёплый камень» — демо-проект CloudxBear
   Дизайн-ДНК: песочный + тёплый белый + глубокая терракота,
   Prata (акцентный сериф) + Manrope (гротеск), тонкие линии,
   editorial-вёрстка с большим воздухом.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Prata&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --sand: #f6f1e8;
    --sand-deep: #efe7d8;
    --paper: #fdfbf6;
    --ink: #2e2921;
    --ink-soft: #564e41;
    --muted: #8a7f6c;
    --hairline: #ddd2bd;
    --hairline-soft: #e8dfcd;
    --terra: #b0562f;
    --terra-deep: #93431f;
    --terra-tint: #f3e2d7;
    --ok: #6e8b5e;
    --warn: #c2903a;
    --font-display: 'Prata', 'Georgia', serif;
    --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
    --radius: 10px;
    --shadow-soft: 0 18px 50px -24px rgba(60, 45, 25, 0.35);
    --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--sand);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--terra); color: #fff; }

img { max-width: 100%; display: block; }

a { color: inherit; }

button { font-family: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 2px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Типографика ---------- */

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.28rem; line-height: 1.3; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terra);
}

.eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--terra);
    opacity: 0.7;
}

.lead { font-size: 1.12rem; color: var(--ink-soft); }

.muted { color: var(--muted); }

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    text-decoration: none;
    border-radius: 7px;
    border: 1px solid transparent;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-deep); }

.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }

/* ---------- Навигация ---------- */

.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(246, 241, 232, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s;
}

.site-nav.scrolled {
    background: rgba(253, 251, 246, 0.92);
    border-bottom-color: var(--hairline-soft);
}

.nav-inner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: auto;
}

.logo svg { flex: 0 0 auto; }

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }

.logo-text strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.12rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.logo-text span {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.active {
    color: var(--terra);
    border-bottom-color: var(--terra);
}

.nav-cta { white-space: nowrap; padding: 11px 22px; font-size: 0.9rem; }

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    background: var(--paper);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.burger span {
    width: 18px;
    height: 1.6px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero главной ---------- */

.hero {
    position: relative;
    padding: calc(var(--nav-h) + 54px) 0 70px;
    overflow: hidden;
}

.hero-eight {
    position: absolute;
    top: 4%;
    left: -3%;
    font-family: var(--font-display);
    font-size: clamp(340px, 44vw, 620px);
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(176, 86, 47, 0.16);
    user-select: none;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
}

.hero-text h1 { margin: 20px 0 22px; }

.hero-text h1 em {
    font-style: normal;
    color: var(--terra);
}

.hero-sub { max-width: 46ch; }

.hero-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 28px 0 34px;
    padding: 0;
    list-style: none;
}

.hero-points li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 0.99rem;
    color: var(--ink-soft);
}

.hero-points li::before {
    content: '';
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--terra);
    transform: translateY(-1px);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-photo-strip {
    margin-top: 44px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-photo-strip img {
    width: 132px;
    height: 92px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--hairline-soft);
}

.hero-photo-strip .strip-note {
    font-size: 0.85rem;
    color: var(--muted);
    max-width: 20ch;
    line-height: 1.5;
}

/* ---------- Календарь (вау-приём) ---------- */

.cal-card {
    background: var(--paper);
    border: 1px solid var(--hairline-soft);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 26px 26px 20px;
    max-width: 460px;
    margin-left: auto;
}

.cal-card-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.cal-card-title h2,
.cal-card-title .cal-h {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 400;
}

.cal-card-title span { font-size: 0.8rem; color: var(--muted); }

.cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cal-month {
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    text-transform: capitalize;
}

.cal-nav {
    display: flex;
    gap: 8px;
}

.cal-nav button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--hairline);
    background: transparent;
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1;
    color: var(--ink);
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.cal-nav button:hover:not(:disabled) { background: var(--sand); }
.cal-nav button:disabled { opacity: 0.35; cursor: default; }

.cal-week,
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cal-week {
    margin-bottom: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}

.cal-day {
    position: relative;
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 5px 2px 4px;
    font-family: inherit;
    transition: background 0.16s, border-color 0.16s, color 0.16s;
}

.cal-day .d { font-size: 0.94rem; font-weight: 600; line-height: 1; }

.cal-day .p {
    font-size: 0.6rem;
    line-height: 1;
    color: var(--muted);
    white-space: nowrap;
}

.cal-day.is-empty { visibility: hidden; }

.cal-day.is-open:not(.is-start):not(.is-end):hover { background: var(--sand); border-color: var(--hairline); }

.cal-day.is-past { opacity: 0.32; cursor: default; }
.cal-day.is-past .p { visibility: hidden; }

.cal-day.is-booked { cursor: default; }
.cal-day.is-booked .d { color: #c3b7a2; text-decoration: line-through; text-decoration-thickness: 1px; }
.cal-day.is-booked .p { visibility: hidden; }

.cal-day.is-few .p { color: var(--warn); font-weight: 700; }

.cal-day.in-range { background: var(--terra-tint); border-radius: 0; }

.cal-day.is-start,
.cal-day.is-end {
    background: var(--terra);
    border-color: var(--terra);
}

.cal-day.is-start { border-radius: 8px 0 0 8px; }
.cal-day.is-end { border-radius: 0 8px 8px 0; }
.cal-day.is-start.is-end { border-radius: 8px; }

.cal-day.is-start .d, .cal-day.is-end .d { color: #fff; }
.cal-day.is-start .p, .cal-day.is-end .p { color: rgba(255, 255, 255, 0.85); }

.cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 12px;
    font-size: 0.72rem;
    color: var(--muted);
}

.cal-legend i {
    font-style: normal;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cal-legend i::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.cal-legend .lg-free::before { background: var(--ok); }
.cal-legend .lg-few::before { background: var(--warn); }
.cal-legend .lg-busy::before { background: #c9bda7; }

.cal-summary {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--hairline-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
}

.cal-summary-info { line-height: 1.35; }

.cal-summary-info .cs-dates { font-weight: 700; font-size: 0.95rem; }

.cal-summary-info .cs-price { font-size: 0.82rem; color: var(--muted); }

.cal-summary-info .cs-hint { font-size: 0.85rem; color: var(--muted); }

.cal-summary .btn { padding: 12px 20px; font-size: 0.9rem; white-space: nowrap; }

.cal-summary .btn[aria-disabled="true"] {
    opacity: 0.4;
    pointer-events: none;
}

/* ---------- Полоса фактов ---------- */

.facts {
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: var(--paper);
}

.facts-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.fact {
    padding: 26px 20px;
    text-align: center;
    border-left: 1px solid var(--hairline-soft);
}

.fact:first-child { border-left: none; }

.fact strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.7rem;
    color: var(--terra);
    line-height: 1.1;
}

.fact span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Секции ---------- */

.section { padding: 88px 0; }

.section-head { max-width: 640px; margin-bottom: 46px; }

.section-head h2 { margin: 16px 0 14px; }

.section-head p { color: var(--ink-soft); }

.section-alt { background: var(--sand-deep); }

.section-paper { background: var(--paper); border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }

/* ---------- Лента номеров (вау-приём 2) ---------- */

.rooms-rail-wrap { position: relative; }

.rooms-rail {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 26px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.rooms-rail::-webkit-scrollbar { display: none; }

.room-card {
    flex: 0 0 min(560px, 82vw);
    scroll-snap-align: center;
    background: var(--paper);
    border: 1px solid var(--hairline-soft);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s;
}

.room-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }

.room-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.room-media img {
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.room-flag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(253, 251, 246, 0.92);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--terra-deep);
}

.room-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.room-body h3 { font-size: 1.34rem; }

.room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 0.86rem;
    color: var(--muted);
}

.room-meta span { display: inline-flex; align-items: center; gap: 7px; }

.room-meta svg { flex: 0 0 auto; opacity: 0.75; }

.room-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--hairline-soft);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.room-price { font-size: 0.85rem; color: var(--muted); }

.room-price strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.42rem;
    color: var(--ink);
    margin-right: 4px;
}

.room-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--terra);
    white-space: nowrap;
}

.rail-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
}

.rail-arrows { display: flex; gap: 10px; }

.rail-arrows button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: var(--paper);
    font-size: 1.2rem;
    color: var(--ink);
    transition: background 0.2s, opacity 0.2s;
}

.rail-arrows button:hover:not(:disabled) { background: var(--sand-deep); }
.rail-arrows button:disabled { opacity: 0.35; cursor: default; }

.rail-progress {
    flex: 1;
    height: 1px;
    background: var(--hairline);
    position: relative;
    max-width: 300px;
}

.rail-progress i {
    position: absolute;
    top: -1px;
    left: 0;
    height: 3px;
    width: 25%;
    background: var(--terra);
    transition: left 0.25s ease, width 0.25s ease;
}

.rail-hint { font-size: 0.82rem; color: var(--muted); }

/* ---------- Сплит-секции ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split.reverse .split-media { order: 2; }

.split-media { position: relative; }

.split-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.split-media .media-caption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: rgba(253, 251, 246, 0.92);
    border-radius: 7px;
    padding: 9px 16px;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.split-text h2 { margin: 16px 0 18px; }

.split-text p { color: var(--ink-soft); margin-bottom: 14px; }

.split-text .btn { margin-top: 14px; }

.check-list { list-style: none; margin: 18px 0 6px; display: flex; flex-direction: column; gap: 10px; }

.check-list li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-soft); }

.check-list li::before {
    content: '—';
    color: var(--terra);
    font-weight: 700;
}

/* ---------- Пешие маршруты ---------- */

.walk-list { list-style: none; max-width: 620px; }

.walk-list li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid var(--hairline-soft);
    font-size: 1.02rem;
}

.walk-list li:last-child { border-bottom: none; }

.walk-name { white-space: nowrap; font-weight: 600; }

.walk-dots {
    flex: 1;
    border-bottom: 1.5px dotted var(--hairline);
    transform: translateY(-5px);
}

.walk-time {
    white-space: nowrap;
    color: var(--terra);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ---------- Отзывы ---------- */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.review {
    background: var(--paper);
    border: 1px solid var(--hairline-soft);
    border-radius: 14px;
    padding: 30px 28px 26px;
    position: relative;
}

.review::before {
    content: '«';
    position: absolute;
    top: 6px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 3.6rem;
    color: var(--terra);
    opacity: 0.35;
    line-height: 1;
}

.review p { font-size: 0.97rem; color: var(--ink-soft); margin: 18px 0 18px; }

.review footer { font-size: 0.84rem; color: var(--muted); }

.review footer strong { color: var(--ink); font-weight: 700; display: block; }

/* ---------- Сезонные цены ---------- */

.season-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
    border: 1px solid var(--hairline-soft);
    border-radius: 14px;
    overflow: hidden;
}

.season-table th,
.season-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--hairline-soft);
    font-size: 0.95rem;
}

.season-table th {
    background: var(--sand-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.season-table tr:last-child td { border-bottom: none; }

.season-table td strong { font-weight: 700; }

.season-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); max-width: 640px; }

.table-scroll { overflow-x: auto; border-radius: 14px; }

/* ---------- CTA-полоса ---------- */

.cta-band {
    background: var(--terra);
    color: #fff;
    padding: 74px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: '8';
    position: absolute;
    right: -1%;
    top: -34%;
    font-family: var(--font-display);
    font-size: 380px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.cta-inner { position: relative; max-width: 640px; }

.cta-inner h2 { color: #fff; margin-bottom: 16px; }

.cta-inner p { color: rgba(255, 255, 255, 0.88); margin-bottom: 28px; }

/* ---------- Футер ---------- */

.site-footer {
    background: var(--ink);
    color: #cfc6b6;
    padding: 60px 0 36px;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 40px;
}

.footer-brand strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.25rem;
    color: #f4ede0;
    display: block;
    margin-bottom: 10px;
}

.footer-brand p { max-width: 34ch; line-height: 1.6; color: #a89d8a; }

.footer-col h4 {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8d8371;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a { color: #cfc6b6; text-decoration: none; transition: color 0.2s; }

.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #8d8371;
}

.footer-bottom a { color: #b9ae99; }

/* ---------- Внутренние страницы ---------- */

.page-hero {
    padding: calc(var(--nav-h) + 52px) 0 46px;
    border-bottom: 1px solid var(--hairline);
}

.page-hero h1 { margin: 18px 0 16px; max-width: 20ch; }

.page-hero .lead { max-width: 58ch; }

.crumbs {
    font-size: 0.82rem;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.crumbs a { color: var(--muted); text-decoration: none; }

.crumbs a:hover { color: var(--terra); }

.crumbs span::before { content: '·'; margin-right: 8px; }

/* --- Номера: детальные карточки --- */

.room-row {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 50px;
    align-items: center;
    padding: 58px 0;
    border-bottom: 1px solid var(--hairline);
}

.room-row:last-child { border-bottom: none; }

.room-row.reverse .room-row-media { order: 2; }

.room-row-media { position: relative; }

.room-row-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.room-row-media .room-flag { top: 16px; left: 16px; }

.room-row-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 10px 0 14px; }

.room-row-body > p { color: var(--ink-soft); margin-bottom: 16px; }

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 26px;
    margin: 20px 0 22px;
}

.spec {
    border-left: 2px solid var(--terra-tint);
    padding-left: 14px;
}

.spec b { display: block; font-size: 0.98rem; }

.spec span { font-size: 0.8rem; color: var(--muted); }

.room-row-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 26px;
    padding-top: 18px;
    border-top: 1px solid var(--hairline-soft);
}

.room-row-foot .room-price strong { font-size: 1.6rem; }

/* --- Бронирование --- */

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.booking-cal .cal-card { max-width: none; margin: 0; }

.booking-rooms { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }

.room-pick {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--paper);
    border: 1px solid var(--hairline-soft);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.room-pick:hover { border-color: var(--hairline); }

.room-pick.selected {
    border-color: var(--terra);
    box-shadow: 0 0 0 1px var(--terra);
}

.room-pick img {
    width: 84px;
    height: 62px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
}

.room-pick-body { flex: 1; min-width: 0; }

.room-pick-body b { display: block; font-size: 0.99rem; }

.room-pick-body span { font-size: 0.8rem; color: var(--muted); }

.room-pick-price {
    text-align: right;
    white-space: nowrap;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.3;
}

.room-pick-price strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.18rem;
    color: var(--ink);
}

.room-pick input { position: absolute; opacity: 0; pointer-events: none; }

.booking-form-card {
    background: var(--paper);
    border: 1px solid var(--hairline-soft);
    border-radius: 16px;
    padding: 32px;
    position: sticky;
    top: calc(var(--nav-h) + 20px);
}

.booking-form-card h2 { font-size: 1.4rem; margin-bottom: 6px; }

.booking-form-card .bf-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 22px; }

.form-row { margin-bottom: 16px; }

.form-row label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 7px;
    color: var(--ink-soft);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 0.96rem;
    color: var(--ink);
    transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--terra);
}

.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.booking-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--hairline-soft);
    margin-top: 6px;
}

.booking-total span { font-size: 0.88rem; color: var(--muted); }

.booking-total strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.55rem;
}

.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }

.form-success {
    text-align: center;
    padding: 34px 10px 20px;
}

.form-success .fs-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--terra-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terra);
    font-size: 1.6rem;
}

.form-success h3 { margin-bottom: 10px; }

.form-success p { font-size: 0.92rem; color: var(--ink-soft); max-width: 40ch; margin: 0 auto 8px; }

/* --- Завтраки: меню --- */

.menu-block {
    background: var(--paper);
    border: 1px solid var(--hairline-soft);
    border-radius: 16px;
    padding: 40px 44px;
}

.menu-block h3 {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--terra);
    margin-bottom: 20px;
}

.menu-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.menu-list li { display: flex; align-items: baseline; gap: 12px; }

.menu-name { font-weight: 600; white-space: normal; }

.menu-name small { display: block; font-weight: 400; font-size: 0.82rem; color: var(--muted); }

.menu-dots { flex: 1; border-bottom: 1.5px dotted var(--hairline); transform: translateY(-4px); min-width: 30px; }

.menu-tag { white-space: nowrap; color: var(--ink-soft); font-size: 0.88rem; }

.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

/* --- Галерея-мозаика --- */

.mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
}

.mosaic .tall { grid-row: span 2; }
.mosaic .tall img { aspect-ratio: 3 / 4.6; height: 100%; }

/* --- Окрестности: таймлайн --- */

.route-line { position: relative; max-width: 720px; margin: 0 auto; padding-left: 34px; }

.route-line::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 0;
    border-left: 2px dotted var(--hairline);
}

.route-stop { position: relative; padding: 0 0 38px; }

.route-stop:last-child { padding-bottom: 0; }

.route-stop::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sand);
    border: 2px solid var(--terra);
    box-sizing: border-box;
}

.route-stop .rs-min {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terra);
}

.route-stop h3 { margin: 6px 0 8px; }

.route-stop p { color: var(--ink-soft); max-width: 56ch; }

/* --- Контакты --- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.contact-card {
    background: var(--paper);
    border: 1px solid var(--hairline-soft);
    border-radius: 16px;
    padding: 34px;
}

.contact-item { padding: 16px 0; border-bottom: 1px solid var(--hairline-soft); }

.contact-item:last-child { border-bottom: none; }

.contact-item b {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.contact-item a { text-decoration: none; font-size: 1.05rem; font-weight: 600; }

.contact-item a:hover { color: var(--terra); }

/* --- FAQ --- */

.faq-list { max-width: 760px; }

.faq-item { border-bottom: 1px solid var(--hairline); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 40px 22px 0;
    font-weight: 700;
    font-size: 1.04rem;
    position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--terra);
    transition: transform 0.25s;
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item .faq-a { padding: 0 0 24px; color: var(--ink-soft); max-width: 64ch; }

/* ---------- Анимации появления ---------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .room-media img { left: 0; width: 100%; transform: none !important; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 42px; }
    .cal-card { margin: 0 auto; width: 100%; }
    .hero-photo-strip { display: none; }
    .facts-row { grid-template-columns: repeat(2, 1fr); }
    .fact { border-left: none; border-top: 1px solid var(--hairline-soft); }
    .fact:nth-child(-n+2) { border-top: none; }
    .fact:nth-child(even) { border-left: 1px solid var(--hairline-soft); }
    .reviews-grid { grid-template-columns: 1fr; max-width: 640px; }
    .booking-layout { grid-template-columns: 1fr; }
    .booking-form-card { position: static; }
    .split, .room-row, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
    .split.reverse .split-media, .room-row.reverse .room-row-media { order: 0; }
    .menu-grid { grid-template-columns: 1fr; }
    .mosaic { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .container { padding: 0 20px; }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--hairline);
        padding: 10px 20px 18px;
        display: none;
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        display: block;
        padding: 13px 4px;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--hairline-soft);
    }

    .nav-links li:last-child a { border-bottom: none; }

    .burger { display: flex; }

    .nav-inner { gap: 12px; }

    .logo { gap: 9px; }

    .logo svg { width: 32px; height: 32px; }

    .logo-text strong { font-size: 1rem; }

    .logo-text span { display: none; }

    .nav-cta { padding: 10px 14px; font-size: 0.82rem; }

    .hero { padding-top: calc(var(--nav-h) + 34px); }

    .hero-eight { display: none; }

    .cal-card { padding: 20px 16px 16px; }

    .cal-day { min-height: 46px; }
    .cal-day .d { font-size: 0.88rem; }
    .cal-day .p { font-size: 0.55rem; }

    .cal-summary { flex-direction: column; align-items: stretch; text-align: center; }
    .cal-summary .btn { width: 100%; }

    .room-card { flex-basis: 86vw; }

    .rail-hint { display: none; }

    .menu-block { padding: 28px 22px; }

    .mosaic { gap: 12px; }

    .cta-band::after { font-size: 220px; top: auto; bottom: -18%; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .form-cols { grid-template-columns: 1fr; }

    .spec-grid { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
}

@media (max-width: 480px) {
    .facts-row { grid-template-columns: 1fr 1fr; }
    .fact { padding: 20px 12px; }
    .fact strong { font-size: 1.35rem; }
    .hero-actions .btn { width: 100%; }
    .cal-week { font-size: 0.6rem; }
    .cal-day { min-height: 42px; border-radius: 6px; }
    .cal-day .p { font-size: 0.5rem; letter-spacing: -0.02em; }
    .mosaic { grid-template-columns: 1fr; }
    .mosaic .tall { grid-row: auto; }
    .mosaic .tall img { aspect-ratio: 4 / 3; }
    .room-pick { flex-wrap: wrap; }
    .room-pick-price { text-align: left; }
}
