:root {
    --color-ivory: #fbfaf6;
    --color-white: #ffffff;
    --color-beige: #f1eadf;
    --color-beige-deep: #dfd0bd;
    --color-olive: #59633d;
    --color-olive-dark: #30391f;
    --color-sage: #8a9568;
    --color-wood: #9b6842;
    --color-wood-dark: #5b3928;
    --color-ink: #202016;
    --color-muted: #6e6a5f;
    --color-line: rgba(48, 57, 31, 0.14);
    --shadow-soft: 0 22px 70px rgba(48, 57, 31, 0.14);
    --radius: 8px;
    --container: 1180px;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-ivory);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.skip-link,
.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;
}

.skip-link:focus {
    z-index: 100;
    top: 14px;
    left: 14px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    margin: 0;
    clip: auto;
    color: var(--color-white);
    background: var(--color-olive-dark);
    border-radius: var(--radius);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-height);
    background: rgba(251, 250, 246, 0.9);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(251, 250, 246, 0.96);
    border-color: var(--color-line);
    box-shadow: 0 14px 40px rgba(48, 57, 31, 0.08);
}

.nav-shell {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-weight: 800;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--color-white);
    background: var(--color-olive);
    border-radius: var(--radius);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.25rem;
    box-shadow: inset 0 -10px 22px rgba(0, 0, 0, 0.16);
}

.brand-text {
    max-width: min(52vw, 260px);
    color: var(--color-olive-dark);
    font-size: 1.08rem;
    line-height: 1.15;
}

.nav-panel,
.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    position: relative;
    color: var(--color-muted);
    font-size: 0.94rem;
    font-weight: 700;
    transition: color 180ms ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    background: var(--color-wood);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-olive-dark);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--color-olive-dark);
    background: var(--color-beige);
    border-radius: var(--radius);
    cursor: pointer;
}

.nav-toggle .icon-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    color: var(--color-white);
    background: var(--color-olive);
    border-radius: var(--radius);
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 16px 38px rgba(89, 99, 61, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(89, 99, 61, 0.28);
}

.btn svg,
.btn i,
.icon-box svg,
.icon-box i,
.contact-list svg,
.quick-actions svg,
.room-meta svg,
.text-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    stroke-width: 2;
}

.btn-primary {
    background: var(--color-olive);
}

.btn-primary:hover {
    background: var(--color-olive-dark);
}

.btn-secondary {
    color: var(--color-olive-dark);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: none;
}

.btn-secondary:hover {
    color: var(--color-white);
    background: var(--color-wood);
}

.btn-light {
    color: var(--color-olive-dark);
    background: var(--color-white);
    box-shadow: 0 16px 36px rgba(32, 32, 22, 0.16);
}

.btn-small {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 0.92rem;
}

.hero {
    position: relative;
    min-height: 86svh;
    display: grid;
    align-items: center;
    padding: calc(var(--header-height) + 58px) 0 74px;
    overflow: hidden;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: var(--hero-position, center);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(32, 32, 22, 0.72) 0%, rgba(32, 32, 22, 0.42) 42%, rgba(32, 32, 22, 0.08) 100%),
        linear-gradient(180deg, rgba(251, 250, 246, 0.2) 0%, rgba(251, 250, 246, 0) 42%, rgba(251, 250, 246, 0.16) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-content {
    width: min(650px, 100%);
    color: var(--color-white);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--color-wood);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero .eyebrow,
.offer-band .eyebrow {
    color: #f3d8ac;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: 4rem;
}

h2 {
    margin-bottom: 18px;
    color: var(--color-olive-dark);
    font-size: 2.55rem;
}

h3 {
    margin-bottom: 9px;
    color: var(--color-olive-dark);
    font-size: 1.08rem;
    line-height: 1.35;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 530px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.16rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 620px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-metrics strong {
    display: block;
    margin-bottom: 2px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.hero-metrics span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
}

.scroll-cue {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 24px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 999px;
    transform: translateX(-50%);
    animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 8px);
    }
}

.section {
    padding: 96px 0;
}

.section-heading {
    width: min(700px, 100%);
    margin-bottom: 38px;
}

.section-heading p,
.section-copy p {
    color: var(--color-muted);
}

.model-section {
    background: var(--color-ivory);
}

.model-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 58px;
    align-items: start;
}

.section-copy {
    max-width: 620px;
}

.check-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.check-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: var(--color-olive-dark);
    font-weight: 700;
}

.check-list svg {
    width: 22px;
    height: 22px;
    color: var(--color-wood);
    margin-top: 3px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.highlight-card,
.room-card,
.amenity-item,
.contact-form {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 14px 38px rgba(48, 57, 31, 0.07);
}

.highlight-card {
    min-height: 236px;
    padding: 24px;
}

.icon-box {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--color-olive-dark);
    background: var(--color-beige);
    border-radius: var(--radius);
    margin-bottom: 18px;
}

.highlight-card p,
.amenity-item p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 0.94rem;
}

.rooms-section,
.gallery-section {
    background: var(--color-white);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.room-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.room-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-beige);
}

.room-media img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--image-position, center);
    transition: transform 500ms ease;
}

.room-card:hover .room-media img,
.gallery-item:hover img {
    transform: scale(1.045);
}

.room-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.room-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.room-title-row h3 {
    margin-bottom: 0;
}

.room-title-row span {
    flex: 0 0 auto;
    color: var(--color-wood-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.room-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.room-meta span,
.text-link,
.contact-list p,
.quick-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tag-list span {
    padding: 6px 10px;
    color: var(--color-olive-dark);
    background: var(--color-beige);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.room-footer {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.room-footer strong {
    color: var(--color-wood-dark);
    font-size: 1rem;
}

.text-link {
    width: fit-content;
    color: var(--color-olive);
    font-weight: 800;
    transition: color 180ms ease;
}

.text-link:hover {
    color: var(--color-wood);
}

.offer-band {
    padding: 56px 0;
    color: var(--color-white);
    background:
        linear-gradient(135deg, rgba(48, 57, 31, 0.96), rgba(89, 99, 61, 0.92)),
        url("../images/garden-view.png") center / cover;
}

.offer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.offer-inner h2 {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--color-white);
}

.amenities-section,
.map-section {
    background: var(--color-beige);
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.amenity-item {
    min-height: 166px;
    display: flex;
    gap: 16px;
    padding: 22px;
}

.amenity-item .icon-box {
    flex: 0 0 auto;
    margin-bottom: 0;
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 210px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-beige);
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-tall {
    grid-row: span 2;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(180deg, rgba(32, 32, 22, 0), rgba(32, 32, 22, 0.68));
}

.gallery-item figcaption {
    position: absolute;
    z-index: 1;
    left: 18px;
    bottom: 16px;
    color: var(--color-white);
    font-weight: 800;
}

.map-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 44px;
    align-items: center;
}

.contact-list {
    display: grid;
    gap: 12px;
    margin: 28px 0;
}

.contact-list p {
    margin: 0;
    color: var(--color-olive-dark);
    font-weight: 700;
}

.map-frame {
    min-height: 440px;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
}

.contact-section {
    background: var(--color-ivory);
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.quick-actions a {
    min-height: 44px;
    padding: 0 14px;
    color: var(--color-olive-dark);
    background: var(--color-beige);
    border-radius: var(--radius);
    font-weight: 800;
}

.contact-form {
    padding: 28px;
    background: var(--color-white);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--color-olive-dark);
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--color-ink);
    background: var(--color-ivory);
    border: 1px solid rgba(48, 57, 31, 0.18);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form textarea {
    min-height: 128px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: var(--color-white);
    border-color: var(--color-olive);
    box-shadow: 0 0 0 4px rgba(89, 99, 61, 0.14);
}

.form-submit {
    width: 100%;
}

.form-message {
    min-height: 26px;
    margin: 12px 0 0;
    color: var(--color-olive);
    font-weight: 800;
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background: var(--color-olive-dark);
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 46px;
    padding: 58px 0 34px;
}

.footer-brand {
    margin-bottom: 18px;
}

.footer-brand .brand-text,
.site-footer h2,
.site-footer a {
    color: var(--color-white);
}

.site-footer h2 {
    margin-bottom: 14px;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 1rem;
}

.site-footer p {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 800;
}

.footer-bottom {
    padding: 18px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.92rem;
}

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

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .highlight-grid,
    .room-grid,
    .amenity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .model-layout,
    .map-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .section-copy {
        max-width: 760px;
    }
}

@media (max-width: 920px) {
    :root {
        --header-height: 70px;
    }

    .container {
        width: min(100% - 32px, var(--container));
    }

    .nav-toggle {
        display: grid;
    }

    .nav-panel {
        position: fixed;
        top: calc(var(--header-height) + 12px);
        left: 16px;
        right: 16px;
        display: grid;
        gap: 18px;
        padding: 18px;
        background: rgba(251, 250, 246, 0.98);
        border: 1px solid var(--color-line);
        border-radius: var(--radius);
        box-shadow: var(--shadow-soft);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .nav-panel.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links {
        display: grid;
        gap: 4px;
    }

    .nav-link {
        min-height: 42px;
        display: flex;
        align-items: center;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: 82svh;
        padding-bottom: 70px;
        background-position: 62% center;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(32, 32, 22, 0.78) 0%, rgba(32, 32, 22, 0.48) 100%),
            linear-gradient(180deg, rgba(32, 32, 22, 0.2), rgba(32, 32, 22, 0.02));
    }

    h1 {
        font-size: 3.1rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 220px;
    }

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

@media (max-width: 680px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        min-height: 84svh;
        padding-top: calc(var(--header-height) + 42px);
    }

    h1 {
        font-size: 2.45rem;
    }

    h2 {
        font-size: 1.9rem;
    }

    .hero-actions,
    .offer-inner,
    .quick-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn,
    .offer-inner .btn,
    .quick-actions a {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .highlight-grid,
    .room-grid,
    .amenity-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        min-height: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .gallery-large {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-tall {
        grid-row: auto;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 340px;
    }

    .contact-form {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

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