/* ==========================================================================
   Muchalinda Palace — site styles
   Palette taken from the logo (espresso + bronze) and the rooms'
   teal feature wallpaper, on a warm ivory base.
   ========================================================================== */

:root {
    --mp-ivory: #faf7f2;
    --mp-paper: #ffffff;
    --mp-sand: #f3ece2;
    --mp-stone: #e6dccf;
    --mp-line: #e9e0d4;
    --mp-ink: #2b221d;
    --mp-ink-soft: #5d524a;
    --mp-muted: #8a7e74;
    --mp-bronze: #8a6444;
    --mp-bronze-deep: #6b4b31;
    --mp-gold: #c49a70;
    --mp-teal: #2f5754;
    --mp-teal-soft: #e5eeec;

    --mp-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --mp-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --mp-radius: 18px;
    --mp-radius-sm: 10px;
    --mp-shadow: 0 1px 2px rgba(43, 34, 29, .04), 0 12px 32px -12px rgba(43, 34, 29, .18);
    --mp-shadow-lg: 0 30px 60px -24px rgba(43, 34, 29, .35);
    --mp-ease: cubic-bezier(.22, .61, .36, 1);
    --mp-header-h: 76px;

    --bs-body-font-family: var(--mp-font-body);
    --bs-body-color: var(--mp-ink);
    --bs-body-bg: var(--mp-ivory);
    --bs-link-color-rgb: 107, 75, 49;
    --bs-link-hover-color-rgb: 43, 34, 29;
    --bs-border-color: var(--mp-line);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mp-header-h) + 16px); }
body {
    font-family: var(--mp-font-body);
    font-size: 1.0125rem;
    line-height: 1.7;
    color: var(--mp-ink);
    background: var(--mp-ivory);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
main:focus { outline: none; }
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
@media (max-width: 575.98px) { .container { --bs-gutter-x: 2.5rem; } }
.img-placeholder code, .note-small code, .amenity-empty code { color: inherit; background: rgba(138, 100, 68, .12); padding: .05rem .35rem; border-radius: 4px; font-size: .9em; }
.img-placeholder.on-dark code { background: rgba(255, 255, 255, .14); }

h1, h2, h3, .display-font {
    font-family: var(--mp-font-display);
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.1;
    color: var(--mp-ink);
}
h4, h5, h6 { font-weight: 700; }
::selection { background: var(--mp-gold); color: #fff; }

a { text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--mp-gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; z-index: 2000; left: 1rem; top: 1rem;
    background: var(--mp-ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}

/* ---------- Placeholder badges ---------- */
.badge-tbc {
    display: inline-flex; align-items: center; gap: .3em;
    font-family: var(--mp-font-body);
    font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: #8a5a00; background: #fff4dc; border: 1px dashed #e0b25a;
    padding: .18rem .55rem; border-radius: 999px; vertical-align: middle; line-height: 1.4;
}
.badge-tbc::before { content: "\270E"; font-size: .9em; }
.text-tbc { color: #8a5a00; font-style: italic; font-size: .95em; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .75rem 1.5rem; letter-spacing: .01em; transition: transform .25s var(--mp-ease), box-shadow .25s var(--mp-ease), background-color .2s, color .2s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn-brand { --bs-btn-bg: var(--mp-bronze-deep); --bs-btn-border-color: var(--mp-bronze-deep); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--mp-ink); --bs-btn-hover-border-color: var(--mp-ink); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--mp-ink); --bs-btn-active-color: #fff; --bs-btn-focus-shadow-rgb: 196, 154, 112; }
.btn-brand:hover { box-shadow: 0 10px 24px -10px rgba(43, 34, 29, .55); transform: translateY(-2px); }
.btn-outline-brand { --bs-btn-color: var(--mp-ink); --bs-btn-border-color: rgba(43, 34, 29, .25); --bs-btn-hover-bg: var(--mp-ink); --bs-btn-hover-border-color: var(--mp-ink); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--mp-ink); --bs-btn-active-color: #fff; }
.btn-light-glass { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-light-glass:hover, .btn-light-glass:focus-visible { color: var(--mp-ink); background: #fff; border-color: #fff; }
.btn-ivory { color: var(--mp-ink); background: var(--mp-ivory); border: 1px solid var(--mp-ivory); }
.btn-ivory:hover, .btn-ivory:focus-visible { background: #fff; color: var(--mp-ink); transform: translateY(-2px); }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--mp-bronze-deep); text-decoration: none; }
.link-arrow i { transition: transform .25s var(--mp-ease); }
.link-arrow:hover i, .link-arrow:focus-visible i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--mp-ink);
    color: rgba(255, 255, 255, .82);
    font-size: .82rem;
    padding: .5rem 0;
}
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover, .topbar a:focus-visible { color: #fff; }
.topbar i { color: var(--mp-gold); }
.topbar-cta { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; color: var(--mp-gold) !important; }
@media (max-width: 575.98px) {
    .topbar { font-size: .76rem; }
    .topbar-list { gap: .25rem 1rem !important; }
}

/* ---------- Header / navbar ---------- */
.site-header {
    position: sticky;
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--mp-ease), border-color .3s;
}
/* Blur lives on a pseudo-element: a backdrop-filter on the header itself
   would become the containing block for the fixed mobile offcanvas menu. */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(250, 247, 242, .92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--mp-line); box-shadow: 0 8px 30px -18px rgba(43, 34, 29, .35); }
.site-header .navbar { min-height: var(--mp-header-h); padding: .5rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: 0; }
.brand-mark { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--mp-font-display); font-weight: 700; font-size: 1.55rem; color: var(--mp-ink); letter-spacing: .01em; }
.brand-sub { font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mp-bronze); margin-top: .3rem; }

.navbar .nav-link {
    position: relative;
    font-weight: 600; font-size: .94rem;
    color: var(--mp-ink-soft);
    padding: .55rem .9rem !important;
    border-radius: 999px;
    transition: color .2s, background-color .2s;
}
.navbar .nav-link:hover, .navbar .nav-link:focus-visible { color: var(--mp-ink); background: var(--mp-sand); }
.navbar .nav-link.active { color: var(--mp-ink); }
@media (min-width: 992px) {
    .navbar .nav-link.active::after {
        content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 2px;
        background: var(--mp-bronze); border-radius: 2px; transform: translateX(-50%);
    }
}

.navbar-toggler { border: 0; padding: .6rem; display: inline-flex; flex-direction: column; gap: 5px; border-radius: 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(196, 154, 112, .5); }
.toggler-bar { display: block; width: 24px; height: 2px; background: var(--mp-ink); border-radius: 2px; }
.toggler-bar:nth-child(2) { width: 16px; align-self: flex-end; }

@media (max-width: 991.98px) {
    .offcanvas { background: var(--mp-ivory); max-width: 86vw; }
    .offcanvas .nav-link { font-size: 1.15rem; padding: .85rem 1rem !important; border-radius: 12px; }
    .offcanvas .nav-link.active { background: var(--mp-sand); box-shadow: inset 3px 0 0 var(--mp-bronze); }
    .offcanvas .btn-brand { width: 100%; }
    .offcanvas-title { font-size: 1.5rem; }
    .offcanvas-contact { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--mp-line); }
    .offcanvas-contact a { color: var(--mp-ink); font-weight: 600; }
    .brand-mark { height: 40px; }
    .brand-name { font-size: 1.35rem; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-sm { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-sand { background: var(--mp-sand); }
.section-paper { background: var(--mp-paper); }
.section-ink { background: var(--mp-ink); color: rgba(255, 255, 255, .82); }
.section-ink h2, .section-ink h3 { color: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .75rem;
    font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--mp-bronze); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-ink .eyebrow { color: var(--mp-gold); }
.section-title { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 1.25rem; }
.section-title em { font-style: italic; color: var(--mp-bronze); font-weight: 500; }
.section-ink .section-title em { color: var(--mp-gold); }
.lead-text { font-size: 1.12rem; color: var(--mp-ink-soft); max-width: 40rem; }
.section-ink .lead-text { color: rgba(255, 255, 255, .75); }

/* ---------- Hero carousel ---------- */
.hero { position: relative; background: var(--mp-ink); }
.hero .carousel-item { height: min(88vh, 860px); min-height: 540px; overflow: hidden; }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero .carousel-item.active img { transform: scale(1); }
.hero .carousel-item::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 15, 12, .35) 0%, rgba(20, 15, 12, 0) 30%),
        linear-gradient(90deg, rgba(20, 15, 12, .82) 0%, rgba(20, 15, 12, .45) 45%, rgba(20, 15, 12, .05) 80%);
}
.hero-content {
    position: absolute; inset: 0; z-index: 3;
    display: flex; align-items: center;
    pointer-events: none;
}
.hero-content .container { pointer-events: auto; }
.hero-kicker { color: var(--mp-gold); font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .8rem; }
.hero-kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 600; max-width: 13ch; margin-bottom: 1.25rem; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero h1 em { font-style: italic; font-weight: 500; color: #f1dcc4; }
.hero-lead { color: rgba(255, 255, 255, .88); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 34rem; margin-bottom: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 2.5rem; color: rgba(255, 255, 255, .85); font-size: .9rem; }
.hero-facts strong { display: block; font-family: var(--mp-font-display); font-size: 2rem; color: #fff; line-height: 1; font-weight: 600; }

.hero-caption { position: absolute; right: 1.5rem; top: 1.5rem; z-index: 4; color: rgba(255, 255, 255, .8); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-controls { position: absolute; z-index: 4; left: 0; right: 0; bottom: 1.5rem; }
.hero-controls .container { display: flex; align-items: center; gap: 1rem; }
.hero .carousel-indicators { position: static; margin: 0; justify-content: flex-start; gap: .4rem; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 3px; border: 0; margin: 0; border-radius: 3px; background: rgba(255, 255, 255, .45); opacity: 1; transition: width .3s var(--mp-ease), background-color .3s; }
.hero .carousel-indicators .active { width: 56px; background: #fff; }
.hero-arrow {
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .4);
    backdrop-filter: blur(6px); transition: background-color .2s, color .2s;
}
.hero-arrow:hover, .hero-arrow:focus-visible { background: #fff; color: var(--mp-ink); }
.hero-pause { font-size: .9rem; }
@media (max-width: 767.98px) {
    .hero .carousel-item { height: 82vh; min-height: 560px; }
    .hero .carousel-item::after { background: linear-gradient(180deg, rgba(20, 15, 12, .55) 0%, rgba(20, 15, 12, .68) 40%, rgba(20, 15, 12, .92) 100%); }
    .hero-content { align-items: flex-end; padding-bottom: 6.5rem; }
    .hero-facts { margin-top: 1.75rem; gap: .5rem 1.5rem; }
    .hero-facts strong { font-size: 1.6rem; }
    .hero-caption { display: none; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
    position: relative; overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.75rem, 6vw, 4.5rem);
    background:
        radial-gradient(1200px 400px at 85% -10%, rgba(196, 154, 112, .22), transparent 60%),
        linear-gradient(180deg, var(--mp-sand), var(--mp-ivory));
    border-bottom: 1px solid var(--mp-line);
}
.page-banner h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: .75rem; }
.page-banner p { color: var(--mp-ink-soft); max-width: 38rem; font-size: 1.08rem; margin-bottom: 0; }
.page-banner .breadcrumb { font-size: .82rem; font-weight: 600; margin-bottom: 1.25rem; --bs-breadcrumb-divider-color: var(--mp-muted); }
.page-banner .breadcrumb a { color: var(--mp-bronze-deep); text-decoration: none; }
.page-banner-mark {
    position: absolute; right: max(2rem, calc((100vw - 1320px) / 2)); bottom: -30px;
    width: clamp(140px, 18vw, 230px); opacity: .09; pointer-events: none;
}

/* ---------- Media frames ---------- */
.frame { position: relative; border-radius: var(--mp-radius); overflow: hidden; box-shadow: var(--mp-shadow-lg); background: var(--mp-stone); }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-land { aspect-ratio: 4 / 3; }
.ratio-wide { aspect-ratio: 16 / 10; }

.media-stack { position: relative; padding: 0 0 12% 10%; }
.media-stack .frame-main { aspect-ratio: 4 / 3.2; }
.media-stack .frame-inset {
    position: absolute; left: 0; bottom: 0; width: 46%;
    aspect-ratio: 1 / 1; border: 6px solid var(--mp-ivory);
}
.section-sand .media-stack .frame-inset { border-color: var(--mp-sand); }
.media-badge {
    position: absolute; right: -10px; top: 8%; z-index: 2;
    background: var(--mp-ivory); color: var(--mp-ink);
    border-radius: 16px; padding: 1rem 1.25rem; box-shadow: var(--mp-shadow);
    text-align: center; min-width: 120px;
}
.media-badge strong { display: block; font-family: var(--mp-font-display); font-size: 2.6rem; line-height: 1; color: var(--mp-bronze-deep); }
.media-badge span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-ink-soft); }
@media (max-width: 575.98px) { .media-badge { right: 8px; } }

/* ---------- Facilities ---------- */
.facility {
    height: 100%; padding: 1.75rem 1.6rem; border-radius: var(--mp-radius);
    background: var(--mp-paper); border: 1px solid var(--mp-line);
    transition: transform .35s var(--mp-ease), box-shadow .35s var(--mp-ease), border-color .35s;
}
.facility:hover { transform: translateY(-4px); box-shadow: var(--mp-shadow); border-color: transparent; }
.facility-icon {
    width: 54px; height: 54px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--mp-teal); background: var(--mp-teal-soft); margin-bottom: 1.2rem;
}
.facility h3 { font-family: var(--mp-font-body); font-size: 1.08rem; font-weight: 700; margin-bottom: .45rem; letter-spacing: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.facility p { color: var(--mp-ink-soft); font-size: .95rem; margin-bottom: 0; }
.note-small { font-size: .85rem; color: var(--mp-muted); }

/* ---------- Why choose us ---------- */
.why-item { display: flex; gap: 1.25rem; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.why-num { font-family: var(--mp-font-display); font-size: 2.2rem; line-height: 1; color: var(--mp-gold); min-width: 2.6rem; font-weight: 500; }
.why-item h3 { font-family: var(--mp-font-body); font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; letter-spacing: 0; }
.why-item p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .97rem; }

/* ---------- Room showcase ---------- */
.room-tile { position: relative; display: block; border-radius: var(--mp-radius); overflow: hidden; background: var(--mp-stone); box-shadow: var(--mp-shadow); }
.room-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--mp-ease); }
.room-tile:hover img { transform: scale(1.04); }
.room-tile figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.25rem 1.1rem;
    color: #fff; font-weight: 600; font-size: .9rem;
    background: linear-gradient(180deg, transparent, rgba(20, 15, 12, .78));
}
.rooms-mosaic { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.rooms-mosaic .room-tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.rooms-mosaic .room-tile:not(:first-child) { aspect-ratio: 1 / 1; }

.fact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--mp-line); }
.fact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--mp-line); font-size: .96rem; }
.fact-list .label { color: var(--mp-muted); font-weight: 600; flex-shrink: 0; }
.fact-list .value { text-align: right; font-weight: 600; }

/* ---------- Banquet ---------- */
.banquet {
    position: relative; overflow: hidden; border-radius: calc(var(--mp-radius) + 6px);
    background: var(--mp-teal); color: rgba(255, 255, 255, .85);
}
.banquet h2, .banquet h3 { color: #fff; }
.banquet .eyebrow { color: #d9c3a6; }
.banquet .section-title em { color: #e8cfae; }
.banquet .fact-list { border-color: rgba(255, 255, 255, .2); }
.banquet .fact-list li { border-color: rgba(255, 255, 255, .2); }
.banquet .fact-list .label { color: rgba(255, 255, 255, .65); }
.banquet .text-tbc { color: #ffd78f; }
.banquet-pattern {
    position: absolute; inset: 0; opacity: .1; pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
    background-size: 22px 22px;
}
.banquet-visual { position: relative; min-height: 320px; height: 100%; }
.banquet-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Placeholder image ---------- */
.img-placeholder {
    position: relative; width: 100%; height: 100%; min-height: 240px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
    text-align: center; padding: 1.5rem;
    color: var(--mp-ink-soft);
    background:
        repeating-linear-gradient(135deg, rgba(138, 100, 68, .06) 0 14px, transparent 14px 28px),
        linear-gradient(160deg, var(--mp-sand), var(--mp-stone));
    border: 2px dashed rgba(138, 100, 68, .35);
    border-radius: inherit;
}
.img-placeholder i { font-size: 2.2rem; color: var(--mp-bronze); }
.img-placeholder strong { font-size: .95rem; }
.img-placeholder small { font-size: .78rem; color: var(--mp-muted); max-width: 26ch; }
.img-placeholder.on-dark { color: rgba(255, 255, 255, .85); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px), rgba(0, 0, 0, .15); border-color: rgba(255, 255, 255, .35); }
.img-placeholder.on-dark i { color: #e8cfae; }
.img-placeholder.on-dark small { color: rgba(255, 255, 255, .65); }

/* ---------- Testimonials ---------- */
.testimonial {
    height: 100%; position: relative; padding: 2rem 1.75rem 1.75rem; border-radius: var(--mp-radius);
    background: var(--mp-paper); border: 1px dashed var(--mp-stone);
}
.testimonial .quote-mark { font-family: var(--mp-font-display); font-size: 4.5rem; line-height: .6; color: var(--mp-gold); display: block; height: 2rem; }
.testimonial blockquote { font-family: var(--mp-font-display); font-size: 1.35rem; line-height: 1.4; color: var(--mp-ink-soft); font-style: italic; margin: 0 0 1.5rem; }
.testimonial figcaption { font-size: .9rem; }
.testimonial figcaption strong { display: block; color: var(--mp-ink); }
.testimonial figcaption span { color: var(--mp-muted); }
.testimonial .badge-tbc { position: absolute; top: 1rem; right: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; overflow: hidden; border-radius: calc(var(--mp-radius) + 6px);
    color: #fff; isolation: isolate;
}
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(43, 34, 29, .92) 0%, rgba(43, 34, 29, .72) 55%, rgba(43, 34, 29, .35) 100%); }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.3rem); }
.cta-band p { color: rgba(255, 255, 255, .82); }
.cta-band .eyebrow { color: var(--mp-gold); }

/* ---------- About ---------- */
.name-story {
    padding: 1.5rem 1.75rem; border-left: 3px solid var(--mp-gold);
    background: var(--mp-paper); border-radius: 0 var(--mp-radius-sm) var(--mp-radius-sm) 0;
    font-size: .98rem; color: var(--mp-ink-soft);
}
.space-grid { display: grid; gap: 1rem; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, clamp(260px, 30vw, 430px)); }
.space-grid .frame { height: 100%; }
.space-grid .frame:nth-child(1) { grid-column: span 7; }
.space-grid .frame:nth-child(2) { grid-column: span 5; }
.space-grid .frame:nth-child(3) { grid-column: span 5; }
.space-grid .frame:nth-child(4) { grid-column: span 7; }
@media (max-width: 767.98px) {
    .space-grid { grid-template-rows: none; }
    .space-grid .frame { grid-column: 1 / -1 !important; height: auto; aspect-ratio: 4 / 3; }
}
.space-label { position: absolute; left: 1rem; bottom: 1rem; background: rgba(250, 247, 242, .92); color: var(--mp-ink); font-size: .78rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px; }

.place { padding: clamp(2rem, 4vw, 3rem) 0; }
.place + .place { border-top: 1px solid var(--mp-line); }
.place-visual { border-radius: var(--mp-radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--mp-shadow); }
.place-index { font-family: var(--mp-font-display); font-size: 1rem; color: var(--mp-bronze); font-weight: 600; letter-spacing: .1em; }
.place h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: .35rem 0 .5rem; }
.place-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-teal); margin-bottom: 1rem; }
.place p { color: var(--mp-ink-soft); }
.place-source { font-size: .82rem; color: var(--mp-muted); }
.place-source a { color: var(--mp-bronze-deep); }

/* ---------- Rooms page ---------- */
.room-feature-card { background: var(--mp-paper); border-radius: calc(var(--mp-radius) + 6px); overflow: hidden; box-shadow: var(--mp-shadow); }
.room-carousel .carousel-item { aspect-ratio: 4 / 3; }
.room-carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.room-carousel .carousel-control-prev, .room-carousel .carousel-control-next { width: 52px; opacity: 1; }
.room-carousel .ctrl-dot { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(250, 247, 242, .92); color: var(--mp-ink); font-size: 1.1rem; box-shadow: var(--mp-shadow); }
.room-carousel .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; border: 0; }
.room-count-chip { display: inline-flex; align-items: baseline; gap: .5rem; padding: .4rem 1rem; border-radius: 999px; background: var(--mp-teal-soft); color: var(--mp-teal); font-weight: 700; font-size: .85rem; }
.room-count-chip strong { font-family: var(--mp-font-display); font-size: 1.5rem; line-height: 1; }
.amenity-empty { padding: 1rem 1.25rem; border: 1px dashed #e0b25a; background: #fffaf0; border-radius: var(--mp-radius-sm); font-size: .9rem; color: #7a5200; }
.amenity-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; list-style: none; padding: 0; }
.amenity-list li { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; }
.amenity-list i { color: var(--mp-teal); }

.service-card { height: 100%; display: flex; flex-direction: column; background: var(--mp-paper); border: 1px solid var(--mp-line); border-radius: var(--mp-radius); overflow: hidden; transition: box-shadow .35s var(--mp-ease), transform .35s var(--mp-ease); }
.service-card:hover { box-shadow: var(--mp-shadow); transform: translateY(-3px); }
.service-card-body { padding: 1.5rem; flex: 1; }
.service-card h3 { font-family: var(--mp-font-body); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; }
.service-card p { color: var(--mp-ink-soft); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3 300px; column-gap: 1rem; }
.gallery-item {
    display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; background: var(--mp-stone);
    border-radius: var(--mp-radius-sm); overflow: hidden; break-inside: avoid; cursor: zoom-in; position: relative;
}
.gallery-item img { display: block; width: 100%; height: auto; transition: transform .8s var(--mp-ease), filter .4s; }
.gallery-item::after {
    content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; right: .8rem; top: .8rem;
    width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(250, 247, 242, .92); color: var(--mp-ink); opacity: 0; transform: scale(.85);
    transition: opacity .3s, transform .3s var(--mp-ease);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: scale(1); }
.gallery-empty { padding: 3rem 1.5rem; text-align: center; border: 2px dashed var(--mp-stone); border-radius: var(--mp-radius); background: var(--mp-paper); }
.howto { background: var(--mp-paper); border: 1px solid var(--mp-line); border-radius: var(--mp-radius); padding: 1.5rem 1.75rem; font-size: .92rem; }
.howto code { color: var(--mp-bronze-deep); background: var(--mp-sand); padding: .1rem .4rem; border-radius: 4px; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
    background: rgba(18, 14, 11, .94);
    padding: 4.5rem 1rem 4rem;
}
.lightbox.is-open { display: flex; animation: lbIn .25s var(--mp-ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-caption { color: rgba(255, 255, 255, .8); font-size: .9rem; margin-top: 1rem; text-align: center; }
.lightbox-btn {
    position: absolute; width: 50px; height: 50px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
    font-size: 1.3rem; transition: background-color .2s, color .2s;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: #fff; color: var(--mp-ink); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; top: 1.6rem; left: 1.25rem; color: rgba(255, 255, 255, .7); font-size: .85rem; letter-spacing: .1em; }
@media (max-width: 575.98px) {
    .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; transform: none; }
    .lightbox-prev { left: calc(50% - 60px); }
    .lightbox-next { right: calc(50% - 60px); }
}
body.lightbox-open { overflow: hidden; }

/* ---------- Contact ---------- */
.contact-card { background: var(--mp-ink); color: rgba(255, 255, 255, .82); border-radius: calc(var(--mp-radius) + 6px); padding: clamp(1.75rem, 4vw, 2.75rem); height: 100%; position: relative; overflow: hidden; }
.contact-card h2 { color: #fff; font-size: 2.2rem; }
.contact-card .contact-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-card .contact-row:first-of-type { border-top: 0; }
.contact-card .contact-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(196, 154, 112, .16); color: var(--mp-gold); font-size: 1.1rem; }
.contact-card .contact-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: .15rem; }
.contact-card a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-card a:not(.btn):hover, .contact-card a:not(.btn):focus-visible { color: var(--mp-gold); }
.contact-card-mark { position: absolute; right: -20px; bottom: -30px; width: 170px; opacity: .08; pointer-events: none; }

.form-card { background: var(--mp-paper); border: 1px solid var(--mp-line); border-radius: calc(var(--mp-radius) + 6px); padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--mp-shadow); }
.form-label { font-weight: 700; font-size: .86rem; color: var(--mp-ink); margin-bottom: .4rem; }
.form-label .req { color: #b4442d; }
.form-control, .form-select {
    border-radius: 12px; border-color: var(--mp-stone); padding: .8rem 1rem; background-color: var(--mp-ivory);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-control:focus, .form-select:focus { border-color: var(--mp-bronze); box-shadow: 0 0 0 .22rem rgba(196, 154, 112, .28); background-color: #fff; }
.form-control.is-invalid, .form-select.is-invalid { background-color: #fff8f6; }
.form-text { font-size: .8rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 1rem 1.15rem; font-size: .95rem; display: none; }
.form-status.is-visible { display: flex; gap: .75rem; align-items: flex-start; }
.form-status.is-success { background: #eaf4ef; color: #1d5a3d; border: 1px solid #bfdccc; }
.form-status.is-error { background: #fdf0ec; color: #8a2f1c; border: 1px solid #f1c7bb; }
.form-status.is-info { background: #fff6e5; color: #7a5200; border: 1px solid #f0d49b; }
.form-status a { color: inherit; font-weight: 700; }
.btn .spinner-border { width: 1rem; height: 1rem; border-width: .15em; }

.map-wrap { position: relative; background: var(--mp-stone); }
.map-wrap iframe { display: block; width: 100%; height: clamp(360px, 55vh, 520px); border: 0; filter: grayscale(.25) contrast(1.02); }
.map-overlay-card {
    position: absolute; left: max(1rem, calc((100vw - 1320px) / 2 + .75rem)); top: 1.5rem; z-index: 2;
    background: var(--mp-ivory); border-radius: var(--mp-radius); padding: 1.25rem 1.4rem; box-shadow: var(--mp-shadow-lg); max-width: 330px;
}
.map-overlay-card h2 { font-size: 1.6rem; margin-bottom: .4rem; }
@media (max-width: 767.98px) {
    .map-overlay-card { position: static; max-width: none; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--mp-line); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--mp-paper); border-top: 1px solid var(--mp-line); padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; font-size: .95rem; }
.footer-logo { width: 190px; height: auto; }
.footer-lead { color: var(--mp-ink-soft); max-width: 22rem; }
.footer-title { font-family: var(--mp-font-body); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mp-bronze); margin-bottom: 1.1rem; }
.footer-links li + li { margin-top: .55rem; }
.footer-links a, .footer-contact a { color: var(--mp-ink); text-decoration: none; font-weight: 500; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-contact a:hover, .footer-contact a:focus-visible { color: var(--mp-bronze-deep); text-decoration: underline; }
.footer-contact p { display: flex; gap: .75rem; margin-bottom: .85rem; color: var(--mp-ink-soft); }
.footer-contact i { color: var(--mp-bronze); margin-top: .2rem; }
.footer-contact a { word-break: break-word; }
.social-link { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--mp-line); color: var(--mp-ink); text-decoration: none; transition: background-color .2s, color .2s; }
.social-link:hover, .social-link:focus-visible { background: var(--mp-ink); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-top: 3.5rem; padding: 1.5rem 0; border-top: 1px solid var(--mp-line); font-size: .85rem; color: var(--mp-muted); }
.to-top { color: var(--mp-ink); text-decoration: none; font-weight: 600; }
.to-top:hover, .to-top:focus-visible { color: var(--mp-bronze-deep); }

/* Mobile quick-action bar */
.quickbar {
    position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 1010;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: .35rem; padding: .35rem;
    background: rgba(43, 34, 29, .94); backdrop-filter: blur(10px); border-radius: 999px;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45);
}
.quickbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem .5rem; color: #fff; text-decoration: none; font-size: .86rem; font-weight: 700; border-radius: 999px; }
.quickbar a i { color: var(--mp-gold); }
.quickbar .quickbar-primary { background: var(--mp-ivory); color: var(--mp-ink); }
.quickbar .quickbar-primary i { color: var(--mp-bronze-deep); }
@media (max-width: 991.98px) { body:not(.page-contact) .site-footer { padding-bottom: 4.5rem; } }

/* ==========================================================================
   Motion: scroll reveal + pointer tilt
   Content is only hidden when JS has added .js to <html>, so pages stay
   fully readable without JavaScript.
   ========================================================================== */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--mp-ease), transform .9s var(--mp-ease); transition-delay: var(--reveal-delay, 0s); }
.js .reveal.reveal-left { transform: translate3d(-32px, 0, 0); }
.js .reveal.reveal-right { transform: translate3d(32px, 0, 0); }
.js .reveal.reveal-zoom { transform: scale(.96); }
.js .reveal.is-visible { opacity: 1; transform: none; }

.tilt { transform-style: preserve-3d; transition: transform .5s var(--mp-ease); }
.tilt.is-tilting { transition: transform .12s linear; }
.parallax-img { transition: transform .4s var(--mp-ease); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1 !important; transform: none !important; }
    .hero .carousel-item img, .hero .carousel-item.active img { transform: none !important; }
    .tilt, .parallax-img { transform: none !important; }
}
