/* ==========================================================================
   Ngorongoro Corridor Lodge - Design System & Site Styles
   --------------------------------------------------------------------------
   A single, hand-authored stylesheet (no build step, no CDN framework) so the
   site stays fast, dependency-free and instantly deployable to any static
   host. Mobile-first, token-driven and built for WCAG AA contrast.
   ========================================================================== */

/* Self-hosted variable fonts: no third-party CSS or connection required.
   font-display:optional lets the headline paint immediately with a fallback. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2");
}

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* Safari forest greens */
  --forest-950: #0b180c;
  --forest-900: #122a14;
  --forest-800: #17361a;
  --forest-700: #1e3f20;
  --forest-600: #2a5a2d;
  --forest-500: #3d7a40;
  --forest-100: #e4efe3;
  --forest-050: #f1f7f0;

  /* Warm earth + gold */
  --gold-700: #8a5f1c; /* darker gold: keeps >=4.5:1 on white/sand for small text */
  --gold-600: #c39a4a;
  --gold-500: #d9b26a;
  --gold-400: #e6c98c;
  --gold-100: #f6efe2;
  --clay-600: #94502a;
  --clay-500: #a8562f;

  /* Neutrals */
  --sand-50: #faf7f1;
  --sand-100: #f3eee4;
  --ink: #17201a;
  --ink-soft: #46504a;
  --muted: #5d655c;
  --line: #e2ded3;
  --line-strong: #cfc9ba;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--sand-50);
  --text: var(--ink);
  --text-muted: var(--muted);
  --brand: var(--forest-700);
  --accent: var(--gold-500);

  /* Type */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.36vw, 1.32rem);
  --step-2: clamp(1.35rem, 1.22rem + 0.65vw, 1.75rem);
  --step-3: clamp(1.6rem, 1.36rem + 1.2vw, 2.4rem);
  --step-4: clamp(2rem, 1.55rem + 2.2vw, 3.35rem);
  --step-5: clamp(2.4rem, 1.6rem + 3.9vw, 4.5rem);

  /* Space + shape — restrained radii and tighter vertical rhythm read as
     classic hospitality rather than a generic rounded web template. */
  --space-section: clamp(2.75rem, 5vw, 4.5rem);
  --radius-sm: 2px;
  --radius: 3px;
  --radius-lg: 4px;
  --radius-pill: 999px;
  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(23, 32, 26, 0.04), 0 2px 8px rgba(23, 32, 26, 0.035);
  --shadow: 0 12px 32px -20px rgba(18, 42, 20, 0.32);
  --shadow-lg: 0 28px 64px -36px rgba(11, 24, 12, 0.42);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 74px;
}

/* ----------------------------------------------------------------- 2. Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 0.75rem); }
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--forest-600); text-underline-offset: 3px; }
a:hover { color: var(--forest-700); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding-inline-start: 1.15em; }
/* Long translations and addresses must remain inside their containers.
   This is particularly important for Chinese, Japanese and Arabic, where a
   complete phrase may otherwise be treated as one unbroken line. */
:where(h1, h2, h3, h4, p, li, span, a, strong, small, blockquote, figcaption, summary, dt, dd, label, td, th) { overflow-wrap: anywhere; }
html[lang="zh"] :where(h1, h2, h3, h4, p, li, span, a, strong, small), html[lang="ja"] :where(h1, h2, h3, h4, p, li, span, a, strong, small) { line-break: anywhere; }
:target { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--forest-900);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { text-wrap: pretty; }

/* ------------------------------------------------------------ 3. A11y basics */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--gold-600);
  outline-offset: 2px;
  border-radius: 4px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.5rem; left: 0.5rem; z-index: 2000;
  transform: translateY(-150%);
  background: var(--forest-700); color: var(--white);
  padding: 0.7rem 1.15rem; border-radius: var(--radius-sm); font-weight: 600;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--white); }

/* ------------------------------------------------------------ 4. Layout kit */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(1.85rem, 3.4vw, 2.75rem); }
.section--alt { background: var(--bg-alt); }
.section--forest { background: var(--forest-800); color: rgba(255, 255, 255, 0.86); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--white); }
/* Hairline rules let consecutive sections breathe without large gaps. */
.section + .section:not(.section--forest):not(.section--alt) { border-top: 1px solid var(--line); }

.flow > * + * { margin-top: var(--flow-gap, 1.15rem); }
.grid { display: grid; gap: 1.35rem; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); }
/* Rooms: always three per row on desktop so five rooms + the "all rooms" card
   form two even rows instead of a lopsided 3 + 2. */
.grid-rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-rooms { grid-template-columns: 1fr; } }
.lead { font-size: var(--step-1); color: var(--text-muted); line-height: 1.65; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-700);
}
.eyebrow::before { content: ""; width: 2.1rem; height: 2px; background: var(--gold-500); display: inline-block; }
.eyebrow--light { color: var(--gold-400); }
.section-head { max-width: 62ch; min-width: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 0.55rem; }
.section-head p { margin-top: 0.7rem; }
.divider-gold { width: 64px; height: 3px; background: var(--gold-500); border: 0; border-radius: 3px; }

/* --------------------------------------------------------------- 5. Buttons */
.btn {
  --btn-bg: var(--forest-700);
  --btn-fg: var(--white);
  --btn-bd: var(--forest-700);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.92rem; line-height: 1.2; letter-spacing: 0.03em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--forest-900); --btn-bd: var(--gold-500); }
.btn--gold:hover { --btn-bg: var(--gold-400); --btn-bd: var(--gold-400); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--forest-700); --btn-bd: var(--forest-700); }
.btn--outline:hover { --btn-bg: var(--forest-700); --btn-fg: var(--white); }
.btn--light { --btn-bg: rgba(255, 255, 255, 0.12); --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.65); }
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--forest-800); --btn-bd: var(--white); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.08rem 2.1rem; font-size: 1rem; }
.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; color: var(--forest-600); text-decoration: none;
}
.link-arrow::after { content: "\2192"; transition: transform 0.22s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ------------------------------------------------------- 6. Header / nav bar */
.topbar {
  background: var(--forest-950); color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem; letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.42rem; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 0.42rem; white-space: nowrap; }
.topbar a:hover { color: var(--gold-400); }
.topbar__meta { display: flex; align-items: center; gap: 1.15rem; min-width: 0; overflow: hidden; }
.topbar__label {
  color: var(--gold-400); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; margin-inline-end: 0.1rem;
}
.topbar__social { display: flex; align-items: center; gap: 0.35rem; flex: none; }
.topbar__social a { padding: 0.15rem; }
@media (max-width: 900px) { .topbar__mail { display: none; } }
@media (max-width: 680px) {
  .topbar__reception, .topbar__social { display: none; }
  .topbar__inner { justify-content: center; }
}

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
/* No backdrop-filter here: it is the main cause of janky sticky headers on
   low-end phones and it would also trap the mobile menu's fixed positioning. */
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(18, 42, 20, 0.55); background: var(--white); }
/* Keep the bar height constant while scrolling: resizing a sticky header
   reflows the whole document and shows up as a jump on mobile. */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--forest-800); flex: none; min-width: 0; max-width: 100%; }
.brand__mark { width: 80px; height: 48px; flex: none; object-fit: contain; border-radius: 6px; }
.footer__brand .brand__mark { width: 62px; height: 48px; border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; overflow: hidden; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.04rem; letter-spacing: 0.01em; color: var(--forest-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__sub { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav__menu { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
/* Keep the brand, language switcher and menu button above the mobile sheet. */
.brand, .nav__actions, .nav__toggle { position: relative; z-index: 2; }
.nav__link {
  display: inline-block; padding: 0.55rem 0.8rem; border-radius: var(--radius-sm);
  font-size: 0.89rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none; color: var(--forest-900);
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.32rem; height: 1.5px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform 0.24s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--forest-700); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 0.7rem; }
.nav__phone { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.88rem; color: var(--forest-700); text-decoration: none; }

.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line-strong);
  background: var(--white); border-radius: var(--radius-sm); cursor: pointer;
}
.nav__toggle-bar { position: relative; width: 20px; height: 2px; background: var(--forest-800); display: block; transition: background 0.2s var(--ease); }
.nav__toggle-bar::before, .nav__toggle-bar::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--forest-800);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav__toggle-bar::before { top: -6px; }
.nav__toggle-bar::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* Transparent header over the homepage hero. The header stays in the normal
   sticky flow and the hero is pulled up beneath it, which avoids the gap and
   the jump that a separate fixed bar creates while scrolling. */
.site-header--overlay { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header--overlay .brand__name, .site-header--overlay .nav__link, .site-header--overlay .nav__phone { color: var(--white); }
.site-header--overlay .brand__sub { color: var(--gold-400); }
.site-header--overlay .nav__toggle { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.5); }
.site-header--overlay .nav__toggle-bar, .site-header--overlay .nav__toggle-bar::before, .site-header--overlay .nav__toggle-bar::after { background: #fff; }
.site-header--overlay.is-scrolled { background: var(--white); border-bottom-color: var(--line); }
.site-header--overlay.is-scrolled .brand__name, .site-header--overlay.is-scrolled .nav__link, .site-header--overlay.is-scrolled .nav__phone { color: var(--forest-900); }
.site-header--overlay.is-scrolled .brand__sub { color: var(--gold-700); }
.site-header--overlay.is-scrolled .nav__toggle { background: var(--white); border-color: var(--line-strong); }

@media (max-width: 1120px) {
  :root { --header-h: 66px; }
  .nav { position: relative; z-index: 2; }
  /* Brand left, language + menu button together on the right. */
  .brand { flex: 1 1 auto; order: 0; }
  .nav__actions { order: 2; margin-inline-start: auto; }
  .nav__toggle { order: 3; flex: none; display: inline-flex; }
  .nav__menu { order: 4; }
  .brand__name { font-size: 0.98rem; }
  .brand__sub { font-size: 0.56rem; letter-spacing: 0.18em; }
  .nav__phone, .nav__actions .btn--nav { display: none; }
  .nav__menu {
    position: fixed; inset: 0 0 auto 0; z-index: 1;
    width: 100%; max-width: 100vw;
    padding: calc(var(--header-h) + 1.35rem) clamp(1.15rem, 4vw, 2rem) calc(2rem + env(safe-area-inset-bottom));
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    transform: translateY(-100%); visibility: hidden; pointer-events: none;
    transition: transform 0.38s var(--ease), visibility 0s linear 0.38s;
    box-shadow: 0 26px 46px -30px rgba(11, 24, 12, 0.42);
    max-height: 100dvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav__menu.is-open {
    transform: translateY(0); visibility: visible; pointer-events: auto;
    transition: transform 0.38s var(--ease), visibility 0s;
  }
  .nav__menu li { border-bottom: 1px solid var(--line); }
  .nav__link { display: block; padding: 0.9rem 0.25rem; font-size: 1.02rem; }
  .nav__link::after { display: none; }
  .nav__menu .btn { margin-top: 1rem; }
  .nav__menu .nav__cta { display: block; border-bottom: 0; padding-top: 0.35rem; }
}

@media (max-width: 380px) {
  .nav .brand { gap: 0.5rem; }
  .nav .brand__mark { width: 72px; height: 44px; }
  .nav .brand__name { font-size: 0.92rem; letter-spacing: 0; }
  .nav .brand__sub { letter-spacing: 0.12em; }
}

/* Some languages (Russian, Japanese, Chinese, Arabic) need more room than the
   one-line desktop nav has, even on a 1440 px screen. JS adds .nav--drawer when
   the measured nav no longer fits, reusing the same compact sheet. */
@media (min-width: 1121px) {
  .nav--drawer { position: relative; z-index: 2; }
  .nav--drawer .brand { flex: 1 1 auto; order: 0; }
  .nav--drawer .nav__actions { order: 2; margin-inline-start: auto; }
  .nav--drawer .nav__toggle { order: 3; flex: none; display: inline-flex; }
  .nav--drawer .nav__menu { order: 4; }
  .nav--drawer .brand__name { font-size: 0.98rem; }
  .nav--drawer .brand__sub { font-size: 0.56rem; letter-spacing: 0.18em; }
  .nav--drawer .nav__phone, .nav--drawer .nav__actions .btn--nav { display: none; }
  .nav--drawer .nav__menu {
    position: fixed; inset: 0 0 auto 0; z-index: 1;
    width: 100%; max-width: 100vw;
    padding: calc(var(--header-h) + 1.35rem) clamp(1.15rem, 4vw, 2rem) calc(2rem + env(safe-area-inset-bottom));
    background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    transform: translateY(-100%); visibility: hidden; pointer-events: none;
    transition: transform 0.38s var(--ease), visibility 0s linear 0.38s;
    box-shadow: 0 26px 46px -30px rgba(11, 24, 12, 0.42);
    max-height: 100dvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav--drawer .nav__menu.is-open {
    transform: translateY(0); visibility: visible; pointer-events: auto;
    transition: transform 0.38s var(--ease), visibility 0s;
  }
  .nav--drawer .nav__menu li { border-bottom: 1px solid var(--line); }
  .nav--drawer .nav__link { display: block; padding: 0.9rem 0.25rem; font-size: 1.02rem; }
  .nav--drawer .nav__link::after { display: none; }
  .nav--drawer .nav__menu .btn { margin-top: 1rem; }
  .nav--drawer .nav__menu .nav__cta { display: block; border-bottom: 0; padding-top: 0.35rem; }
}

.no-scroll { overflow: hidden; }

/* The sheet is white, so the transparent homepage header must switch to dark
   ink while the menu is open — otherwise the brand and links disappear. */
body.no-scroll .site-header--overlay .brand__name,
body.no-scroll .site-header--overlay .nav__link { color: var(--forest-900); }
body.no-scroll .site-header--overlay .brand__sub { color: var(--gold-700); }
body.no-scroll .site-header--overlay .nav__toggle { background: var(--white); border-color: var(--line-strong); }
body.no-scroll .site-header--overlay .nav__toggle-bar,
body.no-scroll .site-header--overlay .nav__toggle-bar::before,
body.no-scroll .site-header--overlay .nav__toggle-bar::after { background: var(--forest-800); }

/* ------------------------------------------------------------------ 7. Hero */
.hero { position: relative; display: grid; align-items: center; min-height: clamp(560px, 88svh, 900px); color: var(--white); overflow: hidden; }
/* Homepage: slide the hero under the transparent sticky header. */
.site-header--overlay + main > .hero { margin-top: calc(var(--header-h) * -1); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; pointer-events: none; transition: opacity 1.1s var(--ease); }
.hero.is-video .hero__video { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 24, 12, 0.6) 0%, rgba(11, 24, 12, 0.16) 34%, rgba(11, 24, 12, 0.4) 64%, rgba(11, 24, 12, 0.86) 100%),
    linear-gradient(90deg, rgba(11, 24, 12, 0.58) 0%, rgba(11, 24, 12, 0.04) 62%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; min-width: 0; padding-block: calc(var(--header-h) + 2.5rem) 3.25rem; max-width: 760px; }
.hero h1 { color: var(--white); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero__title-accent { display: block; margin-top: 0.5rem; color: var(--gold-400); font-style: italic; font-size: 0.46em; font-weight: 500; letter-spacing: 0.01em; }
.hero__lead { font-size: var(--step-1); max-width: 58ch; margin-top: 1.35rem; color: rgba(255, 255, 255, 0.94); }
.hero .btn-row { margin-top: 2.1rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2; }
.hero__scroll span {
  display: block; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: var(--radius-pill); position: relative;
}
.hero__scroll span::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--gold-400);
  border-radius: 2px; transform: translateX(-50%); animation: scroll-dot 1.9s var(--ease) infinite;
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 14px); } 100% { opacity: 0; } }

/* Quick facts bar under hero */
.hero-facts { background: var(--forest-800); color: rgba(255, 255, 255, 0.9); }
.hero-facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 1px; }
.hero-facts__item { padding: 1.15rem clamp(0.5rem, 2vw, 1.35rem); display: flex; align-items: center; gap: 0.8rem; }
.hero-facts__item + .hero-facts__item { border-inline-start: 1px solid rgba(255, 255, 255, 0.14); }
.hero-facts svg { width: 26px; height: 26px; color: var(--gold-400); flex: none; }
.hero-facts strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--white); }
.hero-facts span { font-size: 0.82rem; }
@media (max-width: 640px) { .hero-facts__item + .hero-facts__item { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); } }

/* ---------------------------------------------------------- 8. Split / intro */
.split { display: grid; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-media { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split__media--stack img:first-child { grid-column: 1 / -1; }
.media-badge {
  position: absolute; right: -0.5rem; bottom: -1.25rem; background: var(--forest-700); color: var(--white);
  padding: 1rem 1.35rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 220px;
}
.media-badge strong { font-family: var(--font-serif); font-size: 1.6rem; display: block; color: var(--gold-400); line-height: 1; }
.media-badge span { font-size: 0.8rem; letter-spacing: 0.04em; }
@media (max-width: 620px) { .media-badge { right: 0.75rem; bottom: 0.75rem; } }

.checklist { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-inline-start: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--forest-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232a5a2d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.8'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.checklist--light li::before { background-color: rgba(255, 255, 255, 0.14); }

/* ------------------------------------------------------------------ 9. Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1.5rem; }
.stat { text-align: center; padding: 0.5rem; }
.stat strong { display: block; font-family: var(--font-serif); font-size: var(--step-3); color: var(--gold-500); line-height: 1; }
.stat span { display: block; margin-top: 0.55rem; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; }
.section--forest .stat span { color: rgba(255, 255, 255, 0.78); }

/* ------------------------------------------------------------- 10. Room cards */
.card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block; text-decoration: none; color: inherit; }
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; top: 0.85rem; left: 0.85rem; background: rgba(18, 42, 20, 0.86); color: var(--gold-400);
  padding: 0.32rem 0.75rem; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.card__body { padding: 1.2rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.card__title { font-size: var(--step-2); margin: 0; }
.card__title a { color: inherit; text-decoration: none; }
.card__desc { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.card__specs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; }
.card__specs li { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--ink-soft); }
.card__specs svg { width: 1.05rem; height: 1.05rem; color: var(--gold-600); flex: none; }
.card__footer { margin-top: auto; padding-top: 0.4rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.card__price { font-size: 0.85rem; color: var(--text-muted); }
.card__price strong { font-family: var(--font-serif); font-size: 1.25rem; color: var(--forest-800); }
.room-detail { display: grid; gap: 0.5rem; }
.room-detail__specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); gap: 0.75rem; padding: 1rem 0; border-block: 1px solid var(--line); }
.room-detail__specs div { font-size: 0.85rem; }
.room-detail__specs strong { display: block; color: var(--forest-800); font-size: 0.95rem; }

/* ------------------------------------------------------------ 11. Amenities */
.amenity {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; display: flex; flex-direction: column; gap: 0.65rem; height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.amenity:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.amenity__icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--forest-050); color: var(--forest-600); border: 1px solid var(--forest-100);
}
.amenity__icon svg { width: 26px; height: 26px; }
.amenity > * { min-width: 0; }
.amenity h3 { font-size: var(--step-1); margin: 0.2rem 0 0; }
.amenity p { margin: 0; color: var(--text-muted); font-size: 0.93rem; overflow-wrap: anywhere; }
.section--forest .amenity { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
.section--forest .amenity__icon { background: rgba(217, 178, 106, 0.16); border-color: rgba(217, 178, 106, 0.35); color: var(--gold-400); }
.section--forest .amenity p { color: rgba(255, 255, 255, 0.78); }

/* --------------------------------------------------------- 12. Experiences */
.experience { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; min-width: 0; display: flex; align-items: flex-end; color: var(--white); }
.experience img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.7s var(--ease); }
.experience:hover img { transform: scale(1.06); }
.experience::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,24,12,0.05) 30%, rgba(11,24,12,0.85) 100%); }
.experience__body { position: relative; z-index: 2; padding: 1.6rem; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.experience__body h3 { color: var(--white); margin: 0 0 0.4rem; font-size: var(--step-2); }
.experience__body p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }

/* ------------------------------------------------------------ 13. Testimonials */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.45rem; height: 100%; display: flex; flex-direction: column; gap: 0.9rem; box-shadow: var(--shadow-sm); }
.quote__stars { color: var(--gold-700); letter-spacing: 0.15em; font-size: 1rem; }
.quote blockquote { margin: 0; font-family: var(--font-serif); font-size: var(--step-1); line-height: 1.55; color: var(--forest-900); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--forest-700); color: var(--gold-400); display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; flex: none; }
.quote figcaption strong { display: block; color: var(--forest-800); }
.quote figcaption span { color: var(--text-muted); font-size: 0.82rem; }

/* --------------------------------------------------------------- 14. CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--forest-800); color: var(--white); text-align: center; }
.cta-band__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-band__inner { position: relative; z-index: 1; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.86); max-width: 60ch; margin: 1rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 1.9rem; }

/* ---------------------------------------------------------- 15. Page hero (inner) */
.page-hero { position: relative; overflow: hidden; color: var(--white); padding-block: clamp(2.75rem, 6vw, 4.25rem); }
.page-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 24, 12, 0.82) 0%, rgba(11, 24, 12, 0.55) 65%, rgba(11, 24, 12, 0.35) 100%); }
.page-hero__inner { position: relative; z-index: 2; width: 100%; min-width: 0; max-width: 720px; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255, 255, 255, 0.9); margin-top: 0.9rem; font-size: var(--step-1); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.84rem; color: rgba(255, 255, 255, 0.75); }
.breadcrumb a { color: var(--gold-400); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 0.4rem; opacity: 0.6; }
.breadcrumb[data-light="false"], .breadcrumb[data-light="false"] a { color: var(--text-muted); }
.breadcrumb[data-light="false"] a { color: var(--forest-600); }

/* ------------------------------------------------------------- 16. Info list */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.info-list li > div { min-width: 0; }
.info-list a, .info-list p, .info-list address { overflow-wrap: anywhere; }
.info-list__icon { width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--forest-050); color: var(--forest-600); flex: none; border: 1px solid var(--forest-100); }
.info-list__icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--forest-800); font-family: var(--font-serif); font-size: 1.05rem; }
.info-list a { text-decoration: none; color: var(--text-muted); }
.info-list a:hover { color: var(--forest-600); text-decoration: underline; }
.info-list p { margin: 0; color: var(--text-muted); }

/* ---------------------------------------------------------------- 17. Forms */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--forest-900); }
.field .req { color: var(--clay-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.82rem 0.95rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); color: var(--text); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest-600); box-shadow: 0 0 0 4px rgba(42, 90, 45, 0.14); outline: none; }
.field__hint { font-size: 0.8rem; color: var(--text-muted); }
.field__error { font-size: 0.82rem; color: #b3261e; font-weight: 500; min-height: 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.12); }
.form__consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.86rem; color: var(--text-muted); }
.form__consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--forest-600); flex: none; }
.form-status { border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; font-size: 0.92rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--forest-050); border: 1px solid var(--forest-100); color: var(--forest-800); }
.form-status--error { background: #fdecea; border: 1px solid #f3c2bd; color: #8f1d17; }
/* Honeypot: clipped rather than pushed off to the left, so it never creates
   horizontal scroll in right-to-left layouts. */
.hp {
  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;
}

/* -------------------------------------------------------- 18. Modal (dialog) */
dialog.booking-modal {
  width: min(560px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto;
  margin: 1rem auto 1rem 1rem; padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  background: var(--white); color: var(--text);
}
dialog.booking-modal::backdrop { background: rgba(11, 24, 12, 0.62); backdrop-filter: blur(3px); }
.modal__head { background: var(--forest-800); color: var(--white); padding: 1.5rem 1.6rem; position: relative; }
.modal__head h2 { color: var(--white); font-size: var(--step-2); margin: 0; }
.modal__head p { margin: 0.4rem 0 0; color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12); color: #fff;
  display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.24); }
.modal__body { padding: 1.5rem 1.6rem 1.7rem; }
.modal__note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.85rem; }

/* -------------------------------------------------------------- 19. Footer */
.site-footer { background: var(--forest-950); color: rgba(255, 255, 255, 0.74); font-size: 0.92rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-block: clamp(2.5rem, 4.5vw, 3.5rem); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 0.9fr 1fr 1fr 1.1fr; } }
.site-footer h2, .site-footer h3 { color: var(--white); font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 1rem; }
.footer__brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; text-decoration: none; }
.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__sub { color: var(--gold-400); }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer__links a { color: inherit; text-decoration: none; }
.footer__links a:hover { color: var(--gold-400); }
.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.footer__contact li { display: flex; gap: 0.65rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; margin-top: 0.2rem; }
.footer__contact a { color: inherit; text-decoration: none; }
.footer__contact a:hover { color: var(--gold-400); }
.footer__label {
  display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-500); margin-bottom: 0.1rem;
}
.footer__social { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.footer__social a {
  width: 42px; height: 42px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--white);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__social a:hover { background: var(--gold-500); color: var(--forest-900); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; justify-content: space-between; font-size: 0.83rem; }
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { color: var(--gold-400); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; }

/* --------------------------------------------------------- 20. Float helpers */
.whatsapp-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 900;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: #25d366; color: #06331a; padding: 0.8rem 1.1rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; text-decoration: none; box-shadow: var(--shadow);
}
.whatsapp-float:hover { color: #06331a; transform: translateY(-2px); background: #2ee06f; }
.whatsapp-float svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .whatsapp-float span { display: none; } .whatsapp-float { padding: 0.85rem; } }

/* ------------------------------------------------------------ 21. Reveal anim */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }

/* ------------------------------------------------------------- 22. Utilities */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }
.topbar a svg { width: 15px; height: 15px; flex: none; color: var(--gold-500); }
.nav__cta { display: none; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.badge {
  display: inline-block; padding: 0.3rem 0.7rem; border-radius: var(--radius-sm);
  background: var(--gold-100); color: var(--gold-700); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.map-frame { width: 100%; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); filter: saturate(0.9); }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.price-table th, .price-table td { text-align: left; padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--line); }
.price-table th { font-family: var(--font-serif); font-size: 1rem; color: var(--forest-800); }
.price-table tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------ 23. Accordion / FAQ */
.faq { display: grid; gap: 0.75rem; }
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.accordion summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.05rem 3.1rem 1.05rem 1.25rem;
  font-weight: 600; color: var(--forest-800); font-family: var(--font-serif); font-size: var(--step-1);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; line-height: 1; color: var(--gold-600); font-family: var(--font-sans);
}
.accordion[open] summary::after { content: "\2212"; }
.accordion summary:hover { color: var(--forest-600); }
.accordion__body { padding: 0 1.25rem 1.35rem; color: var(--text-muted); }
.accordion__body > *:first-child { margin-top: 0; }

/* --------------------------------------------------- 24. Language switcher */
.lang { position: relative; display: inline-flex; align-items: center; flex: none; }
.lang__globe { position: absolute; left: 0.62rem; width: 17px; height: 17px; color: var(--forest-700); pointer-events: none; }
.lang__select {
  appearance: none; -webkit-appearance: none;
  max-width: 9.5rem; padding: 0.48rem 1.75rem 0.48rem 2rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); color: var(--forest-800);
  font-family: inherit; font-size: 0.8rem; font-weight: 600; line-height: 1.2;
  text-overflow: ellipsis; white-space: nowrap; cursor: pointer;
}
.lang__select:hover { border-color: var(--forest-500); }
.lang__select:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 2px; }
.lang::after {
  content: ""; position: absolute; right: 0.72rem; width: 0.4rem; height: 0.4rem;
  border-right: 1.6px solid var(--forest-700); border-bottom: 1.6px solid var(--forest-700);
  transform: translateY(-2px) rotate(45deg); pointer-events: none;
}
@media (max-width: 560px) {
  .lang__select { max-width: 5.9rem; padding-left: 1.85rem; font-size: 0.74rem; }
  .lang__globe { width: 15px; height: 15px; left: 0.5rem; }
}
/* Very narrow headers cannot hold the selector next to the brand, so it moves
   into the mobile menu (see buildSwitcher in assets/js/i18n.js). */
.nav__lang { display: flex; align-items: center; padding: 0.85rem 0.25rem; }
.nav__lang .lang { width: 100%; }
.nav__lang .lang__select { width: 100%; max-width: none; padding-block: 0.6rem; }
.nav__lang .lang__globe { left: 0.75rem; }
.nav__lang::after { display: none; }
/* Make room for the selector without crowding the nav */
@media (max-width: 1100px) { .nav__phone { display: none; } }
/* Transparent header over the homepage hero */
.site-header--overlay:not(.is-scrolled) .lang__select {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.site-header--overlay:not(.is-scrolled) .lang__globe { color: var(--white); }
.site-header--overlay:not(.is-scrolled) .lang::after { border-color: var(--white); }
.site-header--overlay:not(.is-scrolled) .lang__select option { color: var(--forest-900); background: var(--white); }

/* ------------------------------------------------------- 25. RTL languages */
[dir="rtl"] .lang__globe { left: auto; right: 0.62rem; }
[dir="rtl"] .lang__select { padding: 0.48rem 2rem 0.48rem 1.75rem; }
[dir="rtl"] .lang::after { right: auto; left: 0.72rem; }
[dir="rtl"] .whatsapp-float { right: auto; left: 1.1rem; }
[dir="rtl"] .media-badge { right: auto; left: -0.5rem; }
[dir="rtl"] .checklist li::before { left: auto; right: 0; }
[dir="rtl"] .accordion summary { padding: 1.05rem 1.25rem 1.05rem 3.1rem; }
[dir="rtl"] .accordion summary::after { right: auto; left: 1.25rem; }
[dir="rtl"] .price-table th, [dir="rtl"] .price-table td { text-align: right; }
[dir="rtl"] .eyebrow, [dir="rtl"] .brand__sub, [dir="rtl"] .stat span,
[dir="rtl"] .hero__title-accent, [dir="rtl"] .badge, [dir="rtl"] .btn { letter-spacing: normal; }
[dir="rtl"] .quote__stars { letter-spacing: normal; }
[dir="rtl"] p, [dir="rtl"] li { line-height: 1.85; }
@media (max-width: 620px) {
  [dir="rtl"] .media-badge { left: 0.75rem; right: auto; }
}
html[lang="ar"] body { font-family: "Inter", "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 {
  font-family: "Noto Naskh Arabic", "Geeza Pro", Tahoma, "Traditional Arabic", serif;
}
html[lang="zh"] body, html[lang="ja"] body { font-family: "Inter", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3,
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 {
  font-family: "Songti SC", "Yu Mincho", "Hiragino Mincho ProN", "SimSun", serif;
}

/* ----------------------------------------------------------- 25b. Surroundings guides (picture-led) */
.article { max-width: 760px; }
.article p { margin-block: 0 1rem; }
.article figure { margin: 1.5rem 0; }
.article figure img { width: 100%; border-radius: var(--radius-lg); }
.article figcaption { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }
.guide-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.4rem; background: var(--bg-alt); }
.guide-box h2 { font-size: var(--step-2); margin: 0 0 0.6rem; }
.guide-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.guide-box a { color: var(--forest-600); font-weight: 600; text-decoration: none; }
.guide-box a:hover { text-decoration: underline; }
.guide-nav { display: grid; gap: 0.75rem; }
@media (min-width: 760px) { .guide-nav { grid-template-columns: 1fr 1fr; } }

/* ----------------------------------------------------------- 26. Motion / print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__video { display: none !important; }
}
@media print {
  .site-header, .topbar, .whatsapp-float, .cta-band, .site-footer__cta, .hero__scroll { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
