:root {
    --olive: #536344;
    --olive-dark: #34402f;
    --olive-pale: #e9ede3;
    --sand: #f5f0e9;
    --sand-dark: #decfbd;
    --ink: #263027;
    --muted: #6c756d;
    --white: #fff;
    --shadow: 0 18px 50px rgba(43, 50, 39, .13);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fcfbf8;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 92px; }
.section-soft { background: var(--sand); }
.eyebrow {
    margin: 0 0 12px;
    color: var(--olive);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.eyebrow-light { color: #e0e9d7; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h2 { max-width: 760px; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -.04em; }
h3 { font-size: 1.6rem; font-weight: 500; }
.lead { color: #58625b; font-size: 1.03rem; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 700;
    transition: .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding-inline: 17px; font-size: .86rem; }
.button-primary { color: var(--white); background: var(--olive); }
.button-primary:hover { background: var(--olive-dark); }
.button-outline { border-color: #b3baa9; color: var(--olive-dark); background: transparent; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }

.site-header {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 50%;
    display: flex;
    width: min(1240px, calc(100% - 40px));
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    color: #fff;
    transform: translateX(-50%);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: .95rem; letter-spacing: .04em; line-height: 1; }
.brand small { display: block; margin-top: 6px; font-size: .58rem; letter-spacing: .24em; opacity: .82; }
.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 1.55rem;
}
.main-nav { display: flex; gap: 26px; font-size: .82rem; font-weight: 700; }
.main-nav a { opacity: .82; }
.main-nav a:hover { opacity: 1; }
.header-actions, .language-switcher { display: flex; align-items: center; gap: 11px; }
.language-switcher { gap: 5px; padding: 4px; border: 1px solid rgba(255,255,255,.4); border-radius: 100px; }
.language-switcher a { padding: 3px 6px; border-radius: 20px; font-size: .68rem; font-weight: 700; opacity: .7; }
.language-switcher a.active { color: var(--olive-dark); background: #fff; opacity: 1; }
.header-call { color: #fff; border-color: rgba(255,255,255,.4); }

.hero { position: relative; display: grid; min-height: 780px; overflow: hidden; align-items: end; color: #fff; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(22,33,24,.83) 0%, rgba(22,33,24,.58) 40%, rgba(22,33,24,.18) 100%); }
.hero-content { position: relative; padding-bottom: 122px; }
.hero h1 { max-width: 730px; font-size: clamp(4rem, 8vw, 7.4rem); font-weight: 400; letter-spacing: -.075em; }
.hero-subtitle { max-width: 650px; margin: 18px 0 0; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.25; }
.hero-text { max-width: 600px; margin: 14px 0 26px; color: rgba(255,255,255,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-card {
    position: absolute;
    right: 5vw;
    bottom: 46px;
    display: grid;
    gap: 4px;
    padding: 16px 22px;
    border-left: 1px solid rgba(255,255,255,.6);
    font-size: .8rem;
    letter-spacing: .04em;
}
.hero-card span { opacity: .7; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #e0ded8; }
.stat { padding: 28px 10px; border-right: 1px solid #e0ded8; text-align: center; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--olive); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.stat span { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.about-grid, .feature-grid, .location-rules, .booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-grid .lead { max-width: 650px; }
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; aspect-ratio: 4/5; border-radius: 160px 160px 10px 10px; object-fit: cover; }
.image-caption { position: absolute; right: -20px; bottom: 28px; padding: 10px 16px; border-radius: 100px; color: var(--olive-dark); background: #fff; box-shadow: var(--shadow); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 26px; color: #536055; }
.check-list li::before { position: absolute; left: 0; content: "✓"; color: var(--olive); font-weight: 700; }
.sleep-card, .rules-card { padding: 34px; border: 1px solid #e2dbd0; border-radius: var(--radius); background: #fff; box-shadow: 0 12px 36px rgba(84, 77, 64, .06); }
.sleep-row { display: grid; gap: 2px; padding-block: 15px; border-bottom: 1px solid #ece8e2; }
.sleep-row:last-child { border-bottom: 0; padding-bottom: 0; }
.sleep-row span { color: var(--muted); font-size: .91rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading span { color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 10px; margin-top: 32px; }
.gallery-item { overflow: hidden; padding: 0; border: 0; border-radius: 8px; cursor: zoom-in; background: #e6e1d9; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(8) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-extra { display: none; }
.gallery-grid.expanded .gallery-extra { display: block; }
.gallery-toggle { margin: 24px auto 0; }
.lightbox { max-width: min(1040px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 12px; background: transparent; }
.lightbox::backdrop { background: rgba(12,16,12,.88); }
.lightbox img { max-height: 88vh; border-radius: 12px; }
.lightbox-close { position: fixed; top: 18px; right: 24px; border: 0; color: #fff; background: transparent; cursor: pointer; font-size: 3rem; line-height: 1; }

.residence { color: #fff; background: var(--olive-dark); }
.residence-heading { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; align-items: start; }
.residence h2 { max-width: 650px; }
.residence p { max-width: 600px; color: rgba(255,255,255,.7); }
.residence-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin: 0; padding: 0; list-style: none; color: #e4ecde; font-size: .92rem; }
.residence-features li::before { margin-right: 8px; color: #b9cbaa; content: "•"; }
.residence-gallery { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 10px; margin-top: 36px; }
.residence-gallery img { width: 100%; height: 270px; border-radius: 10px; object-fit: cover; }
.rules-card ul { margin: 18px 0 0; padding-left: 20px; color: var(--muted); }
.rules-card li + li { margin-top: 8px; }

.calendar-card { margin-top: 28px; padding: 24px; border: 1px solid #e2dbd0; border-radius: var(--radius); background: #fff; box-shadow: 0 12px 36px rgba(84,77,64,.06); }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; }
.calendar-toolbar strong { font-family: Georgia, serif; font-size: 1.4rem; text-transform: capitalize; }
.calendar-toolbar button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #d9ddd4; border-radius: 50%; color: var(--olive); background: transparent; cursor: pointer; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.calendar-day { min-height: 48px; padding: 7px; border-radius: 6px; color: #4a554d; text-align: right; font-size: .82rem; }
.calendar-weekday { min-height: auto; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.calendar-outside { opacity: .35; }
.calendar-unavailable { color: #9c564e; background: #f6e4df; text-decoration: line-through; }
.calendar-today { outline: 1px solid var(--olive); }
.calendar-legend { display: flex; gap: 20px; margin-top: 16px; color: var(--muted); font-size: .8rem; }
.legend-dot { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; background: var(--olive-pale); }
.legend-unavailable { background: #e4a9a0; }

.booking-section { color: #fff; background: #3e4938; }
.booking-section h2 { margin-bottom: 14px; }
.booking-section p { max-width: 480px; color: rgba(255,255,255,.7); }
.contact-phone { display: inline-block; margin-top: 14px; color: #dce8d3; font-family: Georgia, serif; font-size: 1.6rem; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 26px; border-radius: var(--radius); color: var(--ink); background: #fff; }
.booking-form label { display: grid; gap: 5px; color: var(--muted); font-size: .77rem; font-weight: 700; letter-spacing: .04em; }
.booking-form input, .booking-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dfe1dc;
    border-radius: 7px;
    color: var(--ink);
    background: #fcfcfa;
    font-size: .94rem;
}
.field-wide { grid-column: 1 / -1; }
.field-error, .form-errors { color: #ae4e45; }
.form-errors { margin: 0; font-size: .83rem; }
.form-errors ul { margin: 0; padding-left: 18px; }
.site-footer { color: rgba(255,255,255,.72); background: #293027; font-size: .78rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; }

.success-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: var(--sand); }
.success-card { max-width: 580px; padding: 52px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; }
.success-card .brand-mark { margin: 0 auto 18px; border-color: var(--olive); color: var(--olive); }
.success-card h1 { font-size: 4rem; }
.success-card p:not(.eyebrow) { margin: 14px 0 24px; color: var(--muted); }

@media (max-width: 860px) {
    .main-nav { display: none; }
    .hero { min-height: 690px; }
    .hero-content { padding-bottom: 96px; }
    .hero-card { display: none; }
    .about-grid, .feature-grid, .location-rules, .booking-grid, .residence-heading { grid-template-columns: 1fr; gap: 34px; }
    .about-image-wrap { max-width: 560px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
    .residence-gallery img { height: 190px; }
}

@media (max-width: 560px) {
    .shell { width: min(100% - 28px, 1160px); }
    .section { padding-block: 66px; }
    .site-header { width: calc(100% - 28px); padding-top: 16px; }
    .header-call { display: none; }
    .hero { min-height: 640px; }
    .hero h1 { font-size: 4rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .stats { width: 100%; grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid #e0ded8; }
    .check-list { grid-template-columns: 1fr; }
    .sleep-card, .rules-card { padding: 24px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 7px; }
    .gallery-item:nth-child(8) { grid-column: auto; }
    .residence-features { grid-template-columns: 1fr; }
    .residence-gallery { grid-template-columns: 1fr 1fr; }
    .residence-gallery img { height: 150px; }
    .residence-gallery img:first-child { grid-column: 1 / -1; }
    .calendar-card { padding: 14px; }
    .calendar { gap: 2px; }
    .calendar-day { min-height: 40px; padding: 5px; }
    .booking-form { grid-template-columns: 1fr; padding: 18px; }
    .field-wide { grid-column: auto; }
    .footer-inner { display: grid; gap: 2px; }
}

