/* ==========================================================================
   Om Shanti Beach Stay — stylesheet
   ========================================================================== */

:root {
    --ink: #0b0b0b;
    --ink-2: #161616;
    --heading: #09141e;
    --text: #4f4f4f;
    --muted: #8a8a8a;
    --olive: #596446;
    --olive-dark: #454e36;
    --sand: #d5ba8a;
    --bronze: #978057;
    --cream: #f7f7ee;
    --paper: #fbfbf7;
    --line: #e6e3d8;
    --white: #fff;

    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 18px 40px -18px rgba(9, 20, 30, .28);
    --shadow-sm: 0 6px 18px -8px rgba(9, 20, 30, .2);
    --header-h: 84px;
    --container: 1200px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body:not(.has-hero) { padding-top: var(--header-h); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bronze); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.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: 16px; top: -60px; background: var(--white); color: var(--ink); padding: 10px 16px; z-index: 1000; border-radius: var(--radius-sm); }
.skip-link:focus { top: 16px; }

.icon { flex-shrink: 0; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: 13px 30px;
    font-family: var(--font-sans); font-size: 13px; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase;
    border: 1px solid transparent; border-radius: 999px;
    transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 44px; font-size: 14px; }
.btn-sm { padding: 10px 22px; font-size: 12px; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--olive); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--sand); color: var(--ink); }
.btn-gold:hover { background: var(--white); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.85); color: var(--white); background: rgba(255,255,255,.04); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--heading); background: transparent; }
.btn-ghost:hover { border-color: var(--olive); color: var(--olive); }
.btn-link-light { color: var(--white); padding-left: 8px; padding-right: 8px; }
.btn-link-light:hover { color: var(--sand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row.center { justify-content: center; }

.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; font-size: 14px; letter-spacing: .04em; color: var(--olive); }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
    color: var(--bronze); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.01em; }
.section-lead { max-width: 640px; margin: 0 auto; color: var(--text); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    height: var(--header-h);
    background: var(--ink);
    transition: background-color .35s var(--ease), box-shadow .35s, height .35s var(--ease);
}
.has-hero .site-header { background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.has-hero .site-header.is-scrolled, .site-header.is-scrolled { background: rgba(11,11,11,.96); box-shadow: 0 6px 24px rgba(0,0,0,.25); backdrop-filter: blur(8px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 170px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a {
    display: block; padding: 10px 14px;
    color: rgba(255,255,255,.88); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    position: relative;
}
.nav-list > li > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
    background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--white); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-book { padding: 11px 22px; font-size: 12px; }
.nav-contact { display: none; }
.sub-toggle { display: none; }

.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 300px;
    background: var(--white); border-radius: var(--radius-sm); padding: 10px;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { color: var(--heading); text-transform: none; letter-spacing: 0; font-size: 14px; border-radius: 6px; padding: 10px 14px; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--cream); color: var(--olive); }

.nav-toggle { display: none; width: 46px; height: 46px; background: none; border: 0; position: relative; z-index: 2; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    position: absolute; left: 11px; width: 24px; height: 1.5px; background: var(--white); content: "";
    transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 22px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.08);
    transition: opacity 1.6s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay { background: radial-gradient(ellipse at center, rgba(0,0,0,.42) 0%, rgba(0,0,0,.18) 70%), linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.6) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); padding-bottom: 60px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { color: var(--sand); }
.hero .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero-title { color: var(--white); font-size: clamp(42px, 8vw, 96px); font-weight: 500; letter-spacing: -.015em; margin-bottom: .25em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-title em { font-style: italic; font-weight: 400; color: var(--sand); }
.hero-title-sm { font-size: clamp(32px, 5.4vw, 64px); max-width: 900px; }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; color: rgba(255,255,255,.9); margin-bottom: 36px; font-weight: 300; }
.hero-sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); color: var(--sand); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero-dots span { width: 28px; height: 2px; background: rgba(255,255,255,.35); transition: background .4s, width .4s; }
.hero-dots span.is-active { background: var(--sand); width: 48px; }
.hero-page { min-height: 72vh; }
.hero-short { min-height: 56vh; }
.breadcrumb { display: flex; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; color: rgba(255,255,255,.75); }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--sand); }

/* ---------- Highlights ---------- */
.highlights { background: var(--ink); color: rgba(255,255,255,.8); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { display: flex; align-items: center; gap: 16px; padding: 28px 22px; border-left: 1px solid rgba(255,255,255,.08); }
.highlight:last-child { border-right: 1px solid rgba(255,255,255,.08); }
.highlight .icon { color: var(--sand); }
.highlight strong { display: block; font-family: var(--font-serif); font-size: 18px; font-weight: 500; color: var(--white); line-height: 1.3; }
.highlight span { font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Split layout (About / Room intro) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split-wide { grid-template-columns: 1.15fr 1fr; }
.split-media { position: relative; margin: 0; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.split-media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--sand); border-radius: var(--radius); z-index: -1; }
.media-badge { position: absolute; left: -24px; bottom: 36px; background: var(--olive); color: var(--white); padding: 18px 24px; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.media-badge strong { display: block; font-family: var(--font-serif); font-size: 20px; font-weight: 500; }
.media-badge span { font-size: 13px; opacity: .85; }
.about { background: var(--paper); position: relative; z-index: 0; }

/* ---------- Rooms ---------- */
.rooms-section { background: var(--white); }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.room-grid-2 { grid-template-columns: repeat(2, 1fr); }
.room-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line);
    display: flex; flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.room-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.room-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.room-card:hover .room-card-media img { transform: scale(1.06); }
.room-tag { position: absolute; top: 16px; left: 16px; background: rgba(11,11,11,.75); color: var(--sand); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.room-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.room-card-body h3 { font-size: 23px; margin-bottom: .45em; }
.room-card-body h3 a { color: var(--heading); }
.room-card-body h3 a:hover { color: var(--olive); }
.room-card-body p { font-size: 15px; }
.room-card-amenities { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 22px; font-size: 13px; color: var(--muted); }
.room-card-amenities li { display: flex; align-items: center; gap: 6px; }
.room-card-amenities li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sand); }
.room-card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.room-card-row { flex-direction: row; }
.room-card-row .room-card-media { flex: 0 0 44%; aspect-ratio: auto; min-height: 220px; }
.room-card-row .room-card-body { justify-content: center; }

/* ---------- Dining ---------- */
.dining { background: var(--cream); }
.dining-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.dining-img img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 3 / 4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.dining-img:last-child img { border-radius: var(--radius) var(--radius) 200px 200px; }
.dining-body { text-align: center; }
.dining-body .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.chips li { border: 1px solid var(--sand); color: var(--olive-dark); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.5); }

/* ---------- Quote ---------- */
.quote-band { background: var(--olive); color: var(--white); padding: clamp(56px, 7vw, 90px) 0; }
.quote { text-align: center; max-width: 860px; }
.quote-mark { color: var(--sand); margin: 0 auto 18px; }
.quote blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 3vw, 34px); line-height: 1.45; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); display: block; background: var(--cream); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35)); opacity: 0; transition: opacity .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(70px, 9vw, 120px) 0; color: var(--white); overflow: hidden; background: var(--ink); }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.25)); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner .section-title { color: var(--white); margin-bottom: .4em; }
.cta-inner .eyebrow { color: var(--sand); }
.cta-address { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.8); max-width: 520px; margin: 0; }
.cta-address .icon { color: var(--sand); margin-top: 4px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Room page ---------- */
.room-intro { background: var(--paper); }
.room-gallery { position: relative; }
.carousel-track { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream); }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.carousel-slide.is-active { opacity: 1; z-index: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-btn {
    position: absolute; top: calc(50% - 46px); transform: translateY(-50%); z-index: 2;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center;
    box-shadow: var(--shadow-sm); transition: background .2s, color .2s;
}
.carousel-btn:hover { background: var(--ink); color: var(--white); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.carousel-thumbs button { flex: 1; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; opacity: .6; transition: opacity .3s, border-color .3s; background: none; aspect-ratio: 3 / 2; }
.carousel-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.carousel-thumbs button.is-active, .carousel-thumbs button:hover { opacity: 1; border-color: var(--sand); }

.facilities { background: var(--white); }
.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facility {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
    padding: 30px 18px; border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--heading); font-weight: 500; font-size: 15px; background: var(--paper);
    transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.facility:hover { border-color: var(--sand); transform: translateY(-3px); background: var(--white); }
.facility-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.facility-icon img { width: 48px; height: 48px; object-fit: contain; }
.other-rooms { background: var(--cream); }

/* ---------- Contact ---------- */
.contact-cards { padding-bottom: 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -150px; position: relative; z-index: 3; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 38px 30px; text-align: center; box-shadow: var(--shadow); border-top: 3px solid var(--sand); }
.info-card h2 { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); margin: 14px 0 12px; }
.info-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--cream); color: var(--olive); display: inline-grid; place-items: center; }
.info-big { display: block; font-family: var(--font-serif); font-size: 22px; color: var(--heading); margin: 0; line-height: 1.6; }
a.info-big:hover { color: var(--olive); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 70px); align-items: stretch; }
.contact-list { margin: 0; display: grid; gap: 22px; }
.contact-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-list dt { display: flex; align-items: center; gap: 10px; align-self: start; font-weight: 600; color: var(--heading); font-size: 14px; letter-spacing: .04em; }
.contact-list dt .icon { color: var(--bronze); }
.contact-list dd { margin: 0; }
.contact-list dd a { color: var(--heading); }
.contact-list dd a:hover { color: var(--olive); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 440px; background: var(--cream); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* ---------- Error ---------- */
.error-page { text-align: center; min-height: 60vh; display: flex; align-items: center; }
.error-page .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; padding-top: 80px; padding-bottom: 60px; }
.footer-brand img { width: 190px; margin-bottom: 20px; }
.footer-brand p { max-width: 300px; }
.footer-title { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin: 0 0 18px; }
.footer-title:not(:first-child) { margin-top: 28px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--white); }
.footer-contact .icon { color: var(--sand); }
.footer-address { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 13px; }
.footer-bottom p { margin: 0; text-align: center; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; color: var(--white); }
.social a:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.social-dark { margin-top: 0; }
.social-dark a { border-color: var(--line); color: var(--heading); }

/* ---------- Floating bits ---------- */
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: var(--sand); color: var(--ink); box-shadow: var(--shadow-sm);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--white); color: var(--ink); }
.mobile-cta { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5,5,5,.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84vh; width: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 14px; padding: 0 70px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: var(--white); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .site-nav { gap: 14px; }
    .nav-list a { padding: 10px 10px; letter-spacing: .08em; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    :root { --header-h: 72px; }
    .brand img { width: 140px; }
    .nav-toggle { display: block; }

    .site-nav {
        position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw);
        background: var(--ink); flex-direction: column; align-items: stretch; gap: 0;
        padding: calc(var(--header-h) + 10px) 28px 32px;
        transform: translateX(100%); transition: transform .45s var(--ease);
        overflow-y: auto; box-shadow: -20px 0 60px rgba(0,0,0,.4);
    }
    .nav-open .site-nav { transform: none; }
    .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99; }
    .site-header { z-index: 101; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav-list > li > a { flex: 1; padding: 16px 0; font-size: 14px; }
    .nav-list > li > a::after { display: none; }
    .nav-list > li > a[aria-current="page"] { color: var(--sand); }
    .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--white); transition: transform .3s; }
    .sub-toggle[aria-expanded="true"] { transform: rotate(90deg); }
    .sub-menu { position: static; min-width: 0; width: 100%; background: transparent; box-shadow: none; padding: 0 0 12px 12px; opacity: 1; visibility: visible; transform: none; display: none; }
    .sub-menu.is-open { display: block; }
    .has-sub:hover .sub-menu { transform: none; }
    .sub-menu a { color: rgba(255,255,255,.75); padding: 8px 0; font-size: 14px; }
    .sub-menu a:hover, .sub-menu a[aria-current="page"] { background: none; color: var(--sand); }
    .nav-book { margin-top: 28px; padding: 15px; }
    .nav-contact { display: grid; gap: 10px; margin-top: 28px; font-size: 14px; }
    .nav-contact a { color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 10px; }

    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight { border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; padding: 22px 12px; }
    .split, .split-wide { grid-template-columns: 1fr; }
    .split-media { margin-right: 28px; }
    .room-grid { grid-template-columns: repeat(2, 1fr); }
    .room-grid-2 { grid-template-columns: 1fr; }
    .dining-grid { grid-template-columns: 1fr 1fr; }
    .dining-body { grid-column: 1 / -1; order: -1; }
    .dining-img img { aspect-ratio: 3 / 3.6; }
    .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
    .gallery-item:nth-child(6) { grid-column: span 1; }
    .facility-grid { grid-template-columns: repeat(3, 1fr); }
    .info-grid { grid-template-columns: 1fr; margin-top: -110px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 15px; padding-bottom: 64px; }
    .container { padding: 0 16px; }
    .hero-home .hero-content { padding-bottom: 90px; }
    .eyebrow { letter-spacing: .2em; gap: 10px; font-size: 11px; }
    .eyebrow::before, .eyebrow::after { width: 18px !important; }
    .hero-actions { flex-direction: column; gap: 8px; }
    .hero-page { min-height: 64vh; }
    .highlight { gap: 12px; flex-direction: column; align-items: flex-start; }
    .highlight strong { font-size: 16px; }
    .media-badge { left: 12px; bottom: 12px; padding: 12px 16px; }
    .split-media::before { inset: 16px -16px -16px 16px; }
    .split-media { margin-right: 16px; }
    .room-grid { grid-template-columns: 1fr; }
    .room-card-row { flex-direction: column; }
    .room-card-row .room-card-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
    .room-card-actions { flex-wrap: wrap; }
    .dining-grid { gap: 14px; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .facility-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .facility { padding: 22px 10px; font-size: 14px; }
    .facility-icon { width: 64px; height: 64px; }
    .facility-icon img { width: 40px; height: 40px; }
    .carousel-btn { width: 38px; height: 38px; top: calc(50% - 36px); }
    .contact-list > div { grid-template-columns: 1fr; gap: 6px; }
    .cta-actions, .cta-actions .btn, .btn-row .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 10px; padding-top: 56px; padding-bottom: 36px; }
    .footer-grid > div { padding-bottom: 14px; }
    .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; }
    .lightbox-caption { bottom: 80px; padding: 0 20px; }

    .mobile-cta {
        display: grid; grid-template-columns: 1fr 1fr 1.4fr;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
        background: var(--ink); border-top: 1px solid rgba(255,255,255,.1);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: var(--white); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
    .mobile-cta a + a { border-left: 1px solid rgba(255,255,255,.1); }
    .mobile-cta .icon { color: var(--sand); }
    .mobile-cta-book { background: var(--sand); color: var(--ink) !important; }
    .to-top { bottom: 78px; right: 14px; width: 42px; height: 42px; }
}
