:root {
    --bg: #f3eee6;
    --surface: #fffdf8;
    --ink: #2a241c;
    --muted: #6a6156;
    --line: #ddd2c3;
    --accent: #3d5a3c;
    --accent-dark: #2d452c;
    --cta: #8a3d2d;
    --cta-dark: #6f2f23;
    --shadow: 0 10px 28px rgba(42, 36, 28, 0.08);
    --radius: 18px;
    --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font);
    line-height: 1.55;
}

body.is-locked {
    overflow: hidden;
}

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

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.pre-alpha-bar {
    padding: 8px 16px;
    background: #ead8b5;
    color: #5a4630;
    text-align: center;
    font-size: 0.88rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header .container {
    position: relative;
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 28px;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 4px 8px;
    border: 1px solid var(--ink);
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

.logo-text {
    font-size: 0.95rem;
}

.nav {
    display: none;
    gap: 18px;
}

.nav.is-open {
    display: flex;
    position: absolute;
    top: calc(68px + 34px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

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

.nav a:hover,
.nav a:focus-visible {
    color: var(--accent);
}

.nav-toggle,
.header-phone {
    margin-left: auto;
}

.nav-toggle {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 999px;
    padding: 8px 14px;
}

.header-phone {
    display: none;
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
}

.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% 38%;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 16, 12, 0.15) 10%, rgba(20, 16, 12, 0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 48px 0 40px;
}

.eyebrow,
.hero-address {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.86);
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.1rem, 7vw, 4rem);
    line-height: 1.05;
    font-weight: 700;
}

.hero-lead {
    max-width: 36rem;
    margin: 0 0 20px;
    font-size: 1.08rem;
}

.hero-actions,
.contact-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.button-primary {
    background: var(--cta);
    color: #fff;
}

.button-primary:hover {
    background: var(--cta-dark);
}

.button-secondary,
.button-ghost {
    background: #fff;
    color: var(--ink);
}

.button-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.section {
    padding: 64px 0;
}

.section-alt {
    background: #efe7da;
}

.section-head {
    max-width: 40rem;
    margin-bottom: 28px;
}

.section-head h2,
.section-contacts h2,
.room-card h3,
.feature-card h3,
.fit-card h3,
.subhead {
    margin: 0 0 10px;
    line-height: 1.2;
}

.subhead {
    margin-top: 28px;
}

.section-head p,
.room-card p,
.feature-card p,
.fit-card p {
    margin: 0;
    color: var(--muted);
}

.room-grid,
.amenity-grid,
.feature-grid,
.fit-grid {
    display: grid;
    gap: 18px;
}

.room-card,
.feature-card,
.fit-card,
.booking-card,
.review-card,
.amenity-grid li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.room-photo,
.media-card,
.thumb {
    padding: 0;
    border: 0;
    background: #d8cfc2;
    cursor: zoom-in;
}

.room-photo img,
.media-card img,
.thumb img,
.lightbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-photo {
    display: block;
    width: 100%;
    height: 240px;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}

.room-body {
    padding: 20px;
}

.room-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.room-price {
    color: var(--accent) !important;
    font-weight: 700;
    white-space: nowrap;
}

.room-facts {
    margin: 8px 0 12px !important;
}

.chip-list,
.thumb-row,
.media-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-list {
    list-style: none;
    padding: 0;
    margin: 14px 0;
}

.chip-list li {
    padding: 5px 10px;
    border-radius: 999px;
    background: #efe7da;
    font-size: 0.88rem;
}

.thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
}

.amenity-grid {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    grid-template-columns: 1fr;
}

.amenity-grid li {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amenity-grid span {
    color: var(--muted);
    font-size: 0.9rem;
}

.media-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.media-card {
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
}

.price-line {
    margin: 12px 0 0;
    color: var(--accent);
    font-weight: 700;
}

.feature-card,
.fit-card {
    padding: 20px;
}

.landmark-list {
    margin: 0 0 20px;
    padding-left: 18px;
    color: var(--muted);
}

.landmark-list .is-soft {
    opacity: 0.8;
}

.map-wrap {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    min-height: 280px;
    background: #ddd;
}

.map-wrap iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

.map-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.text-link {
    font-weight: 700;
}

.review-summary {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 18px;
}

.rating {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.rating span {
    font-size: 1rem;
    color: var(--muted);
}

.review-card {
    margin: 0;
    padding: 22px;
}

.review-card p {
    margin: 0 0 12px;
}

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

.section-contacts {
    padding-bottom: 112px;
}

.contact-grid {
    display: grid;
    gap: 24px;
}

.phone-link {
    display: inline-flex;
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
}

.contact-meta {
    margin: 22px 0;
}

.contact-meta div {
    margin-bottom: 12px;
}

.contact-meta dt {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.contact-meta dd {
    margin: 4px 0 0;
}

.booking-card {
    padding: 22px;
}

.booking-label {
    margin: 0 0 10px;
    font-weight: 700;
}

.booking-card ol {
    margin: 0 0 16px;
    padding-left: 18px;
}

.fine-print {
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0 96px;
    color: var(--muted);
}

.footer-inner p {
    margin: 0 0 6px;
}

.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, 0.96);
    border-top: 1px solid var(--line);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(20, 16, 12, 0.88);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(920px, 100%);
    max-height: 84vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: #fff;
}

@media (min-width: 720px) {
    .nav-toggle,
    .mobile-cta {
        display: none;
    }

    .nav,
    .header-phone {
        display: flex;
    }

    .header-phone {
        margin-left: auto;
    }

    .room-grid,
    .feature-grid,
    .fit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .amenity-grid {
        grid-template-columns: 1fr 1fr;
    }

    .media-row {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .media-card {
        height: 210px;
    }

    .contact-grid {
        grid-template-columns: 1.3fr 0.9fr;
        align-items: start;
    }

    .section-contacts,
    .site-footer {
        padding-bottom: 40px;
    }
}

@media (min-width: 980px) {
    .amenity-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .room-photo {
        height: 260px;
    }
}
