:root {
    --cream: #FBF6F0;
    --cream-2: #F3E9DC;
    --paper: #FFFDF9;
    --ink: #161210;
    --ink-2: #3B322A;
    --muted: #6F6256;
    --line: #E4D4C2;
    --orange: #C85A24;
    --orange-2: #9E4318;
    --apricot: #E8A36B;
    --blush: #F4D3B4;
    --black: #111111;
    --shadow: 0 18px 50px rgba(22, 18, 16, 0.08);
    --radius: 18px;
    --header: 84px;
    --max: 1180px;
    --font: "Outfit", system-ui, sans-serif;
    --serif: "Cormorant Garamond", "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.6em;
}

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

.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 {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--ink);
    color: #fff;
    padding: 8px 12px;
    z-index: 100;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: min(calc(100% - 32px), var(--max));
    margin-inline: auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--orange);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.lead {
    font-size: 1.12rem;
    color: var(--ink-2);
    max-width: 38rem;
}

.section {
    padding: 88px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 42px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.center .lead {
    margin-inline: auto;
}

.section-head h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: 0.25s ease;
}

.btn-orange {
    background: var(--orange);
    color: #fff;
}

.btn-orange:hover {
    background: var(--orange-2);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-dark:hover {
    background: var(--orange);
}

.btn-ghost {
    border-color: var(--line);
    background: transparent;
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: var(--ink);
}

.btn-on-dark {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.btn-on-dark:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background: #12100e;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-glow {
    position: absolute;
    width: min(460px, 78vw);
    height: min(460px, 78vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28, 22, 16, 0.98) 0%, rgba(12, 10, 8, 0.88) 42%, transparent 72%);
    box-shadow: 0 0 80px 30px rgba(0, 0, 0, 0.55);
    animation: glowPulse 2.4s ease-in-out infinite;
}

.preloader-logo {
    position: relative;
    z-index: 1;
    width: min(300px, 68vw);
    filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 28px rgba(0, 0, 0, 0.5));
    animation: logoIn 1s ease both;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(0.92); opacity: 0.75; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes logoIn {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(251, 246, 240, 0.94);
    border-bottom: 1px solid transparent;
}

@media (min-width: 981px) {
    .site-header {
        background: rgba(251, 246, 240, 0.86);
        backdrop-filter: blur(16px);
    }
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header);
    gap: 20px;
    flex-wrap: nowrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    height: 72px;
    width: auto;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--orange);
    color: var(--orange);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.brand-text em {
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    position: relative;
    font-size: 0.92rem;
    color: var(--ink-2);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
}

.nav-link.is-active::after,
.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta-mobile {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    margin: 6px auto;
    background: var(--ink);
    transition: 0.25s ease;
}

body.nav-open .nav-toggle span:first-child {
    transform: translateY(3.7px) rotate(40deg);
}

body.nav-open .nav-toggle span:last-child {
    transform: translateY(-3.7px) rotate(-40deg);
}

/* Photos */
.photo {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    background:
        linear-gradient(180deg, rgba(200, 90, 36, 0.08), rgba(22, 18, 16, 0.04)),
        repeating-linear-gradient(135deg, #f7ecdf 0 14px, #f1e2d1 14px 28px);
    border-radius: inherit;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo.is-empty img {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.photo-slot {
    display: none;
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.88);
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    pointer-events: none;
}

.photo.is-empty .photo-slot {
    display: block;
}

/* Hero */
.hero {
    position: relative;
    min-height: min(88vh, 860px);
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    min-height: 0;
    border-radius: 0;
}

.hero-media.is-empty {
    background:
        linear-gradient(180deg, rgba(17, 17, 17, 0.15), rgba(17, 17, 17, 0.45)),
        linear-gradient(135deg, #2a1b14 0%, #7a3a1a 48%, #c85a24 100%);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 17, 17, 0.18), rgba(17, 17, 17, 0.55)),
        linear-gradient(90deg, rgba(17, 17, 17, 0.35), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 0 72px;
    max-width: 760px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6.4rem);
    margin-bottom: 16px;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.88);
}

.hero .eyebrow {
    color: var(--blush);
}

/* Page hero */
.page-hero {
    padding: 56px 0 28px;
}

.page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.86rem;
}

.crumbs a:hover {
    color: var(--orange);
}

.crumbs span {
    color: var(--ink);
}

/* Intro / split */
.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.split-media {
    min-height: 520px;
    border-radius: 28px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.stat {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.stat b {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--orange);
}

.stat span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Cards */
.card-grid,
.room-grid,
.amenity-grid,
.gallery-grid {
    display: grid;
    gap: 22px;
}

.room-grid {
    grid-template-columns: repeat(3, 1fr);
}

.room-card,
.amenity-card,
.value-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.room-card .photo {
    height: 260px;
    border-radius: 0;
}

.room-card-body,
.amenity-card,
.value-card {
    padding: 24px;
}

.room-card h3,
.amenity-card h3 {
    font-size: 1.8rem;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 12px 0 18px;
    color: var(--muted);
    font-size: 0.88rem;
}

.room-card:hover {
    transform: translateY(-4px);
    transition: transform 0.25s ease;
}

/* Amenities */
.amenity-grid,
.value-grid {
    grid-template-columns: repeat(3, 1fr);
}

.amenity-card,
.value-card {
    min-height: 100%;
}

.icon-dot {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border: 1px solid var(--blush);
    color: var(--orange);
    font-family: var(--serif);
}

/* Gallery */
.gallery-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-btn {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-2);
}

.filter-btn.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.gallery-grid {
    grid-template-columns: repeat(12, 1fr);
}

.gallery-item {
    grid-column: span 4;
    min-height: 280px;
    border-radius: 20px;
    cursor: zoom-in;
}

.gallery-item .photo {
    height: 100%;
    min-height: 280px;
}

.gallery-item.wide {
    grid-column: span 8;
}

.gallery-item.tall {
    min-height: 380px;
}

.mosaic {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 14px;
}

.mosaic .photo:first-child {
    grid-row: 1 / 3;
    border-radius: 24px;
}

.mosaic .photo {
    height: 100%;
    min-height: 100%;
    border-radius: 18px;
}

.room-feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.room-feature-media {
    min-height: 420px;
    border-radius: 22px;
}

.video-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: center;
    gap: 22px;
}

.video-card {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #111;
    box-shadow: var(--shadow);
}

.video-card video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    background: #111;
}

.video-card figcaption {
    padding: 10px 14px 14px;
    color: #efe6dc;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Quote / band */
.band {
    background: var(--ink);
    color: #f7efe6;
}

.band .eyebrow {
    color: var(--apricot);
}

.quote {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.quote blockquote {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-style: italic;
    line-height: 1.25;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
}

.info-list {
    display: grid;
    gap: 18px;
}

.info-list div {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.info-list b {
    display: block;
    margin-bottom: 4px;
}

.form {
    display: grid;
    gap: 14px;
    padding: 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.form label {
    display: grid;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--ink-2);
}

.form input,
.form select,
.form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
}

.form textarea {
    min-height: 140px;
    resize: vertical;
}

.form-note,
.form-success {
    padding: 12px 14px;
    border-radius: 12px;
    background: #eef6ea;
    color: #24511f;
}

.form-error {
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8ece8;
    color: #8a2d16;
}

.map-frame {
    min-height: 320px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--cream-2);
}

.map-frame .photo {
    min-height: 320px;
    height: 320px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

/* Room detail */
.detail-hero {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 16px;
}

.detail-hero .photo {
    min-height: 460px;
    border-radius: 26px;
}

.detail-side {
    display: grid;
    gap: 16px;
}

.detail-side .photo {
    min-height: 222px;
    border-radius: 22px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 48px;
}

.side-card {
    position: sticky;
    top: 108px;
    padding: 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.check-list li::before {
    content: "– ";
    color: var(--orange);
}

/* Footer */
.site-footer {
    padding: 64px 0 28px;
    background: #171310;
    color: #efe6dc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h2 {
    font-size: 2rem;
}

.site-footer h2 em,
.site-footer p,
.site-footer li,
.site-footer address {
    font-style: normal;
    color: rgba(239, 230, 220, 0.74);
}

.site-footer h3 {
    font-family: var(--font);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--apricot);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-links a:hover,
.footer-social a:hover,
.site-footer a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    font-size: 0.86rem;
    color: rgba(239, 230, 220, 0.55);
}

.quick-fabs {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: grid;
    gap: 10px;
}

.call-fab,
.whatsapp-fab {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.2);
}

.call-fab {
    background: var(--ink);
}

.call-fab:hover {
    background: var(--orange);
}

.whatsapp-fab {
    background: #1f8b4c;
}

.footer-logo-card {
    display: inline-block;
    margin-bottom: 14px;
    padding: 10px 14px;
    background: #fbf6f0;
    border-radius: 16px;
}

.footer-logo {
    width: min(168px, 58vw);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.article-wrap {
    max-width: 760px;
}

.article-media {
    min-height: 360px;
    border-radius: 24px;
    margin: 28px 0 36px;
}

.article-body p {
    font-size: 1.05rem;
    color: var(--ink-2);
    margin-bottom: 1.15em;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    background: rgba(17, 17, 17, 0.92);
    padding: 24px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 78vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
}

.lightbox-close {
    top: 16px;
    right: 24px;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-caption {
    position: absolute;
    bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
}

/* 404 */
.empty-page {
    min-height: 60vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 0;
}

/* Mobile */
@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    body.nav-open {
        overflow: hidden;
    }

    .nav {
        position: fixed;
        inset: var(--header) 0 0;
        z-index: 45;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 18px 20px 32px;
        background: var(--cream);
        overflow: auto;
    }

    body.nav-open .nav {
        display: flex;
    }

    .nav-cta-mobile {
        display: flex;
        margin-top: 22px;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 16px 0;
        font-size: 1.35rem;
        font-family: var(--serif);
        border-bottom: 1px solid var(--line);
    }

    .split,
    .contact-grid,
    .detail-hero,
    .detail-layout,
    .footer-grid,
    .mosaic,
    .room-feature,
    .video-row {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .video-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 420px;
        margin-inline: auto;
    }

    .room-grid,
    .amenity-grid,
    .value-grid,
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .split-media,
    .detail-hero .photo,
    .mosaic .photo:first-child {
        min-height: 320px;
    }

    .stat-row {
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item.wide {
        grid-column: span 12;
        min-height: 240px;
    }

    .gallery-item .photo {
        min-height: 240px;
    }

    .footer-bottom,
    .header-inner {
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .side-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .room-grid,
    .amenity-grid,
    .value-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .hero {
        min-height: 78vh;
    }

    .hero-content {
        padding-bottom: 48px;
    }

    .btn {
        width: 100%;
    }

    .btn-row .btn {
        flex: 1 1 100%;
    }

    .video-row {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
