/* ═══════════════════════════════════════════════════════
   UME.ae — Shared Design System
   RTL-first, UAE palette, Cairo + Vazirmatn + Inter
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Vazirmatn:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');

/* ── Tokens ── */
:root {
  /* Brand */
  --gold:       #C8A24A;
  --gold-lt:    #E2C06A;
  --gold-dk:    #9A7530;
  --gold-bg:    rgba(200, 162, 74, .10);
  --navy:       #0A1628;
  --navy-2:     #0F1E38;
  --navy-3:     #152844;
  --teal:       #00A19D;
  --teal-lt:    #00C9C4;
  --teal-bg:    rgba(0, 161, 157, .10);
  --coral:      #D94F3A;
  --coral-lt:   #F06650;
  --coral-bg:   rgba(217, 79, 58, .10);
  --uae-red:    #CC2936;

  /* Neutrals (light mode) */
  --bg:         #F8F6F1;
  --bg-2:       #FFFFFF;
  --bg-3:       #EEEBe4;
  --bg-inv:     #0A1628;
  --fg:         #111827;
  --fg-2:       #374151;
  --fg-3:       #6B7280;
  --fg-inv:     #F8F6F1;
  --border:     rgba(17, 24, 39, .10);
  --border-2:   rgba(17, 24, 39, .06);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Typography */
  --font-ar: 'Cairo', 'Segoe UI', system-ui, sans-serif;
  --font-fa: 'Vazirmatn', 'Cairo', system-ui, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, sans-serif;
  --font-hi: 'Noto Sans Devanagari', system-ui, sans-serif;

  /* Layout */
  --max-w:   1280px;
  --gutter:  20px;
  --nav-h:   64px;

  color-scheme: light;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:       #070D1A;
    --bg-2:     #0D1628;
    --bg-3:     #13213A;
    --bg-inv:   #F8F6F1;
    --fg:       #F0EBE0;
    --fg-2:     #B8C4D0;
    --fg-3:     #6B7F96;
    --fg-inv:   #0A1628;
    --border:   rgba(255,255,255,.08);
    --border-2: rgba(255,255,255,.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
    --shadow:    0 4px 16px rgba(0,0,0,.4);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:       #070D1A;
  --bg-2:     #0D1628;
  --bg-3:     #13213A;
  --bg-inv:   #F8F6F1;
  --fg:       #F0EBE0;
  --fg-2:     #B8C4D0;
  --fg-3:     #6B7F96;
  --fg-inv:   #0A1628;
  --border:   rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow:    0 4px 16px rgba(0,0,0,.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.5);
  color-scheme: dark;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body {
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .2s, color .2s;
}
img, video { max-width: 100%; display: block }
a { color: var(--teal); text-decoration: none }
a:hover { color: var(--teal-lt) }
button { cursor: pointer; font-family: inherit }
input, textarea, select { font-family: inherit }

/* ── Language-specific typography ── */
.lang-ar, [lang="ar"] { font-family: var(--font-ar) }
.lang-fa, [lang="fa"] { font-family: var(--font-fa) }
.lang-en, [lang="en"] { font-family: var(--font-en) }
.lang-hi, [lang="hi"] { font-family: var(--font-hi) }
.lang-ur, [lang="ur"] { font-family: var(--font-ar) }

/* Default: Arabic */
body { font-family: var(--font-ar) }

/* ── Layout ── */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Flex & Grid utilities ── */
.flex { display: flex }
.flex-col { flex-direction: column }
.items-center { align-items: center }
.items-start { align-items: flex-start }
.justify-between { justify-content: space-between }
.justify-center { justify-content: center }
.gap-1 { gap: 4px } .gap-2 { gap: 8px } .gap-3 { gap: 12px }
.gap-4 { gap: 16px } .gap-5 { gap: 20px } .gap-6 { gap: 24px }
.grid { display: grid }

/* ── Text utilities ── */
.text-center { text-align: center }
.text-sm { font-size: .875rem }
.text-xs { font-size: .75rem }
.text-lg { font-size: 1.125rem }
.text-xl { font-size: 1.25rem }
.text-2xl { font-size: 1.5rem }
.text-3xl { font-size: 1.875rem }
.font-medium { font-weight: 500 }
.font-semibold { font-weight: 600 }
.font-bold { font-weight: 700 }
.font-extrabold { font-weight: 800 }
.text-muted { color: var(--fg-3) }
.text-gold { color: var(--gold) }
.text-teal { color: var(--teal) }
.text-coral { color: var(--coral) }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.text-balance { text-wrap: balance }
.tabnum { font-variant-numeric: tabular-nums }

/* ── ═══ NAVIGATION ═══ ── */
.ume-nav {
  position: sticky;
  top: env(safe-area-inset-top, 0);
  z-index: 200;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-ar);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1;
}
.nav-logo-text span { color: var(--gold) }
.nav-logo-sub {
  font-size: .6rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  display: block;
  padding: .4em .85em;
  font-size: .87rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: .4em .8em;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.lang-btn:hover { background: rgba(255,255,255,.14) }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 160px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  display: none;
}
.lang-dropdown.open { display: block }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: .87rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  transition: background .12s;
}
.lang-option:hover { background: var(--bg-3) }
.lang-option.active { color: var(--gold); background: var(--gold-bg) }
.lang-option .flag { font-size: 1rem }

.theme-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  cursor: pointer;
  transition: background .15s;
}
.theme-btn:hover { background: rgba(255,255,255,.14); color: #fff }

.nav-hamburger {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links { display: none }
  .nav-hamburger { display: flex }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--navy);
  z-index: 190;
  padding: 20px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .12s;
}
.mobile-menu a:hover { background: rgba(255,255,255,.08); color: #fff }

/* ── ═══ HERO ═══ ── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-block: 80px 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg canvas {
  width: 100%; height: 100%;
  opacity: .4;
}
/* Geometric pattern overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(200,162,74,.06) 0%, transparent 50%),
    linear-gradient(225deg, rgba(0,161,157,.06) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1 }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .35em .9em;
  background: rgba(200,162,74,.15);
  border: 1px solid rgba(200,162,74,.3);
  border-radius: 40px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-lt);
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
  text-wrap: balance;
}
.hero-title .accent { color: var(--gold-lt) }
.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.65);
  max-width: 55ch;
  margin-bottom: 36px;
  line-height: 1.7;
}
.dir-rtl .hero-subtitle { max-width: 100% }

/* Search bar */
.search-bar {
  display: flex;
  gap: 0;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(200,162,74,.2);
  max-width: 680px;
  margin-bottom: 16px;
}
.search-input {
  flex: 1;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--fg);
  outline: none;
  min-width: 0;
}
.search-input::placeholder { color: var(--fg-3) }
.search-btn {
  padding: 12px 24px;
  background: var(--gold);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-btn:hover { background: var(--gold-lt) }
.search-btn:active { background: var(--gold-dk) }

.near-me-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .5em 1em;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
}
.near-me-btn:hover { background: rgba(255,255,255,.14) }

/* Hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat-n {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-lt);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: block;
}
.hero-stat-l {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

/* ── ═══ SECTION STYLES ═══ ── */
section { padding-block: 64px }
.section-alt { background: var(--bg-3) }
.section-inv { background: var(--navy) }
.section-header { margin-bottom: 48px }
.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 12px;
  text-wrap: balance;
}
.section-inv .section-title { color: #fff }
.section-sub {
  font-size: 1rem;
  color: var(--fg-3);
  max-width: 55ch;
  line-height: 1.65;
}
.section-inv .section-sub { color: rgba(255,255,255,.55) }

/* ── ═══ CATEGORY GRID ═══ ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  color: var(--fg);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
  color: var(--fg);
}
.cat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.cat-name {
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3;
}
.cat-count { font-size: .7rem; color: var(--fg-3) }

/* Category color themes */
.cat-restaurant .cat-icon { background: rgba(217,79,58,.12); }
.cat-hotel .cat-icon      { background: rgba(200,162,74,.12); }
.cat-business .cat-icon   { background: rgba(0,161,157,.12); }
.cat-culture .cat-icon    { background: rgba(138,90,200,.12); }
.cat-outdoor .cat-icon    { background: rgba(34,197,94,.12); }
.cat-safety .cat-icon     { background: rgba(59,130,246,.12); }
.cat-amusement .cat-icon  { background: rgba(251,146,60,.12); }
.cat-automotive .cat-icon { background: rgba(100,116,139,.12); }

/* ── ═══ EMIRATE CARDS ═══ ── */
.emirate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.emirate-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  min-height: 160px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: var(--shadow-sm);
}
.emirate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg) }
.emirate-card-bg {
  position: absolute;
  inset: 0;
  transition: transform .3s;
}
.emirate-card:hover .emirate-card-bg { transform: scale(1.04) }
/* Unique gradient per emirate */
.em-dubai .emirate-card-bg        { background: linear-gradient(150deg, #0D2137 0%, #1A3A5C 100%) }
.em-abu-dhabi .emirate-card-bg    { background: linear-gradient(150deg, #0A2918 0%, #1A5C35 100%) }
.em-sharjah .emirate-card-bg      { background: linear-gradient(150deg, #2A1A08 0%, #5C3A14 100%) }
.em-ajman .emirate-card-bg        { background: linear-gradient(150deg, #1A0A28 0%, #3D1A5C 100%) }
.em-rak .emirate-card-bg          { background: linear-gradient(150deg, #0A2828 0%, #1A5C58 100%) }
.em-fujairah .emirate-card-bg     { background: linear-gradient(150deg, #1A2A08 0%, #3A5C1A 100%) }
.em-uaq .emirate-card-bg          { background: linear-gradient(150deg, #280A0A 0%, #5C1A1A 100%) }

.emirate-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%);
}
.emirate-card-content {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  padding: 16px;
  color: #fff;
}
.emirate-pattern {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 48px; height: 48px;
  opacity: .15;
  font-size: 3rem;
  line-height: 1;
}
.emirate-name {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.emirate-desc {
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.emirate-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(200,162,74,.25);
  border: 1px solid rgba(200,162,74,.4);
  border-radius: 20px;
  padding: .2em .65em;
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold-lt);
}

/* ── ═══ PLACE CARDS ═══ ── */
.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.place-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--fg);
}
.place-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--fg) }
.place-card-accent { height: 4px }
.place-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 10px }
.place-card-top { display: flex; gap: 12px; align-items: flex-start }
.place-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.place-card-meta { flex: 1; min-width: 0 }
.place-name { font-size: .95rem; font-weight: 700; line-height: 1.3; margin-bottom: 3px }
.place-cat-em {
  font-size: .75rem;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.place-desc {
  font-size: .8rem;
  color: var(--fg-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.place-tags { display: flex; flex-wrap: wrap; gap: 5px }
.place-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--border-2);
  background: var(--bg-3);
}
.place-addr { font-size: .73rem; color: var(--fg-3); flex: 1; min-width: 0 }

/* ── ═══ TAGS & BADGES ═══ ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: .22em .65em;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.tag-gold    { background: var(--gold-bg); color: var(--gold) }
.tag-teal    { background: var(--teal-bg); color: var(--teal) }
.tag-coral   { background: var(--coral-bg); color: var(--coral) }
.tag-muted   { background: var(--bg-3); color: var(--fg-3) }
.tag-navy    { background: rgba(10,22,40,.8); color: rgba(255,255,255,.8) }
.tag-success { background: rgba(34,197,94,.1); color: #16a34a }

/* Category accent colors */
.accent-restaurant { background: linear-gradient(90deg, var(--coral), #F08060) }
.accent-hotel      { background: linear-gradient(90deg, var(--gold), var(--gold-lt)) }
.accent-business   { background: linear-gradient(90deg, var(--teal), var(--teal-lt)) }
.accent-culture    { background: linear-gradient(90deg, #7C3AED, #A855F7) }
.accent-outdoor    { background: linear-gradient(90deg, #16A34A, #4ADE80) }
.accent-safety     { background: linear-gradient(90deg, #2563EB, #60A5FA) }
.accent-amusement  { background: linear-gradient(90deg, #EA580C, #FB923C) }
.accent-automotive { background: linear-gradient(90deg, #475569, #94A3B8) }

.bg-restaurant { background: rgba(217,79,58,.1) }
.bg-hotel      { background: rgba(200,162,74,.1) }
.bg-business   { background: rgba(0,161,157,.1) }
.bg-culture    { background: rgba(124,58,237,.1) }
.bg-outdoor    { background: rgba(22,163,74,.1) }
.bg-safety     { background: rgba(37,99,235,.1) }
.bg-amusement  { background: rgba(234,88,12,.1) }
.bg-automotive { background: rgba(71,85,105,.1) }

/* ── ═══ BUTTONS ═══ ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .65em 1.4em;
  font-size: .9rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold    { background: var(--gold); color: #fff }
.btn-gold:hover   { background: var(--gold-lt); color: #fff }
.btn-teal    { background: var(--teal); color: #fff }
.btn-teal:hover   { background: var(--teal-lt); color: #fff }
.btn-navy    { background: var(--navy); color: #fff }
.btn-ghost   { background: transparent; border: 1.5px solid var(--border); color: var(--fg) }
.btn-ghost:hover  { background: var(--bg-3) }
.btn-ghost-inv { background: transparent; border: 1.5px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85) }
.btn-ghost-inv:hover { background: rgba(255,255,255,.08); color: #fff }
.btn-sm { padding: .45em 1em; font-size: .8rem }
.btn-lg { padding: .85em 2em; font-size: 1rem }

/* ── ═══ FORMS ═══ ── */
.form-group { display: flex; flex-direction: column; gap: 6px }
.form-label { font-size: .82rem; font-weight: 600; color: var(--fg-2) }
.form-input {
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  color: var(--fg);
  outline: none;
  transition: border-color .15s;
}
.form-input:focus { border-color: var(--teal) }
.form-select {
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  color: var(--fg);
  cursor: pointer;
  outline: none;
}
.form-select:focus { border-color: var(--teal) }

/* ── ═══ FILTER BAR ═══ ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: .4em .9em;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--fg-2);
  cursor: pointer;
  font-family: inherit;
  transition: all .12s;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold) }
.filter-chip.active { background: var(--gold-bg); border-color: var(--gold); color: var(--gold) }

/* ── ═══ UAE PRIDE SECTION ═══ ── */
.pride-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.pride-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(200,162,74,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0,161,157,.06) 0%, transparent 50%);
}
.pride-content { position: relative; z-index: 1 }
.pride-quote-block {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  padding-block: 48px;
}
.pride-quote-mark {
  font-size: 5rem;
  line-height: .5;
  color: var(--gold);
  opacity: .4;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 20px;
}
.pride-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.pride-sheikh-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold-lt);
}
.pride-sheikh-title {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}
.pride-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}
.pride-stat {
  background: rgba(255,255,255,.03);
  padding: 24px;
  text-align: center;
}
.pride-stat-n {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-lt);
  font-variant-numeric: tabular-nums;
  display: block;
}
.pride-stat-l {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  font-weight: 600;
}

/* ── ═══ FOR BUSINESS ═══ ── */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.biz-feature {
  padding: 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
}
.biz-feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.biz-feature-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 6px }
.biz-feature-desc { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.55 }

/* ── ═══ FOOTER ═══ ── */
.site-footer {
  background: var(--navy-2);
  color: rgba(255,255,255,.5);
  padding-block: 48px 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr }
}
.footer-logo-text {
  font-family: var(--font-ar);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}
.footer-logo-text span { color: var(--gold) }
.footer-tagline { font-size: .85rem; margin-top: 6px; margin-bottom: 16px }
.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: color .12s;
}
.footer-links a:hover { color: var(--gold-lt) }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .78rem;
}
.footer-uae { color: rgba(255,255,255,.35) }
.footer-osm { font-size: .72rem; color: rgba(255,255,255,.25) }

/* ── ═══ PWA INSTALL BANNER ═══ ── */
.pwa-banner {
  position: fixed;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 500;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  transform: translateY(0);
  transition: transform .3s;
}
.pwa-banner[hidden] { display: none }
.pwa-app-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.pwa-text { flex: 1; min-width: 0 }
.pwa-title { font-size: .9rem; font-weight: 700; color: #fff }
.pwa-desc { font-size: .75rem; color: rgba(255,255,255,.5) }
.pwa-actions { display: flex; gap: 8px; flex-shrink: 0 }

/* ── ═══ LOADING ═══ ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 0%, var(--border-2) 50%, var(--bg-3) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer {
  0% { background-position: -200% 0 }
  100% { background-position: 200% 0 }
}
.spinner {
  width: 24px; height: 24px;
  border: 2.5px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* ── ═══ TOAST ═══ ── */
.toast-container {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  color: #fff;
  font-size: .87rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideIn .25s ease;
  max-width: 340px;
}
.toast.success { border-color: rgba(34,197,94,.3) }
.toast.error   { border-color: rgba(217,79,58,.3) }
@keyframes slideIn { from { transform: translateX(60px); opacity: 0 } to { transform: translateX(0); opacity: 1 } }

/* ── ═══ RESPONSIVE ═══ ── */
@media (max-width: 640px) {
  section { padding-block: 48px }
  .hero { padding-block: 56px 40px }
  .search-bar { border-radius: var(--radius) }
  .cat-grid { grid-template-columns: repeat(3, 1fr) }
  .emirate-grid { grid-template-columns: repeat(2, 1fr) }
  .place-grid { grid-template-columns: 1fr }
}

/* ── ═══ RTL SPECIFIC ═══ ── */
[dir="rtl"] .search-btn { border-radius: var(--radius-sm) 0 0 var(--radius-sm) }
[dir="ltr"] .search-btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0 }

/* ── ═══ TRANSITIONS ═══ ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important }
}

/* ── ═══ SCROLLBAR ═══ ── */
::-webkit-scrollbar { width: 6px; height: 6px }
::-webkit-scrollbar-track { background: transparent }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px }
::-webkit-scrollbar-thumb:hover { background: var(--fg-3) }

/* ── ═══ SELECTION ═══ ── */
::selection { background: rgba(200,162,74,.25); color: var(--fg) }

/* ══════════════════════════════════════════════════════════
   UME.ae — Additional Components (appended)
   ══════════════════════════════════════════════════════════ */

/* ── Navigation ──────────────────────────────────────────── */
.ume-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.ume-nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--nav-h); display: flex; align-items: center; gap: 1rem;
}
.ume-nav__logo {
  display: flex; align-items: baseline; gap: 1px;
  text-decoration: none; flex-shrink: 0;
}
.ume-nav__logo-mark { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -1px; font-family: var(--font-en); }
.ume-nav__logo-dot  { font-size: 1.5rem; font-weight: 900; color: var(--gold); }
.ume-nav__logo-ae   { font-size: 1.5rem; font-weight: 900; color: var(--teal); font-family: var(--font-en); }
.ume-nav__links {
  display: flex; list-style: none; gap: .25rem; flex: 1; margin-inline-start: 1rem;
}
.ume-nav__links a {
  color: rgba(255,255,255,.65); text-decoration: none; font-size: .875rem; font-weight: 500;
  padding: .4rem .75rem; border-radius: var(--radius-sm); transition: all .2s; white-space: nowrap;
}
.ume-nav__links a:hover, .ume-nav__links a.active { background: rgba(255,255,255,.08); color: #fff; }
@media(max-width:768px) { .ume-nav__links { display: none; } }
.ume-nav__controls { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }

/* Language switcher */
.lang-switcher { display: flex; gap: 2px; align-items: center; }
.lang-btn {
  background: transparent; border: none; cursor: pointer;
  font-size: 1.1rem; padding: .3rem; border-radius: var(--radius-sm);
  opacity: .5; transition: all .2s; line-height: 1;
}
.lang-btn:hover { opacity: .85; background: rgba(255,255,255,.1); }
.lang-btn.active { opacity: 1; background: rgba(255,255,255,.12); }
@media(max-width:480px) { .lang-switcher { display: none; } }

/* Mobile nav */
.ume-nav__burger { color: rgba(255,255,255,.8) !important; font-size: 1.3rem; }
.ume-nav__mobile {
  display: none; flex-direction: column; gap: .5rem;
  padding: 1rem var(--gutter); background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,.06);
}
.ume-nav__mobile.open { display: flex; }
.ume-nav__mobile a {
  color: rgba(255,255,255,.75); text-decoration: none; font-size: .95rem;
  padding: .55rem .75rem; border-radius: var(--radius-sm); transition: all .2s;
}
.ume-nav__mobile a:hover { background: rgba(255,255,255,.06); color: #fff; }
.lang-switcher-mobile { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.06); margin-top: .25rem; }
.lang-switcher-mobile button {
  background: rgba(255,255,255,.06); border: none; color: rgba(255,255,255,.7);
  padding: .35rem .75rem; border-radius: 2rem; font-size: .82rem; cursor: pointer; font-family: inherit;
}
.lang-switcher-mobile button:hover { background: rgba(255,255,255,.12); color: #fff; }

/* btn-icon */
.btn-icon {
  background: transparent; border: none; cursor: pointer; padding: .45rem;
  border-radius: var(--radius-sm); color: rgba(255,255,255,.65); font-size: 1.1rem;
  line-height: 1; transition: background .2s;
}
.btn-icon:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ── Section layout ──────────────────────────────────────── */
.section { padding: 4rem 1rem; }
.section--alt { background: var(--bg-2); }
.section__inner { max-width: var(--max-w); margin: 0 auto; }

/* ── Buttons (missing variants) ──────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; border: none; border-radius: var(--radius-sm); font-family: inherit; font-weight: 700; cursor: pointer; transition: all .2s; line-height: 1; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: .35rem .8rem; font-size: .8rem; }
.btn-gold { background: var(--gold); color: var(--navy); padding: .55rem 1.25rem; font-size: .9rem; }
.btn-gold:hover { background: var(--gold-lt); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--fg-2); padding: .5rem 1.1rem; font-size: .88rem; }
.btn-outline:hover { background: var(--bg-3); border-color: var(--fg-3); }
.btn-outline-light { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.3); color: #fff; padding: .55rem 1.25rem; font-size: .9rem; }
.btn-outline-light:hover { background: rgba(255,255,255,.2); }
.btn-ghost { background: transparent; border: none; color: var(--teal); padding: .45rem .8rem; font-size: .88rem; }
.btn-ghost:hover { background: var(--teal-bg); }
.btn-white { background: #fff; color: var(--navy); padding: .7rem 2rem; font-size: .95rem; border-radius: var(--radius); }
.btn-white:hover { background: rgba(255,255,255,.9); }
.w-full { width: 100%; justify-content: center; }

/* ── Search bar ──────────────────────────────────────────── */
.search-bar {
  display: flex; align-items: center; background: #fff;
  border: 2px solid rgba(255,255,255,.2); border-radius: var(--radius-xl);
  padding: .35rem .35rem .35rem .85rem; gap: .5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: border-color .2s, box-shadow .2s;
}
.search-bar:focus-within { border-color: var(--gold); box-shadow: 0 4px 20px rgba(200,162,74,.2); }
.search-bar__icon { font-size: 1.1rem; color: var(--fg-3); flex-shrink: 0; }
.search-bar__input { flex: 1; border: none; outline: none; background: transparent; font-family: inherit; font-size: 1rem; color: var(--fg); min-width: 0; }
.search-bar__input::placeholder { color: var(--fg-3); }
.search-bar__btn { flex-shrink: 0; }

/* Search suggestions dropdown */
.search-suggestions {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); margin-top: .5rem; overflow: hidden;
  display: flex; flex-direction: column;
}
.sug-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1rem; background: transparent; border: none;
  cursor: pointer; text-align: start; font-family: inherit; font-size: .9rem;
  color: var(--fg); transition: background .15s; width: 100%;
}
.sug-item:hover { background: var(--bg-3); }
.sug-icon { font-size: 1.1rem; flex-shrink: 0; }
.sug-name { flex: 1; font-weight: 600; }
.sug-em { font-size: .78rem; color: var(--fg-3); }

/* ── Category cards ──────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1rem; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem .75rem; text-decoration: none; color: var(--fg);
  transition: all .2s; box-shadow: var(--shadow-sm); text-align: center;
  border-top: 3px solid transparent;
}
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-card__icon { font-size: 1.8rem; }
.cat-card__label { font-size: .85rem; font-weight: 700; }
.cat-card__count { font-size: .72rem; color: var(--fg-3); }
.accent-restaurant { border-top-color: #E74C3C; }
.accent-cafe       { border-top-color: #8B6914; }
.accent-hotel      { border-top-color: #3498DB; }
.accent-mosque     { border-top-color: #27AE60; }
.accent-shopping   { border-top-color: #9B59B6; }
.accent-hospital   { border-top-color: #E91E63; }
.accent-school     { border-top-color: #FF9800; }
.accent-bank       { border-top-color: #2C3E50; }
.accent-park       { border-top-color: #4CAF50; }
.accent-beach      { border-top-color: #00BCD4; }
.accent-attraction { border-top-color: #FF5722; }
.accent-entertainment { border-top-color: #673AB7; }
.accent-automotive { border-top-color: #607D8B; }
.accent-business   { border-top-color: #795548; }

/* ── Emirate cards ───────────────────────────────────────── */
.emirate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.emirate-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: #fff; min-height: 180px; display: flex;
  align-items: flex-end; transition: transform .25s, box-shadow .25s;
}
.emirate-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg); }
.emirate-card__bg {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.emirate-card__body { position: relative; z-index: 1; padding: 1.25rem; width: 100%; }
.emirate-card__icon { font-size: 1.5rem; margin-bottom: .35rem; display: block; }
.emirate-card__name { font-size: 1.1rem; font-weight: 800; margin-bottom: .2rem; }
.emirate-card__desc { font-size: .75rem; opacity: .8; margin-bottom: .3rem; }
.emirate-card__cnt  { font-size: .72rem; opacity: .6; }
.em-dubai      { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%); }
.em-abu-dhabi  { background: linear-gradient(135deg, #1a3a1a 0%, #0a2e0a 40%, #1a5c1a 100%); }
.em-sharjah    { background: linear-gradient(135deg, #2e1a0a 0%, #4a2c0a 40%, #6b3d0a 100%); }
.em-ajman      { background: linear-gradient(135deg, #0a1a2e 0%, #0a2a4e 40%, #0a3a6e 100%); }
.em-rak        { background: linear-gradient(135deg, #1a0a0a 0%, #3a1a0a 40%, #5a2a0a 100%); }
.em-fujairah   { background: linear-gradient(135deg, #0a2a2a 0%, #0a3a4a 40%, #0a4a5a 100%); }
.em-uaq        { background: linear-gradient(135deg, #1a0a2e 0%, #2e0a4e 40%, #4e0a6e 100%); }

/* ── Place cards ─────────────────────────────────────────── */
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.place-grid--list { grid-template-columns: 1fr; }
.place-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem;
  transition: box-shadow .2s, border-color .2s; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--border);
}
.place-card:hover { box-shadow: var(--shadow); border-color: rgba(200,162,74,.3); border-top-color: var(--gold); }
.place-card__header { display: flex; align-items: flex-start; gap: .75rem; }
.place-card__icon { font-size: 1.8rem; flex-shrink: 0; }
.place-card__meta { flex: 1; min-width: 0; }
.place-card__name { font-size: .95rem; font-weight: 800; color: var(--fg); line-height: 1.3; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-card__em { font-size: .75rem; color: var(--fg-3); margin-top: .1rem; }
.place-card__save { color: var(--fg-3); font-size: 1rem; }
.place-card__rating { display: flex; align-items: center; gap: .4rem; font-size: .8rem; }
.stars { color: var(--gold); letter-spacing: -1px; }
.count { color: var(--fg-3); }
.place-card__tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.tag { background: var(--bg-3); color: var(--fg-2); border-radius: 2rem; padding: .15rem .6rem; font-size: .72rem; font-weight: 600; }
.place-card__footer { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: auto; }
.place-card__phone { font-size: .8rem; color: var(--teal); text-decoration: none; }
.place-card__hours { font-size: .75rem; color: var(--fg-3); }

/* ── Filter bar ──────────────────────────────────────────── */
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; padding: .5rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-pill {
  background: var(--bg-2); border: 1.5px solid var(--border);
  color: var(--fg-2); border-radius: 2rem; padding: .4rem 1rem;
  font-size: .83rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  font-family: inherit; transition: all .2s;
}
.filter-pill:hover { border-color: var(--gold); color: var(--gold); }
.filter-pill.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ── Site footer ─────────────────────────────────────────── */
.site-footer { background: var(--navy-2); color: rgba(255,255,255,.55); }
.site-footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  max-width: var(--max-w); margin: 0 auto; padding: 3.5rem 1rem 2rem;
}
@media(max-width:768px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer__brand {}
.site-footer__tagline { font-size: .85rem; margin-top: .5rem; margin-bottom: 1rem; color: rgba(255,255,255,.45); }
.site-footer__langs { display: flex; flex-wrap: wrap; gap: .35rem; }
.site-footer__langs button {
  background: rgba(255,255,255,.07); border: none; color: rgba(255,255,255,.5);
  padding: .25rem .65rem; border-radius: 2rem; font-size: .75rem; cursor: pointer; font-family: inherit;
}
.site-footer__langs button:hover { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.site-footer__col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .85rem; }
.site-footer__col a { display: block; color: rgba(255,255,255,.5); text-decoration: none; font-size: .85rem; margin-bottom: .45rem; transition: color .15s; }
.site-footer__col a:hover { color: var(--gold-lt); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 1.25rem 1rem; text-align: center; font-size: .78rem; color: rgba(255,255,255,.3); max-width: var(--max-w); margin: 0 auto; }

/* ── PWA banner (updated) ────────────────────────────────── */
.pwa-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  background: var(--navy-2); border-top: 1px solid rgba(200,162,74,.2);
  padding: .85rem 1.25rem; display: flex; align-items: center; gap: .75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  transform: translateY(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.pwa-banner.show { transform: translateY(0); }
.pwa-banner__icon { font-size: 1.8rem; flex-shrink: 0; }
.pwa-banner__text { flex: 1; }
.pwa-banner__text strong { display: block; color: #fff; font-size: .9rem; }
.pwa-banner__text span { font-size: .78rem; color: rgba(255,255,255,.55); }

/* ── Toast (updated) ─────────────────────────────────────── */
.toast { opacity: 0; transform: translateY(8px); transition: all .3s; pointer-events: auto; }
.toast.show { opacity: 1; transform: none; }
.toast--success { border-inline-start: 4px solid #22c55e; }
.toast--error   { border-inline-start: 4px solid var(--coral); }
.toast--warning { border-inline-start: 4px solid var(--gold); }

/* ── Empty states ────────────────────────────────────────── */
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--fg-3); }
.empty-state__icon { font-size: 3.5rem; margin-bottom: 1rem; }

/* ── Utility ─────────────────────────────────────────────── */
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
