/* =========================================================
   MALUTIZICHT LODGE — FRONT PAGE
   ========================================================= */

:root {
  --forest: #183c2b;
  --forest-dark: #071f16;
  --forest-light: #28543d;

  --sage: #657b45;
  --sage-light: #d8e3a5;

  --sand: #d8c5a3;

  --cream: #f7f4ea;
  --cream-dark: #edf0e6;

  --white: #ffffff;
  --text: #24352b;
  --muted: #647067;

  --border: rgba(24, 60, 43, 0.13);

  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;

  --radius: 18px;
  --max: 1180px;
}


/* =========================================================
   BASIC RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}


/* =========================================================
   DEMO BAR
   ========================================================= */

.demo-bar {
  position: relative;
  z-index: 1000;

  width: 100%;

  padding: 8px 18px;

  background: #071b13;

  color: rgba(255, 255, 255, 0.72);

  text-align: center;

  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.demo-bar a {
  color: #d8e3a5;
  text-decoration: none;
  font-weight: 700;
}

.demo-bar a:hover {
  color: #ffffff;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  min-height: calc(100vh - 35px);
  min-height: 760px;

  overflow: hidden;

  background: var(--forest-dark);

  color: white;
}


/* HERO BACKGROUND IMAGE */

.hero .bg {
  position: absolute;

  inset: 0;

  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center center;
}


/* =========================================================
   HERO DARK OVERLAY
   ========================================================= */

.hero .veil {
  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(5, 28, 20, 0.82) 0%,
      rgba(5, 28, 20, 0.62) 34%,
      rgba(5, 28, 20, 0.28) 68%,
      rgba(5, 28, 20, 0.18) 100%
    ),

    linear-gradient(
      180deg,
      rgba(5, 28, 20, 0.48) 0%,
      rgba(5, 28, 20, 0.05) 45%,
      rgba(5, 28, 20, 0.48) 100%
    );
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
  position: relative;

  z-index: 3;

  width: 100%;
  min-height: calc(100vh - 35px);
  min-height: 760px;

  display: flex;
  flex-direction: column;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-head {
  position: relative;

  width: 100%;

  flex-shrink: 0;

  color: white;
}

.site-head .row {
  width: min(var(--max), calc(100% - 96px));

  min-height: 105px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;
}


/* =========================================================
   TEXT LOGO
   ========================================================= */
.brand {
  display: inline-flex;
  flex-direction: column;
  color: white;
  text-decoration: none;
  flex-shrink: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* =========================================================
   DESKTOP NAV
   ========================================================= */

.nav {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 30px;
}

.nav a {
  position: relative;

  color: rgba(255, 255, 255, 0.92);

  text-decoration: none;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.nav a:hover {
  color: #d8e3a5;
}

.nav a[aria-current="page"] {
  color: #d8e3a5;
}


/* =========================================================
   BOOK BUTTON
   ========================================================= */

.nav .cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 84px;
  min-height: 44px;

  padding: 0 20px;

  border-radius: 999px;

  background: var(--sand);

  color: var(--forest);

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.18);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.nav .cta:hover {
  background: #eee0c3;

  color: var(--forest-dark);

  transform: translateY(-2px);
}


/* =========================================================
   HAMBURGER
   Hidden on desktop
   ========================================================= */

.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  padding: 0;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 24px;
  height: 2px;

  margin: 5px auto;

  background: white;

  border-radius: 2px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}


/* =========================================================
   HERO TEXT
   ========================================================= */

.hero-inner {
  width: min(var(--max), calc(100% - 96px));

  margin: 0 auto;

  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: flex-start;

  padding-top: 50px;

  padding-bottom: 100px;
}


/* =========================================================
   SMALL LOCATION LINE
   ========================================================= */

.kicker {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 22px;

  color: #d8e3a5;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.20em;

  text-transform: uppercase;
}

.kicker::before {
  content: "";

  width: 36px;
  height: 1px;

  background: #8db0b9;
}


/* =========================================================
   MAIN HERO HEADING
   ========================================================= */

.hero h1 {
  max-width: 850px;

  margin: 0;

  color: white;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(58px, 7vw, 94px);

  font-weight: 500;

  line-height: 0.94;

  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;

  color: #d8e3a5;
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.hero .sub {
  max-width: 650px;

  margin: 30px 0 0;

  color: rgba(255, 255, 255, 0.90);

  font-size: 17px;

  line-height: 1.75;
}


/* =========================================================
   QUICK FACTS
   ========================================================= */

.facts {
  display: flex;

  flex-wrap: wrap;

  gap: 9px;

  margin-top: 26px;
}

.fact {
  display: inline-flex;

  align-items: center;

  padding: 7px 13px;

  border: 1px solid rgba(255, 255, 255, 0.25);

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  color: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(8px);

  font-size: 11px;

  font-weight: 600;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 32px;
}

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 49px;

  padding: 0 24px;

  border: 0;

  border-radius: 999px;

  text-decoration: none;

  font-family: inherit;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.06em;

  cursor: pointer;

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sand);

  color: var(--forest);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.20);
}

.btn-primary:hover {
  background: #eee0c3;

  color: var(--forest-dark);
}

.btn-wa {
  background: rgba(255, 255, 255, 0.10);

  border: 1px solid rgba(255, 255, 255, 0.40);

  color: white;

  backdrop-filter: blur(8px);
}

.btn-wa:hover {
  background: rgba(255, 255, 255, 0.18);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.sec {
  padding: 105px 0;

  background: var(--cream);
}

.sec.alt {
  background: var(--cream-dark);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));

  margin: auto;
}

.eyebrow {
  display: flex;

  align-items: center;

  gap: 12px;

  color: var(--sage);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}

.eyebrow::before {
  content: "";

  width: 30px;
  height: 1px;

  background: #2f6680;
}

h2 {
  margin: 10px 0 20px;

  color: var(--forest);

  font-family: var(--serif);

  font-size: clamp(40px, 5vw, 62px);

  font-weight: 500;

  line-height: 1.04;

  letter-spacing: -0.04em;
}

h3 {
  margin: 0;

  color: var(--forest);

  font-family: var(--serif);

  font-size: 25px;

  font-weight: 500;

  line-height: 1.2;
}

p {
  color: var(--muted);

  margin-top: 0;
}


/* =========================================================
   WELCOME SPLIT (text left, image right on large screens)
   ========================================================= */

.wrap.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wrap.split .welcome-copy {
  min-width: 0;
}

.wrap.split .ph {
  min-width: 0;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
}

.wrap.split .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================================================
   ROOMS GRID (3 columns on large screens)
   ========================================================= */

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.grid3 .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: white;
  border: 1px solid rgba(24, 60, 43, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(24, 60, 43, 0.07);
}

.grid3 .card .ph {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe4d9;
}

.grid3 .card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grid3 .card .bd {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.grid3 .card .room-number {
  margin-bottom: 6px;
  color: var(--sage);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.grid3 .card .meta {
  margin: 6px 0 12px;
  color: var(--sage);
  font-size: 13px;
}

.grid3 .card .room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.grid3 .card .room-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cream-dark);
  color: var(--forest);
  font-size: 11px;
  font-weight: 600;
}

.section-intro {
  max-width: 560px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-action {
  margin-top: 40px;
  text-align: center;
}

.btn-acc {
  background: var(--forest);
  color: white;
}

.btn-acc:hover {
  background: var(--forest-light);
  color: white;
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 700px) {

  .site-head .row {
    width: calc(100% - 32px);

    min-height: 78px;

    position: relative;
  }


  /* Show hamburger */

  .menu-toggle {
    display: block;

    position: relative;

    z-index: 20;
  }


  /* Mobile navigation panel */

  .nav {
    position: absolute;

    top: 78px;

    left: 16px;
    right: 16px;

    z-index: 15;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    padding: 10px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 16px;

    background: rgba(7, 31, 22, 0.96);

    backdrop-filter: blur(18px);

    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.30);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateY(-10px);

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }


  /* JavaScript adds this class */

  .nav.open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
  }


  .nav a {
    width: 100%;

    padding: 14px 15px;

    border-radius: 10px;

    font-size: 12px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }


  .nav .cta {
    width: 100%;

    margin-top: 6px;
  }


  /* Hero */

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-inner {
    width: calc(100% - 32px);

    padding-top: 45px;

    padding-bottom: 60px;

    justify-content: center;
  }

  .hero h1 {
    max-width: 100%;

    font-size: clamp(47px, 14vw, 68px);

    line-height: 0.96;
  }

  .hero .sub {
    font-size: 15px;

    line-height: 1.7;
  }

  .facts {
    gap: 7px;
  }

  .fact {
    font-size: 10px;

    padding: 6px 11px;
  }

  .actions {
    width: 100%;

    flex-direction: column;

    margin-top: 28px;
  }

  .actions .btn {
    width: 100%;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-location {
    font-size: 8px;
  }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 430px) {

  .demo-bar {
    padding: 7px 10px;

    font-size: 9px;
  }

  .site-head .row {
    width: calc(100% - 24px);
  }

  .hero-inner {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: clamp(43px, 14vw, 58px);
  }

  .hero .sub {
    font-size: 14px;
  }

  .kicker {
    font-size: 10px;

    letter-spacing: 0.15em;
  }

}

/* =========================================================
   ROOMS PAGE
   ========================================================= */

.rooms-hero {
  padding: 110px 0 85px;
  background: linear-gradient(135deg, var(--forest-dark), var(--forest));
  color: white;
}

.rooms-hero .eyebrow {
  color: #c5d58b;
}

.rooms-hero .eyebrow::before {
  background: var(--blue-light);
}

.rooms-hero h1 {
  max-width: 800px;
  margin: 14px 0 20px;
  color: white;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.rooms-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.8;
}

.rooms-section {
  padding: 100px 0;
  background: var(--cream);
}

.rooms-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 42px;
}

.rooms-intro h2 {
  margin-bottom: 0;
}

.rooms-intro > p {
  max-width: 470px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.room-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  background: white;
  border: 1px solid rgba(24, 60, 43, 0.09);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(24, 60, 43, 0.07);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.room-card:hover {
  transform: translateY(-7px);
  border-color: rgba(47, 102, 128, 0.28);
  box-shadow: 0 22px 50px rgba(24, 60, 43, 0.14);
}

.room-card:focus-visible {
  outline: 3px solid rgba(47, 102, 128, 0.35);
  outline-offset: 4px;
}

.room-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe4d9;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.room-card:hover .room-image img {
  transform: scale(1.045);
}

.room-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 31, 22, 0.42);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.room-card:hover .room-overlay,
.room-card:focus-visible .room-overlay {
  opacity: 1;
}

.room-overlay span {
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(7, 31, 22, 0.65);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.room-card-body {
  padding: 25px 25px 27px;
}

.room-number {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.room-card h3 {
  margin: 0 0 10px;
  font-size: 27px;
}

.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  margin-bottom: 15px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.room-meta span {
  position: relative;
}

.room-meta span:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: -9px;
  color: rgba(24, 60, 43, 0.3);
}

.room-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.view-room {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.view-room span {
  color: var(--blue);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.room-card:hover .view-room span {
  transform: translateX(4px);
}

.rooms-cta {
  padding: 90px 0;
  background: var(--sand);
}

.rooms-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.rooms-cta h2 {
  max-width: 650px;
  margin-bottom: 15px;
}

.rooms-cta p {
  max-width: 600px;
  margin: 0;
}

.rooms-cta .btn {
  flex-shrink: 0;
}

/* =========================================================
   ROOM GALLERY MODAL
   ========================================================= */

.room-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.room-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 14, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.room-modal-box {
  position: relative;
  z-index: 2;
  width: min(1050px, 94vw);
  max-height: 90vh;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  overflow: hidden;
  background: #f7f4ea;
  border-radius: 20px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  transform: scale(0.94);
  transition: transform 0.3s ease;
}

.room-modal.open .room-modal-box {
  transform: scale(1);
}

.modal-gallery {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #10291f;
  overflow: hidden;
  touch-action: pan-y;
}

.modal-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 75vh;
  object-fit: contain;
  padding: 25px;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

.gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.75);
}

.modal-content {
  padding: 50px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-room-number {
  margin-bottom: 8px;
  color: #657b45;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.modal-content h2 {
  margin: 0 0 12px;
  color: #183c2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1.05;
}

.modal-meta {
  margin-bottom: 22px;
  color: #657b45;
  font-size: 13px;
  font-weight: 700;
}

.modal-content p {
  color: #647067;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 28px;
}

.modal-content .btn {
  width: fit-content;
}

body.modal-open {
  overflow: hidden;
}

/* =========================================================
   BOOKING FORM
   ========================================================= */

.book-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

form.enq {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.f-row {
  margin-bottom: 16px;
}

.f-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--forest);
}

.f-row input,
.f-row textarea,
.f-row select {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 15px;
  border: 1px solid rgba(24, 60, 43, 0.16);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
}

.f-row input:focus,
.f-row textarea:focus,
.f-row select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 102, 128, 0.12);
}

.f-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-ok {
  background: #e8f0e4;
  border: 1px solid #9bb36d;
  color: var(--forest);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  margin-bottom: 14px;
}

.contact-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.contact-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-list li b {
  font-weight: 600;
  color: var(--forest);
}

.map-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-soft);
}

.map-box iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gal button {
  border: 1px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gal button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease-out;
}

.gal button:hover img {
  transform: scale(1.04);
}

.source-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.source-panel pre {
  margin: 0;
  max-height: 280px;
  overflow: auto;
  background: #10291f;
  color: #edf0e6;
  border-radius: 12px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.5;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-foot .cols {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 950px) {
  .room-modal-box {
    grid-template-columns: 1fr;
  }

  .modal-gallery {
    min-height: 440px;
  }

  .modal-gallery img {
    max-height: 440px;
  }

  .modal-content {
    padding: 35px;
  }
}

@media (max-width: 900px) {
  .site-head .row {
    min-height: 88px;
  }

  .nav {
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero h1 {
    font-size: clamp(48px, 10vw, 72px);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .split .ph {
    min-height: 380px;
  }

  .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .find-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .find-actions {
    width: 100%;
  }

  .site-foot .cols {
    grid-template-columns: 1fr 1fr;
  }

  .site-foot .cols > div:first-child {
    grid-column: 1 / -1;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .gal {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .room-modal {
    padding: 15px;
  }

  .room-modal-box {
    width: 100%;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .modal-gallery {
    min-height: 55vh;
    flex-shrink: 0;
  }

  .modal-gallery img {
    max-height: 55vh;
    padding: 15px;
  }

  .modal-content {
    padding: 28px 24px 32px;
  }

  .modal-content h2 {
    font-size: 32px;
  }

  .gallery-arrow {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }

  .gallery-prev {
    left: 12px;
  }

  .gallery-next {
    right: 12px;
  }
}

@media (max-width: 700px) {
  .rooms-hero {
    padding: 75px 0 65px;
  }

  .rooms-section {
    padding: 70px 0;
  }

  .rooms-intro {
    display: block;
  }

  .rooms-intro > p {
    margin-top: 20px;
  }

  .rooms-cta {
    padding: 65px 0;
  }

  .rooms-cta-inner {
    display: block;
  }

  .rooms-cta .btn {
    margin-top: 25px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .demo-bar {
    padding: 8px 12px;
    font-size: 10px;
    line-height: 1.5;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .site-head .row {
    width: calc(100% - 28px);
    min-height: 78px;
    gap: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .nav .cta {
    padding: 9px 16px;
    font-size: 10px;
  }

  .hero-inner {
    width: calc(100% - 28px);
    padding-top: 45px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .hero .sub {
    font-size: 15px;
  }

  .actions {
    width: 100%;
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .sec {
    padding: 72px 0;
  }

  .wrap {
    width: calc(100% - 28px);
  }

  h2 {
    font-size: 40px;
  }

  .split .ph {
    min-height: 270px;
  }

  .grid3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .amen {
    grid-template-columns: 1fr;
  }

  .quote {
    padding: 40px 23px;
  }

  .find-actions {
    flex-direction: column;
    width: 100%;
  }

  .find-actions .btn {
    width: 100%;
  }

  .site-foot .cols {
    grid-template-columns: 1fr;
  }

  .site-foot .cols > div:first-child {
    grid-column: auto;
  }

  .fine {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .room-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(7, 31, 22, 0.55), transparent 55%);
    align-items: flex-end;
    padding: 16px;
  }

  .f-2 {
    grid-template-columns: 1fr;
  }

  .gal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .room-image {
    aspect-ratio: 4 / 3;
  }

  .room-card h3 {
    font-size: 24px;
  }

  .modal-gallery {
    min-height: 260px;
  }

  .modal-gallery img {
    max-height: 260px;
  }
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 50;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  pointer-events: none;
}
@media (max-width: 900px) {
  .menu-toggle { display: flex !important; }
  .nav {
    display: none !important;
    position: absolute;
    top: calc(100% - 8px);
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    background: rgba(7, 27, 19, 0.96);
    border-radius: 18px;
    padding: 10px 0 16px;
  }
  .nav.is-open,
  .nav.open { display: flex !important; }
}

/* =========================================================
   INNER PAGE HEADER — ROOMS / GALLERY / FIND US
   ========================================================= */

.room-header.solid {
  width: 100%;
  background: var(--forest-dark);
  color: white;
}

.room-header.solid .row {
  min-height: 90px;
}

.room-header.solid .brand {
  color: white;
}

.room-header.solid .brand small {
  color: rgba(255, 255, 255, 0.65);
}

.room-header.solid .nav a {
  color: rgba(255, 255, 255, 0.92);
}

.room-header.solid .nav a:hover,
.room-header.solid .nav a[aria-current="page"] {
  color: var(--sage-light);
}

.room-header.solid .nav .cta {
  background: var(--sand);
  color: var(--forest);
}

.room-header.solid .nav .cta:hover {
  background: #eee0c3;
  color: var(--forest-dark);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-foot {
  width: 100%;
  margin: 0;
  padding: 70px 0 24px;

  background: #06271c;
  color: rgba(255, 255, 255, 0.65);

  border-top: 1px solid #d8c5a3;
}


/* =========================================================
   FOOTER MAIN CONTENT
   ========================================================= */

.site-foot .cols {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;

  gap: 70px;
}


/* =========================================================
   FOOTER HEADINGS
   ========================================================= */

.site-foot h3 {
  margin: 0 0 17px;

  color: #ffffff;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 23px;
  font-weight: 500;

  line-height: 1.2;
}


/* =========================================================
   FOOTER DESCRIPTION
   ========================================================= */

.site-foot p {
  max-width: 390px;

  margin: 0;

  color: rgba(255, 255, 255, 0.62);

  font-family: Inter, "Segoe UI", Arial, sans-serif;

  font-size: 13px;
  line-height: 1.8;
}


/* =========================================================
   FOOTER LISTS
   ========================================================= */

.site-foot ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.site-foot li {
  margin: 0 0 8px;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.site-foot a {
  color: rgba(255, 255, 255, 0.68);

  font-family: Inter, "Segoe UI", Arial, sans-serif;

  font-size: 13px;
  line-height: 1.8;

  text-decoration: none;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.site-foot a:hover {
  color: #d8e3a5;
}


/* =========================================================
   FOOTER BOTTOM BAR
   ========================================================= */

.site-foot .fine {
  width: min(1180px, calc(100% - 64px));

  margin: 90px auto 0;

  padding-top: 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  color: rgba(255, 255, 255, 0.38);

  font-family: Inter, "Segoe UI", Arial, sans-serif;

  font-size: 11px;
  line-height: 1.5;
}


/* =========================================================
   KLIPWERKS LINK
   ========================================================= */

.site-foot .fine .kw {
  color: #d8e3a5;
  text-decoration: none;
}

.site-foot .fine .kw:hover {
  color: #ffffff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .site-foot .cols {
    width: calc(100% - 48px);

    grid-template-columns: 1fr 1fr;

    gap: 45px;
  }

  .site-foot .cols > div:first-child {
    grid-column: 1 / -1;
  }

  .site-foot .fine {
    width: calc(100% - 48px);
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .site-foot {
    padding: 55px 0 22px;
  }

  .site-foot .cols {
    width: calc(100% - 32px);

    display: grid;
    grid-template-columns: 1fr;

    gap: 38px;
  }

  .site-foot .cols > div:first-child {
    grid-column: auto;
  }

  .site-foot h3 {
    font-size: 22px;
  }

  .site-foot p,
  .site-foot a {
    font-size: 13px;
  }

  .site-foot .fine {
    width: calc(100% - 32px);

    margin-top: 60px;

    flex-direction: column;

    align-items: flex-start;

    gap: 8px;
  }
}
