:root {
    --pine-950: #142b21;
    --pine-900: #1d3b2d;
    --pine-800: #244a38;
    --pine-700: #326047;
    --pine-600: #47775c;
    --moss-500: #79966f;
    --moss-300: #b9c9ad;
    --cream-50: #fcfbf7;
    --cream-100: #f6f3ea;
    --cream-200: #ede7d8;
    --sand-300: #d9c6a4;
    --wood-500: #a66f42;
    --wood-700: #75492e;
    --ink: #1e2924;
    --muted: #68736d;
    --line: #dfe3dd;
    --white: #fff;
    --danger: #a23f36;
    --warning: #a46a19;
    --success: #397152;
    --shadow-sm: 0 8px 24px rgba(25, 48, 37, .07);
    --shadow-lg: 0 28px 70px rgba(20, 43, 33, .16);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 30px;
    --container: 1200px;
    --site-background-image: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; min-width: 320px; color: var(--ink); background-color: var(--cream-50); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.public-area { background-image: linear-gradient(rgba(252,251,247,.68), rgba(252,251,247,.68)), var(--site-background-image); background-repeat: no-repeat, repeat; background-size: 100% 100%, auto; background-position: top left; }
img { display: block; max-width: 100%; }
a { color: var(--pine-700); text-underline-offset: 3px; }
a:hover { color: var(--wood-700); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; color: var(--pine-950); }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2.6rem, 6vw, 5.7rem); }
h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.15rem; }
small { color: var(--muted); }
code { padding: .15rem .35rem; border-radius: 5px; background: var(--cream-100); color: var(--pine-800); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tint { background-color: var(--cream-100); background-image: linear-gradient(145deg, rgba(246,243,234,.76), rgba(238,242,233,.76)), var(--site-background-image); background-repeat: no-repeat, repeat; background-size: 100% 100%, auto; border-block: 1px solid var(--line); }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 9999; padding: 10px 16px; border-radius: 8px; color: white; background: var(--pine-900); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { display: block; margin-bottom: 12px; color: var(--wood-700); font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 500; background: rgba(252,251,247,.94); border-bottom: 1px solid rgba(36,74,56,.12); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--pine-950); text-decoration: none; flex: 0 0 auto; }
.brand:hover { color: var(--pine-800); }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50% 50% 44% 44%; background: var(--pine-800); color: white; font: 700 .75rem Georgia, serif; letter-spacing: .08em; box-shadow: inset 0 0 0 4px rgba(255,255,255,.13); }
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 500 1.25rem Georgia, serif; }
.brand-text small { margin-top: 4px; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 23px); }
.main-nav > a, .nav-button { position: relative; padding: 8px 0; border: 0; background: none; color: #3f4c45; font-size: .86rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.main-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--wood-500); transform: scaleX(0); transition: transform .2s ease; }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .admin-entry { padding: 8px 13px; border-radius: 999px; background: var(--pine-900); color: white; }
.main-nav .admin-entry::after { display: none; }
.login-link { color: var(--wood-700) !important; }
.nav-form { margin: 0; }
.nav-button:hover { color: var(--danger); }
.menu-toggle { display: none; width: 43px; height: 43px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--pine-900); }

.admin-bar { position: sticky; top: 82px; z-index: 450; background: var(--pine-950); color: white; box-shadow: var(--shadow-sm); }
.admin-bar-inner { min-height: 54px; display: flex; align-items: center; gap: 30px; overflow-x: auto; }
.admin-bar-title { color: var(--moss-300); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.admin-bar nav { display: flex; gap: 7px; }
.admin-bar a { padding: 8px 12px; border-radius: 8px; color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.admin-bar a:hover, .admin-bar a[aria-current="page"] { background: rgba(255,255,255,.12); color: white; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 24px; border: 1px solid var(--pine-800); border-radius: 999px; background: var(--pine-800); color: white; font-weight: 750; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-1px); background: var(--pine-700); color: white; box-shadow: 0 10px 24px rgba(36,74,56,.18); }
.button:disabled { transform: none; border-color: #9ba49f; background: #9ba49f; color: #f4f5f4; box-shadow: none; cursor: not-allowed; }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(166,111,66,.35); outline-offset: 3px; }
.button-ghost { background: transparent; color: var(--pine-800); }
.button-ghost:hover { background: var(--cream-100); color: var(--pine-900); }
.button-muted { border-color: #707a75; background: #707a75; }
.button-small { min-height: 38px; padding: 7px 16px; font-size: .84rem; }
.button-tiny { min-height: 30px; padding: 4px 10px; font-size: .72rem; }
.button-row, .action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.text-link { font-weight: 750; text-decoration: none; }
.back-link { display: inline-block; margin-bottom: 30px; font-weight: 700; text-decoration: none; }
.link-danger { padding: 5px 0; border: 0; background: none; color: var(--danger); font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.icon-button { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--pine-900); font-size: 1.15rem; }

.hero { position: relative; overflow: hidden; padding-block: clamp(38px, 7vw, 90px) clamp(70px, 9vw, 120px); background-color: #f3f1e7; background-image: radial-gradient(circle at 10% 10%, rgba(185,201,173,.42), transparent 31%), linear-gradient(150deg, rgba(251,250,245,.74) 20%, rgba(240,239,229,.74)), var(--site-background-image); background-repeat: no-repeat, no-repeat, repeat; background-size: auto, 100% 100%, auto; }
.hero::after { content: ""; position: absolute; right: -100px; bottom: -250px; width: 520px; height: 520px; border: 1px solid rgba(36,74,56,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(36,74,56,.035), 0 0 0 110px rgba(36,74,56,.02); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(40px, 7vw, 95px); }
.hero-copy h1 { max-width: 660px; margin-bottom: 24px; }
.hero-copy > p { max-width: 610px; margin-bottom: 32px; color: #53615a; font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0 0; padding: 0; list-style: none; }
.hero-facts li { padding-top: 14px; border-top: 1px solid var(--moss-300); }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { color: var(--pine-900); font-family: Georgia, serif; font-size: 1.15rem; }
.hero-facts span { margin-top: 3px; color: var(--muted); font-size: .75rem; }
.hero-photo { position: relative; margin: 0; }
.hero-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border: 1px solid var(--sand-300); border-radius: var(--radius-lg); }
.hero-photo img { width: 100%; height: min(67vh, 650px); min-height: 480px; border-radius: var(--radius-lg) var(--radius-lg) 110px var(--radius-lg); object-fit: cover; object-position: center 42%; box-shadow: var(--shadow-lg); }
.hero-photo figcaption { position: absolute; left: -35px; bottom: 28px; display: flex; flex-direction: column; padding: 17px 23px; border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.hero-photo figcaption span { color: var(--pine-900); font-family: Georgia, serif; font-size: 1.05rem; }
.hero-photo figcaption small { margin-top: 3px; text-transform: uppercase; letter-spacing: .08em; font-size: .64rem; }

.section-heading { margin-bottom: clamp(34px, 5vw, 62px); }
.section-heading h2, .page-header h1, .admin-header h1 { margin-bottom: 0; }
.split-heading { display: grid; grid-template-columns: 1.05fr .75fr; gap: 70px; align-items: end; }
.split-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 1.05rem; }
.row-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.row-heading h2 { margin-bottom: 0; }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amenities-grid article { min-height: 260px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.86); box-shadow: var(--shadow-sm); }
.amenities-grid article:nth-child(even) { margin-top: 28px; }
.amenities-grid article > span { display: inline-grid; place-items: center; width: 35px; height: 35px; margin-bottom: 48px; border-radius: 50%; background: var(--cream-200); color: var(--wood-700); font-size: .75rem; font-weight: 800; }
.amenities-grid h3 { font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.amenities-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.page-header { max-width: 830px; margin-bottom: 44px; }
.page-header h1 { margin-bottom: 14px; }
.page-header p { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.page-header-row, .admin-header { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.page-header-row > div { max-width: 800px; }
.filter-tabs { display: flex; gap: 8px; margin-bottom: 34px; padding-bottom: 8px; overflow-x: auto; }
.filter-tabs a { padding: 9px 17px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.filter-tabs a:hover, .filter-tabs a[aria-current="page"] { border-color: var(--pine-800); background: var(--pine-800); color: white; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.news-card > img, .news-placeholder { width: 100%; height: 220px; object-fit: cover; }
.news-placeholder { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 30%), var(--pine-800); color: white; }
.news-placeholder span { font: 500 1.6rem/1.1 Georgia, serif; text-align: center; }
.news-card > div:not(.news-placeholder) { padding: 24px; }
.news-card time { display: block; margin-bottom: 9px; color: var(--wood-700); font-size: .72rem; font-weight: 700; }
.news-card h2, .news-card h3 { margin-bottom: 12px; font: 500 1.4rem/1.2 Georgia, serif; }
.news-card h2 a, .news-card h3 a { color: inherit; text-decoration: none; }
.news-card p { min-height: 3.2em; color: var(--muted); font-size: .89rem; }
.news-grid-page .news-card > img, .news-grid-page .news-placeholder { height: 240px; }
.card-meta { display: flex; gap: 12px; margin-bottom: 13px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.card-meta span { color: var(--wood-700); }
.card-meta time { margin: 0; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reviews-grid-page { grid-template-columns: repeat(2, 1fr); }
.review-card { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.review-card-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.review-card-head strong, .review-card-head time { display: block; }
.review-card-head time { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.review-card > p { margin: 23px 0; color: #49554f; }
.stars { color: #ba7d2c; font-size: .92rem; letter-spacing: .05em; white-space: nowrap; }
.stars span { color: #dcdedb; }
.review-photos { display: flex; gap: 8px; }
.photo-button { padding: 0; border: 0; border-radius: 9px; background: none; overflow: hidden; }
.photo-button img { width: 72px; height: 72px; object-fit: cover; transition: transform .2s; }
.photo-button:hover img { transform: scale(1.05); }

.map-section { padding-top: 20px; }
.map-card { min-height: 430px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(40px, 8vw, 110px); padding: clamp(36px, 6vw, 70px); overflow: hidden; border-radius: var(--radius-lg); background: var(--pine-950); color: white; }
.map-card h2 { color: white; }
.map-card p { color: rgba(255,255,255,.7); }
.map-card .button { border-color: var(--cream-100); background: var(--cream-100); color: var(--pine-950); }
.map-lines { position: relative; height: 290px; border-radius: 22px; background: #e7e7d9; overflow: hidden; }
.map-lines span { position: absolute; width: 130%; height: 40px; border: 7px solid white; border-left: 0; border-right: 0; transform: rotate(-18deg); }
.map-lines span:nth-child(1) { left: -15%; top: 35px; }
.map-lines span:nth-child(2) { left: -8%; top: 135px; transform: rotate(27deg); }
.map-lines span:nth-child(3) { left: -15%; top: 220px; transform: rotate(-7deg); }
.map-lines i { position: absolute; left: 55%; top: 43%; width: 42px; height: 42px; border: 9px solid var(--wood-500); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: white; box-shadow: 0 7px 16px rgba(0,0,0,.18); }

.article-shell { max-width: 900px; }
.article { padding: clamp(28px, 6vw, 72px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.article h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.article-lead { color: var(--muted); font-size: 1.2rem; }
.article-cover { width: 100%; max-height: 600px; margin: 38px 0; border-radius: var(--radius); object-fit: cover; }
.article-body { color: #344039; font: 1.08rem/1.85 Georgia, serif; white-space: normal; }
.article footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 12px; }
.gallery-card { position: relative; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: var(--cream-200); }
.gallery-card-wide { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card span { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(20,43,33,.8); color: white; font-size: .7rem; font-weight: 700; backdrop-filter: blur(7px); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.pagination a { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: white; font-weight: 700; text-decoration: none; }
.pagination span { color: var(--muted); font-size: .82rem; }

.panel { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); }
.panel > h2 { margin-bottom: 24px; font-size: 1.75rem; }
.form-stack { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compact-grid { gap: 14px; }
.span-2 { grid-column: 1 / -1; }
label { display: block; color: #3f4b45; font-size: .83rem; font-weight: 750; }
label small { font-weight: 500; }
input, select, textarea { width: 100%; min-height: 46px; margin-top: 7px; padding: 11px 13px; border: 1px solid #cfd5d0; border-radius: 9px; background: white; color: var(--ink); transition: border .2s, box-shadow .2s; }
textarea { resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--pine-600); box-shadow: 0 0 0 4px rgba(71,119,92,.11); outline: none; }
input[type="file"] { padding: 8px; }
input[type="checkbox"] { width: 17px; min-height: 17px; margin: 0; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.checkbox-field { align-self: end; min-height: 46px; }
label > small { display: block; margin-top: 5px; }
.form-foot { margin: 20px 0 0; text-align: center; }
.form-hint { margin: 0; color: var(--muted); font-size: .76rem; }
.form-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(35px, 8vw, 100px); margin-top: 80px; padding-top: 70px; border-top: 1px solid var(--line); }
.form-section h2 { margin-bottom: 13px; }
.form-section > div p { color: var(--muted); }
.auth-shell { display: grid; place-items: center; min-height: 70vh; }
.auth-card { width: min(100%, 490px); padding: clamp(30px, 5vw, 55px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-lg); }
.auth-card-wide { width: min(100%, 720px); }
.auth-card h1 { margin-bottom: 10px; font-size: 3.5rem; }
.auth-card > p { color: var(--muted); }
.contacts-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; }
.contact-details { display: grid; align-content: start; gap: 0; background: var(--pine-950); color: white; }
.contact-details > div { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-details > div:first-child { padding-top: 0; }
.contact-details > div:last-child { border: 0; }
.contact-details span { display: block; margin-bottom: 5px; color: var(--moss-300); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-details a, .contact-details p { color: white; }
.contact-details p { margin-bottom: 7px; }
.contact-form h2 { margin-bottom: 0; }

.booking-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; align-items: start; }
.calendar-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.calendar-toolbar h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.calendar-weekdays { margin-bottom: 6px; }
.calendar-weekdays span { padding: 6px; color: var(--muted); font-size: .69rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.calendar-day { aspect-ratio: 1; min-height: 52px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 10px; background: #f1f5ef; color: var(--pine-950); font-weight: 750; }
.calendar-day:hover:not(:disabled) { border-color: var(--pine-700); }
.calendar-day:disabled, .calendar-day.is-past { background: #f5f4f0; color: #b4bab6; cursor: not-allowed; }
.calendar-day.is-busy { background: #f4e5df; color: #9a5b4f; text-decoration: line-through; }
.calendar-day.is-selected, .calendar-day.is-range { background: var(--pine-800); color: white; }
.calendar-empty { aspect-ratio: 1; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 20px; color: var(--muted); font-size: .74rem; }
.calendar-legend span { display: flex; align-items: center; gap: 6px; }
.calendar-legend i { width: 13px; height: 13px; border-radius: 4px; background: #f1f5ef; }
.calendar-legend .busy { background: #f4e5df; }
.calendar-legend .selected { background: var(--pine-800); }
.booking-form-card { position: sticky; top: 155px; }
.booking-form-card h2 { margin-bottom: 20px; }
.booking-summary { padding: 13px; border-radius: 10px; background: var(--cream-100); color: var(--pine-800); font-size: .85rem; font-weight: 700; }

.profile-section { margin-top: 55px; }
.profile-section .row-heading { margin-bottom: 22px; }
.profile-section .row-heading h2 { font-size: 2rem; }
.security-notice { padding: 20px 24px; border: 1px solid #dfbd7f; border-radius: 14px; background: #fff5df; color: #674512; }
.security-notice p { margin: 5px 0 0; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 15px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
td { font-size: .85rem; }
td strong, td small, td span { display: block; }
td small { margin-top: 4px; }
.status { display: inline-flex !important; width: fit-content; padding: 4px 9px; border-radius: 999px; background: #edf0ed; color: #56605a; font-size: .66rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.status-pending, .status-new { background: #fff0d7; color: #8a5d18; }
.status-confirmed, .status-published, .status-processed { background: #e2f1e8; color: #32694a; }
.status-rejected, .status-cancelled { background: #f5e2df; color: #914a43; }
.status-draft { background: #e7e9e8; color: #56605a; }
.profile-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.profile-reviews article { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.profile-reviews p { margin: 15px 0; color: var(--muted); font-size: .84rem; }
.profile-reviews time { color: var(--muted); font-size: .7rem; }

.empty-state { padding: clamp(42px, 7vw, 80px); border: 1px dashed var(--moss-300); border-radius: var(--radius); background: rgba(255,255,255,.65); text-align: center; }
.empty-state h2, .empty-state h3 { margin-bottom: 8px; }
.empty-state p { margin: 0; color: var(--muted); }
.empty-state.compact { padding: 30px; }
.error-code { display: block; color: var(--moss-300); font: 500 6rem/1 Georgia, serif; }

.admin-area { background-color: #f4f6f3; }
.admin-main { padding-top: 55px; }
.admin-header { margin-bottom: 35px; }
.admin-header h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.admin-header p { margin: 8px 0 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-grid > * { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: white; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); }
.stat-grid > a:hover { border-color: var(--moss-500); transform: translateY(-2px); }
.stat-grid span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.stat-grid strong { font: 500 2.8rem/1 Georgia, serif; color: var(--pine-900); }
.stat-grid small { font-size: .72rem; }
.admin-dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.compact-list { display: grid; }
.compact-list > a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.compact-list > a:last-child { border: 0; }
.compact-list strong, .compact-list small { display: block; }
.stats-table > div { display: grid; grid-template-columns: 1fr auto auto; gap: 15px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.stats-table > div:last-child { border: 0; }
.stats-table span { color: var(--muted); }
.audit-panel { margin-top: 22px; }
.admin-two-columns { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; align-items: start; margin-bottom: 22px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.panel-heading h2 { margin-bottom: 5px; font-size: 1.7rem; }
.panel-heading p { margin: 0; color: var(--muted); font-size: .83rem; }
.collapsible { margin-top: 28px; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { margin: 0; }
.manage-list { margin-top: 20px; }
.manage-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.manage-list > div:last-child { border: 0; }
.manage-list span small { display: block; }
.booking-action-form { min-width: 235px; }
.booking-action-form input { min-height: 36px; margin: 0 0 7px; padding: 7px 9px; font-size: .75rem; }
.admin-table td:last-child { min-width: 235px; }
.manage-cards { display: grid; gap: 10px; }
.manage-cards article { display: grid; grid-template-columns: 85px 1fr auto; gap: 15px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.manage-cards img, .mini-placeholder { width: 85px; height: 68px; border-radius: 8px; object-fit: cover; background: var(--cream-200); }
.manage-cards h3 { margin: 5px 0; }
.card-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; font-size: .78rem; }
.admin-cover-preview { width: 180px; max-height: 120px; border-radius: 10px; object-fit: cover; }
.admin-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-gallery-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.admin-gallery-grid img { width: 100%; height: 160px; object-fit: cover; }
.admin-gallery-grid article > div { padding: 12px; }
.admin-gallery-grid strong, .admin-gallery-grid small { display: block; }
.admin-gallery-grid form { margin-top: 8px; }
.moderation-list, .message-list { display: grid; gap: 16px; }
.moderation-head, .message-card header { display: flex; justify-content: space-between; gap: 20px; }
.moderation-head strong, .moderation-head small { display: block; }
.moderation-head > div:last-child { display: flex; align-items: center; gap: 12px; }
.moderation-list article > p { margin: 25px 0; }
.admin-review-photos { display: flex; gap: 8px; margin-bottom: 20px; }
.admin-review-photos img { width: 100px; height: 80px; border-radius: 8px; object-fit: cover; }
.message-new { border-left: 5px solid var(--warning); }
.message-card h2 { margin: 8px 0 0; font: 500 1.7rem Georgia, serif; }
.message-card header time { color: var(--muted); font-size: .75rem; }
.message-contacts { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0; }
.message-card > p { padding: 18px; border-radius: 10px; background: var(--cream-100); }
.settings-form { display: grid; gap: 22px; }
.settings-form .panel > h2 { margin-bottom: 28px; }
.current-media { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.current-media img { width: 90px; height: 70px; border: 1px solid var(--line); border-radius: 9px; object-fit: contain; }
.pattern-preview img { object-fit: cover; }
.sticky-save { position: sticky; bottom: 18px; display: flex; justify-content: flex-end; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); }
.user-access-form { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 9px; }
.user-access-form select { min-height: 35px; margin: 0; padding: 5px 8px; }

.toast-stack { position: fixed; top: 95px; right: 18px; z-index: 2000; display: grid; gap: 8px; width: min(390px, calc(100% - 36px)); }
.toast { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding: 14px 17px; border-radius: 12px; background: var(--pine-900); color: white; box-shadow: var(--shadow-lg); animation: toast-in .3s ease; }
.toast-error { background: #813a34; }
.toast-warning { background: #835b20; }
.toast-info { background: #355866; }
.toast button { padding: 0; border: 0; background: none; color: white; font-size: 1.2rem; line-height: 1; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }
.quick-contact-button { position: fixed; right: 22px; bottom: 22px; z-index: 400; min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 10px 19px; border: 0; border-radius: 999px; background: var(--wood-500); color: white; font-weight: 800; box-shadow: var(--shadow-lg); }
.quick-contact-button:hover { background: var(--wood-700); }
.quick-contact-button span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); }
.dialog, .lightbox { padding: 0; border: 0; background: transparent; }
.dialog::backdrop, .lightbox::backdrop { background: rgba(11,24,18,.72); backdrop-filter: blur(7px); }
.dialog-card { width: min(480px, calc(100vw - 30px)); padding: clamp(25px, 5vw, 42px); border-radius: var(--radius); background: white; box-shadow: var(--shadow-lg); }
.dialog-heading { display: flex; justify-content: space-between; gap: 20px; }
.dialog-heading h2 { margin-bottom: 5px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; }
.lightbox figure { margin: 0; display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 180px); max-height: 84vh; border-radius: 8px; box-shadow: 0 25px 70px rgba(0,0,0,.4); }
.lightbox figcaption { margin-top: 12px; color: white; }
.lightbox-close { position: fixed; right: 22px; top: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: white; font-size: 1.7rem; }
.lightbox-arrow { width: 55px; height: 55px; justify-self: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.13); color: white; font-size: 2.2rem; }

.site-footer { padding-top: 65px; background: var(--pine-950); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 55px; }
.footer-brand { color: white; }
.footer-brand:hover { color: white; }
.footer-brand .brand-mark { background: var(--cream-100); color: var(--pine-900); }
.footer-brand small { color: rgba(255,255,255,.5); }
.footer-note { max-width: 380px; margin-top: 18px; font-size: .86rem; }
.site-footer h2 { margin: 0 0 14px; color: var(--moss-300); font: 800 .7rem ui-sans-serif, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a, .site-footer p { display: block; color: rgba(255,255,255,.78); }
.site-footer a { margin-bottom: 8px; }
.footer-bottom { margin-top: 55px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; }

@media (max-width: 1050px) {
    .menu-toggle { display: block; }
    .main-nav { position: fixed; left: 20px; right: 20px; top: 72px; display: none; max-height: calc(100vh - 90px); padding: 18px; overflow-y: auto; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-lg); }
    .main-nav.is-open { display: grid; }
    .main-nav > a, .nav-button { width: 100%; padding: 10px; text-align: left; }
    .main-nav > a::after { display: none; }
    .nav-form { width: 100%; }
    .admin-bar { top: 82px; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
    .hero-facts { grid-template-columns: 1fr; gap: 8px; }
    .hero-facts li { display: grid; grid-template-columns: 100px 1fr; align-items: center; }
    .hero-facts span { margin: 0; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .amenities-grid article:nth-child(even) { margin-top: 0; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .admin-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
    .container { width: min(100% - 28px, var(--container)); }
    .section { padding-block: 68px; }
    .hero-grid, .split-heading, .map-card, .form-section, .contacts-grid, .booking-layout, .admin-two-columns { grid-template-columns: 1fr; }
    .hero-copy { padding-top: 20px; }
    .hero-photo img { min-height: 420px; height: 58vh; }
    .hero-photo figcaption { left: 15px; }
    .amenities-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid, .reviews-grid-page { grid-template-columns: 1fr; }
    .map-card > div:first-child { order: 2; }
    .map-lines { height: 230px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .booking-form-card { position: static; }
    .form-section { gap: 22px; }
    .profile-reviews { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-dashboard-grid { grid-template-columns: 1fr; }
    .admin-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    h1 { font-size: 2.65rem; }
    h2 { font-size: 2rem; }
    .header-inner { min-height: 72px; }
    .brand-text small { display: none; }
    .admin-bar { top: 72px; }
    .admin-bar-title { display: none; }
    .hero { padding-top: 20px; }
    .hero-copy .button-row .button { width: 100%; }
    .hero-photo img { min-height: 380px; border-radius: var(--radius) var(--radius) 65px var(--radius); }
    .hero-photo::before { inset: 12px -8px -12px 8px; }
    .hero-facts { margin-top: 30px; }
    .amenities-grid, .news-grid, .form-grid, .profile-reviews, .stat-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .amenities-grid article { min-height: 220px; }
    .amenities-grid article > span { margin-bottom: 32px; }
    .page-header-row, .admin-header, .row-heading, .panel-heading { align-items: start; flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 165px; }
    .gallery-card-wide { grid-column: span 2; }
    .calendar-day { min-height: 40px; border-radius: 8px; font-size: .8rem; }
    .calendar-panel { padding: 16px; }
    .manage-cards article { grid-template-columns: 65px 1fr; }
    .manage-cards img, .mini-placeholder { width: 65px; height: 58px; }
    .card-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .admin-gallery-grid { grid-template-columns: 1fr 1fr; }
    .admin-gallery-grid img { height: 120px; }
    .moderation-head, .message-card header { flex-direction: column; }
    .moderation-head > div:last-child { justify-content: space-between; }
    .quick-contact-button { right: 14px; bottom: 14px; }
    .lightbox[open] { grid-template-columns: 42px 1fr 42px; }
    .lightbox img { max-width: calc(100vw - 90px); }
    .lightbox-arrow { width: 38px; height: 38px; font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
