/* ==========================================================================
   Karisimbi Cave Resort, site styles
   Design language: "Seed" reference (Refero) adapted to a boutique resort.
   Flat colour fields, whisper-light headings, pill controls, no shadows,
   no gradients, alternating snow-white and forest-depths bands.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colour */
  --forest: #1f7d3d;          /* Forest: primary text, CTAs, dark bands */
  --forest-deep: #17602f;     /* Darker band, used beside forest bands so sections stay distinct */
  --forest-darkest: #0c4621;  /* Footer */
  --lime: #d3fa99;            /* Lime Pulse: badges and small emphasis only */
  --accent: #ece75f;           /* Accent: highlights, badges, tags and dark-section details */
  --accent-tint: #f5f39a;      /* Light accent for small text on green (AA contrast) */
  --sage: #757c5d;            /* Sage Moss */
  --olive: #9f995b;           /* Olive Gold */
  --eucalyptus: #698e79;      /* Eucalyptus */
  --snow: #fcfcf7;            /* Snow White: canvas */
  --stone: #eeeee9;           /* Warm Stone: card surface */
  --frost: #c4c7c4;           /* Frosted Glass */
  --ash: #b3b3b3;             /* Ash: disabled */
  --pewter: #666666;          /* Pewter: secondary text */
  --ink: #000000;

  /* Derived text tones (for AA contrast on each surface) */
  --text-muted: #4f5a4b;      /* forest-tinted secondary text on snow */
  --text-on-dark-muted: rgba(252, 252, 247, 0.74);
  --line: rgba(31, 125, 61, 0.16);
  --line-on-dark: rgba(252, 252, 247, 0.2);
  --error: #8a2a1e;
  --success: #1f7d3d;

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Shape */
  --radius-input: 8px;
  --radius-card: 16px;
  --radius-large: 32px;
  --radius-pill: 1000px;

  /* Layout */
  --max: 1200px;
  --pad: 24px;
  --section: clamp(64px, 9vw, 112px);
  --header-h: 80px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--forest);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 0.45em;
  font-weight: 300;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(44px, 5.6vw, 72px); letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(34px, 3.8vw, 48px); letter-spacing: -0.025em; }
h3 { font-size: 24px; font-weight: 350; letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 18px; font-weight: 400; letter-spacing: 0; line-height: 1.3; }

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  font-weight: 350;
  letter-spacing: -0.01em;
  color: var(--forest);
}
.muted { color: var(--text-muted); }

/* Mono "spec" label, used for codes, captions and metadata */
.label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.code {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.015em;
  padding: 7px 10px;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-pill);
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--forest-darkest);
  white-space: nowrap;
}

.section { padding: var(--section) 0; }
.section--dark { background: var(--forest); color: var(--snow); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--snow); }
.section--dark p { color: var(--text-on-dark-muted); }
.section--dark .lead { color: var(--snow); }
.section--dark .eyebrow { color: var(--accent-tint); }

.container {
  width: min(var(--max), 100% - (var(--pad) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 300;
  background: var(--forest);
  color: var(--snow);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.section--dark :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible { outline-color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:disabled { background: var(--ash); border-color: var(--ash); color: var(--snow); cursor: not-allowed; }

.btn--primary { background: var(--forest); color: var(--snow); }
.btn--primary:hover { background: #186432; }

.btn--light { background: var(--snow); color: var(--forest); }
.btn--light:hover { background: var(--stone); }

.btn--ghost { border-color: var(--snow); color: var(--snow); }
.btn--ghost:hover { background: var(--snow); color: var(--forest); }

.btn--outline { border-color: var(--forest); color: var(--forest); background: var(--snow); }
.btn--outline:hover { background: var(--forest); color: var(--snow); }

.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1.5px solid currentColor;
  transition: gap 0.35s var(--ease);
}
.text-link::after { content: "\2192"; font-weight: 400; }
.text-link:hover { gap: 14px; }
.section--dark .text-link { color: var(--snow); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--snow);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--forest);
  margin-top: 2px;
}
.brand-sub { display: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  padding: 8px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 11px 20px; font-size: 15px; }
.nav-mobile-cta,
.nav-home { display: none; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--forest);
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (text left, image right, Seed composition) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
}
.hero-copy { padding-left: 0; }
.hero-copy .lead { max-width: 520px; margin-bottom: 36px; color: var(--forest); }
.hero-copy .btn-row { gap: 12px 24px; }
.hero-media {
  position: relative;
  height: clamp(440px, 68vh, 640px);
  border-radius: var(--radius-large);
  overflow: hidden;
  background: var(--stone);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: settle 1.6s var(--ease) both;
}
.hero-facts {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

/* Inner page header: headline left, image right, same structure */
.page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
}
.page-intro h1 { font-size: clamp(44px, 5vw, 64px); }
.page-intro p { color: var(--text-muted); font-size: 18px; max-width: 520px; }
.page-intro .media-wide {
  grid-row: 1 / span 2;
  grid-column: 2;
  height: clamp(300px, 46vh, 460px);
  border-radius: var(--radius-large);
  overflow: hidden;
}
.page-intro .media-wide img { width: 100%; height: 100%; object-fit: cover; }
.page-intro-copy { grid-column: 1; }

/* ---------- Editorial split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--wide-media { grid-template-columns: 6fr 5fr; }
.split--reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--stone);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.split-media--land img { aspect-ratio: 4 / 3; }
.split-copy p { color: var(--text-muted); }
.section--dark .split-copy p { color: var(--text-on-dark-muted); }
.split-copy .btn-row { margin-top: 28px; }

/* Overlapping layered photography (dining) */
.layered { position: relative; padding-bottom: 12%; padding-right: 22%; }
.layered .layer-main { border-radius: var(--radius-large); overflow: hidden; aspect-ratio: 5 / 4; }
.layered .layer-main img { width: 100%; height: 100%; object-fit: cover; }
.layered .layer-top {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 10px solid var(--snow);
  aspect-ratio: 3 / 4;
}
.layered .layer-top img { width: 100%; height: 100%; object-fit: cover; }

/* Numbered specification rows (replaces generic card grids) */
.spec-list { border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row .num { font-family: var(--font-mono); font-size: 12px; padding-top: 4px; }
.spec-row h3 { margin: 0 0 6px; }
.spec-row p { margin: 0; color: var(--text-muted); font-size: 16px; }
.section--dark .spec-row { border-color: var(--line-on-dark); }
.section--dark .spec-row p { color: var(--text-on-dark-muted); }
.section--dark .spec-list { border-color: var(--line-on-dark); }

.mono-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

/* ---------- Accommodation rows ---------- */
.room-stack { display: grid; gap: clamp(64px, 8vw, 104px); }
.room {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.room--flip { grid-template-columns: 5fr 7fr; }
.room--flip .room-media { order: 2; }
.room-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--stone);
}
.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.room:hover .room-media img { transform: scale(1.03); }
.room-body .code { margin-bottom: 20px; }
.room-body h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 14px; }
.room-body p { color: var(--text-muted); max-width: 480px; }
.room-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
}
.room-specs span {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: var(--stone);
}
.room-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 26px;
}
.room-price strong { font-size: 32px; font-weight: 300; letter-spacing: -0.02em; }
.room-price span { font-size: 14px; color: var(--text-muted); }

/* ---------- Dark product-style showcase (no container, lines as structure) ---------- */
.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.showcase-item { display: flex; flex-direction: column; gap: 16px; }
.showcase-item .media {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.showcase-item .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.showcase-item:hover .media img { transform: scale(1.04); }
.showcase-item h3 { font-size: 24px; margin: 0; }
.showcase-item p { margin: 0; font-size: 15px; color: var(--text-on-dark-muted); }

/* ---------- Gallery strip & grid ---------- */
.strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.strip figure { margin: 0; }
.strip .img { border-radius: var(--radius-card); overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip .img--tall { aspect-ratio: 3 / 4; }
.strip .img--wide { aspect-ratio: 4 / 3; }
.strip figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; }

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  font: inherit;
  font-size: 15px;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--forest);
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.filter-btn[aria-pressed="true"],
.filter-btn:hover { background: var(--forest); color: var(--snow); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  display: block;
  grid-column: span 4;
  grid-row: span 2;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--stone);
  cursor: zoom-in;
}
.gallery-item--wide { grid-column: span 8; }
.gallery-item--short { grid-row: span 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--snow);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.gallery-item:hover .cap,
.gallery-item:focus-visible .cap { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }

.lightbox {
  width: min(1180px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--snow);
}
.lightbox::backdrop { background: rgba(31, 125, 61, 0.94); }
.lightbox-frame { position: relative; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--radius-card); }
.lightbox figcaption { padding-top: 14px; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; color: var(--text-on-dark-muted); }
.lightbox-btn {
  position: absolute;
  top: 40%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--snow);
  background: transparent;
  color: var(--snow);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-btn:hover { background: var(--snow); color: var(--forest); }
.lightbox-prev { left: -18px; }
.lightbox-next { right: -18px; }
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(252, 252, 247, 0.4);
  background: rgba(12, 70, 33, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--snow);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(12, 70, 33, 0.92); transform: rotate(90deg); }

/* ---------- Attraction / list blocks on dark ---------- */
.index-list { border-top: 1px solid var(--line-on-dark); }
.index-list li {
  display: grid;
  grid-template-columns: 56px 1fr 1.2fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-on-dark);
  align-items: baseline;
}
.index-list .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-tint); }
.index-list h3 { margin: 0; color: var(--snow); }
.index-list p { margin: 0; color: var(--text-on-dark-muted); }

/* ---------- Quote / statement ---------- */
.statement {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

/* ---------- Check list / key facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.facts li {
  padding: 26px 24px 26px 0;
  border-bottom: 1px solid var(--line);
}
.facts strong { display: block; font-size: 24px; font-weight: 350; letter-spacing: -0.015em; margin-bottom: 4px; }
.facts span { font-size: 15px; color: var(--text-muted); }
.section--dark .facts,
.section--dark .facts li { border-color: var(--line-on-dark); }
.section--dark .facts strong { color: var(--snow); }
.section--dark .facts span { color: var(--text-on-dark-muted); }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-row li {
  padding: 10px 16px;
  border: 1.5px solid var(--forest);
  border-radius: var(--radius-pill);
  font-size: 15px;
}

/* ---------- Booking CTA band ---------- */
.cta-band {
  background: var(--forest-deep);
  color: var(--snow);
  padding: clamp(72px, 10vw, 120px) 0;
}
.cta-band .split { align-items: end; }
.cta-band h2 { color: var(--snow); font-size: clamp(40px, 5vw, 64px); margin: 0; }
.cta-band p { color: var(--text-on-dark-muted); font-size: 18px; margin: 0 0 28px; max-width: 460px; }
.cta-band .btn-row { justify-content: flex-start; }

/* ---------- Form ---------- */
.form-card {
  background: var(--stone);
  border-radius: var(--radius-large);
  padding: clamp(28px, 4vw, 52px);
  scroll-margin-top: 100px;
}
.form-card h2 { font-size: clamp(32px, 3.4vw, 42px); }
/* The booking form sits on a stone card inside the dark band: keep its text dark */
.cta-band .form-card h2 { color: var(--forest); }
.cta-band .form-card p,
.cta-band .form-card .form-intro,
.cta-band .form-card .privacy { color: var(--text-muted); }
.cta-band .form-card .privacy a { color: var(--forest); }
.form-intro { color: var(--text-muted); margin-bottom: 28px; font-size: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label,
.field legend {
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
}
.field .req { color: var(--forest); margin-left: 2px; }
.field .optional { font-weight: 400; color: var(--text-muted); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--forest);
  background: var(--snow);
  border: 1.5px solid var(--pewter);
  border-radius: var(--radius-input);
  padding: 13px 14px;
  min-height: 50px;
  width: 100%;
  transition: border-color 0.25s, background-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231f7d3d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: calc(100% - 16px) 50%;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  outline: 3px solid var(--accent);
  outline-offset: 0;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: 13px; color: var(--text-muted); margin: 0; }
.field-error { font-size: 14px; color: var(--error); margin: 0; }
.field-error:empty { display: none; }

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { margin-top: 22px; font-size: 16px; }
.form-status:empty { display: none; }
.form-status--loading,
.form-status--success,
.form-status--error {
  padding: 18px 20px;
  border-radius: var(--radius-card);
  animation: fadeUp 0.5s var(--ease);
}
.form-status--loading { background: var(--snow); color: var(--forest); }
.form-status--success { background: var(--accent); color: var(--forest-darkest); }
.form-status--error { background: var(--snow); color: var(--error); border: 1.5px solid var(--error); }
.form-status a { color: inherit; font-weight: 500; }

.form-submit { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.form-submit .btn { width: 100%; }
.form-submit .privacy { font-size: 14px; color: var(--text-muted); margin: 0; text-align: center; }
.form-submit .privacy a { color: var(--forest); font-weight: 500; }

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(252, 252, 247, 0.35);
  border-top-color: var(--snow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.is-loading .spinner { display: inline-block; }

.fallback-box {
  margin-top: 14px;
  padding: 18px 20px;
  background: var(--snow);
  border-radius: var(--radius-card);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 48px 24px 0;
  position: relative;
  font-size: 22px;
  font-weight: 350;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-answer { padding: 0 48px 26px 0; color: var(--text-muted); margin: 0; max-width: 680px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-darkest);
  color: var(--text-on-dark-muted);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  font-size: 16px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.site-footer h2 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--accent-tint);
  margin-bottom: 18px;
}
.site-footer p { margin: 0 0 8px; }
.site-footer .brand { color: var(--snow); }
.site-footer .brand::after { background: var(--accent); }
.hero-facts { margin: 0; grid-column: 1 / -1; }
.hero-facts li.badge { border: 0; }
.hero-facts li { font-size: 15px; }
.hero-facts .badge { font-size: 13px; padding: 9px 12px; }
.site-footer a { color: var(--snow); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links li { margin-bottom: 10px; }
.footer-wordmark {
  font-size: clamp(64px, 12vw, 176px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--snow);
  margin: 0;
  padding-top: 40px;
  border-top: 1px solid var(--line-on-dark);
  white-space: nowrap;
  overflow: hidden;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 14px;
  color: var(--text-on-dark-muted);
}
.social { display: flex; gap: 10px; }
.social a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--snow);
  border-radius: 50%;
}
.social a:hover { background: var(--snow); }
.social a:hover svg { fill: var(--forest); }
.social svg { width: 18px; height: 18px; fill: var(--snow); }

/* Floating WhatsApp, flat pill */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--forest-darkest);
  text-decoration: none;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: var(--radius-pill);
  transition: background-color 0.3s;
}
.whatsapp-float:hover { background: #c4f08a; }
.whatsapp-float svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Classic dropdown menu ---------- */
.nav-item { position: relative; }

.nav-trigger,
.nav-link--drop {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  font: inherit;
  font-size: 16px;
  color: var(--forest);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.nav-trigger::after,
.nav-link--drop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-trigger:hover::after,
.nav-trigger[aria-expanded="true"]::after,
.nav-trigger.is-current::after,
.nav-link--drop:hover::after,
.nav-link--drop[aria-current="page"]::after { transform: scaleX(1); }
.nav-trigger .chev,
.nav-link--drop .chev {
  width: 10px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: transform 0.35s var(--ease);
}
.nav-trigger[aria-expanded="true"] .chev,
.nav-link--drop[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* The dropdown panel: a plain, compact list under the item */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  z-index: 110;
  min-width: 250px;
  padding: 10px 0;
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 32px rgba(12, 70, 33, 0.10);
  display: none;
}
.dropdown.is-open { display: block; }
.dropdown li { list-style: none; }
.dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 15px;
  color: var(--forest);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.dropdown a:hover,
.dropdown a:focus-visible { background: var(--stone); padding-left: 28px; }
.dropdown a[aria-current="page"] { color: var(--forest-darkest); font-weight: 500; }
.dropdown .dropdown-head {
  padding: 4px 22px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Bridge the gap between the trigger and the panel so the pointer can travel down */
.dropdown::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

@media (min-width: 901px) {
  .nav-item:hover > .dropdown { display: block; }
}


/* ---------- Home: full-bleed hero ---------- */
.hero-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 860px);
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
  background: var(--forest);
  color: var(--snow);
}
.hero-backdrop { position: absolute; inset: 0; overflow: hidden; }
.hero-backdrop img {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 70, 33, 0.46);
}
.hero-banner-inner { position: relative; z-index: 2; width: 100%; }
.hero-banner .eyebrow { color: var(--accent-tint); }
.hero-banner h1 {
  color: var(--snow);
  font-size: clamp(44px, 7vw, 92px);
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.hero-banner .lead {
  color: var(--snow);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-banner .hero-facts { padding-top: 40px; }
.hero-banner .tag-row li { border-color: rgba(252, 252, 247, 0.4); color: var(--snow); }
.hero-banner .btn--primary { background: var(--accent); color: var(--forest-darkest); }
.hero-banner .btn--primary:hover { background: var(--accent-tint); }
.hero-banner .text-link { color: var(--snow); }

/* ---------- Home: section heading ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { color: var(--text-muted); max-width: 44ch; margin: 0; }
.section--dark .section-head p { color: var(--text-on-dark-muted); }
.section--dark .section-head .text-link { color: var(--snow); }

/* ---------- Home: room cards ---------- */
.room-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.room-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--stone);
}
.room-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.room-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-card:hover .room-card-media img { transform: scale(1.04); }
.room-card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.room-card-body h3 { font-size: 26px; margin: 0 0 10px; }
.room-card-body p { color: var(--text-muted); font-size: 15px; margin: 0 0 18px; }
.room-card-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.room-card-foot strong { font-size: 24px; font-weight: 300; letter-spacing: -0.02em; }
.room-card-foot span { font-size: 13px; color: var(--text-muted); }

/* ---------- Home: gallery tiles ---------- */
.gallery-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--stone);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile .cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--snow);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.gallery-tile:hover .cap,
.gallery-tile:focus-visible .cap { opacity: 1; transform: none; }

/* ---------- Home: services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
}
.service-grid li {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.service-grid h3 { font-size: 21px; margin: 0 0 8px; }
.service-grid p { margin: 0; font-size: 15px; color: var(--text-muted); }
.section--dark .service-grid li { border-color: var(--line-on-dark); }
.section--dark .service-grid p { color: var(--text-on-dark-muted); }

/* ---------- Home: guest reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 30px;
  background: rgba(12, 70, 33, 0.66);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(252, 252, 247, 0.18);
  border-radius: var(--radius-media);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.review:hover { transform: translateY(-4px); border-color: rgba(236, 231, 95, 0.45); }
.review::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1;
  color: rgba(236, 231, 95, 0.2);
  pointer-events: none;
}
.review blockquote {
  position: relative;
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--snow);
}
.review figcaption {
  margin-top: auto;
  font-size: 14px;
  color: rgba(252, 252, 247, 0.72);
}
.review .review-name { display: block; color: var(--snow); font-weight: 500; }
.review .stars { display: block; color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; font-size: 15px; }
.review .placeholder { color: rgba(252, 252, 247, 0.72); font-style: italic; }

/* ---------- Trainee testimonials (HospiHer) ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testimonial {
  margin: 0;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 26px;
  align-items: start;
  padding: 30px;
  border-radius: var(--radius-card);
  background: var(--stone);
}
.testimonial-photo {
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: var(--snow);
}
.testimonial blockquote {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--forest-darkest);
}
.testimonial figcaption { font-size: 14px; color: var(--text-muted); }
.testimonial .testimonial-name { display: block; color: var(--forest); font-weight: 500; }

@media (max-width: 1080px) {
  .testimonial { grid-template-columns: 104px 1fr; gap: 20px; padding: 26px; }
  .testimonial-photo { width: 104px; }
}

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .testimonial { grid-template-columns: 1fr; }
  .testimonial-photo { width: 88px; }
}

@media (max-width: 900px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .room-cards { grid-template-columns: 1fr 1fr; }
  .gallery-tiles { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .room-cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-banner { min-height: 78vh; }
}


/* ---------- Home: hero content padding ---------- */
.hero-banner-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Home: rooms slider ---------- */
.room-slider { position: relative; }
.room-slider .slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.room-slider .slider-nav { display: flex; gap: 10px; }
.room-slider .slider-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--forest);
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s;
}
.room-slider .slider-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.room-slider .slider-btn:hover:not(:disabled) { background: var(--forest); color: var(--snow); }
.room-slider .slider-btn:disabled { opacity: 0.3; cursor: default; }
.room-slider .slider-track {
  position: relative;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 4px;
  margin: -4px;
}
.room-slider .slider-track::-webkit-scrollbar { display: none; }
.room-slider .slider-track:focus-visible { outline: 2px solid var(--forest); outline-offset: 6px; }
.room-slider .room-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 3.5vw, 52px);
  align-items: center;
  padding: clamp(20px, 2.4vw, 34px);
  background: var(--stone);
  border-radius: var(--radius-media);
}
.room-slider .room-slide .room-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--stone);
}
.room-slider .room-slide .room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-slider .room-slide:hover .room-media img { transform: scale(1.03); }
.room-slider .room-slide .room-body { padding: 0; }
.room-slider .room-slide h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 300; letter-spacing: -0.02em; margin: 0 0 12px; }
.room-slider .room-slide p { color: var(--text-muted); margin: 0 0 20px; max-width: 46ch; }
.room-slider .room-slide .room-specs { margin: 0 0 22px; }
.room-slider .room-slide .room-price { margin-bottom: 24px; }
.room-slider .room-slide .room-price strong { font-size: 32px; font-weight: 300; letter-spacing: -0.02em; }
.room-slider .room-slide .room-specs span { background: var(--snow); }
.room-slider .slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.room-slider .slider-dot {
  width: 10px; height: 10px; padding: 0; border: 0;
  border-radius: var(--radius-pill);
  background: rgba(28, 58, 19, 0.25);
  cursor: pointer;
  transition: width 0.5s var(--ease), background-color 0.3s;
}
.room-slider .slider-dot:hover { background: rgba(28, 58, 19, 0.5); }
.room-slider .slider-dot.is-active { width: 34px; background: var(--forest); }
.room-slider .room-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--forest);
  text-decoration: none; border-bottom: 1.5px solid currentColor;
  padding: 6px 0;
  transition: gap 0.35s var(--ease);
}
.room-slider .room-link::after { content: "\2192"; }
.room-slider .room-link:hover { gap: 14px; }

/* Whole card is clickable, but the inner link stays reachable */
.room-slider .room-slide { position: relative; }
.room-slider .room-slide .room-stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-media);
}
.room-slider .room-slide .room-body a { position: relative; z-index: 3; }
.room-slider .room-slide:hover { background: #e6e6e0; }

@media (max-width: 980px) {
  .room-slider .room-slide {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
    padding: 16px;
  }
  .room-slider .room-slide .room-media { aspect-ratio: 16 / 10; }
  .room-slider .room-slide .room-body { padding: 0 4px 6px; }
  .room-slider .room-slide h3 { font-size: clamp(26px, 5vw, 32px); }
  .room-slider .slider-track { gap: 16px; }
  .room-slider .slider-controls { margin-bottom: 16px; }
}

@media (max-width: 640px) {
  .room-slider .room-slide { padding: 12px; gap: 16px; }
  .room-slider .room-slide .room-media { aspect-ratio: 3 / 2; }
  .room-slider .room-slide h3 { margin-bottom: 10px; }
  .room-slider .room-slide p { margin-bottom: 16px; }
  .room-slider .room-slide .room-specs { margin-bottom: 18px; }
  .room-slider .room-slide .room-price { margin-bottom: 18px; }
  .room-slider .room-slide .room-price strong { font-size: 28px; }
  .room-slider .slider-track { gap: 12px; }
  .room-slider .slider-btn { width: 46px; height: 46px; }
  .room-slider .slider-dots { margin-top: 20px; }
}

/* ---------- Home: reviews band with a background photo ---------- */
.section--dark.section--photo { position: relative; }
.section--dark.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--photo-bg) center / cover no-repeat;
  opacity: 0.12;
}
.section--dark.section--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 70, 33, 0.72);
}
.section--dark.section--photo > .container { position: relative; z-index: 1; }

/* ---------- Home: gallery tiles open the lightbox ---------- */
.gallery-tile { cursor: zoom-in; }
.gallery-tile .cap { pointer-events: none; }


/* ---------- Home: service icons ---------- */
.service-grid li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 18px;
  align-items: start;
}
.service-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(28, 58, 19, 0.07);
  color: var(--forest);
}
.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section--dark .service-icon {
  background: rgba(252, 252, 247, 0.1);
  color: var(--accent-tint);
}
.service-grid h3 { padding-top: 6px; }

/* ---------- Packages, prices and menus ---------- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pkg-grid--three { grid-template-columns: repeat(3, 1fr); }
.pkg {
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-card);
  background: var(--stone);
}
.pkg h3 { font-size: 30px; font-weight: 300; letter-spacing: -0.02em; margin-bottom: 10px; }
.pkg .eyebrow { margin-bottom: 8px; }
.pkg-tag { display: inline-block; margin: 0 0 12px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--accent); color: var(--forest-darkest); }
.pkg .includes { font-size: 15px; color: var(--text-muted); margin: 0 0 22px; line-height: 1.5; }
.pkg-price { font-size: 40px; font-weight: 300; letter-spacing: -0.02em; margin: 0 0 8px; }
.pkg-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th,
.price-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { font-family: var(--font-mono); font-size: 12px; font-weight: 400; text-transform: uppercase; color: var(--text-muted); }
.price-table td:last-child,
.price-table th:last-child { text-align: right; }
.price-table td:last-child { font-weight: 500; }
.menu-list { border-top: 1px solid var(--line); }
.menu-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.menu-list li span:last-child { font-weight: 500; font-variant-numeric: tabular-nums; }
.section--dark .menu-list,
.section--dark .menu-list li { border-color: var(--line-on-dark); }
.fine-print { font-size: 15px; color: var(--text-muted); margin-top: 28px; }

@media (max-width: 1080px) {
  .pkg-grid--three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr; gap: 16px; }
  .mega-links { grid-template-columns: 1fr; }
}

/* Mobile: the dropdowns become an accordion inside the menu overlay */
@media (max-width: 900px) {
  .nav-trigger,
  .nav-link--drop {
    width: 100%;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: -0.02em;
  }
  .nav-trigger::after,
  .nav-link--drop::after { display: none; }
  .nav-trigger .chev,
  .nav-link--drop .chev { width: 14px; height: 9px; }
  .dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 12px 18px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .dropdown a { padding: 10px 0; font-size: 19px; white-space: normal; }
  .dropdown a:hover,
  .dropdown a:focus-visible { background: none; padding-left: 0; }
  .dropdown .dropdown-head { display: none; }
}

/* ---------- Mobile menu toggle ---------- */
.menu-open { overflow: hidden; }

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes settle {
  from { transform: scale(1.04); opacity: 0.6; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-list { gap: 20px; }
  .nav-link { font-size: 15px; }
  .nav-cta { display: none; }
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 130; }
  .site-header { z-index: 120; }
  .nav-list {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: var(--snow);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 24px) var(--pad) 40px;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.55s var(--ease), visibility 0.55s;
    overflow-y: auto;
  }
  .nav-list.is-open { transform: none; visibility: visible; }
  .nav-list li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-link { display: block; font-size: 28px; font-weight: 300; letter-spacing: -0.02em; padding: 16px 0; }
  .nav-link::after { display: none; }
  .nav-home { display: block; }
  .nav-mobile-cta { display: block; border: 0; margin-top: 28px; }
  .nav-mobile-cta .btn { width: 100%; }
  .site-header.is-open { background: var(--snow); }

  .hero,
  .page-intro,
  .split,
  .split--wide-media,
  .cta-band .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .hero-media { height: 60vh; min-height: 360px; }
  .page-intro .media-wide { grid-row: auto; grid-column: 1; height: 56vh; min-height: 300px; }
  .page-intro-copy { grid-column: 1; }
  .room,
  .room--flip { grid-template-columns: 1fr; }
  .room--flip .room-media { order: 0; }
  .layered { padding-right: 0; padding-bottom: 0; }
  .layered .layer-top { position: relative; width: 58%; margin: -60px 0 0 auto; border-width: 8px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:first-child { grid-column: 1 / -1; }
  .index-list li { grid-template-columns: 40px 1fr; }
  .index-list li p { grid-column: 2; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .gallery-item,
  .gallery-item--wide { grid-column: span 3; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; --header-h: 72px; }
  body { font-size: 16px; }
  .brand { font-size: 18px; }
  .hero-copy .btn-row .btn,
  .btn-row .btn { width: 100%; }
  .btn-row .text-link { width: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 40px 1fr; }
  .spec-row > :last-child { grid-column: 2; }
  .strip { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-item,
  .gallery-item--wide { grid-column: span 1; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; }
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Modern layer: glass surfaces, creative image shapes, motion
   Colour and type still follow the Refero tokens: flat fills, no shadows,
   no gradients. Glass is a translucent fill with backdrop blur, which the
   reference's "Frosted Glass" token already describes.
   ========================================================================== */

:root {
  --radius-media: 20px;         /* One curved shape for every image */
  --glass-edge: rgba(252, 252, 247, 0.36);
  --glass-forest: rgba(31, 125, 61, 0.5);
  --glass-forest-strong: rgba(31, 125, 61, 0.72);
}

/* ---------- Images: a single simple curved shape ---------- */
.hero-media,
.page-intro .media-wide,
.media-wide,
.room-media,
.split-media,
.gallery-item,
.strip .img,
.layered .layer-main,
.layered .layer-top,
.showcase-item .media,
.lounge-inset,
.room-card-media,
.gallery-tile { border-radius: var(--radius-media); }

/* Two photos side by side */
.inset-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.inset-pair img { width: 100%; }
/* Kept for older markup; same layout as .inset-pair */
.inset-pair--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.inset-pair--grid img { width: 100%; }
@media (max-width: 700px) {
  .inset-pair,
  .inset-pair--grid { grid-template-columns: 1fr; }
}

/* ---------- Image parallax (translate is set by main.js) ---------- */
.hero-media img,
.page-intro .media-wide img {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
}
.page-intro .media-wide { position: relative; }

/* ---------- Clip reveal for images (applied by main.js) ---------- */
.js .reveal-img {
  clip-path: inset(10% 10% 10% 10%);
  transition: clip-path 1.4s var(--ease), border-radius 1s var(--ease);
}
.js .reveal-img.is-visible { clip-path: inset(0% 0% 0% 0%); }

/* ---------- Glass surfaces ---------- */
.glass-card {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  width: min(300px, calc(100% - 40px));
  padding: 20px 22px;
  border-radius: var(--radius-card);
  background: var(--glass-forest);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-edge);
  color: var(--snow);
  animation: floatIn 1.2s var(--ease) 0.6s both;
}
.glass-card .label { color: var(--accent-tint); margin-bottom: 10px; }
.glass-card strong {
  display: block;
  font-size: 20px;
  font-weight: 350;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.glass-card span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(252, 252, 247, 0.8);
}

.gallery-item .cap {
  background: var(--glass-forest);
  color: var(--snow);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.whatsapp-float {
  background: var(--glass-forest-strong);
  color: var(--snow);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}
.whatsapp-float:hover { background: rgba(31, 125, 61, 0.92); }

/* Header turns to frosted glass once the page scrolls */
.site-header { transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease); }
.site-header.is-scrolled {
  background: rgba(252, 252, 247, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
/* A backdrop filter would trap the fixed mobile menu inside the header */
@media (max-width: 900px) {
  .site-header.is-scrolled {
    background: var(--snow);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ---------- Badge that rotates over the hero image ---------- */
.spin-badge {
  position: absolute;
  top: 30%;
  right: 16px;
  z-index: 3;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--snow);
  display: grid;
  place-items: center;
}
.spin-badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--forest-darkest);
}

/* ---------- Ticker ---------- */
.marquee {
  overflow: hidden;
  background: var(--forest);
  color: var(--snow);
  padding: 26px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-group span {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  padding: 0 0 0 28px;
}
.marquee-group span::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 0 0 56px;
  vertical-align: middle;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Headline word reveal (JS wraps each word) ---------- */
.split-line .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.06em 0.14em;
  margin: 0 -0.06em -0.14em;
}
.split-line .w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms + 150ms);
}
.split-line.is-in .w > span { transform: none; }

/* ---------- Entrance sequence ---------- */
.hero .eyebrow,
.page-intro .eyebrow { animation: fadeUp 1s var(--ease) both; }
.hero .lead,
.page-intro p:not(.eyebrow) { animation: fadeUp 1.1s var(--ease) 0.5s both; }
.hero .btn-row { animation: fadeUp 1s var(--ease) 0.7s both; }
.hero-facts { animation: fadeUp 1s var(--ease) 0.9s both; }
@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- Buttons: magnetic offset uses the translate property ---------- */
.btn {
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), translate 0.5s var(--ease);
}

/* ---------- Mobile adjustments for the modern layer ---------- */
@media (max-width: 640px) {
  .marquee-group span { font-size: 36px; }
  .glass-card { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 16px 18px; }
  .spin-badge { width: 88px; height: 88px; right: 12px; top: 28%; }
  .spin-badge text { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .spin-badge svg,
  .glass-card { animation: none !important; }
  .hero-media img,
  .page-intro .media-wide img { translate: none !important; }
  .js .reveal-img { clip-path: none; }
  .split-line .w > span { transform: none; }
}

/* ---------- Facts inside the dark booking band ---------- */
.cta-band .facts,
.cta-band .facts li { border-color: var(--line-on-dark); }
.cta-band .facts strong { color: var(--snow); }
.cta-band .facts strong a { color: var(--snow); }
.cta-band .facts span { color: var(--text-on-dark-muted); }

/* ---------- Logo ---------- */
.brand--logo { font-size: 0; gap: 0; }
.brand--logo::after { display: none; }
.brand--logo img { height: 68px; width: auto; display: block; }
@media (max-width: 640px) { .brand--logo img { height: 54px; } }
.site-footer .brand--logo { background: var(--snow); border-radius: var(--radius-card); padding: 10px 14px; }
.site-footer .brand--logo img { height: 96px; }
