/* ============================================================
   Suvarna Eco Village — luxury A-frame resort
   ============================================================ */

/* Canela Light — licensed font, host the file and update the URL below.
   Muli/Mulish (body) is loaded via Google Fonts in index.html. */
@font-face {
  font-family: 'Canela Light';
  src: url('fonts/Canela-Light-Web.woff2') format('woff2'),
       url('fonts/Canela-Light-Web.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark: #16241b;
  --dark-2: #1f3326;
  --gold: #167232;        /* brand green (from logo) */
  --gold-dark: #0f5524;   /* deeper green — hover / on-light accents */
  --gold-light: #5aa86e;  /* brighter green — accents on dark backgrounds */
  --cream: #f3f1e9;
  --cream-2: #eae6da;
  --ink: #2a2a2a;
  --muted: #6f6a62;
  --line: #e4ddd0;
  --white: #ffffff;
  --serif: 'Canela Light', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Muli', 'Mulish', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- Accessibility: visible keyboard focus (ACC-01) ---------------------- */
:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
  border-radius: 2px;
}
.section--dark :focus-visible,
.footer :focus-visible,
.header :focus-visible { outline-color: #fff; }

/* ---- Skip to main content (ACC-05) -------------------------------------- */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 1000;
  padding: 12px 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: #fff;
  font-family: var(--sans);
  font-size: .9rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 8px; }

/* ---- Screen-reader-only utility ----------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-weight: 300;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
}
.eyebrow--light { color: var(--gold-light); }

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: .5px;
  color: var(--dark);
}
.section__title--light { color: var(--white); }

.section__lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section { padding: clamp(64px, 9vw, 100px) 0; }
/* Tighten the gallery → FAQ transition on the homepage (QC #4/#17) */
#gallery { padding-bottom: clamp(30px, 4vw, 44px); }
#faq { padding-top: clamp(34px, 4.5vw, 52px); }
/* Tighter section rhythm — trims padding on the Rooms detail blocks (QC #22) */
.section--tight { padding-top: clamp(38px, 5vw, 58px); padding-bottom: clamp(38px, 5vw, 58px); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark); color: var(--white); }

.section__head { margin-bottom: 54px; }
.section__head.center { text-align: center; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .35s var(--ease);
}
.btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
}
/* Outline (unfilled) buttons — every CTA except the primary "Book Now".
   --ghost for light backgrounds, --ghost-light for dark sections. */
.btn--ghost {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.btn--ghost:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}
.btn--ghost-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--dark);
  transform: translateY(-2px);
}
/* Group of buttons sitting side by side (e.g. View Details + Book) */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(22, 36, 27, .96);
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  backdrop-filter: blur(8px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* anchors the mobile dropdown menu below the hamburger */
}
.brand__logo {
  height: 78px;
  width: auto;
  margin: -11px 0;
  transition: height .4s var(--ease), margin .4s var(--ease);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4));
}
.header.is-scrolled .brand__logo { height: 60px; margin: -8px 0; }

/* Nav is a hamburger-triggered dropdown at every width, anchored to the right. */
.nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  width: min(288px, 84vw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--dark);
  padding: 8px;
  border: 1px solid rgba(212, 175, 110, .22);
  border-radius: 12px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, .5);
  /* hidden until the hamburger opens it; closes on outside-click (handled in JS) */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
  z-index: 100;
}
.nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
/* Shared link typography */
.nav__link {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
}
/* Links inside the hamburger dropdown (#nav) */
.nav .nav__link {
  width: 100%;
  padding: 13px 14px;
  border-radius: 6px;
}
.nav .nav__link + .nav__link { border-top: 1px solid rgba(255, 255, 255, .07); }
.nav .nav__link:hover { color: var(--gold-light); background: rgba(255, 255, 255, .08); }
.nav .nav__link.is-active { color: var(--gold-light); font-weight: 600; background: rgba(212, 175, 110, .14); }

/* Primary links shown inline in the bar (desktop) — moved into .nav-primary by JS */
.nav-primary {
  display: none; /* revealed at >=921px; on mobile these links live in the dropdown */
  align-items: center;
  gap: 22px;
  margin-left: auto; /* group the inline links, hamburger and CTA on the right */
}
.nav-primary .nav__link { position: relative; padding: 6px 0; }
.nav-primary .nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-primary .nav__link:hover { color: var(--gold-light); }
.nav-primary .nav__link:hover::after { width: 100%; }
.nav-primary .nav__link.is-active { color: var(--gold-light); font-weight: 600; }
.nav-primary .nav__link.is-active::after { width: 100%; }

.nav__cta { margin-left: 6px; color: #fff; }

/* Desktop "More" overflow menu (QC #5) — only rendered ≥921px by JS */
.nav-more { position: relative; display: flex; align-items: center; }
.nav-more__toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.nav-more__caret { font-size: .7em; transition: transform .25s var(--ease); }
.nav-more.is-open .nav-more__caret { transform: rotate(180deg); }
.nav-more__menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 180px;
  background: var(--dark);
  border: 1px solid rgba(212,175,110,.22);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
  z-index: 100;
}
.nav-more.is-open .nav-more__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-more__menu .nav__link { color: #fff; padding: 10px 14px; border-radius: 6px; white-space: nowrap; }
.nav-more__menu .nav__link::after { display: none; }
.nav-more__menu .nav__link:hover { color: var(--gold-light); background: rgba(255, 255, 255, .08); }
.nav__cta:hover { color: #fff; }

/* Cottages group: on desktop it behaves like a plain nav item (submenu + chevron
   hidden); the submenu appears only inside the mobile drawer. */
.nav__group { position: relative; display: flex; align-items: center; }
.nav__sub-toggle {
  display: none;
  background: none; border: 0; padding: 0; cursor: pointer; color: #fff;
}
.nav__sub-toggle svg { width: 18px; height: 18px; display: block; }
.nav__submenu { display: none; }
.nav__sublink {
  display: block;
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  letter-spacing: .08em;
  padding: 11px 0 11px 18px;
  border-left: 2px solid rgba(255,255,255,.2);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.nav__sublink:hover { color: var(--gold-light); border-color: var(--gold-light); }

.nav-toggle {
  display: flex; /* hamburger shown at every width, pushed to the right of the header */
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: #fff;
  transition: .3s var(--ease);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop: show the primary links inline; give the hamburger + CTA breathing room. */
@media (min-width: 921px) {
  .nav-primary { display: flex; }
  .nav-toggle { margin-left: 20px; }
  .nav__cta { margin-left: 14px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh; /* dynamic viewport height — no gap behind mobile address bars */
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  /* clipping lives on .hero__carousel so the Rooms & Guests dropdown isn't cut off */
}
.hero__carousel { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease), transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.55) 100%);
}

.hero__arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .65);
  background: rgba(0, 0, 0, .3);
  color: #fff;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: .9;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .3s var(--ease);
}
.hero__arrow svg { width: 20px; height: 20px; stroke-width: 1.7; }
.hero__arrow:hover { background: var(--gold); border-color: var(--gold); color: #fff; opacity: 1; }
.hero__arrow--prev { left: 26px; }
.hero__arrow--next { right: 26px; }

.hero__book-anchor { position: absolute; top: -90px; }

.hero__dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 12px;
}
.hero__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: .3s var(--ease);
}
.hero__dots button.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.2); }

/* ---------- Hero search bar ---------- */
.hero__search {
  position: relative;
  z-index: 7;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto 40px;
  padding: 26px 30px;
  background: rgba(38, 26, 18, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr auto;
  gap: 22px;
  align-items: center;
}
.hero__search-close { display: none; }

.hero__search-field { display: flex; flex-direction: column; gap: 10px; position: relative; }
.hero__search-field label {
  font-size: .82rem;
  letter-spacing: .01em;
  text-transform: none;
  color: #fff;
  font-weight: 600;
}
.hero__search-control {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: var(--radius);
  padding: 0 16px;
  background: transparent;
  width: 100%;
  font-family: var(--sans);
  cursor: pointer;
  text-align: left;
  transition: border-color .25s var(--ease);
}
.hero__search-control:hover,
.hero__search-control:focus-within { border-color: rgba(255,255,255,.7); }
.hero__search-icon { width: 19px; height: 19px; color: rgba(255,255,255,.85); flex-shrink: 0; }
.hero__search-control input {
  border: 0;
  /* No outline:0 here — it out-specifies :focus-visible and left these inputs
     with no keyboard focus indicator at all. */
  font-family: var(--sans);
  font-size: .95rem;
  width: 100%;
  background: transparent;
  color: #fff;
}
.hero__search-control input::placeholder { color: rgba(255,255,255,.55); }
.hero__search-control input[type="date"] { color-scheme: dark; }
.hero__search-rg-trigger { font-size: .95rem; color: #fff; }
.hero__search-cta { display: flex; flex-direction: column; gap: 10px; position: relative; }
.hero__search-cta-spacer { font-size: .82rem; font-weight: 600; line-height: 1.65; }
.hero__search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: var(--gold);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 0 34px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .84rem;
  cursor: pointer;
  transition: .3s var(--ease);
  white-space: nowrap;
}
.hero__search-btn:hover { background: var(--gold-dark); color: #fff; }
/* Pulled out of the column flow so the CTA cell matches the field columns'
   height and the button lines up with the inputs; sits just below the button. */
.hero__search-manage {
  position: absolute;
  top: calc(100% + 7px);
  left: 0; right: 0;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: none;
  color: rgba(255,255,255,.75);
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}
.hero__search-manage:hover { color: #fff; }

/* ---------- Rooms & Guests popover ---------- */
.rg-popover {
  position: absolute;
  /* Opens upward by default (booking bar sits at the bottom of the hero). JS adds
     .rg-popover--down to flip it below the trigger when the bar is scrolled high,
     so the popover stays visible. z-index sits above the header (100). */
  bottom: calc(100% + 10px);
  top: auto;
  left: 0;
  z-index: 120;
  width: 320px;
  max-width: 88vw;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 18px;
  overflow-y: auto; /* JS may cap max-height to the space on screen; scroll if taller */
  overscroll-behavior: contain;
}
.rg-popover.rg-popover--down {
  top: calc(100% + 10px);
  bottom: auto;
}
.rg-popover[hidden] { display: none; }
.rg-popover__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
/* Not a heading: it sits above the page H1 in source order, so keeping it an
   <h3> started the document outline at h3 and broke heading order. */
.rg-popover__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
/* Child-age selects — the booking engine prices children by age (BKG-04). */
.rg-ages {
  margin: 4px 0 2px;
  padding: 10px 0 2px;
  border-top: 1px dashed var(--line);
}
.rg-ages .rg-row__label { text-transform: none; letter-spacing: 0; }
.rg-age {
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  background: #fff;
  color: var(--ink);
}
.rg-popover__close {
  background: none; border: 0; font-size: 1.5rem; line-height: 1;
  cursor: pointer; color: var(--muted);
}
.rg-popover__row,
.rg-room__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.rg-row__label { font-size: .92rem; color: var(--ink); }
.rg-counter { display: flex; align-items: center; gap: 14px; }
.rg-counter__btn {
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--gold-dark);
  display: grid; place-items: center;
  transition: .25s var(--ease);
}
.rg-counter__btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.rg-counter__val { min-width: 18px; text-align: center; font-weight: 400; }
.rg-room {
  border-top: 1px dashed var(--line);
  padding-top: 6px;
  margin-top: 6px;
}
.rg-room:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.rg-room__title {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.rg-room__remove {
  background: none; border: 0; color: var(--muted);
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; cursor: pointer;
}
.rg-room__remove:hover { color: #b4451f; }
.rg-popover__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.rg-add {
  background: none; border: 0; color: var(--gold-dark);
  font-weight: 500; font-size: .85rem; cursor: pointer;
}
.rg-add:hover { text-decoration: underline; }
.rg-done {
  background: var(--gold); color: #fff; border: 0;
  border-radius: var(--radius); padding: 9px 22px;
  font-family: var(--sans); letter-spacing: .1em; text-transform: uppercase;
  font-size: .78rem; cursor: pointer; transition: .3s var(--ease);
}
.rg-done:hover { background: var(--gold-dark); color: #fff; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 6px;
}
.about__media::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  z-index: -1;
}
.about__text h1.section__title { margin: 6px 0 22px; }
.about__text p { color: var(--muted); margin-bottom: 16px; }
.about__text a { color: var(--gold-dark); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  gap: 30px;
  margin-top: 80px;
}
.stats--three { grid-template-columns: repeat(3, 1fr); }
.stat { text-align: center; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 500;
  color: var(--gold-dark);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.stat__suffix { font-size: .55em; }
.stat__line {
  display: block;
  width: 46px; height: 2px;
  background: var(--gold);
  margin: 18px auto;
}
.stat__label {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Stats on dark sections: lift the numbers and labels for legibility */
.section--dark .stat__num { color: var(--gold-light); }
.section--dark .stat__label { color: rgba(255, 255, 255, .78); }
.section--dark .stat__line { background: var(--gold-light); }

/* ============================================================
   WHY / USP
   ============================================================ */
.why__grid {
  display: grid;
  gap: 26px;
}
.why__grid--five { grid-template-columns: repeat(5, 1fr); }
/* Why cards become a swipe slider on mobile — arrows added there only (QC #15) */
.why__slider { position: relative; }
.why__arrow { display: none; }
.why__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 24px;
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.why__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.why__icon {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-dark);
}
.why__icon svg { width: 30px; height: 30px; }
.why__card h3 {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}
.why__card p { font-size: .9rem; color: var(--muted); }

/* ============================================================
   COTTAGES / ROOMS SLIDER
   ============================================================ */
.residences--full { overflow: hidden; }
.rooms-slider {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 70px;
}
.rooms-slider__viewport { overflow: hidden; }
.rooms-slider__track {
  display: flex;
  gap: 28px;
  transition: transform .55s var(--ease);
}
.room {
  flex: 0 0 calc((100% - 56px) / 3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.room__media { overflow: hidden; height: 260px; }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room:hover .room__media img { transform: scale(1.07); }
.room__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.room__title { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--dark); }
.room__area {
  color: var(--gold-dark);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 4px 0 16px;
}
.room__specs { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.room__specs li {
  position: relative;
  padding-left: 22px;
  font-size: .88rem;
  color: var(--ink);
}
.room__specs li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.room__desc { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.room__cta { margin-top: auto; align-self: flex-start; }
.room__cta-row { margin-top: auto; display: flex; gap: 10px; flex-wrap: nowrap; }
.room__cta-row .btn { flex: 1 1 0; min-width: 0; padding-left: 14px; padding-right: 14px; white-space: nowrap; }

.rooms-slider__arrow {
  position: absolute;
  top: 50%; /* fallback; JS centers this on the card (image + text) precisely */
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--dark);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  transition: .3s var(--ease);
}
.rooms-slider__arrow svg { width: 20px; height: 20px; }
.rooms-slider__arrow:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.rooms-slider__arrow--prev { left: 6px; }
.rooms-slider__arrow--next { right: 6px; }
.rooms-slider__arrow[disabled] { opacity: .35; cursor: default; }

.rooms-slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.rooms-slider__dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: .3s var(--ease);
}
.rooms-slider__dots button.is-active { background: var(--gold-dark); transform: scale(1.25); }

/* ============================================================
   FACILITIES (DARK)
   ============================================================ */
.facilities__features {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
}
.ffeature {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 360px;
}
.ffeature img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.ffeature:hover img { transform: scale(1.06); }
/* Inset gold frame — the signature offset-line motif, adapted for clipped images */
.ffeature::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(22, 114, 50, .65);
  border-radius: 4px;
  z-index: 2;
  pointer-events: none;
  transition: inset .5s var(--ease);
}
.ffeature:hover::before { inset: 11px; }
.ffeature figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 28px 26px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  color: #fff;
  z-index: 3;
}
.ffeature figcaption h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 8px; }
.ffeature figcaption p { font-size: .9rem; color: rgba(255,255,255,.82); max-width: 460px; }

.amenities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}
.amenities li {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 calc(25% - 13.5px);
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  background: var(--dark-2);
  font-size: .9rem;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.amenities li:hover { border-color: var(--gold); background: #213528; }
.amenities li svg { width: 30px; height: 30px; color: var(--gold-light); flex-shrink: 0; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery__slider { position: relative; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item::after {
  content: '+';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  background: rgba(22,36,27,.5);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
/* Uniform gallery grid — all tiles share the same dimensions */
.gallery__item--tall { grid-row: auto; }
.gallery__item--wide { grid-column: auto; }
/* Portrait source photos: bias the crop up so the cottages stay in frame */
.gallery__item--focus-top img { object-position: center 34%; }

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--dark);
  display: none;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: var(--shadow);
}
.gallery__arrow svg { width: 20px; height: 20px; }
.gallery__arrow:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.gallery__arrow--prev { left: -10px; }
.gallery__arrow--next { right: -10px; }

/* ============================================================
   LOCATION
   ============================================================ */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.location__list { margin: 10px 0 28px; display: flex; flex-direction: column; gap: 22px; }
.location__list > li { display: flex; flex-direction: column; gap: 6px; }
.location__list strong {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}
.location__sublist { display: flex; flex-direction: column; gap: 6px; }
.location__sublist li { font-size: .92rem; color: var(--muted); }
.location__sublist a { color: var(--ink); border-bottom: 1px solid var(--line); transition: .25s var(--ease); }
.location__sublist a:hover { color: var(--gold-dark); border-color: var(--gold); }
.location__map {
  position: relative;
  border-radius: 6px;
  box-shadow: var(--shadow);
  height: 460px;
}
.location__map iframe { width: 100%; height: 100%; border: 0; border-radius: 6px; position: relative; z-index: 1; }
/* Offset gold frame — mirrored to the top-left for variety vs. the About image */
.location__map::after {
  content: '';
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  z-index: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  /* minmax(0,…) rather than a bare fr: the reCAPTCHA iframe is a fixed 304px and
     would otherwise push the track past the container on narrow screens. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}
.contact__info .section__lead { margin: 14px 0 30px; max-width: none; }
.contact__list { display: flex; flex-direction: column; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__ic {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-dark);
}
.contact__ic svg { width: 22px; height: 22px; }
.contact__k {
  display: block;
  font-size: .875rem;   /* was .72rem (11.5px) — below the readability floor */
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact__list a:hover { color: var(--gold-dark); }

.contact__form {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
}
/* Offset gold frame — anchored at the top-left, offset out on the bottom-right.
   No covering child fills the form, so anchoring keeps the inner edges off the
   padding (only the bottom + right of the frame peek out). */
.contact__form::after {
  content: '';
  position: absolute;
  inset: 0 -16px -16px 0;
  border: 1px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
  pointer-events: none;
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label {
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
}
.field__req { color: #b4451f; margin-left: 2px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .95rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .25s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--gold); }   /* outline left to :focus-visible */
.field textarea { resize: vertical; }
.field__phone { display: flex; gap: 10px; }
.field__phone .field__cc { width: 110px; flex-shrink: 0; }
.field__phone input { flex: 1 1 auto; min-width: 0; }
.contact__form-actions { margin-top: 6px; }
.form__note {
  margin-top: 16px;
  font-size: .9rem;
  padding: 12px 16px;
  border-radius: var(--radius);
}
.form__note.is-ok { background: #e8f3e8; color: #2f6b34; }
.form__note.is-err { background: #fbe9e4; color: #b4451f; }
.form__note.is-warn { background: #fdf3d9; color: #7a5a00; }

/* ---- Consent checkbox: opts out of the uppercase .field label treatment ---- */
.field--check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px; /* keeps the tick + its label a comfortable tap target */
}
.field--check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--gold);
}
.field--check label {
  margin-bottom: 0;
  font-size: .88rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

/* ---- reCAPTCHA widget ----------------------------------------------------
   The widget is a fixed 304x78 iframe. Where the form is narrower than that we
   scale it down; the wrapper's explicit height stands in for the scaled box,
   since a transform doesn't change the layout size it occupies. */
.form__captcha { margin-bottom: 20px; }
.form__captcha > div { transform-origin: 0 0; }

@media (max-width: 480px) {
  .contact__form { padding: 26px 18px; }
}
/* Only below ~400px is the form itself narrower than the widget's 304px. */
@media (max-width: 400px) {
  .form__captcha { height: 61px; }        /* 78 × .78 */
  .form__captcha > div { transform: scale(.78); }
}

/* ============================================================
   FAQ
   ============================================================ */
.accordion { max-width: 860px; margin: 0 auto; }
.acc { border-bottom: 1px solid var(--line); }
.acc__head {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--dark);
  padding: 24px 50px 24px 0;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.acc__icon {
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.acc__icon::before,
.acc__icon::after {
  content: '';
  position: absolute;
  background: var(--gold-dark);
  transition: transform .3s var(--ease);
}
.acc__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.acc.is-open .acc__icon::after { transform: scaleY(0); }
.acc__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.acc__panel p { padding: 0 50px 24px 0; color: var(--muted); font-size: .96rem; }
.acc__panel a { color: var(--gold-dark); }

/* ============================================================
   POLICIES
   ============================================================ */
.policies__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.policies__lead { color: var(--muted); margin: 18px 0 30px; }
.policies__cta svg { width: 20px; height: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0f1a13; color: rgba(255,255,255,.72); padding-top: 48px; border-top: 1px solid rgba(212,175,110,.22); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 32px;
}
.brand--footer { display: inline-block; margin-bottom: 18px; }
.footer__brand .brand__logo { height: 84px; margin: -23px 0; }
.footer__brand p { font-size: .9rem; max-width: 320px; margin-bottom: 20px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  transition: .3s var(--ease);
  color: #fff;
}
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover { color: #fff; }
/* Brand colours on hover */
.footer__social a[aria-label="Facebook"]:hover {
  background: #1877f2; border-color: #1877f2;
}
.footer__social a[aria-label="Instagram"]:hover {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: transparent;
}
.footer__social a[aria-label="TripAdvisor"]:hover {
  background: #34e0a1; border-color: #34e0a1; color: #1c1c1c;
}

/* h2, not h4: these follow the page's last h2/h1, so h4 skipped a level and
   broke the document outline (ACC-02 / SEO-15). Size is unchanged. */
.footer__col h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  font-size: .9rem;
  padding: 5px 0;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.footer__col a:hover { color: var(--gold-light); padding-left: 6px; }
.footer__col a.footer__contact,
.footer__contact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem;
  padding: 6px 0;
}
.footer__col a.footer__contact:hover,
.footer__contact:hover { padding-left: 0; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; margin-top: 3px; }

.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0; }
.footer__bar-inner { text-align: center; font-size: .82rem; }
.footer__bar a { color: #fff; transition: color .25s var(--ease); }
.footer__bar a:hover { color: var(--gold-light); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15,15,15,.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__fig { max-width: 92vw; max-height: 86vh; text-align: center; }
.lightbox__fig img { max-width: 92vw; max-height: 78vh; object-fit: contain; border-radius: 4px; }
.lightbox__fig figcaption {
  color: #fff;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: .04em;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  transition: .25s var(--ease);
}
.lightbox__close { top: 24px; right: 30px; font-size: 2.4rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 0 18px; }
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }
.lightbox__close:hover,
.lightbox__nav:hover { color: var(--gold); }

/* ============================================================
   BACK TO TOP + BOOK FAB
   ============================================================ */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s var(--ease), visibility .35s var(--ease), transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.book-fab {
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: none;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: #fff;
  padding: 16px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .85rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(22, 36, 27, .38);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.book-fab:hover { background: var(--gold-dark); transform: translateY(-2px); }
.search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 96;
  background: rgba(0,0,0,.55);
}
.search-backdrop[hidden] { display: none; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Creative on-scroll variants (all piggyback on .is-visible) ---- */
/* Per-element stagger delay, driven by --reveal-delay (set inline or via .stagger) */
.js .reveal { transition-delay: var(--reveal-delay, 0s); }

/* Directional slide-in */
.js .reveal--left  { transform: translateX(-52px); }
.js .reveal--right { transform: translateX(52px); }
.reveal--left.is-visible,
.reveal--right.is-visible { transform: translateX(0); }

/* Zoom-in */
.js .reveal--zoom { transform: scale(.9); }
.reveal--zoom.is-visible { transform: scale(1); }

/* Blur + lift — ideal for headings/text */
.js .reveal--blur {
  filter: blur(14px);
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal--blur.is-visible { filter: blur(0); transform: translateY(0); }

/* Image wipe — the container stays put (and keeps its frame), the inner
   image unveils left-to-right with a slow scale-settle (Ken-Burns feel). */
.js .reveal--mask { opacity: 1; transform: none; }
.js .reveal--mask img {
  clip-path: inset(0 100% 0 0 round 6px);
  transform: scale(1.18);
  transition: clip-path 1.15s var(--ease), transform 1.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: clip-path, transform;
}
.reveal--mask.is-visible img { clip-path: inset(0 0 0 0 round 6px); transform: scale(1); }

/* Reusable cascade: stagger any .reveal children of a .stagger parent */
.js .stagger > .reveal:nth-child(1) { --reveal-delay: 0s; }
.js .stagger > .reveal:nth-child(2) { --reveal-delay: .08s; }
.js .stagger > .reveal:nth-child(3) { --reveal-delay: .16s; }
.js .stagger > .reveal:nth-child(4) { --reveal-delay: .24s; }
.js .stagger > .reveal:nth-child(5) { --reveal-delay: .32s; }
.js .stagger > .reveal:nth-child(6) { --reveal-delay: .40s; }
.js .stagger > .reveal:nth-child(7) { --reveal-delay: .48s; }
.js .stagger > .reveal:nth-child(8) { --reveal-delay: .56s; }
.js .stagger > .reveal:nth-child(9) { --reveal-delay: .64s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal--left,
  .js .reveal--right,
  .js .reveal--zoom,
  .js .reveal--blur { opacity: 1; transform: none; filter: none; transition: none; }
  .js .reveal--mask img { clip-path: none; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .why__grid--five { grid-template-columns: repeat(3, 1fr); }
  /* .amenities is a flex container (gap 18px) — size the items, not grid tracks */
  .amenities li { flex: 0 1 calc(50% - 9px); }
  .room { flex: 0 0 calc((100% - 28px) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  /* Tighten the inline link bar so it fits on narrower desktops (921–1100px). */
  .nav-primary { gap: 15px; }
  .nav-primary .nav__link { font-size: .74rem; letter-spacing: .07em; }
}

@media (max-width: 920px) {
  /* Compact dropdown that pops just below the hamburger */
  .nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    width: min(288px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--dark);
    padding: 8px;
    border: 1px solid rgba(212,175,110,.22);
    border-radius: 12px;
    box-shadow: 0 22px 56px rgba(0, 0, 0, .5);
    /* hidden until opened; closes when the user clicks outside (handled in JS) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link {
    color: #fff;
    font-size: .84rem;
    width: 100%;
    padding: 13px 14px;
    border-radius: 6px;
  }
  .nav__link + .nav__link { border-top: 1px solid rgba(255, 255, 255, .07); }
  .nav__link::after { display: none; }
  .nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .nav__link.is-active { color: var(--gold-light); background: rgba(212, 175, 110, .14); border-radius: 6px; }
  .nav__cta { display: none; } /* booking is handled by the hero search bar / floating Book Now bar on mobile */
  .nav-toggle { display: flex; z-index: 101; }

  .about__grid,
  .location__grid,
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  /* Stacked layout: lead with the intro text, image follows */
  .about__text { order: -1; }
  .about__media::after { inset: 12px -12px -12px 12px; }
  .about__media img { height: 400px; }

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

  .hero__search {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 30px;
    gap: 14px;
  }
  .hero__search-cta { grid-column: span 2; }
  .hero__search-field--rg { grid-column: span 2; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  /* "Why" cards become a swipeable, snap-scrolling slider on mobile */
  .why__grid--five {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 20px;
    margin: 0 -20px;          /* bleed to the screen edges */
    padding: 6px 20px 18px;   /* keep first card aligned, room below for swipe */
    scrollbar-width: none;    /* Firefox: hide scrollbar */
  }
  .why__grid--five::-webkit-scrollbar { display: none; }
  .why__grid--five .why__card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .why__arrow {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--dark);
    box-shadow: var(--shadow);
    cursor: pointer;
  }
  .why__arrow svg { width: 18px; height: 18px; }
  .why__arrow--prev { left: 2px; }
  .why__arrow--next { right: 2px; }
  .room { flex: 0 0 100%; }
  /* Wider cottage card on mobile — trim gutters and shrink arrows to suit (QC #16) */
  .rooms-slider { padding: 0 34px; }
  .rooms-slider__arrow { width: 38px; height: 38px; }
  .rooms-slider__arrow--prev { left: 0; }
  .rooms-slider__arrow--next { right: 0; }
  /* Gallery becomes a swipeable, snap-scrolling slider on mobile */
  .gallery__grid {
    display: flex;
    grid-template-columns: none;
    grid-auto-rows: initial;
    grid-auto-flow: row;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;          /* bleed to the screen edges */
    padding: 0 20px 6px;      /* keep first slide aligned, room below for swipe */
    scroll-padding: 0 20px;
    scrollbar-width: none;    /* Firefox: hide scrollbar */
  }
  .gallery__grid::-webkit-scrollbar { display: none; }
  .gallery__item,
  .gallery__item--wide,
  .gallery__item--tall {
    flex: 0 0 84%;
    grid-column: auto;
    grid-row: auto;
    height: 300px;
    scroll-snap-align: center;
  }
  .gallery__arrow { display: grid; }
  .gallery__arrow--prev { left: 4px; }
  .gallery__arrow--next { right: 4px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .stats--three { grid-template-columns: 1fr; gap: 40px; }

  /* Facilities captions: wrapped text on narrow screens rises out of the
     short gradient, so darken and extend the scrim for legibility. */
  .ffeature figcaption {
    padding: 60px 22px 22px;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 40%, rgba(0,0,0,.35) 75%, transparent 100%);
    text-shadow: 0 1px 4px rgba(0,0,0,.55);
  }
  .ffeature figcaption h3 { font-size: 1.5rem; }
  .ffeature figcaption p { color: #fff; }

  /* Hero search → off-canvas booking sheet on mobile */
  .hero { align-items: center; height: 68vh; min-height: 420px; }
  .hero__search {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 97;
    grid-template-columns: 1fr;
    border-radius: 14px 14px 0 0;
    margin: 0;
    max-height: 88vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform .4s var(--ease);
    background: rgba(38, 26, 18, .92);
  }
  .hero__search.is-open { transform: translateY(0); }
  .hero__search-close {
    display: block;
    position: absolute;
    top: 12px; right: 16px;
    background: none; border: 0;
    font-size: 1.8rem; line-height: 1;
    color: rgba(255,255,255,.8);
    cursor: pointer;
  }
  .hero__search-cta,
  .hero__search-field--rg { grid-column: auto; }
  /* Stacked sheet: button is full-width, manage link flows normally beneath it */
  .hero__search-cta-spacer { display: none; }
  .hero__search-btn { width: 100%; }
  .hero__search-manage {
    position: static;
    margin-top: 12px;
  }
  .book-fab { display: block; }
  /* Lift the back-to-top clear of the floating Book Now bar only where it exists
     (homepage); on inner pages it sits at the normal bottom offset (QC #20) */
  body:has(#bookFab) .to-top { bottom: 78px; }
  /* Hero relies on swipe on mobile — arrows are cramped, so hide them (QC #14) */
  .hero__arrow { display: none; }
}

@media (max-width: 480px) {
  .why__grid--five .why__card { flex: 0 0 85%; }
  .amenities li { flex-basis: 100%; }
  .field__phone .field__cc { width: 92px; }
}

/* ============================================================
   SUB-PAGE BANNER + PROSE (contact, privacy, sitemap, 404)
   ============================================================ */
/* Image hero banner — sits behind the fixed header (white nav text) and
   pushes page content clear of it. Background image is set inline per page. */
.page-hero {
  position: relative;
  background: var(--dark) center/cover no-repeat;
  color: #fff;
  min-height: 550px;
  padding: 150px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(22,36,27,.55) 0%, rgba(22,36,27,.45) 45%, rgba(22,36,27,.72) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

/* Left-aligned breadcrumb bar, directly below the hero banner */
.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.breadcrumb .container {
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: left;
  font-size: .875rem;   /* was .76rem (12.2px) — below the readability floor */
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a { color: var(--gold-dark); transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 10px; color: var(--line); }

/* Long-form text pages (privacy policy, etc.) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--dark);
  margin: 34px 0 12px;
}
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { padding-left: 22px; list-style: disc; margin-bottom: 14px; }
.prose li { color: var(--muted); margin-bottom: 8px; }
.prose a { color: var(--gold-dark); border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--gold); }
.prose .prose__updated { font-size: .82rem; letter-spacing: .04em; color: var(--gold-dark); margin-bottom: 8px; }

/* Human-readable sitemap */
.sitemap-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
}
.sitemap-col h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.sitemap-col a {
  display: block;
  padding: 7px 0;
  color: var(--ink);
  font-size: .95rem;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.sitemap-col a:hover { color: var(--gold-dark); padding-left: 6px; }

/* 404 */
.notfound { text-align: center; max-width: 560px; margin: 0 auto; }
.notfound__code {
  font-family: var(--serif);
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 1;
  color: var(--gold);
}
.notfound p { color: var(--muted); margin: 14px 0 28px; }

/* ============================================================
   INNER-PAGE COMPONENTS (rooms, dining, events, offers, intro)
   ============================================================ */

/* ---- Shared section intro (left-aligned lead under a heading) ---- */
.section__head--lead { max-width: 760px; }
.section__head--lead .section__lead { margin-left: 0; margin-right: 0; }

/* ---- Two-column feature row (image + copy), alternating ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(48px, 7vw, 90px); }
.feature-row--flip .feature-row__media { order: 2; }
.feature-row__media { position: relative; }
.feature-row__media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 6px;
}
.feature-row__media::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  z-index: -1;
}
.feature-row--flip .feature-row__media::after { inset: 18px 18px -18px -18px; }
.feature-row__body h2,
.feature-row__body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--dark);
  margin: 6px 0 8px;
}
.feature-row__body p { color: var(--muted); margin-bottom: 14px; }
.feature-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 4px 0 18px;
}
.feature-row__meta span {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ---- Amenity / feature chips ---- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 22px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.chips svg { width: 16px; height: 16px; color: var(--gold-dark); flex-shrink: 0; }
.section--cream .chips li { background: #fff; }

/* ---- Info cards (events halls, dining facts, offers) ---- */
.info-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.info-card__media { height: 230px; overflow: hidden; }
.info-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.info-card:hover .info-card__media img { transform: scale(1.06); }
.info-card__body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.info-card__body h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.info-card__tag {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 12px;
}
.info-card__body p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.info-card__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.info-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: .88rem;
  color: var(--ink);
}
.info-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.info-card__cta { margin-top: auto; align-self: flex-start; }

/* ---- Spec strip (timings / capacities row) ---- */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}
.spec-strip li { background: #fff; padding: 22px 20px; text-align: center; }
.section--cream .spec-strip li { background: var(--cream); }
/* "Plan Your Event" band — distinct warm background with white stat cards (QC #9) */
.event-cta { background: var(--cream-2); }
.event-cta .spec-strip li { background: #fff; }
.spec-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.spec-strip span {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Offer cards (accent-bordered) ---- */
.offer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.offer-card__media { height: 210px; overflow: hidden; }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.offer-card:hover .offer-card__media img { transform: scale(1.06); }
.offer-card__body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.offer-card__tag {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 12px;
}
.offer-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.offer-card p { font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.offer-card .btn { margin-top: auto; align-self: flex-start; }

/* ---- Simple definition list for policies ---- */
.deflist { max-width: 820px; margin: 0 auto; }
.deflist__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.deflist__item:first-child { padding-top: 0; }
.deflist h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 8px;
}
.deflist p { color: var(--muted); font-size: .96rem; }
.deflist a { color: var(--gold-dark); }

@media (max-width: 920px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row--flip .feature-row__media { order: 0; }
  .feature-row__body { order: 1; }
  .feature-row__media img { height: 360px; }
  .feature-row__media::after,
  .feature-row--flip .feature-row__media::after { inset: 12px -12px -12px 12px; }
}


/* ---- Media slider (rooms inner-page image carousel) ---- */
.media-slider { position: relative; border-radius: 6px; overflow: hidden; }
.media-slider__track { display: flex; transition: transform .55s var(--ease); }
.media-slider__slide { flex: 0 0 100%; }
.media-slider__slide img { border-radius: 0; }
.media-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(0, 0, 0, .3);
  color: #fff;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}
.media-slider__arrow:hover { background: var(--gold); border-color: var(--gold); }
.media-slider__arrow svg { width: 18px; height: 18px; }
.media-slider__arrow--prev { left: 14px; }
.media-slider__arrow--next { right: 14px; }
.media-slider__dots {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.media-slider__dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: .3s var(--ease);
}
.media-slider__dots button.is-active { background: var(--gold); border-color: var(--gold); transform: scale(1.2); }

/* ---- Gallery filter tabs ---- */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.gallery-filter__btn {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 24px;
  cursor: pointer;
  transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.gallery-filter__btn:hover { color: var(--gold-dark); border-color: var(--gold); }
.gallery-filter__btn.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.gallery__item--hidden { display: none !important; }

/* ---- Amenity grid (rooms inner-page, light background) ---- */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.amenity-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: .9rem;
  color: var(--ink);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.amenity-grid li:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.amenity-grid li svg { width: 28px; height: 28px; color: var(--gold-dark); flex-shrink: 0; }

/* ---- Desktop "More" overflow menu (priority-plus nav) ---- */
.nav__link { white-space: nowrap; }
.nav__more { position: relative; display: flex; align-items: center; }
.nav__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 400;
  color: #fff;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav__more-btn:hover { color: var(--gold-light); }
.nav__more-btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__more.is-open .nav__more-btn svg { transform: rotate(180deg); }
.nav__more-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  min-width: 184px;
  display: none;
  flex-direction: column;
  background: rgba(22, 36, 27, .97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 120;
}
.nav__more.is-open .nav__more-menu { display: flex; }
.nav__more-menu .nav__link {
  padding: 10px 14px;
  border-radius: 4px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__more-menu .nav__link::after { display: none; }
.nav__more-menu .nav__link:hover { background: rgba(255, 255, 255, .08); color: var(--gold-light); }