/* Arab Hotel Association — modern design system
   Brand palette (terracotta / olive / sand / brown) kept, but contemporary:
   clean neutrals, variable type (Inter + Sora), glass, layered shadows, motion. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Sora";
  src: url("/fonts/sora.woff2") format("woff2");
  font-weight: 100 800; font-display: swap; font-style: normal;
}
/* Brand wordmark face (from the client's logo) */
@font-face {
  font-family: "Presence";
  src: url("/fonts/presence.ttf") format("truetype");
  font-weight: 400 600; font-display: swap; font-style: normal;
}
/* Heritage display serif (matches the reference template) — bundled locally, no CDN */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700; font-display: swap; font-style: italic;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair.ttf") format("truetype-variations");
  font-weight: 400 800; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair-italic.ttf") format("truetype-variations");
  font-weight: 400 800; font-display: swap; font-style: italic;
}

:root {
  /* Heritage palette — warm cream, deep olive, gold & terracotta (from the brand mosaic) */
  --terracotta: #9d3b2b;
  --terracotta-600: #7e2e21;
  --olive: #6b6f3f;
  --olive-600: #565b33;
  --olive-deep: #41451f;
  --sand: #e7d3a1;
  --gold: #b9933f;
  --brown: #2b2516;

  /* Light theme */
  --bg: #f4ecdd;
  --bg-tint: #ece0cb;
  --surface: #fbf6ec;
  --surface-2: #efe4d0;
  --text: #2b2516;
  --text-muted: #7c6e57;
  --border: #e3d6bf;
  --hero-ink: #46311e; /* warm brown for the hero headline (from the reference) */
  --primary: var(--olive-deep);
  --primary-600: #34381a;
  --primary-contrast: #f6efdf;
  --accent: var(--terracotta);
  --brand-ink: #790203; /* logo wordmark colour — deep crimson on light */

  --grad: linear-gradient(135deg, #41451f 0%, #55592c 50%, #6b6f3f 100%);
  --grad-soft: linear-gradient(135deg, rgba(65,69,31,.08), rgba(157,59,43,.07));

  --shadow-sm: 0 1px 2px rgba(43,37,22,.05), 0 2px 8px rgba(43,37,22,.06);
  --shadow: 0 14px 34px -16px rgba(43,37,22,.30);
  --shadow-lg: 0 38px 72px -28px rgba(43,37,22,.42);

  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 26px;
  --header-h: 80px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Playfair Display", "Constantia", "Palatino Linotype", "Cambria", Georgia, serif;
}

[data-theme="dark"] {
  --bg: #19160f;
  --bg-tint: #201c13;
  --surface: #262017;
  --surface-2: #2f2818;
  --text: #f0e7d4;
  --text-muted: #b6a785;
  --border: #3a3122;
  --hero-ink: #f0e7d4;
  --primary: #9aa05c;
  --primary-600: #848a4c;
  --primary-contrast: #1a1710;
  --accent: #c1593f;
  --olive-deep: #2f3318;
  --sand: #d8c08a;
  --gold: #c8a24a;
  --brand-ink: #f2e7d3; /* reversed wordmark — warm cream on dark */
  --grad: linear-gradient(135deg, #3f4322 0%, #5a5e34 55%, #8a8f56 100%);
  --grad-soft: linear-gradient(135deg, rgba(154,160,92,.14), rgba(193,89,63,.12));
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow: 0 14px 34px -16px rgba(0,0,0,.6);
  --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: 0; }
h1, h2 { letter-spacing: -.01em; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-600); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 40px 0; }
.section--tight { padding: 40px 0; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Header (glass) ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.site-header .bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; }
/* Desktop: full lockup (mark + text), swapped per theme. Mobile: mark only. */
.brand-lockup { display: block; height: 70px; width: auto; }
.brand-lockup--dark, .brand-mark { display: none; }
.brand-mark { width: 52px; height: 52px; border-radius: 12px; }
[data-theme="dark"] .brand-lockup--light { display: none; }
[data-theme="dark"] .brand-lockup--dark { display: block; }
@media (max-width: 640px) {
  .brand-lockup { display: none !important; }
  .brand-mark { display: block !important; }
}

.nav { display: flex; align-items: center; gap: 1px; margin-inline-start: auto; flex-wrap: wrap; }
.nav a { color: var(--text); padding: 9px 12px; border-radius: 9px; font-size: .92rem; font-weight: 500; position: relative; transition: background .2s, color .2s; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { color: var(--primary); }
.nav a.active::after { content:""; position:absolute; left:12px; right:12px; bottom:3px; height:2px; background: var(--grad); border-radius:2px; }

/* "More" dropdown */
.nav-dd { position: relative; }
.nav-dd__btn { font: inherit; font-size: .92rem; font-weight: 500; color: var(--text); background: none; border: none; cursor: pointer; padding: 9px 12px; border-radius: 9px; display: inline-flex; align-items: center; gap: 5px; }
.nav-dd__btn:hover, .nav-dd.open .nav-dd__btn { background: var(--surface-2); }
.nav-dd__btn.active { color: var(--primary); }
.nav-dd__menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 210px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column; gap: 2px; z-index: 60; }
.nav-dd.open .nav-dd__menu { display: flex; animation: pop .18s var(--ease); }
.nav-dd__menu a { padding: 10px 12px; border-radius: 9px; font-size: .92rem; color: var(--text); font-weight: 500; }
.nav-dd__menu a:hover { background: var(--surface-2); }
.nav-dd__menu a.active { color: var(--primary); }

/* Experience ✦ — primary-nav icon with a blinking radiation pulse */
.nav-xp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; width: 40px; height: 40px; border-radius: 11px; color: var(--primary); font-size: 1.15rem; text-decoration: none; }
.nav-xp:hover { background: var(--surface-2); color: var(--primary); text-decoration: none; }
.nav-xp .xp-lbl { display: none; }
.nav-xp .xp-ico { display: inline-block; animation: xp-glow 1.8s ease-in-out infinite; }
.nav-xp::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 55%, transparent); animation: xp-ring 2s ease-out infinite; pointer-events: none; }
@keyframes xp-glow { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.18); } }
@keyframes xp-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 13px transparent; } }
@media (prefers-reduced-motion: reduce) { .nav-xp .xp-ico, .nav-xp::after { animation: none; } }

/* Turbo navigation progress bar */
.turbo-progress-bar { height: 3px; background: var(--grad); }

.header-tools { display: flex; align-items: center; gap: 7px; margin-inline-start: 8px; }
.icon-btn {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer; font-size: 1.05rem;
  display: inline-flex; align-items: center; justify-content: center; transition: transform .15s var(--ease), border-color .2s, background .2s, color .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--surface); transform: translateY(-1px); }
#accountBtn { background: var(--grad-soft); }
.menu-toggle { display: none; }

/* Language toggle (EN ⇄ العربية) — a real per-language link, no third-party widget. */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2);
  color: var(--text); font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s; white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); background: var(--surface); }
.lang-toggle__globe { font-size: .95rem; line-height: 1; }
@media (max-width: 560px) { .lang-toggle__lbl { display: none; } .lang-toggle { padding: 0 12px; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-family: var(--font-sans); cursor: pointer; font-size: .94rem;
  background: var(--primary); color: var(--primary-contrast); letter-spacing: -.01em;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s, filter .2s;
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--primary) 70%, transparent);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -10px color-mix(in srgb, var(--primary) 75%, transparent); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); box-shadow: none; }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--primary); }
.btn--olive { background: var(--accent); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--olive:hover { background: var(--olive-600); }
.btn--sm { padding: 8px 14px; font-size: .85rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---- Hero (cinematic hotel-photo backdrop) ---- */
.hero { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(160deg, #2a1810 0%, #7a3322 45%, #4a4a28 100%); }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s var(--ease); transform: scale(1.06); will-change: opacity, transform; }
.hero__slide.active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.16); } }
.hero::after { content:""; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(130% 120% at 50% 0%, rgba(42,24,16,.30) 30%, rgba(20,14,9,.74) 100%),
              linear-gradient(180deg, rgba(20,14,9,.45), rgba(20,14,9,.62)); }
.hero__caption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: .82rem;
  letter-spacing: .04em; color: rgba(255,255,255,.82); z-index: 1; }
.hero__caption b { font-weight: 600; }
.hero__inner { max-width: 760px; margin: 0 auto; text-align: center; padding: 116px 22px; position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 620px; margin: 0 auto 28px; opacity: .96; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__badge { display:inline-flex; align-items:center; gap:8px; padding:7px 16px; margin-bottom:22px; border-radius:999px;
  background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); font-size:.85rem; font-weight:600; letter-spacing:.02em; }
.hero__badge .dot { width:8px; height:8px; border-radius:50%; background:#7bd88f; box-shadow:0 0 0 3px rgba(123,216,143,.3); }

/* Featured hotel card (home) — stacks on small screens */
.feature-card { flex-direction: row; align-items: stretch; }
.feature-card__img { width: 46%; aspect-ratio: auto; object-fit: cover; min-height: 240px; }
@media (max-width: 700px) {
  .feature-card { flex-direction: column; }
  .feature-card__img { width: 100%; min-height: 0; height: 210px; }
  .hero__inner { padding: 84px 18px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
}

/* ---- Cards & grids ---- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.card .thumb { aspect-ratio: 16/10; width: 100%; object-fit: cover; background: var(--surface-2); transition: transform .5s var(--ease); }
.card:hover .thumb { transform: scale(1.05); }
.card > a, .card { color: inherit; }
.card .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card h3 { margin: 0; font-size: 1.14rem; }
.card .meta { font-size: .85rem; color: var(--text-muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.card .body .btn { margin-top: auto; }
a.card:hover { color: inherit; }

.stars { color: var(--gold); letter-spacing: 1px; }
.badge { display: inline-flex; align-items:center; gap:5px; padding: 3px 11px; border-radius: 999px; font-size: .73rem; font-weight: 600; width: fit-content;
  background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }
.badge--olive { background: color-mix(in srgb, var(--olive) 16%, transparent); color: var(--accent); border-color: transparent; }
.badge--terra { background: color-mix(in srgb, var(--terracotta) 14%, transparent); color: var(--primary); border-color: transparent; }
.chip { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:999px; background:var(--surface-2); border:1px solid var(--border); font-size:.82rem; font-weight:500; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); }

/* Aligned checkbox row for forms (replaces cramped pill checkboxes). */
.check { display:flex; align-items:center; gap:10px; cursor:pointer; font-size:.9rem; font-weight:500; padding:4px 0; width:fit-content; }
.check input[type="checkbox"], .check input[type="radio"] { width:17px; height:17px; flex:0 0 auto; margin:0; cursor:pointer; }
.check small { color:var(--text-muted); font-weight:400; }
.check-group { display:grid; gap:4px; padding:12px 14px; background:var(--surface-2); border:1px solid var(--border); border-radius:12px; }
.check-group__title { font-size:.78rem; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:.08em; margin-bottom:4px; }

/* Admin dashboard chart grid */
.dash-charts { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; margin:0; }
.dash-charts .card .body { padding:18px; }
.dash-charts h3 { font-size:1rem; margin:0 0 10px; }
/* Dashboard vertical rhythm — labelled sections with consistent spacing. */
.dash-sec { margin-bottom: 32px; }
.dash-sec:last-child { margin-bottom: 0; }
.dash-sec__head { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--text);
  margin: 0 0 16px; padding-bottom: 9px; border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 8px; }
.dash-sec__head .muted { font-size: .82rem; font-weight: 400; }

/* ---- Section headers ---- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; font-weight: 700; }
.section-head p { margin: 8px 0 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }

/* ---- Forms ---- */
.form { display: grid; gap: 15px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .88rem; }
.input, .textarea, .select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font-size: .95rem; font-family: inherit; line-height: 1.45; transition: border-color .2s, box-shadow .2s;
}
.input, .select { height: 46px; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.textarea { min-height: 130px; resize: vertical; }
/* Native dropdowns get a consistent custom arrow so inputs and selects match exactly. */
.select, .tbl-toolbar select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23877564' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.tbl-toolbar input, .tbl-toolbar select { height: 42px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.note { padding: 12px 15px; border-radius: var(--radius-sm); font-size: .9rem; border:1px solid transparent; }
.note--ok { background: color-mix(in srgb, var(--olive) 14%, transparent); color: var(--accent); border-color: color-mix(in srgb, var(--olive) 30%, transparent); }
.note--err { background: color-mix(in srgb, var(--terracotta) 12%, transparent); color: var(--primary); border-color: color-mix(in srgb, var(--terracotta) 28%, transparent); }
.note--info { background: var(--surface-2); color: var(--text-muted); border-color: var(--border); }

/* Perk list (careers) + contact info rows */
.perk-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 11px; }
.perk-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; }
.perk-list li span { font-size: 1.1rem; flex: 0 0 auto; }
.contact-rows { display: flex; flex-direction: column; gap: 12px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-row__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: 0 0 auto; }
.contact-row__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.contact-row__txt b { font-size: .92rem; }
.contact-row__txt a, .contact-row__txt span { font-size: .9rem; color: var(--text-muted); }
.contact-row__txt a:hover { color: var(--primary); }

/* ---- Filters ---- */
.filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; background: var(--surface); padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.filters .field { min-width: 150px; }

/* ---- Panels (admin/member) ---- */
.panel { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - var(--header-h)); }
.panel__nav { background: var(--surface); border-right: 1px solid var(--border); padding: 20px 14px; display:flex; flex-direction:column; gap:3px; }
.panel__nav a { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 11px; color: var(--text); font-size: .91rem; font-weight: 500; transition: background .2s, color .2s; }
.panel__nav a:hover { background: var(--surface-2); color: var(--text); }
.panel__nav a.active { background: var(--grad-soft); color: var(--primary); font-weight: 600; }
.panel__main { padding: 32px; overflow: auto; }
.panel__main h2 { font-size: 1.5rem; margin-bottom: 18px; }

/* ===== Dashboard shell (admin/member) ===== */
.dash { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; transition: grid-template-columns .3s var(--ease); }
.dash.collapsed { grid-template-columns: 76px 1fr; }
.dash__nav a .lbl, .dash__brand .lbl, .dash__uinfo, .dash__signout .lbl { transition: opacity .2s ease; }
.dash__side { background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.dash__brand { display: flex; align-items: center; gap: 10px; padding: 16px; border-bottom: 1px solid var(--border); min-height: 68px; }
.dash__brand img { width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto; }
.dash__brand .lbl { font-family: var(--font-display); font-weight: 700; line-height: 1.05; white-space: nowrap; overflow: hidden; }
.dash__brand .lbl small { display: block; font-family: var(--font-sans); font-weight: 600; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.dash__collapse { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; color: var(--text); flex: 0 0 auto; }
.dash__nav { flex: 1; overflow-y: auto; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent; overscroll-behavior: contain; }
.dash__nav::-webkit-scrollbar { width: 8px; }
.dash__nav::-webkit-scrollbar-track { background: transparent; }
.dash__nav::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; border: 2px solid var(--surface); }
.dash__nav::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
.dash__nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; color: var(--text); font-weight: 500; font-size: .92rem; white-space: nowrap; cursor: pointer; }
.dash__nav a .ico { font-size: 1.05rem; width: 22px; text-align: center; flex: 0 0 auto; }
.dash__nav a:hover { background: var(--surface-2); }
.dash__nav a.active { background: var(--grad-soft); color: var(--primary); font-weight: 600; }
.dash__nav-group { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); padding: 14px 12px 5px; white-space: nowrap; }
.dash__nav-group:first-child { padding-top: 2px; }
/* Collapsible sections: the group header is a toggle with a rotating chevron. */
.dash__nav-group { display: flex; align-items: center; justify-content: space-between; gap: 6px; cursor: pointer; user-select: none; }
.dash__nav-group::after { content: '▾'; font-size: .7rem; opacity: .6; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.dash__nav-group.is-collapsed::after { transform: rotate(-90deg); }
.dash__nav-group:hover { color: var(--text); }
/* Collapsible section body: animate height via grid rows for a smooth open/close. */
.dash__nav-sub { overflow: hidden; flex: 0 0 auto; transition: max-height .42s cubic-bezier(.4,0,.2,1); }
.dash__nav-subinner { display: flex; flex-direction: column; gap: 2px; }
/* When collapsed, group labels become a slim divider instead of text. */
.dash.collapsed .dash__nav-group { height: 1px; padding: 0; margin: 9px 14px; background: var(--border); color: transparent; overflow: hidden; }
.dash__foot { border-top: 1px solid var(--border); padding: 12px; }
.dash__user { display: flex; align-items: center; gap: 10px; padding: 0 2px 10px; }
.dash__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto; }
.dash__uinfo { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.dash__uinfo b { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__uinfo span { font-size: .72rem; color: var(--text-muted); }
.dash__signout { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer; font-weight: 600; font-size: .88rem; font-family: inherit;
  transition: background .2s, color .2s, border-color .2s; }
.dash__signout:hover { background: color-mix(in srgb, var(--terracotta) 12%, transparent); color: var(--primary); border-color: color-mix(in srgb, var(--terracotta) 32%, transparent); }
.dash__signout .ico { font-size: 1rem; }
/* Collapsed: hide labels/logo but KEEP the toggle visible so it can be re-expanded. */
.dash.collapsed .dash__nav a .lbl, .dash.collapsed .dash__brand .lbl, .dash.collapsed .dash__brand > a, .dash.collapsed .dash__uinfo, .dash.collapsed .dash__signout .lbl { display: none; }
.dash.collapsed .dash__brand { justify-content: center; padding: 16px 8px; }
.dash.collapsed .dash__collapse { margin-left: 0; }
.dash.collapsed .dash__nav a { justify-content: center; }
.dash.collapsed .dash__user { justify-content: center; padding-bottom: 8px; }
.dash.collapsed .dash__signout { padding: 9px 0; }

.dash__main { display: flex; flex-direction: column; min-width: 0; }
.dash__top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 13px 22px; min-height: 64px;
  background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.dash__title { font-size: 1.2rem; font-family: var(--font-display); font-weight: 700; margin: 0; }
.dash__burger { display: none; }
.dash__content { padding: 28px 26px; flex: 1; }
.dash__content h2 { font-size: 1.4rem; margin-bottom: 16px; }
.dash__scrim { display: none; }

/* Table toolbar + pager */
.tbl-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.tbl-toolbar input, .tbl-toolbar select { padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font-size: .9rem; font-family: inherit; }
.tbl-toolbar .grow { flex: 1; min-width: 160px; }
/* Searchable single-select (combobox) for filter toolbars */
.ssel { position: relative; display: inline-block; }
.ssel__btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font-size: .9rem; font-family: inherit; cursor: pointer; }
.ssel__btn:hover { border-color: var(--primary); }
.ssel__lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssel__lbl.is-ph { color: var(--text-muted); }
.ssel__caret { color: var(--text-muted); font-size: .65rem; transition: transform .15s ease; flex: 0 0 auto; }
.ssel.is-open .ssel__caret { transform: rotate(180deg); }
.ssel__menu { position: absolute; z-index: 60; top: calc(100% + 4px); inset-inline-start: 0; min-width: 100%; width: max-content; max-width: 280px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 28px rgba(40,30,15,.18); overflow: hidden; }
.ssel__search { display: block; width: 100%; border: 0; border-bottom: 1px solid var(--border); padding: 10px 12px; background: transparent; color: var(--text); font: inherit; outline: none; }
.ssel__list { max-height: 240px; overflow-y: auto; padding: 5px; }
.ssel__opt { padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: .9rem; white-space: nowrap; }
.ssel__opt:hover { background: var(--surface-2); }
.ssel__opt.is-sel { background: var(--surface-2); color: var(--primary); font-weight: 600; }
.ssel__empty { padding: 12px; color: var(--text-muted); font-size: .85rem; text-align: center; }
/* Image upload field (events/blogs modals) */
.imgup { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.imgup__prev { width: 92px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); }
.imgup__msg { font-size: .8rem; }
.pager-bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.pager-bar .pager { margin-top: 0; flex: 1; min-width: 0; }
.pager__size { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: .82rem; white-space: nowrap; }
.pager__size select { height: 32px; padding: 0 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font-weight: 600; cursor: pointer; }
.pager { display: flex; align-items: center; gap: 6px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.pager__info { margin-right: auto; color: var(--text-muted); font-size: .85rem; }
.pager button { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--border); background: var(--surface); border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--text); }
.pager button:hover:not([disabled]):not(.current) { border-color: var(--primary); }
.pager button[disabled] { opacity: .45; cursor: default; }
.pager button.current { background: var(--grad); color: #fff; border-color: transparent; }

@media (max-width: 900px) {
  .dash, .dash.collapsed { grid-template-columns: 1fr; }
  .dash__side { position: fixed; top: 0; left: 0; bottom: 0; width: 264px; height: 100vh; z-index: 60; transform: translateX(-100%); transition: transform .25s var(--ease); }
  .dash.menu-open .dash__side { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .dash.collapsed .dash__nav a .lbl, .dash.collapsed .dash__brand .lbl, .dash.collapsed .dash__brand > a, .dash.collapsed .dash__uinfo, .dash.collapsed .dash__signout .lbl { display: flex; }
  .dash.collapsed .dash__nav a { justify-content: flex-start; }
  .dash.collapsed .dash__nav-group { height: auto; padding: 14px 12px 5px; margin: 0; background: transparent; color: var(--text-muted); overflow: visible; }
  .dash.collapsed .dash__signout { padding: 10px; }
  .dash__collapse { display: none; }
  .dash__burger { display: inline-flex; }
  .dash__scrim { display: block; position: fixed; inset: 0; background: rgba(20,14,8,.5); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .dash.menu-open .dash__scrim { opacity: 1; pointer-events: auto; }
  .dash__content { padding: 18px 16px; }
}

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.stat::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background: var(--grad); }
.stat .n { font-size: 2rem; font-weight: 800; font-family: var(--font-display); color: var(--text); letter-spacing: -.03em; }
.stat .l { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-top: 6px; }

/* ---- Table ---- */
.table-wrap { overflow:auto; border:1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.data th { background: var(--surface-2); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 700; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr { transition: background .15s; }
table.data tbody tr:hover { background: var(--surface-2); }

/* ---- Modal ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(20,14,8,.55); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-overlay.open { display: flex; animation: fade .2s var(--ease); }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); max-width: 640px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); animation: pop .25s var(--ease); }
.modal__head { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--surface); }
.modal__body { padding: 24px; }

/* ---- Footer ---- */
.site-footer { background: #1a130d; color: #d7cab3; margin-top: 56px; position: relative; }
.site-footer::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--grad); }
[data-theme="dark"] .site-footer { background: #100b07; }
.site-footer a { color: var(--sand); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 30px 40px; padding: 52px 0 28px; align-items: start; }
.footer-grid > :first-child { max-width: 480px; }
.footer-grid h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-grid p { margin: 0; line-height: 1.9; }
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 430px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; text-align: center; color: #b6a88f; }

/* ---- Chatbot ---- */
.chat-fab { position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 50%; background: var(--grad); color: #fff; border: none; font-size: 1.5rem; cursor: pointer; box-shadow: 0 12px 30px -8px color-mix(in srgb, var(--primary) 75%, transparent); z-index: 90; transition: transform .2s var(--ease); }
.chat-fab:hover { transform: scale(1.08) rotate(-6deg); }
.chat-box { position: fixed; right: 24px; bottom: 96px; width: 350px; max-width: calc(100vw - 48px); background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden; z-index: 90; }
.chat-box.open { display: flex; animation: pop .25s var(--ease); }
.chat-box__head { background: var(--grad); color: #fff; padding: 13px 16px; font-weight: 700; font-family: var(--font-display); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chat-box__close { background: rgba(255,255,255,.2); border: none; color: #fff; width: 28px; height: 28px; border-radius: 8px; cursor: pointer; font-size: .85rem; line-height: 1; flex: 0 0 auto; }
.chat-box__close:hover { background: rgba(255,255,255,.38); }
.chat-box__log { padding: 16px; height: 330px; overflow: auto; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { padding: 10px 13px; border-radius: 14px; max-width: 86%; font-size: .9rem; line-height: 1.45; }
.chat-msg.bot { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg a { color: inherit; text-decoration: underline; }
/* Markdown rendered inside chat answers */
.chat-msg p { margin: 0 0 .5em; }
.chat-msg p:last-child { margin-bottom: 0; }
.chat-msg ul, .chat-msg ol { margin: .3em 0 .55em; padding-inline-start: 1.35em; display: flex; flex-direction: column; gap: 3px; }
.chat-msg li { line-height: 1.4; }
.chat-msg strong { font-weight: 700; }
.chat-msg code { background: color-mix(in srgb, var(--text) 10%, transparent); padding: 1px 5px; border-radius: 5px; font-size: .85em; }
.chat-hotels { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.chat-hotel { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; overflow: hidden; }
.chat-hotel__main { display: flex; align-items: center; gap: 10px; padding: 6px; }
.chat-hotel__main:hover { text-decoration: none; background: var(--surface-2); }
.chat-hotel__main img { width: 56px; height: 44px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.chat-hotel__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.chat-hotel__info b { font-size: .88rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-hotel__info span { font-size: .76rem; color: var(--text-muted); }
.chat-hotel__book { display: block; text-align: center; padding: 8px; background: var(--primary); color: #fff !important; font-weight: 600; font-size: .82rem; text-decoration: none !important; }
.chat-hotel__book:hover { background: var(--primary-600); }
.chat-box__form { display: flex; border-top: 1px solid var(--border); }
.chat-box__form input { flex: 1; border: none; padding: 13px; background: var(--surface); color: var(--text); font-family: inherit; }
.chat-box__form input:focus { outline: none; }
.chat-box__form button { border: none; background: var(--primary); color: #fff; padding: 0 18px; cursor: pointer; font-weight: 600; }

/* ---- Misc ---- */
.spinner { display:inline-block; width:24px; height:24px; border:3px solid var(--border); border-top-color: var(--primary); border-radius:50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { padding: 48px; text-align: center; color: var(--text-muted); }
.empty { padding: 48px; text-align: center; color: var(--text-muted); border: 1px dashed var(--border); border-radius: var(--radius); background: var(--surface); }
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 14px; }
.prose { line-height: 1.8; font-size: 1.02rem; } .prose p { margin: 0 0 1em; } .prose ul { padding-left: 1.2em; } .prose h3 { margin-top: 1.4em; }
.gallery-grid { columns: 3 260px; column-gap: 18px; }
.gallery-grid img { width: 100%; margin-bottom: 18px; border-radius: var(--radius); break-inside: avoid; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.gallery-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow); }

/* Reactive homepage images (gallery preview + about collage) */
.zoom-img { transition: transform .4s var(--ease), box-shadow .4s var(--ease), filter .3s; cursor: pointer; display: block; }
.zoom-img:hover { transform: scale(1.05); box-shadow: var(--shadow); filter: saturate(1.08); position: relative; z-index: 1; }

/* Surface section tint */
.section--tinted { background: var(--bg-tint); }

/* Home "by the numbers" bar charts */
.bar-row { display: flex; align-items: center; gap: 12px; margin: 11px 0; }
.bar-row__lbl { width: 120px; flex: 0 0 auto; font-size: .85rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row .stars, .bar-row__lbl.stars { color: var(--gold); }
.bar-row__track { flex: 1; height: 12px; background: var(--surface-2); border-radius: 8px; overflow: hidden; }
.bar-row__fill { display: block; height: 100%; background: var(--grad); border-radius: 8px; transition: width 1.1s var(--ease); }
.bar-row__val { width: 30px; text-align: right; font-weight: 700; font-size: .85rem; }

/* ===== Homepage redesign components ===== */
/* Full-bleed stat band with animated counters */
.stats-band { background: var(--grad); color: #fff; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 22px; }
.stat-count { text-align: center; }
.stat-count .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; letter-spacing: -.02em; }
.stat-count .l { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .92; margin-top: 6px; }
@media (max-width: 620px) { .stats-band .container { grid-template-columns: 1fr 1fr; gap: 24px 12px; } }

/* Explore-by-city tiles */
.city-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.city-tile { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); }
.city-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.city-tile::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(20,14,9,.85) 0%, rgba(20,14,9,.12) 58%, transparent 100%); }
.city-tile:hover img { transform: scale(1.08); }
.city-tile__cap { position: relative; z-index: 1; padding: 16px; color: #fff; }
.city-tile__cap b { font-family: var(--font-display); font-size: 1.2rem; display: block; }
.city-tile__cap span { font-size: .82rem; opacity: .92; }
@media (max-width: 860px) { .city-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .city-tiles { grid-template-columns: repeat(2, 1fr); } }

/* Rich featured split */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature__media { position: relative; min-height: 340px; }
.feature__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 1; }
.feature__thumbs img { width: 58px; height: 44px; object-fit: cover; border-radius: 8px; border: 2px solid rgba(255,255,255,.85); cursor: pointer; transition: transform .15s; }
.feature__thumbs img:hover { transform: translateY(-2px); }
.feature__body { padding: 32px; display: flex; flex-direction: column; gap: 13px; justify-content: center; }
.feature__amen { display: flex; flex-wrap: wrap; gap: 7px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature__media { min-height: 230px; } .feature__body { padding: 24px; } }

/* Testimonials band */
.quotes-band { background: var(--bg-tint); }
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.quote__mark { font-family: Georgia, serif; font-size: 2.8rem; line-height: .4; color: var(--primary); height: 24px; }
.quote p { margin: 0; line-height: 1.65; }
.quote__by { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.quote__av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto; }
.quote__by b { display: block; font-size: .92rem; color: var(--text); }
.quote__by > span > span { font-size: .78rem; color: var(--text-muted); }
@media (max-width: 1080px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } }

/* Donut charts (home "by the numbers") — fixed size, scales with any number of categories */
.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 6px 0; }
.donut-svg { flex: 0 0 auto; }
.donut-svg circle { transition: stroke-dasharray 1s var(--ease), stroke-dashoffset 1s var(--ease); }
.donut-total { font-family: var(--font-display); font-weight: 800; font-size: 30px; fill: var(--text); }
.donut-sub { font-size: 10px; fill: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; }
.donut-legend { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 8px; }
.donut-leg { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.donut-sw { width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto; }
.donut-leg__lbl { flex: 1; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.donut-leg__lbl.stars { color: var(--gold); letter-spacing: 1px; }
.donut-leg__val { font-weight: 700; color: var(--text); }

/* Call-to-action band */
.cta { background: var(--grad); border-radius: var(--radius-lg); padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow); }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 700px) { .cta { padding: 30px 24px; } }

/* Immersive "Experience" promo banner (links to /experience) */
.xp-banner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  padding: 40px; border-radius: var(--radius-lg); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(120deg, #221610 0%, #7a3322 55%, #4a4a28 100%); transition: transform .25s var(--ease), box-shadow .25s; }
.xp-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 82% 18%, rgba(232,211,161,.30), transparent 52%), radial-gradient(circle at 10% 90%, rgba(201,84,63,.35), transparent 50%); }
.xp-banner:hover { transform: translateY(-3px); box-shadow: 0 40px 70px -24px rgba(0,0,0,.5); text-decoration: none; color: #fff; }
.xp-banner > * { position: relative; z-index: 1; }
.xp-banner h2 { color: #fff; margin: .12em 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.xp-banner p { color: rgba(255,255,255,.92); margin: 0; max-width: 540px; }
.xp-banner .eyebrow { color: var(--sand); }
@media (max-width: 700px) { .xp-banner { padding: 28px 24px; } }

/* ---- "View all" / more links (focused, animated) ---- */
.more-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem; color: var(--primary-contrast);
  padding: 9px 18px; border: 1px solid var(--primary); border-radius: 999px;
  background: var(--primary); transition: background .2s var(--ease), color .2s, border-color .2s, transform .15s var(--ease); white-space: nowrap; }
.more-link::after { content: "→"; transition: transform .25s var(--ease); }
.more-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); text-decoration: none; transform: translateY(-1px); }
.more-link:hover::after { transform: translateX(4px); }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .65s var(--ease), transform .65s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal--scale { transform: translateY(20px) scale(.96); }
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale.in, .reveal--left.in, .reveal--right.in { transform: none; }
/* Stagger children of a .reveal-group as they enter */
.reveal-group > * { opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(1){transition-delay:.04s}.reveal-group.in > *:nth-child(2){transition-delay:.1s}
.reveal-group.in > *:nth-child(3){transition-delay:.16s}.reveal-group.in > *:nth-child(4){transition-delay:.22s}
.reveal-group.in > *:nth-child(5){transition-delay:.28s}.reveal-group.in > *:nth-child(6){transition-delay:.34s}
.reveal-group.in > *:nth-child(7){transition-delay:.4s}.reveal-group.in > *:nth-child(8){transition-delay:.46s}

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  /* Push the icon cluster (incl. burger) to the far right; nav is a drawer below. */
  .header-tools { margin-left: auto; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--surface); flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding: 10px; gap: 1px;
    border-bottom: 1px solid var(--border); display: none; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; animation: pop .2s var(--ease); }
  .nav > a { padding: 13px 14px; border-radius: 10px; }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--grad-soft); }
  /* Experience shows its label in the drawer */
  .nav-xp { width: auto; height: auto; justify-content: flex-start; gap: 10px; font-size: 1rem; }
  .nav-xp .xp-lbl { display: inline; }
  .nav-xp::after { display: none; }
  .menu-toggle { display: inline-flex; }
  /* Flatten the "More" dropdown into the drawer */
  .nav-dd { position: static; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
  .nav-dd__btn { display: none; }
  .nav-dd__menu { position: static; display: flex; box-shadow: none; border: none; padding: 0; min-width: 0; background: transparent; }
  .nav-dd__menu a { padding: 13px 14px; }
  /* Panels */
  .panel { grid-template-columns: 1fr; }
  .panel__nav { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; border-right: none; border-bottom: 1px solid var(--border); padding: 10px; gap: 6px; }
  .panel__nav a { white-space: nowrap; flex: 0 0 auto; }
  .panel__main { padding: 20px 16px; }
  .panel__main h2 { font-size: 1.3rem; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .section { padding: 52px 0; }
  .header-tools { gap: 6px; }
  .header-tools .btn--sm { padding: 7px 11px; font-size: .82rem; }
  .hide-sm { display: none !important; }
}

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

/* ---- API playground ----------------------------------------------------- */
.api-facts { display:flex; flex-wrap:wrap; gap:12px; margin:4px 0 18px; }
.api-fact { display:flex; flex-direction:column; gap:3px; background:var(--surface-2); border:1px solid var(--border); border-radius:12px; padding:10px 14px; }
.api-fact__k { font-size:.72rem; text-transform:uppercase; letter-spacing:.12em; color:var(--text-muted); font-weight:700; }
.api-fact code { font-size:.85rem; color:var(--text); }

.api-keybar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:12px 14px; margin-bottom:22px; box-shadow:var(--shadow-sm); }
.api-keybar label { font-weight:600; font-size:.9rem; white-space:nowrap; }
.api-keybar .input { flex:1; min-width:220px; font-family:ui-monospace,Menlo,Consolas,monospace; font-size:.85rem; }
.api-keybar__hint { font-size:.8rem; color:var(--text-muted); }

.api-explorer { display:grid; grid-template-columns:260px 1fr; gap:20px; align-items:start; }
.api-endpoints { display:flex; flex-direction:column; gap:4px; position:sticky; top:84px; }
.api-endpoints__title { font-size:.72rem; text-transform:uppercase; letter-spacing:.14em; color:var(--text-muted); font-weight:700; padding:4px 10px; }
.api-ep { display:flex; align-items:center; gap:10px; padding:9px 11px; border-radius:11px; cursor:pointer; border:1px solid transparent; color:var(--text); text-decoration:none; }
.api-ep:hover { background:var(--surface-2); }
.api-ep.active { background:var(--surface-2); border-color:color-mix(in srgb, var(--primary) 30%, var(--border)); }
.api-ep__txt { display:flex; flex-direction:column; line-height:1.2; min-width:0; }
.api-ep__txt b { font-size:.9rem; }
.api-ep__txt code { font-size:.72rem; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; }

.api-method { font-size:.66rem; font-weight:800; letter-spacing:.06em; padding:3px 7px; border-radius:6px; flex:0 0 auto; }
.api-method--get { background:color-mix(in srgb, var(--olive) 18%, transparent); color:var(--accent); }

.api-panel { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:22px; box-shadow:var(--shadow-sm); min-width:0; }
.api-ep-head { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.api-path { font-size:1rem; font-weight:600; }
.api-ep-desc { margin:.5em 0 1.2em; }
.api-h { font-size:.78rem; text-transform:uppercase; letter-spacing:.12em; color:var(--text-muted); margin:0 0 10px; }

.api-params { display:flex; flex-direction:column; gap:12px; margin-bottom:20px; }
.api-param { display:grid; grid-template-columns:1fr 220px; gap:6px 16px; align-items:center; padding-bottom:12px; border-bottom:1px dashed var(--border); }
.api-param__head { display:flex; align-items:center; gap:8px; }
.api-param__head code { font-weight:700; }
.api-type { font-size:.72rem; color:var(--text-muted); }
.api-req { font-size:.66rem; color:var(--primary); font-weight:700; text-transform:uppercase; }
.api-opt { font-size:.66rem; color:var(--text-muted); text-transform:uppercase; }
.api-param__desc { grid-column:1; font-size:.85rem; color:var(--text-muted); }
.api-param__input { grid-column:2; grid-row:1 / span 2; }
.api-param__input .input, .api-param__input .select { width:100%; }

.api-run { display:flex; align-items:center; gap:12px; margin-bottom:16px; flex-wrap:wrap; }
.api-url { flex:1; min-width:200px; font-size:.8rem; color:var(--text-muted); background:var(--surface-2); padding:8px 10px; border-radius:8px; overflow-x:auto; white-space:nowrap; }

.api-io { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.api-io__head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px; font-weight:600; font-size:.85rem; }
.api-status { font-size:.78rem; font-weight:700; }
.api-status--ok { color:var(--accent); }
.api-status--warn { color:#c8821a; }
.api-status--err { color:var(--primary); }
.api-out, .api-code { background:#0f1419; color:#e7e3d8; border-radius:10px; padding:14px; font-family:ui-monospace,Menlo,Consolas,monospace; font-size:.8rem; line-height:1.5; overflow:auto; max-height:440px; margin:0; }
[data-theme="dark"] .api-out, [data-theme="dark"] .api-code { background:#0b0f14; }
.api-copy { margin-top:8px; }
.api-tabs { display:inline-flex; gap:2px; background:var(--surface-2); border-radius:8px; padding:2px; }
.api-tabs button { border:none; background:none; padding:4px 9px; border-radius:6px; cursor:pointer; font-size:.78rem; color:var(--text-muted); }
.api-tabs button.active { background:var(--surface); color:var(--text); box-shadow:var(--shadow-sm); }
.j-key { color:#9ad0ff; } .j-str { color:#b8e98c; } .j-num { color:#f3c969; } .j-bool { color:#e89ad0; } .j-null { color:#c0a0ff; } .j-err { color:#ff8d7b; }

@media (max-width: 860px) {
  .api-explorer { grid-template-columns:1fr; }
  .api-endpoints { position:static; flex-direction:row; flex-wrap:wrap; }
  .api-io { grid-template-columns:1fr; }
  .api-param { grid-template-columns:1fr; }
  .api-param__input { grid-column:1; grid-row:auto; }
}

/* ---- RTL (Arabic) ------------------------------------------------------- */
/* Layout is mostly flexbox/grid + logical properties, so it mirrors automatically.
   These handle the few physically-positioned pieces and Arabic typography. */
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] .chat-fab { right: auto; left: 24px; }
[dir="rtl"] .chat-box { right: auto; left: 24px; }
/* Chat bubbles: user on the start (right) side, bot on the end (left) side. */
[dir="rtl"] .chat-msg.user { align-self: flex-start; }
[dir="rtl"] .chat-msg.bot { align-self: flex-end; }
/* The brand wordmark is a Latin logo lockup — keep it left-to-right even in RTL. */
[dir="rtl"] .brand-en { direction: ltr; }
/* Inline directional arrows in buttons read naturally when flipped. */
[dir="rtl"] .btn .arrow, [dir="rtl"] .view-all__arrow { transform: scaleX(-1); }

/* ---- Review star picker + quote stars ---- */
.star-pick { display: inline-flex; gap: 4px; }
.star-pick button { background: none; border: none; cursor: pointer; font-size: 1.9rem; line-height: 1; color: var(--border); padding: 2px; transition: color .15s, transform .1s; }
.star-pick button:hover { transform: scale(1.12); }
.star-pick button.on { color: var(--gold); }
.quote__stars { color: var(--gold); font-size: .95rem; letter-spacing: 2px; margin-bottom: 6px; }

/* ============ Heritage homepage (hh-*) ============ */
.hh-kicker { font-family: var(--font-display); font-weight: 600; font-style: normal; font-size: clamp(1.8rem, 2.9vw, 2.55rem); line-height: 1.12; letter-spacing: 0; color: var(--hero-ink); margin: 0 0 2px; }

/* Shared line icons + uppercase buttons + pins */
.hh-ic { width: 26px; height: 26px; display: block; }
.btn--up { text-transform: uppercase; letter-spacing: .09em; font-size: .8rem; font-weight: 600; }
.btn-ic { width: 16px; height: 16px; flex: 0 0 auto; }
.hh-pin { width: 13px; height: 16px; display: inline-block; vertical-align: -3px; color: var(--accent); margin-inline-end: 5px; flex: 0 0 auto; }

/* Hero — mosaic bled flush to the right edge, text on the left */
.hh-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 440px;
  background: radial-gradient(120% 130% at 95% 12%, rgba(185,147,63,.10), transparent 60%), var(--bg); }
.hh-hero__art { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 56%; height: 100%;
  object-fit: contain; object-position: right center; z-index: 1; pointer-events: none; }
/* Let clicks pass through the (full-width) hero container to the mosaic beneath; re-enable on the text block. */
.hh-hero .container { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.hh-hero__text { max-width: 42%; padding: 38px 0; pointer-events: auto; }
.hh-hero__title { font-size: clamp(2.2rem, 3.7vw, 3.4rem); line-height: 1.08; letter-spacing: 0; margin: 0 0 14px; color: var(--accent); }
.hh-hero__body { color: var(--text-muted); font-size: .96rem; line-height: 1.6; max-width: 42ch; margin: 0 0 20px; }
.hh-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hh-hero__cta .btn { padding: 11px 18px; font-size: .78rem; }
/* Interactive mosaic hero: clickable segments, hover spotlight, gentle scroll rotation */
.hh-mosaic { display: flex; align-items: center; justify-content: flex-end; height: 100%; pointer-events: auto; }
.hh-mosaic__rot { position: relative; height: 100%; max-width: 100%; aspect-ratio: 1100 / 841; will-change: transform; }
.hh-mosaic__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hh-mosaic__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hh-mosaic__svg .hh-mosaic__piece { pointer-events: all; }
.hh-mosaic__cap { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); z-index: 3;
  background: rgba(20,13,4,.85); color: #f4ecdd; font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.hh-mosaic.is-active .hh-mosaic__cap { opacity: 1; }
/* Load-time assembly: each pie piece twirls in around the centre and snaps into place. */
.hh-mosaic__piece { transform-box: view-box; transform-origin: 550px 420px; cursor: pointer; outline: none;
  animation: mosaicAssemble .8s cubic-bezier(.2,.66,.3,1.25) backwards; animation-delay: calc(var(--i, 0) * .1s);
  transition: transform .26s cubic-bezier(.2,.7,.3,1.35), filter .26s ease; }
/* Hover/focus: the segment pops toward the viewer (scale + lift shadow) instead of dimming the rest. */
.hh-mosaic__piece:hover, .hh-mosaic__piece:focus-visible {
  transform: scale(1.055); filter: drop-shadow(0 13px 26px rgba(20,13,4,.4)); }
@keyframes mosaicAssemble {
  0%   { opacity: 0; transform: rotate(-58deg) scale(.55); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: rotate(0deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .hh-mosaic__piece { animation: none; } }

/* Stats band */
.hh-stats { background: var(--olive-deep); color: var(--primary-contrast); }
[data-theme="dark"] .hh-stats { background: #2b3016; color: #f0e7d4; }
.hh-stats__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 26px 0; }
.hh-stat { display: flex; flex-direction: row; align-items: center; gap: 12px; text-align: start; flex: 1 1 0; min-width: 150px; position: relative; padding: 2px 12px; }
.hh-stat + .hh-stat::before { content: ""; position: absolute; inset-inline-start: -7px; top: 50%; transform: translateY(-50%); height: 46px; width: 1px; background: rgba(255,255,255,.16); }
.hh-stat .hh-ic { width: 36px; height: 36px; flex: 0 0 auto; opacity: .9; margin: 0; }
.hh-stat__txt { display: flex; flex-direction: column; }
.hh-stat__n { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; white-space: nowrap;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.hh-stat__l { font-size: .82rem; opacity: .82; letter-spacing: .02em; line-height: 1.2; margin-top: 6px; }

/* Districts — left intro + a row of arched illustration cards (client mockup) */
.hh-dx { background: var(--bg); padding: 62px 0; }
.hh-dx__wrap { display: grid; grid-template-columns: minmax(210px, 280px) 1fr; gap: 42px; align-items: center; }
.hh-dx__title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.12; margin: 6px 0 12px; color: var(--hero-ink); }
.hh-dx__intro .muted { max-width: 34ch; margin: 0 0 20px; }
.hh-dx__cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.hh-dx__card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
/* Arched parchment frame holding a standing cut-out illustration. */
.hh-dx__fig { display: block; width: 100%; aspect-ratio: 30 / 42; overflow: hidden;
  background-color: #f3ead6;
  background-image: radial-gradient(rgba(150,120,70,.05) 1px, transparent 1.4px);
  background-size: 6px 6px;
  border: 1.5px solid rgba(120,96,52,.42);
  border-radius: 49% 49% 9px 9px / 39% 39% 5px 5px;
  box-shadow: 0 6px 16px rgba(40,30,15,.12), inset 0 0 22px rgba(150,120,70,.06);
  transition: transform .28s ease, box-shadow .28s ease; }
.hh-dx__fig img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hh-dx__card:hover .hh-dx__fig { transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(40,30,15,.20), inset 0 0 22px rgba(150,120,70,.06); }
.hh-dx__name { font-family: var(--font-display); font-size: .9rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text); text-align: center; margin-top: 2px; }
.hh-dx__orn { width: 26px; height: 10px; color: var(--gold); margin-top: -3px; opacity: .9; }
/* Keep the framed-print look on dark — illustrations need the warm backing to read. */
[data-theme="dark"] .hh-dx__fig { background-color: #efe5cf; border-color: rgba(190,160,110,.5);
  box-shadow: 0 8px 22px rgba(0,0,0,.42), inset 0 0 22px rgba(150,120,70,.06); }
[data-theme="dark"] .hh-dx__card:hover .hh-dx__fig {
  box-shadow: 0 18px 34px rgba(0,0,0,.5), inset 0 0 22px rgba(150,120,70,.06); }
[data-theme="dark"] .hh-dx__title { color: #ecdcc2; }

/* Featured hotel of the day — spotlight card (admin override or daily rotation) */
.hh-feat { display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-sm); }
.hh-feat__media { position: relative; display: block; min-height: 320px; }
.hh-feat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hh-feat__badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.hh-feat__body { padding: 32px 34px; display: flex; flex-direction: column; gap: 12px; align-self: center; }
.hh-feat__name { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.1; margin: 0; color: var(--hero-ink); }
.hh-feat__meta { display: flex; align-items: center; gap: 14px; color: var(--text-muted); font-size: .92rem; }
.hh-feat__meta .stars { color: var(--gold); letter-spacing: 1px; }
.hh-feat__loc { display: inline-flex; align-items: center; gap: 4px; }
.hh-feat__loc .hh-pin { width: 14px; height: 14px; }
.hh-feat__sum { color: var(--text-muted); line-height: 1.65; margin: 0; }
.hh-feat__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.hh-feat__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
[data-theme="dark"] .hh-feat__name { color: #ecdcc2; }
@media (max-width: 760px) {
  .hh-feat { grid-template-columns: 1fr; }
  .hh-feat__media { min-height: 220px; }
  .hh-feat__body { padding: 24px; }
}

/* Admin: dedicated hotel editor/viewer page */
.he { padding: 26px 0 70px; }
.he__bar { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.he__head { flex: 1; min-width: 200px; }
.he__head h1 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; line-height: 1.12; }
.he__grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.he__side { display: flex; flex-direction: column; gap: 20px; }
.he__card .body { padding: 20px 22px; }
.he__h2 { font-size: 1rem; margin: 0 0 14px; }
.he__amen { display: flex; flex-wrap: wrap; gap: 8px; }
.he__cover { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--surface-2); display: grid; place-items: center; margin-bottom: 10px; }
.he__cover img { width: 100%; height: 100%; object-fit: cover; }
.he__empty { color: var(--text-muted); font-size: .85rem; }
.he__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.he__thumb { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.he__thumb img { width: 100%; height: 100%; object-fit: cover; }
.he__thumbacts { position: absolute; top: 4px; inset-inline-end: 4px; display: flex; gap: 4px; opacity: 0; transition: opacity .15s ease; }
.he__thumb:hover .he__thumbacts, .he__thumb:focus-within .he__thumbacts { opacity: 1; }
.he__thumbacts button { width: 25px; height: 25px; border: none; border-radius: 6px; background: rgba(0,0,0,.6);
  color: #fff; cursor: pointer; font-size: .8rem; line-height: 1; display: grid; place-items: center; }
.he__thumbacts button:hover { background: rgba(0,0,0,.85); }
.he__upload { cursor: pointer; }
.he__actions { display: flex; align-items: center; gap: 14px; margin-top: 22px;
  position: sticky; bottom: 0; background: var(--bg); padding: 14px 0; }
@media (max-width: 820px) { .he__grid { grid-template-columns: 1fr; } .he__side { order: -1; } }

/* Districts page — clickable district cards */
.district-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.district-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.district-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.district-card__pin { color: var(--accent); }
.district-card__pin svg { width: 22px; height: 26px; }
.district-card__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--hero-ink); }
.district-card__count { font-size: .9rem; color: var(--text-muted); }
.district-card__cta { margin-top: 8px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }

/* What we do — vintage stone floor; olive card flush-left & full-height; scalloped card panel */
.hh-pillars { position: relative; display: grid; grid-template-columns: 33% 1fr; align-items: stretch;
  background-color: #e8ddc6; background-image: url('/img/floor-tile.svg'); background-size: 184px 184px; }
[data-theme="dark"] .hh-pillars { background-color: #14110b; background-blend-mode: multiply; }
/* Left card: flush to the edge, fills top-to-bottom; small olive branch with breathing room */
.hh-pillars__lead { position: relative; overflow: hidden; background: var(--olive-deep); color: var(--primary-contrast);
  padding: 52px 44px 52px 124px; display: flex; flex-direction: column; justify-content: center; }
.hh-pillars__lead::before { content: ""; position: absolute; inset-inline-start: 30px; top: 50%; transform: translateY(-50%);
  width: 60px; height: 62%; max-height: 220px; background: url('/img/olive-branch.svg') center / contain no-repeat; opacity: .9; pointer-events: none; }
[dir="rtl"] .hh-pillars__lead::before { transform: translateY(-50%) scaleX(-1); }
.hh-pillars__lead > * { position: relative; z-index: 1; }
.hh-pillars__lead h2 { color: #fff; }
.hh-pillars__lead p { color: rgba(255,255,255,.85); margin: 8px 0 22px; }
/* Right: floor margin around a scalloped (hand-crafted) card panel */
.hh-pillars__right { display: flex; align-items: stretch; padding: 26px 40px; }
.hh-pillars__cards { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); --scw: 52px; --sch: 18px;
  -webkit-mask: radial-gradient(var(--scw) var(--sch) at 50% 0, #0000 98%, #000) var(--scw) 0 / calc(var(--scw)*2) 51% repeat-x,
    radial-gradient(var(--scw) var(--sch) at 50% 100%, #0000 98%, #000) var(--scw) 100% / calc(var(--scw)*2) 51% repeat-x;
  mask: radial-gradient(var(--scw) var(--sch) at 50% 0, #0000 98%, #000) var(--scw) 0 / calc(var(--scw)*2) 51% repeat-x,
    radial-gradient(var(--scw) var(--sch) at 50% 100%, #0000 98%, #000) var(--scw) 100% / calc(var(--scw)*2) 51% repeat-x; }
.hh-pillar { background: var(--surface); text-align: center; padding: 30px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: background .2s; }
.hh-pillar:hover { background: var(--surface-2); }
.hh-pillar .hh-ic { width: 34px; height: 34px; color: var(--accent); margin: 0 auto 14px; }
.hh-pillar h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
.hh-pillar p { font-size: .86rem; max-width: 24ch; }

/* Member hotels carousel */
.hh-carousel-wrap { position: relative; }
.hh-carousel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 8px; scrollbar-width: none; -ms-overflow-style: none; }
.hh-carousel::-webkit-scrollbar { display: none; width: 0; height: 0; }
.hh-hotel { flex: 0 0 300px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.hh-hotel:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hh-hotel img { width: 100%; aspect-ratio: 16/11; object-fit: cover; display: block; }
.hh-hotel__body { padding: 14px 16px; }
.hh-hotel__body h3 { font-size: 1.18rem; margin: 0 0 3px; }
.hh-hotel__loc { font-size: .85rem; color: var(--text-muted); }
.hh-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--primary); background: var(--primary); color: var(--primary-contrast); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, color .2s, border-color .2s; }
.hh-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
/* arrows sit on their respective sides, out in the gutter beyond the container */
.hh-arrow--prev, .hh-arrow--next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; }
.hh-arrow--prev { inset-inline-start: -58px; }
.hh-arrow--next { inset-inline-end: -58px; }
/* not enough gutter — tuck them just inside the carousel edges */
@media (max-width: 1240px) {
  .hh-arrow--prev { inset-inline-start: 2px; }
  .hh-arrow--next { inset-inline-end: 2px; }
}

/* News / Events / Portal row — equal-height columns, buttons pinned to the bottom, hairline dividers */
.hh-foot3__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: stretch; }
.hh-foot3__grid > * { position: relative; }
.hh-foot3__grid > * + *::before { content: ""; position: absolute; inset-inline-start: -20px; top: 0; bottom: 0; width: 1px; background: var(--border); }
.hh-foot-col { display: flex; flex-direction: column; }
.hh-col-title { font-size: 1.35rem; margin: 0 0 16px; }
.hh-news-list, .hh-event-list { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.hh-foot-col .more-link { margin-top: 18px; align-self: flex-start; }
.hh-news { display: flex; gap: 12px; align-items: center; color: var(--text); }
.hh-news img { width: 64px; height: 56px; object-fit: cover; border-radius: 9px; flex: 0 0 auto; }
.hh-news__date { display: block; font-size: .76rem; color: var(--accent); font-weight: 600; margin-bottom: 2px; }
.hh-news b { font-size: .95rem; line-height: 1.3; }
.hh-news:hover b { color: var(--primary); }
.hh-event { display: flex; gap: 14px; align-items: center; color: var(--text); }
.hh-event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); flex: 0 0 auto; line-height: 1; }
.hh-event__date b { font-family: var(--font-display); font-size: 1.3rem; color: var(--primary); }
.hh-event__date span { font-size: .68rem; text-transform: uppercase; color: var(--text-muted); }
.hh-event__txt { display: flex; flex-direction: column; gap: 2px; }
.hh-event__txt b { font-size: .95rem; }
.hh-event__txt .muted { font-size: .8rem; }
.hh-portal { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--olive-deep); color: var(--primary-contrast); min-height: 220px; display: flex; align-items: center; }
.hh-portal__body { position: relative; z-index: 2; padding: 26px; }
.hh-portal__body h3 { color: #fff; font-size: 1.4rem; margin: 4px 0 18px; max-width: 14ch; }
.hh-portal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; z-index: 1; }

@media (max-width: 900px) {
  .section { padding: 52px 0; }
  /* Hero stacks: full mosaic on top, headline below */
  .hh-hero { flex-direction: column; min-height: 0; }
  .hh-hero__art { position: static; order: -1; width: 100%; height: auto; max-width: 520px; object-fit: contain;
    inset-inline-end: auto; top: auto; margin: 0 auto 6px; }
  .hh-mosaic { height: auto; justify-content: center; }
  .hh-mosaic__rot { height: auto; width: 100%; }
  .hh-hero .container { order: 1; }
  .hh-hero__text { max-width: none; align-self: auto; padding: 6px 0 2px; text-align: center; }
  .hh-hero__body { margin-inline: auto; }
  .hh-hero__cta { justify-content: center; }
  /* Districts stack: intro on top, cards below */
  .hh-dx { padding: 44px 0; }
  .hh-dx__wrap { grid-template-columns: 1fr; gap: 26px; }
  .hh-dx__intro { text-align: center; }
  .hh-dx__intro .muted { max-width: none; }
  .hh-dx__intro .btn { margin-inline: auto; }
  .hh-dx__cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  /* Pillars stack: olive card on top (full width), cards below */
  .hh-pillars { grid-template-columns: 1fr; }
  .hh-pillars__lead { padding: 30px; }
  .hh-pillars__lead::before { display: none; }
  .hh-pillars__right { padding: 26px 16px 38px; }
  .hh-pillars__cards { grid-template-columns: 1fr 1fr; }
  .hh-foot3__grid { grid-template-columns: 1fr; gap: 30px; }
  .hh-foot3__grid > * + *::before { display: none; }
  .hh-foot-col .more-link { margin-top: 14px; }
  /* Stats wrap into tidy centered rows (no flex-stretch / no dividers) below 900px */
  .hh-stats__row { justify-content: center; gap: 20px 34px; }
  .hh-stat { flex: 0 1 auto; min-width: 0; padding: 4px 4px; }
  .hh-stat + .hh-stat::before { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 42px 0; }
  .hh-dx__cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hh-pillars__cards { grid-template-columns: 1fr; }
  .hh-stats__row { gap: 16px 22px; padding: 22px 0; }
  .hh-stat__n { font-size: 1.5rem; }
  .hh-hero__cta { width: 100%; }
  .hh-hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============ Districts experience (dx-* index, dxd-* guide) ============ */
.dx-intro { padding: 64px 0 30px; text-align: center;
  background: radial-gradient(120% 130% at 50% 0%, rgba(185,147,63,.10), transparent 60%), var(--bg); }
.dx-intro__inner { max-width: 780px; margin: 0 auto; }
.dx-intro h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--hero-ink); margin: 6px 0 12px; line-height: 1.06; }
.dx-intro p { color: var(--text-muted); font-size: 1.05rem; max-width: 62ch; margin: 0 auto; line-height: 1.65; }
.dx-intro__nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.dx-pill { padding: 8px 17px; border: 1px solid var(--border); border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: var(--text); background: var(--surface); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.dx-pill:hover { background: var(--primary); color: var(--primary-contrast); border-color: var(--primary); transform: translateY(-2px); }

.dx-band { padding: 38px 0; }
.dx-band__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 50px; align-items: center; }
.dx-band--rev .dx-band__media { order: 2; }
.dx-band__media { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; }
.dx-band__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.dx-band__media:hover img { transform: scale(1.05); }
.dx-band__no { position: absolute; top: 6px; inset-inline-start: 18px; font-family: var(--font-display); font-size: 3.2rem;
  font-weight: 700; color: #fff; opacity: .9; text-shadow: 0 2px 16px rgba(0,0,0,.45); pointer-events: none; }
.dx-kick { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--accent); }
.dx-kick--light { color: var(--gold); }
.dx-band__body h2 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--hero-ink); margin: 2px 0 12px; }
.dx-ar { font-size: .58em; color: var(--text-muted); font-weight: 500; margin-inline-start: 10px; }
.dx-lede { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; max-width: 54ch; }
.dx-chips { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.dx-chips li { padding: 6px 13px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; font-size: .82rem; color: var(--text); }
.dx-chips--lg li { font-size: .95rem; padding: 9px 17px; }
.dx-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.dx-cta--center { justify-content: center; }

/* Guide page */
.dxd-hero { position: relative; min-height: 470px; display: flex; align-items: flex-end; overflow: hidden; }
.dxd-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.dxd-hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(18,14,8,.88), rgba(18,14,8,.30) 55%, rgba(18,14,8,.45)); }
.dxd-hero__inner { position: relative; z-index: 2; padding: 54px 0 48px; color: #fff; max-width: 730px; }
.dxd-back { color: rgba(255,255,255,.85); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.dxd-back:hover { color: #fff; }
.dxd-back__arr { display: inline-block; transform: scaleX(-1); }
.dxd-title { font-size: clamp(2.6rem, 6vw, 4.4rem); color: #fff; line-height: 1.04; margin: 4px 0 14px; }
.dxd-title .dx-ar { color: rgba(255,255,255,.72); }
.dxd-intro { color: rgba(255,255,255,.92); font-size: 1.08rem; line-height: 1.6; max-width: 56ch; margin: 0 0 24px; }

.dxd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dxd-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.dxd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.dxd-card__pin { color: var(--accent); display: block; }
.dxd-card__pin svg { width: 24px; height: 24px; }
.dxd-card h3 { font-size: 1.18rem; margin: 10px 0 5px; }
.dxd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.dxd-special { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 11px; }
.dxd-special li { position: relative; padding-inline-start: 26px; color: var(--text); line-height: 1.5; }
.dxd-special li::before { content: "✦"; position: absolute; inset-inline-start: 0; color: var(--gold); }
.dxd-foot__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.dxd-foot__inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--hero-ink); margin-bottom: 6px; }

@media (max-width: 860px) {
  .dx-band__grid { grid-template-columns: 1fr; gap: 22px; }
  .dx-band--rev .dx-band__media { order: 0; }
  .dx-band { padding: 26px 0; }
  .dxd-grid { grid-template-columns: 1fr 1fr; }
  .dxd-two { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .dxd-grid { grid-template-columns: 1fr; }
  .dxd-hero { min-height: 400px; }
}

/* Member profile editor (avatar + fields) */
.profile-edit { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.profile-edit__av { display: flex; flex-direction: column; align-items: center; gap: 9px; flex: 0 0 auto; }
.profile-edit__img, .profile-edit__init { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.profile-edit__init { background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; }
.profile-edit__form { flex: 1 1 280px; min-width: 230px; }
/* sidebar avatar shows an uploaded image cleanly */
.dash__avatar { background-size: cover; background-position: center; overflow: hidden; }

/* admin gallery manager grid */
.gal-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.gal-admin__item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.gal-admin__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gal-admin__cap { margin: 8px 8px 0; }
.gal-admin__row { display: flex; gap: 6px; align-items: center; margin: 8px; }
.gal-admin__sort { width: 70px; flex: 0 0 auto; }
