@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@600;700&display=swap');

:root {
  /* Match PMS system palette */
  --brand: #15803D;
  --brand-2: #16A34A;
  --brand-dark: #14532D;
  --brand-mid: #166534;
  --brand-soft: #DCFCE7;
  --ink: #0F172A;
  --muted: #64748B;
  --sand: #F1F5F9;
  --cream: #F8FAFC;
  --card: #ffffff;
  --danger: #DC2626;
  --radius: 16px;
  --nav-h: 64px;
  --bottom-h: 68px;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  --wrap: min(1120px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans Lao', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(21, 128, 61, 0.07), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(22, 101, 52, 0.05), transparent 50%),
    var(--cream);
  padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
}
a { color: var(--brand); }
img { max-width: 100%; display: block; }

/* ── Header (system green) ── */
.site-top {
  position: sticky; top: 0; z-index: 900;
  min-height: var(--nav-h);
  background: linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-mid) 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(20, 83, 45, 0.28);
}
.site-top-inner {
  width: var(--wrap);
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .55rem 0;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: #fff; font-weight: 800;
  min-width: 0;
}
.brand img, .brand-fallback {
  width: 40px; height: 40px; border-radius: 12px; object-fit: contain;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  flex-shrink: 0;
}
.brand-fallback { color: var(--brand); font-size: 1.05rem; }
.brand span { font-size: .98rem; letter-spacing: -.01em; max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767.98px) {
  .brand > span:not(.brand-fallback) { display: none; }
}
.top-actions { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .42rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; line-height: 1.2;
}
.chip-ghost {
  color: #ECFDF5; background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.22);
}
.chip-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.chip.solid {
  background: #fff; color: var(--brand-dark); border-color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.chip.solid:hover { background: var(--brand-soft); }
.desktop-nav { display: none; gap: .15rem; align-items: center; flex: 1; justify-content: center; }
.desktop-nav a {
  color: rgba(236, 253, 245, .82); text-decoration: none; font-weight: 600; font-size: .88rem;
  padding: .45rem .7rem; border-radius: 999px; transition: background .15s, color .15s;
}
.desktop-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.desktop-nav a.active { color: #fff; background: rgba(255,255,255,.16); }

.lang-switch { display: inline-flex; gap: .2rem; align-items: center; margin-left: .45rem; }
.lang-switch a {
  font-size: .74rem !important; font-weight: 800 !important;
  padding: .28rem .5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  color: rgba(236,253,245,.85) !important; background: transparent;
}
.lang-switch a.active { background: #fff; color: var(--brand-dark) !important; border-color: #fff; }

.lang-menu { position: relative; }
.lang-menu > summary {
  list-style: none; cursor: pointer; user-select: none;
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 960;
  min-width: 140px; background: #fff; border-radius: 14px;
  border: 1px solid rgba(21,128,61,.12); box-shadow: var(--shadow);
  padding: .4rem; display: grid; gap: .15rem;
}
.lang-menu-panel a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem .75rem; border-radius: 10px; text-decoration: none;
  color: var(--ink); font-weight: 700; font-size: .88rem;
}
.lang-menu-panel a:hover, .lang-menu-panel a.active { background: var(--brand-soft); color: var(--brand-dark); }
.desktop-lang { display: none; }
.mobile-lang { display: block; }

/* ── Mobile bottom nav (system green) ── */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(180deg, var(--brand-mid) 0%, var(--brand-dark) 100%);
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -10px 28px rgba(20, 83, 45, 0.3);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .22rem; text-decoration: none; color: rgba(236,253,245,.7); font-size: .7rem; font-weight: 700;
  position: relative;
}
.bottom-nav a i { font-size: 1.15rem; }
.bottom-nav a.active { color: #fff; }
.bottom-nav a.active::before {
  content: '';
  position: absolute; top: 6px;
  width: 22px; height: 3px; border-radius: 999px; background: #86EFAC;
}
.bottom-nav a.active i { transform: translateY(-1px); }

.hero {
  position: relative; min-height: 52vh;
  display: flex; align-items: flex-end;
  padding: 2rem 1rem 2.25rem;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,35,24,.25) 0%, rgba(10,35,24,.82) 100%),
    var(--hero-image, linear-gradient(135deg, #0f5132, #1b4332 55%, #2d6a4f));
  background-size: cover; background-position: center;
}
.hero--slider {
  background: transparent;
}
.hero-slider {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
  transform: scale(1.04);
}
.hero-slide.is-active {
  opacity: 1; transform: scale(1);
  transition: opacity 1s ease, transform 6s ease;
}
.hero-slider::after {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,35,24,.25) 0%, rgba(10,35,24,.82) 100%);
}
.hero-slider-nav {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.hero-nav {
  pointer-events: auto;
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: none; border-radius: 999px;
  background: rgba(255,255,255,.2); color: #fff; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(4px);
}
.hero-nav:hover { background: rgba(255,255,255,.35); }
.hero-nav.prev { left: 10px; }
.hero-nav.next { right: 10px; }
.hero-slider-dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2;
  display: flex; justify-content: center; gap: 7px; pointer-events: none;
}
.hero-slider-dots button {
  pointer-events: auto;
  width: 8px; height: 8px; border-radius: 999px; border: none;
  background: rgba(255,255,255,.45); padding: 0; cursor: pointer;
}
.hero-slider-dots button.is-active { background: #fff; width: 18px; }
.hero-inner {
  position: relative; z-index: 3;
  width: min(1100px, 100%); margin: 0 auto; animation: rise .7s ease both;
}
.hero h1 {
  font-family: 'Cormorant Garamond', 'Noto Sans Lao', serif;
  font-size: clamp(2.1rem, 8vw, 3.6rem); line-height: 1.05; margin: 0 0 .55rem;
}
.hero p { margin: 0 0 1.1rem; opacity: .92; max-width: 28rem; }
.hero-cta { width: auto; min-width: 168px; box-shadow: 0 10px 28px rgba(0,0,0,.18); }

.wrap { width: var(--wrap); margin: 0 auto; padding: 1.35rem 0 2.25rem; }
.section { margin: 1.85rem 0 2.4rem; }
.section-head { margin-bottom: 1.1rem; }
.section-title {
  font-family: 'Cormorant Garamond', 'Noto Sans Lao', serif;
  font-size: clamp(1.55rem, 4vw, 2.15rem); color: var(--brand-dark); margin: 0 0 .3rem; font-weight: 700;
  letter-spacing: -.01em;
}
.section-sub { color: var(--muted); margin: 0; font-size: .94rem; line-height: 1.45; max-width: 36rem; }

.panel {
  background: var(--card); border-radius: calc(var(--radius) + 2px); padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid rgba(21,128,61,.1);
  box-shadow: var(--shadow);
  position: relative;
}
.panel::before {
  content: '';
  position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px;
  border-radius: 0 6px 6px 0; background: linear-gradient(180deg, var(--brand-2), var(--brand-dark));
}
.panel-tight { padding: 1rem; }

.form-grid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
/* Mobile availability form: 2 columns (check-in|out, guests|type) */
.form-grid.cols-4 {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
.form-grid.cols-4 > .avail-submit,
.form-grid.cols-4 > div:last-child {
  grid-column: 1 / -1;
}
.form-grid.cols-4 > .avail-submit .btn,
.form-grid.cols-4 > div:last-child .btn {
  width: 100%;
}
.form-label {
  display: block; font-weight: 700; font-size: .8rem; margin-bottom: .4rem;
  color: var(--brand-dark); letter-spacing: .01em;
}
.form-control, .form-select, textarea.form-control {
  width: 100%; border: 1.5px solid #E2E8F0; border-radius: 12px; padding: .78rem .9rem;
  font: inherit; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  min-height: 46px;
}
.form-control:hover, .form-select:hover { border-color: #CBD5E1; }
.form-control:focus, .form-select:focus, textarea.form-control:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21,128,61,.15);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: none; border-radius: 12px; padding: .8rem 1.1rem; font-weight: 800; font: inherit;
  cursor: pointer; text-decoration: none; transition: transform .15s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; width: 100%; box-shadow: 0 8px 18px rgba(21,128,61,.22); }
.btn-primary:hover { background: var(--brand-mid); color: #fff; }
.btn-soft { background: rgba(255,255,255,.92); color: var(--brand-dark); }
.btn-soft:hover { background: #fff; color: var(--brand-dark); }
.btn-outline {
  background: #fff; color: var(--brand-dark); border: 1.5px solid rgba(21,128,61,.28);
}
.btn-outline:hover { background: var(--brand-soft); border-color: var(--brand); }
.card-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .55rem;
}
.card-actions .btn { width: 100%; }
.btn-sm { padding: .55rem .85rem; border-radius: 10px; font-size: .86rem; width: auto; }
.btn-danger { background: var(--danger); color: #fff; }

.grid-cards {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
.card-item {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(15,81,50,.08); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card-item .media {
  height: 170px; background: var(--sand); position: relative; overflow: hidden;
}
.card-item .media img { width: 100%; height: 100%; object-fit: cover; }
.media-carousel { position: relative; width: 100%; height: 100%; }
.media-carousel .slides { position: relative; width: 100%; height: 100%; }
.media-carousel .slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.media-carousel .slides img.is-active { opacity: 1; pointer-events: auto; }
.media-carousel .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: none; border-radius: 999px;
  background: rgba(255,255,255,.88); color: var(--brand); cursor: pointer;
  display: grid; place-items: center; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.media-carousel .nav-btn.prev { left: 8px; }
.media-carousel .nav-btn.next { right: 8px; }
.media-carousel .dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 5px; z-index: 2;
}
.media-carousel .dots button {
  width: 7px; height: 7px; border-radius: 999px; border: none;
  background: rgba(255,255,255,.55); padding: 0; cursor: pointer;
}
.media-carousel .dots button.is-active { background: #fff; width: 16px; }
.room-gallery {
  display: grid; gap: .5rem;
  grid-template-columns: 1.4fr 1fr;
}
.room-gallery .main {
  grid-row: span 2; border-radius: 14px; overflow: hidden; background: var(--sand); min-height: 220px;
}
.room-gallery .main img, .room-gallery .thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.room-gallery .thumb {
  border-radius: 12px; overflow: hidden; background: var(--sand); min-height: 105px; cursor: pointer;
  border: 2px solid transparent;
}
.room-gallery .thumb.is-active { border-color: var(--brand); }
@media (max-width: 767px) {
  .room-gallery { grid-template-columns: 1fr 1fr; }
  .room-gallery .main { grid-column: 1 / -1; grid-row: auto; min-height: 200px; }
}
.card-item .body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-item h3 { margin: 0; font-size: 1.08rem; }
.card-item .desc { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.price { color: var(--brand); font-weight: 800; }

.room-result {
  display: grid; gap: 1rem;
}
.room-result .card-item { flex-direction: column; }

/* Search results — type tabs + list rows */
.room-type-tabs {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  padding: .15rem .1rem .75rem;
  margin: 0 0 .85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.room-type-tabs::-webkit-scrollbar { display: none; }
.room-type-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15,81,50,.14);
  color: var(--muted);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
}
.room-type-tab span {
  display: inline-flex;
  min-width: 1.25rem;
  justify-content: center;
  padding: .05rem .35rem;
  border-radius: 999px;
  background: #eef2ef;
  font-size: .72rem;
  color: var(--ink);
}
.room-type-tab.is-active {
  background: var(--brand-soft);
  border-color: transparent;
  color: var(--brand);
}
.room-type-tab.is-active span {
  background: #fff;
  color: var(--brand);
}
.room-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.room-list-item {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  background: #fff;
  border-radius: 16px;
  padding: .75rem;
  border: 1px solid rgba(21,128,61,.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: box-shadow .15s, border-color .15s;
}
.room-list-item:hover {
  border-color: rgba(21,128,61,.22);
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.1);
}
.room-list-main {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: .75rem;
  align-items: stretch;
  min-width: 0;
}
.room-list-thumb {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand);
  flex-shrink: 0;
}
.room-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room-list-thumb-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.4rem;
}
.room-list-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.room-list-info h3 {
  margin: 0;
  font-size: .98rem;
  line-height: 1.25;
  color: var(--ink);
}
.room-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
}
.room-list-meta i {
  color: var(--brand);
  margin-right: .15rem;
}
.room-list-price {
  margin-top: auto;
  padding-top: .2rem;
  display: flex;
  align-items: baseline;
  gap: .35rem;
  flex-wrap: wrap;
}
.room-list-price strong {
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 800;
}
.room-list-price small {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
}
.room-list-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.room-list-actions .btn {
  width: 100%;
  padding: .55rem .65rem;
  font-size: .82rem;
  white-space: nowrap;
}
.room-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: .25rem 0; }
.tag {
  font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
}
.svc-grid, .gal-grid, .news-grid {
  display: grid; gap: .9rem; grid-template-columns: 1fr 1fr;
}
.svc-item {
  background: #fff; border-radius: 14px; padding: 1rem .85rem; text-align: center;
  border: 1px solid rgba(15,81,50,.07);
}
.svc-item i { color: var(--brand); font-size: 1.35rem; margin-bottom: .35rem; }
.svc-item h4 { margin: 0 0 .25rem; font-size: .95rem; }
.svc-item p { margin: 0; color: var(--muted); font-size: .8rem; }
.news-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid rgba(15,81,50,.07); }
.news-card .media { height: 120px; background: var(--sand); }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: .85rem; }
.news-card h3 { margin: 0 0 .3rem; font-size: .98rem; }
.news-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.gal-grid a { border-radius: 12px; overflow: hidden; display: block; }
.gal-grid img { width: 100%; height: 120px; object-fit: cover; transition: transform .25s; }
.gal-grid a:hover img { transform: scale(1.04); }

.auth-shell {
  min-height: calc(100vh - var(--nav-h) - var(--bottom-h));
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem 1rem 2rem;
}
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: 1.55rem; margin: 0 0 .35rem; color: var(--brand); }
.auth-card .sub { color: var(--muted); margin: 0 0 1.1rem; font-size: .92rem; }
.auth-links { text-align: center; margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.flash {
  border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem; font-weight: 600; font-size: .9rem;
}
.flash.ok { background: #d1e7dd; color: #0f5132; }
.flash.err { background: #f8d7da; color: #842029; }

.empty {
  text-align: center; color: var(--muted); padding: 2rem 1rem; background: #fff;
  border-radius: 16px; border: 1px dashed rgba(15,81,50,.18);
}
.list-row {
  background: #fff; border-radius: 14px; padding: 1rem;
  border: 1px solid rgba(15,81,50,.08); margin-bottom: .75rem;
}
.list-row h3 { margin: 0 0 .35rem; font-size: 1rem; }
.muted { color: var(--muted); font-size: .88rem; }
.badge-status {
  display: inline-block; font-size: .75rem; font-weight: 800; padding: .2rem .55rem;
  border-radius: 999px;
}
.badge-status.pending { background: #fff3cd; color: #856404; }
.badge-status.reviewed { background: #d1e7dd; color: #0f5132; }
.badge-status.cancelled { background: #f8d7da; color: #842029; }

/* ── Footer (system green) ── */
.site-footer {
  margin-top: 1rem;
  background: linear-gradient(180deg, var(--brand-mid) 0%, var(--brand-dark) 100%);
  color: rgba(236, 253, 245, .88);
  padding: 1.75rem 0 calc(1.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer-inner {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  gap: .85rem;
  text-align: center;
  justify-items: center;
}
.footer-brand {
  display: grid;
  gap: .35rem;
}
.footer-brand strong {
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -.01em;
}
.footer-brand span {
  font-size: .86rem;
  opacity: .88;
}
.footer-brand i { margin-right: .25rem; opacity: .85; }
.footer-langs {
  display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; align-items: center;
}
.footer-langs a {
  color: rgba(236,253,245,.82);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.footer-langs a:hover { background: rgba(255,255,255,.14); color: #fff; }
.footer-langs a.active {
  background: #fff; color: var(--brand-dark); border-color: #fff;
}
.footer-langs a.footer-staff {
  border-style: dashed;
}
.footer-copy {
  font-size: .75rem;
  opacity: .7;
  margin-top: .15rem;
}
@media (min-width: 768px) {
  .site-footer {
    padding: 2rem 0 2.25rem;
  }
  .site-footer-inner {
    grid-template-columns: 1.2fr auto 1fr;
    align-items: center;
    text-align: left;
    justify-items: stretch;
  }
  .footer-brand { justify-items: start; }
  .footer-langs { justify-content: center; }
  .footer-copy { text-align: right; margin-top: 0; align-self: center; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .desktop-nav { display: flex; }
  .desktop-lang { display: inline-flex; }
  .mobile-lang { display: none; }
  .brand > span:not(.brand-fallback) { display: inline; max-width: none; }
  .site-top-inner { padding: .35rem 0; }
  .hero { min-height: 68vh; padding: 3.25rem 1.5rem 3.75rem; }
  .hero-inner { width: var(--wrap); }
  .wrap { padding: 2rem 0 3.25rem; }
  .panel { padding: 1.35rem 1.45rem 1.45rem; }
  .form-grid.cols-4 { grid-template-columns: 1.15fr 1.15fr .85fr 1.2fr auto; align-items: end; gap: 1rem; }
  .form-grid.cols-4 > .avail-submit,
  .form-grid.cols-4 > div:last-child { grid-column: auto; }
  .form-grid.cols-4 > .avail-submit .btn,
  .form-grid.cols-4 > div:last-child .btn { width: auto; min-width: 168px; }
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .btn-primary.auto { width: auto; min-width: 140px; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
  .room-result { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .gal-grid { grid-template-columns: repeat(4, 1fr); }
  .room-result .card-item { display: grid; grid-template-columns: 180px 1fr; }
  .room-result .card-item .media { height: 100%; min-height: 160px; }
  .room-list-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1rem 1.1rem;
    gap: 1rem;
  }
  .room-list-main { grid-template-columns: 120px 1fr; gap: 1.1rem; }
  .room-list-thumb { width: 120px; height: 120px; border-radius: 14px; }
  .room-list-actions {
    grid-template-columns: 1fr;
    min-width: 150px;
  }
  .room-list-info h3 { font-size: 1.08rem; }
  .section-head { display: flex; flex-direction: column; gap: .15rem; }
}

@media (min-width: 1024px) {
  .room-result { grid-template-columns: repeat(2, 1fr); }
}

/* Room detail page */
.detail-top { margin-bottom: 1rem; }
.detail-hero-gallery { display: grid; gap: .65rem; margin-bottom: 1.1rem; }
.detail-main-shot {
  position: relative; border: none; padding: 0; cursor: zoom-in;
  border-radius: 20px; overflow: hidden; background: var(--sand);
  min-height: 240px; width: 100%; display: block;
}
.detail-main-shot img { width: 100%; height: min(52vh, 420px); object-fit: cover; display: block; }
.detail-main-shot.empty-shot {
  min-height: 220px; display: grid; place-items: center; color: var(--muted); font-size: 2rem; cursor: default;
}
.shot-hint {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(15, 81, 50, .82); color: #fff;
  font-size: .78rem; font-weight: 700; padding: .4rem .7rem; border-radius: 999px;
  backdrop-filter: blur(8px);
}
.detail-thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(72px, 1fr);
  gap: .5rem; overflow-x: auto; padding-bottom: .15rem;
}
.detail-thumb {
  border: 2px solid transparent; border-radius: 12px; overflow: hidden;
  padding: 0; background: var(--sand); cursor: pointer; height: 72px;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-thumb.is-active { border-color: var(--brand); }
.detail-content { padding: 1.25rem; }
.detail-heading {
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap;
  margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(15,81,50,.08);
}
.detail-price { text-align: right; }
.detail-section { margin: 1.15rem 0; }
.detail-section h2 {
  font-size: 1.05rem; margin: 0 0 .55rem; color: var(--brand); font-weight: 800;
}
.detail-desc { margin: 0; color: var(--muted); line-height: 1.7; white-space: pre-line; }
.detail-svc-grid { display: grid; gap: .65rem; }
.detail-svc {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--brand-soft); border-radius: 14px; padding: .85rem .95rem;
}
.detail-svc i { color: var(--brand); margin-top: .15rem; }
.detail-actions {
  display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem;
}
.detail-actions .btn { width: auto; min-width: 160px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
}
.lightbox[hidden] { display: none !important; }
.lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(8, 18, 14, .88); backdrop-filter: blur(6px);
}
.lightbox-panel {
  position: relative; z-index: 1; width: min(960px, 94vw);
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  animation: rise .25s ease both;
}
.lightbox-img {
  max-width: 100%; max-height: min(68vh, 720px);
  border-radius: 16px; object-fit: contain; background: #0b1a13;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.lightbox-close {
  position: absolute; top: -2.4rem; right: 0;
  width: 40px; height: 40px; border: none; border-radius: 999px;
  background: rgba(255,255,255,.14); color: #fff; cursor: pointer; font-size: 1.1rem;
}
.lightbox-nav {
  position: absolute; top: 42%; transform: translateY(-50%);
  width: 44px; height: 44px; border: none; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff; cursor: pointer; font-size: 1.1rem;
}
.lightbox-nav.prev { left: -8px; }
.lightbox-nav.next { right: -8px; }
.lightbox-counter {
  color: rgba(255,255,255,.85); font-weight: 700; font-size: .9rem;
}
.lightbox-strip {
  display: flex; gap: .45rem; overflow-x: auto; max-width: 100%; padding: .15rem;
}
.lightbox-strip-item {
  flex: 0 0 auto; width: 64px; height: 48px; padding: 0; border: 2px solid transparent;
  border-radius: 10px; overflow: hidden; background: #123; cursor: pointer;
}
.lightbox-strip-item img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-strip-item.is-active { border-color: #fff; }

@media (min-width: 768px) {
  .detail-hero-gallery {
    grid-template-columns: 1.7fr .9fr;
    align-items: stretch;
  }
  .detail-thumbs {
    grid-auto-flow: row; grid-auto-columns: unset;
    grid-template-columns: 1fr 1fr;
    overflow: visible; max-height: min(52vh, 420px);
  }
  .detail-thumb { height: auto; min-height: 96px; }
  .detail-thumb img { min-height: 96px; }
  .detail-svc-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-nav.prev { left: -56px; }
  .lightbox-nav.next { right: -56px; }
}

/* Booking confirm — cart / checkout summary */
.checkout-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
}
.checkout-summary,
.checkout-pay {
  margin: 0;
}
.checkout-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(15,81,50,.1);
}
.checkout-summary__head h2,
.checkout-pay__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.checkout-badge {
  display: inline-flex;
  align-items: center;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand);
  white-space: nowrap;
}
.checkout-block {
  padding: .85rem 0;
  border-bottom: 1px solid rgba(15,81,50,.08);
}
.checkout-block:last-of-type { border-bottom: none; }
.checkout-block__label {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: .55rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.checkout-block__label i { color: var(--brand); width: 1rem; text-align: center; }
.checkout-block__value {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .98rem;
}
.checkout-dates {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: .5rem;
  align-items: center;
}
.checkout-dates > div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.checkout-dates strong { font-size: 1.05rem; }
.checkout-dates__arrow {
  color: var(--muted);
  font-weight: 700;
  padding-top: .9rem;
}
.checkout-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .65rem;
}
.checkout-meta-row span {
  display: inline-flex;
  align-items: center;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: #f3f6f4;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
}
.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.checkout-item__info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.checkout-item__info strong { font-size: 1rem; }
.checkout-item__price {
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
  text-align: right;
}
.checkout-totals {
  margin-top: .35rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7faf8 0%, #eef6f1 100%);
  border: 1px solid rgba(15,81,50,.1);
}
.checkout-totals__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: .9rem;
  color: var(--muted);
  padding: .28rem 0;
}
.checkout-totals__row--total {
  margin-top: .45rem;
  padding-top: .65rem;
  border-top: 1px dashed rgba(15,81,50,.22);
  color: var(--ink);
  font-size: 1.05rem;
}
.checkout-totals__row--total strong {
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 800;
}
.checkout-totals__row--fx {
  font-size: .82rem;
  color: var(--brand-2);
}
.checkout-pay .pay-opt {
  transition: border-color .15s ease, box-shadow .15s ease;
}
.checkout-pay .pay-opt:has(input:checked) {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(15,81,50,.12);
  background: #fff;
}

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1.15fr .85fr;
    gap: 1.25rem;
  }
  .checkout-pay { position: sticky; top: calc(var(--nav-h) + 12px); }
}

/* -- Contact + hotel navigation -- */
.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.contact-info-panel { text-align: left; }
.contact-line {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.contact-line i {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand-dark); font-size: .95rem;
}
.contact-line strong {
  display: block; font-size: .78rem; color: var(--muted); font-weight: 700;
  margin-bottom: .15rem; text-transform: uppercase; letter-spacing: .03em;
}
.contact-line p { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.45; }
.contact-line a { color: var(--brand-dark); text-decoration: none; font-weight: 700; }
.contact-social {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: .35rem 0 1rem;
}
.contact-social-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; border-radius: 999px; font-size: .84rem; font-weight: 700;
  text-decoration: none; border: 1.5px solid rgba(21,128,61,.2); color: var(--brand-dark); background: #fff;
}
.contact-social-btn--wa { color: #128C7E; border-color: rgba(18,140,126,.3); }
.contact-social-btn--fb { color: #1877F2; border-color: rgba(24,119,242,.3); }
.contact-nav-btn { width: 100%; margin-top: .25rem; }
.contact-map {
  overflow: hidden; padding: 0 !important; min-height: 240px;
}
.contact-map::before { display: none; }
.contact-map iframe {
  width: 100%; height: 100%; min-height: 260px; border: 0; display: block;
}

.hotel-nav-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem; margin-bottom: 1rem; padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
  border: 1px solid rgba(21,128,61,.18); border-radius: 16px;
}
.hotel-nav-banner strong { display: block; color: var(--brand-dark); font-size: 1rem; }
.hotel-nav-banner .muted { display: block; margin-top: .2rem; font-size: .84rem; }
.hotel-nav-btn { width: auto; white-space: nowrap; }
.list-row-actions {
  margin-top: .75rem; padding-top: .7rem;
  border-top: 1px dashed rgba(21,128,61,.18);
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.list-row-actions .btn { width: auto; }

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: .95fr 1.05fr; align-items: stretch; }
  .contact-map iframe { min-height: 100%; height: 100%; min-height: 320px; }
  .contact-nav-btn { width: auto; }
  .hotel-nav-banner { padding: 1.1rem 1.25rem; }
}
