/* ==========================================================================
   Lotlametswe B&B — Stylesheet
   A warm, boutique hospitality design system.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
  --brown-dark: #5B3A16;
  --bronze: #8C5E23;
  --gold: #C9A35A;
  --gold-soft: #E8D7A6;
  --ivory: #F7F3E8;
  --white: #FFFFFF;
  --text-dark: #2F2A26;
  --text-muted: #6F675F;

  --font-heading: "Baskervville", Georgia, serif;
  --font-body: "Lato", Arial, sans-serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 2px 10px rgba(47, 42, 38, 0.08);
  --shadow-md: 0 8px 28px rgba(47, 42, 38, 0.12);
  --shadow-lg: 0 16px 44px rgba(47, 42, 38, 0.16);

  --container-w: 1200px;
  --header-h: 84px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
img, video { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--brown-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 400;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; color: var(--text-dark); }

a {
  color: var(--bronze);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--brown-dark); }

ul, ol { padding-left: 1.2em; }

button { font-family: inherit; }

/* Focus states — visible everywhere for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  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 */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--brown-dark);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Eyebrow / accent text */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: middle;
}

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--bronze);
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 60ch;
}

.section-heading { max-width: 68ch; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }

/* -------------------------------------------------------------------------
   3. Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--bronze);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { background: #7a5017; color: var(--white); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--bronze);
  color: var(--brown-dark);
}
.btn-outline:hover { background: var(--brown-dark); border-color: var(--brown-dark); color: var(--white); }

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.75);
  color: var(--white);
}
.btn-ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--brown-dark); }

.btn-dark {
  background: var(--brown-dark);
  color: var(--white);
}
.btn-dark:hover { background: #43290f; color: var(--white); }

.btn-sm { padding: 11px 20px; font-size: 0.74rem; }
.btn-block { width: 100%; }

/* -------------------------------------------------------------------------
   4. Header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  background: var(--ivory);
  box-shadow: 0 2px 16px rgba(47, 42, 38, 0.09);
  transition: box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
  padding: 10px 0;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(47, 42, 38, 0.14);
  padding: 6px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  height: 68px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .brand img { height: 56px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}
.main-nav a {
  display: inline-block;
  position: relative;
  padding: 10px 4px;
  margin: 0 10px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brown-dark);
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--bronze);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--bronze);
  border-radius: 8px;
  width: 46px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 501;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--brown-dark);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle::before { top: 13px; }
.nav-toggle span { top: 20px; }
.nav-toggle::after { top: 27px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    top: var(--header-h);
    width: min(340px, 82vw);
    height: calc(100vh - var(--header-h));
    background: var(--ivory);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    z-index: 500;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .main-nav a { display: block; margin: 0; padding: 14px 16px; font-size: 0.92rem; }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--gold-soft); border-radius: 8px; }
  .main-nav .btn { margin-top: 16px; width: 100%; }
  .header-actions .btn-gold.header-book { display: none; }
}
@media (min-width: 961px) {
  .main-nav .mobile-only-cta { display: none; }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(47,42,38,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
  z-index: 490;
}
.nav-scrim.is-visible { opacity: 1; pointer-events: auto; }

/* -------------------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20,13,5,0.92) 0%, rgba(24,16,6,0.82) 28%, rgba(30,20,9,0.58) 50%, rgba(30,20,9,0.32) 72%, rgba(30,20,9,0.16) 100%),
    linear-gradient(0deg, rgba(15,10,4,0.4) 0%, transparent 42%);
  z-index: 1;
}
.hero-watermark {
  position: absolute;
  z-index: 1;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 30%;
  max-width: 380px;
  min-width: 200px;
  opacity: 0.28;
  pointer-events: none;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.2));
}
@media (max-width: 640px) {
  .hero-watermark { width: 46%; opacity: 0.2; right: 2%; }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 0 48px;
  max-width: 600px;
}
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 { color: var(--white); }
.hero-divider {
  width: 64px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 26px;
}
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 48ch; margin-bottom: 2.2em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero-content { padding: 130px 0 40px; }
}

.enquiry-strip {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  align-items: end;
}
.enquiry-strip .field { display: flex; flex-direction: column; gap: 6px; }
.enquiry-strip label { font-size: 0.78rem; font-weight: 700; color: var(--brown-dark); text-transform: uppercase; letter-spacing: 0.05em; }
.enquiry-strip input,
.enquiry-strip select {
  border: 1px solid #ddd2ba;
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
}
@media (max-width: 900px) {
  .enquiry-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .enquiry-strip { grid-template-columns: 1fr; margin-top: 32px; padding: 18px; }
}

/* -------------------------------------------------------------------------
   6. Sections & layout helpers
   ------------------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-ivory { background: var(--ivory); }
.section-white { background: var(--white); }
.section-dark {
  background: linear-gradient(160deg, #3E2A12 0%, var(--brown-dark) 100%);
  color: var(--gold-soft);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.82); }

.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-heading { margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}
.split-reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split-reverse .split-media { order: 0; }
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-frame img { width: 100%; object-fit: cover; }

.media-duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.media-duo .media-frame:last-child { align-self: end; }
@media (max-width: 560px) { .media-duo { grid-template-columns: 1fr; } }

.section-icon {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
.section-icon img {
  width: 64px;
  height: 64px;
  opacity: 0.85;
}

.watermark-motif {
  position: relative;
  isolation: isolate;
}
.watermark-motif::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--watermark-url);
  background-repeat: no-repeat;
  background-position: right -80px top -60px;
  background-size: 420px;
  opacity: 0.06;
  z-index: -1;
  pointer-events: none;
}

/* Grids */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   7. Cards
   ------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(140, 94, 35, 0.1);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.feature-card {
  padding: 30px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--brown-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--brown-dark); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.feature-card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 0; }

.room-card { display: flex; flex-direction: column; }
.room-card .card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.room-card:hover .card-media img { transform: scale(1.06); }
.room-card .card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.room-card .card-body h3 { margin-bottom: 0; }
.room-card .occupancy-note { font-size: 0.84rem; color: var(--text-muted); font-style: italic; }
.room-card .amenity-icons { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.room-card .amenity-icons span {
  font-size: 0.76rem;
  color: var(--bronze);
  background: var(--ivory);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 5px 11px;
}
.room-card .card-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }

.service-card { padding: 0; }
.service-card .card-media { aspect-ratio: 16/10; overflow: hidden; }
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card .card-body { padding: 24px; }
.service-card ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--text-muted); }
.service-card li { margin-bottom: 4px; }

/* -------------------------------------------------------------------------
   8. Trust / stats / credentials
   ------------------------------------------------------------------------- */
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .credential-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .credential-grid { grid-template-columns: 1fr; } }

.credential-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,163,90,0.35);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.credential-item .icon-badge {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.credential-item p { margin: 0; color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.credential-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
}

.stat-row { display: flex; flex-wrap: wrap; gap: 40px; margin: 8px 0 0; }
.stat { min-width: 120px; }
.stat strong { display: block; font-family: var(--font-heading); font-size: 2rem; color: var(--gold); }
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* -------------------------------------------------------------------------
   9. Testimonials
   ------------------------------------------------------------------------- */
.testimonial-pending {
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius-lg);
  padding: 44px 30px;
  text-align: center;
  background: var(--white);
  max-width: 640px;
  margin: 0 auto;
}
.testimonial-pending p { color: var(--text-muted); margin-bottom: 0; }

/* -------------------------------------------------------------------------
   10. Gallery & Lightbox
   ------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  border: 1.5px solid var(--gold-soft);
  background: var(--white);
  color: var(--brown-dark);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { background: var(--gold-soft); }
.filter-btn[aria-pressed="true"] {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  color: var(--white);
}

.gallery-count { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  grid-auto-flow: dense;
}
.gallery-grid .g-item.tall { grid-row: span 2; }
.gallery-grid .g-item.wide { grid-column: span 2; }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid .g-item.wide { grid-column: span 2; } }

.g-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: var(--gold-soft);
  display: block;
  width: 100%;
  height: 100%;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item .g-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px 8px;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
  color: var(--white);
  font-size: 0.78rem;
  text-align: left;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.g-item:hover .g-caption, .g-item:focus-visible .g-caption { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 6, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox-figure { max-width: 92vw; max-height: 82vh; text-align: center; }
.lightbox-figure img { max-width: 92vw; max-height: 76vh; object-fit: contain; border-radius: 8px; margin: 0 auto; }
.lightbox-figure figcaption { color: var(--gold-soft); margin-top: 12px; font-size: 0.9rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; top: 24px; left: 24px; color: var(--gold-soft); font-size: 0.85rem; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.1rem; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; }
}

/* -------------------------------------------------------------------------
   11. Room detail page
   ------------------------------------------------------------------------- */
.room-hero-gallery {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--gold-soft);
}
.room-hero-gallery .rhg-main {
  display: block;
  width: 100%; height: 100%;
  border: 0; padding: 0; margin: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.room-hero-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); display: block; }
.room-hero-gallery button:hover img { transform: scale(1.04); }
@media (max-width: 760px) {
  .room-hero-gallery { aspect-ratio: 4 / 3; }
}

.thumb-strip { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 6px; }
.thumb-strip button {
  flex: 0 0 auto;
  width: 92px; height: 68px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0; cursor: pointer;
}
.thumb-strip button.is-active { border-color: var(--gold); }
.thumb-strip img { width: 100%; height: 100%; object-fit: cover; }

.room-overview-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 32px; margin-top: 26px; }
@media (max-width: 860px) { .room-overview-grid { grid-template-columns: 1fr; } }

.amenity-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.amenity-list li { display: flex; align-items: center; gap: 10px; color: var(--text-dark); font-size: 0.96rem; }
.amenity-list li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.room-sidebar {
  background: var(--ivory);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.room-sidebar h3 { font-size: 1.05rem; margin-bottom: 8px; }
.room-sidebar > p:first-of-type { font-size: 0.92rem; margin-bottom: 16px; }
.room-sidebar .note { font-size: 0.86rem; color: var(--text-muted); margin-top: 12px; }
.room-sidebar .sidebar-divider { border: 0; border-top: 1px solid var(--gold-soft); margin: 18px 0; }
.room-sidebar .quick-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.room-sidebar .quick-facts li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.86rem; color: var(--text-dark); }
.room-sidebar .quick-facts li::before { content: "\2713"; color: var(--bronze); font-weight: 700; flex-shrink: 0; }

.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--bronze); }
.breadcrumb .sep { margin: 0 6px; color: #c7bda3; }

.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 20px; }

/* -------------------------------------------------------------------------
   12. Forms
   ------------------------------------------------------------------------- */
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.enquiry-form .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .enquiry-form { grid-template-columns: 1fr; } }

.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group label { font-weight: 700; font-size: 0.9rem; color: var(--brown-dark); }
.field-group .required { color: var(--bronze); }
.field-group input,
.field-group select,
.field-group textarea {
  border: 1.5px solid #e2d7bc;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-dark);
  background: var(--white);
  width: 100%;
}
.field-group textarea { resize: vertical; min-height: 120px; }
.field-group input:invalid[data-touched="true"],
.field-group.has-error input,
.field-group.has-error select,
.field-group.has-error textarea {
  border-color: #b3452f;
}
.field-error { color: #9a3a26; font-size: 0.82rem; display: none; }
.field-group.has-error .field-error { display: block; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.checkbox-row label { font-weight: 400; font-size: 0.88rem; color: var(--text-muted); }

.form-status {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { background: #e7f1e3; color: #34532b; border: 1px solid #b9d5ad; }
.form-status.error { background: #fbe8e4; color: #7a2c1c; border: 1px solid #eec1b4; }

/* -------------------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--ivory);
  color: var(--text-dark);
  padding: 64px 0 28px;
  border-top: 1px solid var(--gold-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-mark { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand-mark img { width: 58px; height: 58px; flex-shrink: 0; }
.footer-brand-name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--brown-dark); }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 32ch; }
.footer-col h3 { color: var(--bronze); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-dark); font-size: 0.94rem; }
.footer-col a:hover { color: var(--bronze); }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-social a:hover { background: var(--gold-soft); }
.footer-social svg { width: 17px; height: 17px; fill: var(--brown-dark); }

.footer-bottom {
  border-top: 1px solid var(--gold-soft);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--bronze); }

/* -------------------------------------------------------------------------
   14. Misc components
   ------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brown-dark);
  color: var(--white);
  border: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 400;
  box-shadow: var(--shadow-md);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.page-banner {
  position: relative;
  padding: 64px 0 56px;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20,13,5,0.88) 0%, rgba(24,16,6,0.76) 28%, rgba(30,20,9,0.52) 50%, rgba(30,20,9,0.28) 72%, rgba(30,20,9,0.14) 100%),
    linear-gradient(0deg, rgba(15,10,4,0.35) 0%, transparent 45%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); margin-bottom: 10px; }
.page-banner .breadcrumb { color: rgba(255,255,255,0.75); }
.page-banner .breadcrumb a { color: var(--gold-soft); }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.divider-motif {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold);
  margin: 10px 0 26px;
}
.divider-motif::before, .divider-motif::after { content: ""; flex: 1; height: 1px; background: var(--gold-soft); }

.callout-cta {
  background: linear-gradient(160deg, #3E2A12 0%, var(--brown-dark) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  color: var(--white);
}
.callout-cta h2 { color: var(--white); }
.callout-cta p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-left: auto; margin-right: auto; }
.callout-cta .hero-ctas { justify-content: center; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 0; width: 100%; height: 360px; }

.address-note {
  background: var(--gold-soft);
  border-left: 4px solid var(--bronze);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--brown-dark);
}

.related-rooms { margin-top: 46px; padding-top: 40px; border-top: 1px solid var(--gold-soft); }

table.plain { width: 100%; border-collapse: collapse; }
table.plain td, table.plain th { padding: 8px 10px; border-bottom: 1px solid var(--gold-soft); text-align: left; }
