:root {
  --primary: #252321;
  --primary-deep: #181716;
  --bg: #FCFAF7;
  --bg-2: #F3EDE4;
  --accent: #B08A55;
  --accent-soft: #c9a36e;
  --text: #3D3A37;
  --muted: #77716A;
  --border: #E6DED4;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(37, 35, 33, 0.08);
  --shadow-lg: 0 18px 48px rgba(37, 35, 33, 0.12);
  --radius: 10px;
  --radius-sm: 7px;
  --max: 1220px;
  --header: 80px;
  --header-offset: calc(var(--header) + env(safe-area-inset-top, 0px));
  --gutter: clamp(16px, 4vw, 28px);
  --font-h: "Playfair Display", Georgia, serif;
  --font-b: "Inter", system-ui, sans-serif;
  --bar: 64px;
  --ease: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: rgba(176, 138, 85, 0.18);
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-h);
  font-weight: 600;
  line-height: 1.18;
  color: var(--primary);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 6vw, 60px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
button, a, input, select, textarea, .nav-toggle, .gallery-nav { touch-action: manipulation; }
.container {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff;
  padding: 8px 12px; z-index: 200; border-radius: 4px;
}
.skip-link:focus { left: 8px; }
.icon { display: inline-block; vertical-align: middle; flex-shrink: 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;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em; cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline.dark, .btn-outline-dark { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--primary); padding: 0; min-height: auto; border: 0; gap: 6px; }
.btn-light { background: #fff; color: var(--primary); }
.btn-block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover { background: var(--primary-deep); }
  .btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
  .btn-outline-dark:hover, .btn-outline.dark:hover { background: var(--primary); color: #fff; }
  .btn-ghost:hover { color: var(--accent); }
  .btn-light:hover { background: var(--bg-2); }
}

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: calc(var(--header) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .25s, box-shadow .25s, color .25s, backdrop-filter .25s;
  color: #fff;
}
.header-inner {
  height: var(--header); display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
}
.logo { display: flex; align-items: center; gap: 10px; color: inherit; min-width: 0; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.logo-mark {
  width: 40px; height: 40px; border: 1px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-family: var(--font-h); font-size: 14px; letter-spacing: .08em;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-text strong { font-family: var(--font-h); font-size: 16px; font-weight: 600; white-space: nowrap; }
.logo-text small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.nav-desktop { margin-left: auto; }
.nav-desktop ul { display: flex; gap: clamp(16px, 2vw, 26px); }
.nav-desktop a {
  color: inherit; font-size: 14px; letter-spacing: .04em; padding: 8px 0;
  border-bottom: 1px solid transparent; white-space: nowrap;
}
.nav-desktop a:hover, .nav-desktop a.is-active { border-bottom-color: var(--accent); }
.header-cta { margin-left: 8px; flex-shrink: 0; }
.header-cta .cta-short { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  width: 44px; height: 44px; margin-left: auto; place-items: center; padding: 0; border-radius: 8px;
}
.nav-toggle__close { display: none; }
.nav-toggle.is-open .nav-toggle__open { display: none; }
.nav-toggle.is-open .nav-toggle__close { display: block; }
.nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(20, 18, 16, 0.46);
  z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }
.mobile-nav { display: none; }

.site-header.is-solid, .site-header.site-header--solid {
  background: rgba(252, 250, 247, 0.94);
  color: var(--primary);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header.is-solid .logo,
.site-header.site-header--solid .logo,
.site-header.is-solid .nav-desktop a,
.site-header.site-header--solid .nav-desktop a { color: var(--primary); }
.site-header.is-solid .nav-toggle,
.site-header.site-header--solid .nav-toggle { color: var(--primary); }
body.nav-open .site-header {
  background: var(--bg);
  color: var(--primary);
  box-shadow: none;
}
body.nav-open .site-header .logo,
body.nav-open .site-header .nav-toggle { color: var(--primary); }

.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  color: #fff;
  background-color: #1c1a18;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,18,16,.78) 0%, rgba(20,18,16,.38) 62%, rgba(20,18,16,.22) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: calc(var(--header-offset) + 72px) 0 90px; max-width: 720px; }
.eyebrow {
  display: inline-block; letter-spacing: .22em; text-transform: uppercase;
  font-size: 12px; color: var(--accent); margin-bottom: 14px; font-weight: 500;
}
.hero h1 { color: #fff; margin-bottom: 12px; }
.hero-label {
  display: inline-block; border: 1px solid rgba(255,255,255,.35); padding: 4px 10px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px;
}
.hero p { color: rgba(255,255,255,.88); max-width: 52ch; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-hero {
  min-height: 48vh;
  padding: calc(var(--header-offset) + 48px) 0 72px;
  display: grid;
  align-items: end;
  color: #fff;
  position: relative;
  background-color: #1c1a18;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.42), rgba(20,18,16,.62)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__copy { max-width: 780px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 54ch; }

.highlights { background: var(--primary); color: #fff; padding: 18px 0; }
.highlights-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.highlight-item {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; letter-spacing: .04em; text-align: center; padding: 6px 4px;
}
.highlight-item .icon { color: var(--accent); }

.section { padding: clamp(64px, 8vw, 100px) 0; }
.section-beige { background: var(--bg-2); }
.section-dark { background: var(--primary); color: #fff; text-align: center; padding: clamp(64px, 8vw, 90px) 0; }
.section-dark h2, .section-dark p { color: #fff; }
.section-dark p { max-width: 52ch; margin-inline: auto; color: rgba(255,255,255,.8); }
.section-dark .btn { margin-top: 8px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split-image { overflow: hidden; border-radius: 6px; background: #ddd; min-height: 0; }
.split-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.prose p { max-width: 58ch; color: var(--text); }
.muted { color: var(--muted); }
.usp-list { margin: 22px 0 28px; display: grid; gap: 10px; }
.usp-list li { display: flex; gap: 10px; align-items: flex-start; }
.usp-list .icon { color: var(--accent); margin-top: 3px; }

.center-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.center-head p { color: var(--muted); }
.center-head h2::after {
  content: ""; display: block; width: 44px; height: 2px; background: var(--accent); margin: 16px auto 0;
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.room-card, .why-card, .ideal-card, .review-card, .enquiry-card, .contact-card, .amenity, .attraction {
  min-width: 0;
}
.room-card {
  background: #fff; border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column;
  border-radius: var(--radius); height: 100%; transition: box-shadow var(--ease), transform var(--ease);
}
.room-card__media { display: block; overflow: hidden; background: #ddd; }
.room-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.room-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.room-card h3 { margin-bottom: 8px; }
.room-card h3 a { color: inherit; }
.room-card p { color: var(--muted); font-size: 15px; flex: 1; }
.room-card .muted { font-size: 13px; flex: 0; }
.room-card .btn-ghost { margin-top: 8px; align-self: flex-start; }
.meta-row { display: flex; flex-wrap: wrap; gap: 12px 16px; font-size: 13px; color: var(--muted); margin: 8px 0 16px; }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }

@media (hover: hover) and (pointer: fine) {
  .room-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
  .room-card:hover img { transform: scale(1.05); }
}

.why-card, .ideal-card, .contact-card, .amenity, .review-card, .attraction, .enquiry-card {
  background: #fff; border: 1px solid var(--border); padding: 26px 22px; border-radius: var(--radius);
  height: 100%;
}
.why-card .icon, .ideal-card .icon, .contact-card .icon, .amenity .icon { color: var(--accent); margin-bottom: 14px; }
.why-card h3, .ideal-card h3, .contact-card h3 { font-size: 22px; }
.why-card p, .ideal-card p { color: var(--muted); font-size: 15px; margin: 0; }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.amenity { display: flex; align-items: center; gap: 12px; padding: 18px 16px; }
.amenity .icon { margin: 0; }
.amenity span { font-size: 15px; }

.review-card { padding: 28px 24px; }
.review-card .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; font-size: 14px; }
.review-card p { font-size: 15.5px; }
.review-meta { font-size: 13px; color: var(--muted); margin-top: 16px; }

.location-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.attraction-list { display: grid; gap: 10px; margin-top: 20px; }
.attraction { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; font-size: 15px; height: auto; }
.attraction span { color: var(--muted); flex-shrink: 0; }

.map-frame { width: 100%; min-height: 360px; height: 42vh; border: 0; border-radius: 6px; background: var(--bg-2); }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a:hover { color: var(--accent); }

.room-detail { padding-top: calc(var(--header-offset) + 32px); }
.gallery { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
.gallery:not(:has(.gallery-thumbs)) { grid-template-columns: 1fr; }
.room-detail .btn { white-space: normal; max-width: 100%; }
.gallery-main { overflow: hidden; background: #ddd; position: relative; border-radius: 6px; }
.gallery-main img { width: 100%; height: min(62vh, 520px); object-fit: cover; display: block; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(252, 250, 247, 0.92); color: var(--primary); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.gallery-nav--prev { left: 12px; }
.gallery-nav--next { right: 12px; }
.gallery-nav--prev .icon { transform: scaleX(-1); }
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; max-height: min(62vh, 520px); overflow: auto; }
.gallery-thumbs button {
  border: 2px solid var(--border); padding: 0; background: none; cursor: pointer;
  overflow: hidden; border-radius: 4px; flex: 0 0 auto;
}
.gallery-thumbs img { width: 100%; height: 90px; object-fit: cover; display: block; }
.gallery-thumbs button.is-active { border-color: var(--accent); }
.room-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 28px 0; }
.room-meta-grid div { border: 1px solid var(--border); padding: 16px; background: #fff; border-radius: var(--radius-sm); }
.room-meta-grid small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.room-amenities { grid-template-columns: 1fr 1fr; margin-bottom: 24px; }

.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--border); background: #fff; color: var(--text);
  padding: 12px 14px; border-radius: 6px; font-size: 16px; min-height: 48px;
  max-width: 100%;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px); background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
.alert { padding: 12px 14px; border: 1px solid var(--border); background: #fff; margin-bottom: 16px; font-size: 14px; border-radius: 6px; }
.alert-ok { border-color: #c9d4c4; background: #f3f7f1; }
.alert-err { border-color: #e4cfc8; background: #fbf3f1; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-bottom: 24px; }
.contact-card a { color: var(--accent); font-size: 14px; word-break: break-word; overflow-wrap: anywhere; }
.enquiry-card { margin: 0; }
.enquiry-card h2 { font-size: 28px; }

.narrow { max-width: 820px; }
.page-404 { padding-top: calc(var(--header-offset) + 48px); min-height: 70vh; display: grid; align-items: center; }
.page-404 .container { max-width: 640px; text-align: center; }
.page-404 p { color: var(--muted); }

.site-footer {
  background: #1d1b19; color: #cfc8bf;
  padding: 72px 0 36px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; gap: 32px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h3 { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-b); font-weight: 600; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { display: inline-block; padding: 2px 0; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--accent); }
.footer-brand .logo-mark { margin-bottom: 12px; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid #2d2a27; margin-top: 40px; padding-top: 18px; font-size: 13px;
}
.social-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 13px; }

.mobile-bar {
  display: none;
  grid-template-columns: 1fr 1fr;
  position: fixed; inset: auto 0 0 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bar a {
  min-height: 56px; display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 13px; font-weight: 600;
}
.mobile-bar__wa { background: var(--primary); color: #fff; }
.mobile-bar__call { background: #fff; color: var(--primary); }

.homestay-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: minmax(180px, 22vw);
  gap: 12px;
}
.homestay-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.homestay-gallery img:first-child { grid-row: 1 / span 2; }

.admin-body { background: #f4efe8; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; min-height: 100dvh; }
.admin-side { background: #252321; color: #d9d2c8; padding: 28px 18px; }
.admin-side h1 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.admin-side p { font-size: 13px; color: #9b948c; }
.admin-side nav { margin-top: 28px; display: grid; gap: 4px; }
.admin-side a { padding: 12px 12px; border-radius: 6px; font-size: 14px; min-height: 44px; display: flex; align-items: center; }
.admin-side a.is-active, .admin-side a:hover { background: #35322f; color: #fff; }
.admin-main { padding: clamp(16px, 3vw, 32px); min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-top h1 { font-size: clamp(22px, 3vw, 32px); margin: 0; flex: 1; min-width: 0; }
.admin-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: #fff;
  border-radius: 8px; cursor: pointer; color: var(--primary);
}
.admin-card { background: #fff; border: 1px solid var(--border); padding: 22px; margin-bottom: 16px; border-radius: var(--radius); }
.admin-card h2 { font-size: 22px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.dash-tile { background: #fff; border: 1px solid var(--border); padding: 22px; border-radius: var(--radius); }
.dash-tile span { color: var(--muted); font-size: 13px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.table th, .table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table .row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.status-pill { font-size: 12px; padding: 3px 8px; border: 1px solid var(--border); border-radius: 999px; text-transform: capitalize; }
.accordion details { border: 1px solid var(--border); background: #fff; margin-bottom: 10px; border-radius: var(--radius); }
.accordion summary { cursor: pointer; padding: 16px 18px; font-weight: 600; min-height: 48px; }
.accordion .acc-body { padding: 0 18px 18px; }
.login-wrap { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: var(--bg-2); padding: 20px; }
.login-card { width: min(420px, 100%); background: #fff; border: 1px solid var(--border); padding: clamp(24px, 5vw, 36px) clamp(20px, 4vw, 32px); border-radius: var(--radius); }
.thumb-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.thumb-row img { width: 72px; height: 54px; object-fit: cover; border: 1px solid var(--border); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (hover: hover) and (pointer: fine) {
  a:hover { text-underline-offset: 3px; }
}

@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-row { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .header-cta .cta-full { display: none; }
  .header-cta .cta-short { display: inline; }
}

@media (max-width: 960px) {
  :root { --header: 68px; }
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav-backdrop { display: block; }
  .mobile-nav {
    display: flex; flex-direction: column; gap: 20px;
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 85;
    background: var(--bg); color: var(--primary);
    padding: calc(var(--header-offset) + 8px) 20px calc(24px + env(safe-area-inset-bottom, 0px) + var(--bar));
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
  }
  .mobile-nav.is-open { transform: translateX(0); pointer-events: auto; }
  .mobile-nav nav { display: flex; flex-direction: column; gap: 20px; flex: 1; min-height: 100%; }
  .mobile-nav ul { display: grid; gap: 4px; }
  .mobile-nav a { font-size: 18px; display: block; padding: 12px 4px; min-height: 44px; }
  .mobile-nav a.is-active { color: var(--accent); }
  .mobile-nav .btn { width: 100%; margin-bottom: 0; }
  .mobile-nav__actions { display: grid; gap: 10px; margin-top: auto; }
  .split, .split.reverse, .location-layout, .contact-layout, .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; max-height: none; }
  .gallery-thumbs button { min-width: 110px; }
  .gallery-thumbs img { width: 110px; height: 74px; }
  .gallery-main img { height: min(52vh, 380px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side {
    position: fixed; inset: 0 auto 0 0; width: min(280px, 86vw); z-index: 85;
    transform: translateX(-105%); transition: transform .28s ease; overflow-y: auto;
  }
  .admin-side.is-open { transform: translateX(0); }
  .admin-toggle { display: grid; place-items: center; }
  .homestay-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .homestay-gallery img:first-child { grid-row: auto; }
  .hero { align-items: center; }
  .hero::after {
    background: linear-gradient(180deg, rgba(20,18,16,.35) 0%, rgba(20,18,16,.72) 100%);
  }
  .hero-inner { padding: calc(var(--header-offset) + 36px) 0 96px; }
  .mobile-bar { display: grid; }
  body.nav-open .mobile-bar { display: none; }
  .site-footer { padding-bottom: calc(28px + var(--bar) + env(safe-area-inset-bottom, 0px)); }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 0; padding: calc(var(--header-offset) + 36px) 0 48px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .form-row, .room-meta-grid, .dash-grid, .footer-grid, .grid-4 {
    grid-template-columns: 1fr;
  }
  .amenity-grid, .highlights-row, .room-amenities { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .form .btn, .enquiry-card .btn, .room-detail .btn-primary { width: 100%; }
  .split-image img { min-height: 220px; }
  .homestay-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .footer-base { flex-direction: column; }
  .site-footer .btn { width: 100%; }
  .room-meta-grid { grid-template-columns: 1fr; }
  .center-head { margin-bottom: 32px; }
  .login-card .btn { width: 100%; }
  .admin-main { padding: 16px 14px 32px; }
  .why-card, .ideal-card, .review-card, .enquiry-card { padding: 22px 18px; }
  .map-frame { min-height: 240px; height: 52vw; }
  .header-inner { gap: 10px; }
  .logo-text strong { font-size: 15px; }
}

@media (max-width: 420px) {
  .amenity-grid, .highlights-row { grid-template-columns: 1fr; }
  .highlight-item { justify-content: flex-start; }
  .mobile-bar a { font-size: 12px; padding: 0 6px; }
  .btn { white-space: normal; }
  .logo-text strong { font-size: 13px; }
  .logo-mark { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
