/* ==========================================================================
   UAEBusiness.ae — UAE Business Directory
   Design system & site styles
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0a1a2a;
  --navy: #0d2438;
  --navy-2: #14344f;
  --navy-3: #1c415f;
  --gold: #8f6a2f;
  --gold-2: #d3b276;
  --gold-soft: #f0e5d2;
  --sand: #f5f1e8;
  --paper: #fcfaf5;
  --white: #ffffff;
  --line: #e4ded1;
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted: #6c685f;
  --muted-2: #918c81;
  --green: #1f5c4b;
  --red: #9b3b2f;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;

  --shadow-sm: 0 1px 2px rgba(10, 26, 42, .05);
  --shadow-md: 0 18px 48px -24px rgba(10, 26, 42, .28);
  --shadow-lg: 0 40px 90px -40px rgba(10, 26, 42, .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-2); color: var(--ink); }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 16px; font-size: 13px;
}
.skip-link:focus { top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7;
}
.eyebrow--center::after {
  content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7;
}
.eyebrow--dark { color: var(--gold-2); }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--navy); color: #fff; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-head__text { max-width: 640px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-top: 14px;
}
.section-lede { color: var(--muted); margin-top: 16px; max-width: 560px; font-size: 15.5px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--gold);
  transition: gap .25s var(--ease), color .2s;
}
.link-arrow:hover { gap: 16px; color: var(--gold); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 24px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: #a37f3f; border-color: #a37f3f; }
.btn--ink { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--ink:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.34); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 10.5px; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.66);
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar__left { display: flex; align-items: center; gap: 10px; }
.topbar__dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--gold-2); }
.topbar__sep { opacity: .25; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 250, 245, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 34px -24px rgba(10,26,42,.4); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 86px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 500; font-size: 22px;
  letter-spacing: .01em; color: var(--ink); text-indent: 0;
}
.brand__sub {
  font-size: 7.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: var(--muted); margin-top: 7px; text-indent: .34em;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: .06em;
  color: var(--ink); padding-block: 8px;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--gold); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 18px; height: 1px; background: var(--ink); position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1px; background: var(--ink);
  transition: transform .3s;
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 124px 0 0; z-index: 99;
  background: var(--paper); padding: 32px var(--gutter) 48px; overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 22px; }
.mobile-nav .btn { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding-block: clamp(64px, 9vw, 118px) clamp(56px, 7vw, 92px);
}
.hero__pattern {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 92%);
}
.hero__glow {
  position: absolute; width: 720px; height: 720px; right: -160px; top: -300px;
  background: radial-gradient(circle, rgba(185,146,79,.25), transparent 62%);
  pointer-events: none;
}
.hero__map {
  position: absolute; right: -40px; bottom: -110px; width: min(620px, 52vw);
  color: var(--gold-2); opacity: .30; pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: end; }
.hero__copy { max-width: 720px; }
.hero__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.7rem, 5.5vw, 4.7rem); line-height: 1.01; letter-spacing: -.028em;
  margin-top: 26px;
}
.hero__title em { font-style: italic; color: var(--gold-2); font-weight: 300; }
.hero__lede {
  margin-top: 26px; max-width: 520px; color: rgba(255,255,255,.7);
  font-size: 16px; line-height: 1.7;
}
.hero__search { margin-top: 38px; max-width: 620px; }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px;
  margin-top: 34px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta i { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

/* Hero side card */
.hero-card {
  position: relative; border: 1px solid rgba(255,255,255,.16); padding: 30px;
  background: rgba(255,255,255,.04); backdrop-filter: blur(6px);
}
.hero-card::before {
  content: ''; position: absolute; top: -1px; left: -1px; width: 46px; height: 46px;
  border-top: 1px solid var(--gold-2); border-left: 1px solid var(--gold-2);
}
.hero-card::after {
  content: ''; position: absolute; bottom: -1px; right: -1px; width: 46px; height: 46px;
  border-bottom: 1px solid var(--gold-2); border-right: 1px solid var(--gold-2);
}
.hero-card__label {
  font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hero-card__label span:last-child { color: rgba(255,255,255,.35); letter-spacing: .1em; }
.hero-card__name {
  font-family: var(--font-display); font-size: 27px; font-weight: 400; line-height: 1.15;
  margin-top: 22px;
}
.hero-card__cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 10px; }
.hero-card__divider { height: 1px; background: rgba(255,255,255,.12); margin-block: 22px; }
.hero-card__row { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; font-size: 12.5px; }
.hero-card__row dt { color: rgba(255,255,255,.45); }
.hero-card__row dd { margin: 0; text-align: right; color: rgba(255,255,255,.88); }
.hero-card__link {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2);
}
.hero-card__link svg { width: 16px; height: 16px; transition: transform .25s; }
.hero-card__link:hover svg { transform: translateX(4px); }

/* ---------- Search ---------- */
.search { position: relative; }
.search__field {
  display: flex; align-items: stretch; background: #fff; border: 1px solid transparent;
  padding: 7px; box-shadow: var(--shadow-md);
}
.search__icon { display: grid; place-items: center; width: 46px; color: var(--muted); flex-shrink: 0; }
.search__icon svg { width: 19px; height: 19px; }
.search input[type="search"] {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 15px; color: var(--ink); padding: 10px 4px;
}
.search input::placeholder { color: var(--muted-2); }
.search__select { position: relative; flex-shrink: 0; display: block; }
.search__select select {
  appearance: none; border: 0; border-left: 1px solid var(--line); background: transparent;
  padding: 0 40px 0 18px; height: 100%; font-size: 12px; color: var(--muted);
  outline: none; cursor: pointer;
}
.search__select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; color: var(--muted); pointer-events: none; }
.search .btn { min-height: 48px; flex-shrink: 0; }
.search__hint {
  margin-top: 14px; font-size: 11px; color: rgba(255,255,255,.45);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.search__hint a { color: rgba(255,255,255,.7); border-bottom: 1px dotted rgba(255,255,255,.3); }
.search__hint a:hover { color: var(--gold-2); }

/* ---------- Stat strip ---------- */
.stat-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.stat-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 30px 26px; border-left: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-card {
  position: relative; padding: 30px 26px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper); transition: background .3s, color .3s; min-height: 178px;
  display: flex; flex-direction: column;
}
.cat-card:hover { background: var(--navy); color: #fff; }
.cat-card__icon { width: 38px; height: 38px; color: var(--gold); margin-bottom: 24px; }
.cat-card__icon svg { width: 100%; height: 100%; }
.cat-card__name { font-family: var(--font-display); font-size: 19px; line-height: 1.2; font-weight: 400; }
.cat-card__count { margin-top: auto; padding-top: 14px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cat-card:hover .cat-card__count { color: rgba(255,255,255,.5); }
.cat-card__arrow {
  position: absolute; top: 26px; right: 24px; opacity: 0; transform: translate(-4px, 4px);
  transition: opacity .3s, transform .3s; color: var(--gold-2);
}
.cat-card__arrow svg { width: 15px; height: 15px; }
.cat-card:hover .cat-card__arrow { opacity: 1; transform: none; }

/* ---------- Business cards ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); padding: 26px;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.biz-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.biz-card__top { display: flex; align-items: flex-start; gap: 16px; }
.biz-card__mark {
  width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--sand); border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 17px; color: var(--navy); letter-spacing: .02em;
}
.biz-card__head { min-width: 0; }
.biz-card__name { font-family: var(--font-display); font-size: 19px; line-height: 1.25; font-weight: 400; }
.biz-card__name a { transition: color .2s; }
.biz-card__name a::after { content: ''; position: absolute; inset: 0; }
.biz-card:hover .biz-card__name { color: var(--gold); }
.biz-card__cat { margin-top: 6px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.biz-card__desc {
  margin-top: 18px; font-size: 13.5px; line-height: 1.65; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.biz-card__foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.biz-card__loc { display: inline-flex; align-items: center; gap: 6px; }
.biz-card__loc svg { width: 12px; height: 12px; color: var(--gold); }
.biz-card__links { display: inline-flex; gap: 10px; color: var(--gold); }
.biz-card__links svg { width: 13px; height: 13px; }
.biz-card__badge {
  position: absolute; top: 0; right: 0; background: var(--navy); color: var(--gold-2);
  font-size: 8px; letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px;
}
.biz-card--featured { background: var(--paper); }

/* ---------- Emirate cards ---------- */
.emirates-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.emirate-card {
  position: relative; border: 1px solid var(--line); background: var(--white);
  padding: 24px 18px 20px; min-height: 190px; display: flex; flex-direction: column;
  transition: background .3s, color .3s, border-color .3s;
}
.emirate-card:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.emirate-card__num { font-family: var(--font-display); font-size: 11px; color: var(--gold); letter-spacing: .1em; }
.emirate-card__name {
  font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.1;
  margin-top: auto; padding-top: 28px;
}
.emirate-card__count { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.emirate-card:hover .emirate-card__count { color: rgba(255,255,255,.5); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; padding-block: clamp(56px, 7vw, 92px); position: relative; z-index: 2; }
.cta-band__title { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; line-height: 1.08; letter-spacing: -.02em; }
.cta-band__title em { color: var(--gold-2); }
.cta-band__lede { color: rgba(255,255,255,.62); margin-top: 18px; max-width: 520px; font-size: 15px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-band__note { font-size: 10.5px; color: rgba(255,255,255,.4); letter-spacing: .06em; margin-top: 6px; }
.cta-band__map { position: absolute; right: -60px; bottom: -80px; width: 520px; color: var(--gold-2); opacity: .18; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--sand); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero__inner { position: relative; z-index: 2; max-width: 860px; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 300; line-height: 1.02; letter-spacing: -.026em; margin-top: 18px; }
.page-hero__lede { margin-top: 18px; color: var(--muted); max-width: 600px; font-size: 15.5px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.page-hero__map { position: absolute; right: -30px; top: -60px; width: 420px; color: var(--navy); opacity: .07; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; color: var(--line); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Directory / filters ---------- */
.directory-toolbar {
  background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 86px; z-index: 50;
  box-shadow: 0 12px 24px -28px rgba(10,26,42,.4);
}
.toolbar__row { display: flex; align-items: center; gap: 12px; padding-block: 14px; flex-wrap: wrap; }
.toolbar__search { position: relative; flex: 1 1 280px; min-width: 220px; }
.toolbar__search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.toolbar__search input {
  width: 100%; height: 44px; border: 1px solid var(--line); background: var(--paper);
  padding: 0 14px 0 42px; font-size: 13px; outline: none; transition: border-color .2s;
}
.toolbar__search input:focus { border-color: var(--gold); background: #fff; }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none; height: 44px; border: 1px solid var(--line); background: var(--paper);
  padding: 0 38px 0 14px; font-size: 12px; color: var(--ink); cursor: pointer; outline: none;
  min-width: 150px;
}
.select-wrap select:focus { border-color: var(--gold); }
.select-wrap svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 11px; height: 11px; color: var(--muted); pointer-events: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border: 1px solid var(--line); background: transparent; font-size: 11px; letter-spacing: .04em;
  color: var(--muted); transition: all .2s; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip__count { opacity: .55; font-size: 10px; }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px 28px; flex-wrap: wrap; }
.results-count { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.results-count strong { color: var(--ink); font-weight: 600; }
.results-bar .select-wrap select { height: 38px; font-size: 11px; background: transparent; border-color: transparent; }
.results-bar .select-wrap select:hover { border-color: var(--line); }

.empty-state { text-align: center; padding: 80px 20px; border: 1px dashed var(--line); }
.empty-state__title { font-family: var(--font-display); font-size: 28px; font-weight: 400; }
.empty-state p { color: var(--muted); margin-top: 10px; font-size: 14px; }
.empty-state .btn { margin-top: 24px; }

.load-more-wrap { display: flex; justify-content: center; padding-top: 44px; }

/* ---------- Listing page ---------- */
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 366px; gap: 56px; align-items: start; padding-block: 48px 80px; }
.listing-head { display: flex; align-items: flex-start; gap: 22px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.listing-head__mark {
  width: 76px; height: 76px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-2); font-family: var(--font-display); font-size: 28px;
}
.listing-head__body { min-width: 0; }
.listing-head__cat { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.listing-head__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; margin-top: 8px; }
.listing-head__loc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.listing-head__loc svg { width: 13px; height: 13px; color: var(--gold); }
.badge-listed {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px;
  background: var(--gold-soft); color: #7a5c24; font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase;
}
.listing-section { padding-block: 34px; border-bottom: 1px solid var(--line); }
.listing-section__title { font-family: var(--font-display); font-size: 22px; font-weight: 400; margin-bottom: 16px; }
.prose p { color: #3f4b56; font-size: 15px; line-height: 1.85; margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table tr { border-bottom: 1px solid var(--line); }
.detail-table tr:first-child { border-top: 1px solid var(--line); }
.detail-table th {
  text-align: left; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 13px 20px 13px 0; width: 150px; vertical-align: top;
}
.detail-table td { padding: 13px 0; font-size: 13.5px; word-break: break-word; }
.detail-table a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.detail-table a:hover { color: var(--gold); }
.detail-table a svg, .map-coords a svg, .prose svg, .editorial svg { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; }

.contact-panel { position: sticky; top: 116px; border: 1px solid var(--line); background: var(--white); }
.contact-panel__head { background: var(--navy); color: #fff; padding: 22px 24px; }
.contact-panel__title { font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.contact-panel__note { font-size: 10.5px; color: rgba(255,255,255,.5); margin-top: 4px; }
.contact-panel__body { padding: 24px; }
.contact-panel__row { display: flex; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.contact-panel__row:first-child { padding-top: 0; }
.contact-panel__row:last-of-type { border-bottom: 0; }
.contact-panel__icon { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; background: var(--sand); color: var(--gold); }
.contact-panel__icon svg { width: 15px; height: 15px; }
.contact-panel__label { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-panel__value { font-size: 13.5px; margin-top: 2px; line-height: 1.5; word-break: break-word; }
.contact-panel__value a:hover { color: var(--gold); }
.contact-panel .btn { margin-top: 18px; }
.contact-panel__claim { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.contact-panel__claim a { color: var(--gold); border-bottom: 1px solid var(--gold); }
.map-frame { border: 1px solid var(--line); background: var(--sand); }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(.35) contrast(1.02); }
.map-frame__fallback { padding: 26px; text-align: center; }
.map-frame__fallback p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.map-coords { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .08em; color: var(--muted); background: var(--white); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- Map panel ---------- */
.map-panel { position: relative; border: 1px solid var(--line); background: var(--sand); overflow: hidden; }
.map-panel__canvas { height: 300px; }
.map-panel__canvas svg { width: 100%; height: 100%; }
.map-panel__tag {
  position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.86);
  padding: 6px 10px; font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  backdrop-filter: blur(4px);
}
.map-panel__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; background: var(--white); border-top: 1px solid var(--line); flex-wrap: wrap;
}
.map-panel__label { font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.map-panel__coords { font-size: 12px; letter-spacing: .04em; margin-top: 2px; }
.map-panel__link { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.map-panel__link svg { width: 12px; height: 12px; }
.map-panel__link:hover { color: var(--ink); }

/* ---------- Info / editorial pages ---------- */
.page-body { padding-block: clamp(48px, 7vw, 84px); }
.page-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.page-aside { position: sticky; top: 116px; }
.page-aside__title { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.page-aside a { display: block; padding: 9px 0; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.page-aside a:hover, .page-aside a.is-active { color: var(--gold); }
.editorial h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: -.01em; margin: 42px 0 14px; }
.editorial h2:first-child { margin-top: 0; }
.editorial h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; margin: 30px 0 10px; }
.editorial p { color: #3f4b56; font-size: 15.5px; line-height: 1.85; margin-bottom: 16px; }
.editorial ul { margin: 0 0 20px; padding-left: 0; }
.editorial ul li { position: relative; padding-left: 22px; color: #3f4b56; font-size: 15px; line-height: 1.8; margin-bottom: 8px; }
.editorial ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--gold); }
.editorial a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.editorial strong { color: var(--ink); font-weight: 600; }
.callout { border-left: 2px solid var(--gold); background: var(--sand); padding: 22px 26px; margin: 28px 0; }
.callout p { margin: 0; font-size: 14px; }
.callout__title { font-family: var(--font-display); font-size: 18px; margin-bottom: 6px; }

/* ---------- Forms ---------- */
.form-card { border: 1px solid var(--line); background: var(--white); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line); background: var(--paper); padding: 12px 14px;
  font-size: 13.5px; outline: none; transition: border-color .2s, background .2s; border-radius: 0;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); background: #fff; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin-top: 16px; }
.form-success { display: none; padding: 28px; background: #eef4f0; border: 1px solid #cfe0d6; color: var(--green); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--font-display);
  font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-family: var(--font-sans); font-size: 20px; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 720px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.footer__brand .brand__name { color: #fff; }
.brand__tld { color: var(--gold); font-size: .82em; }
.footer__brand .brand__tld { color: var(--gold-2); }
.footer__brand .brand__sub { color: rgba(255,255,255,.4); }
.footer__blurb { margin-top: 22px; font-size: 13px; line-height: 1.75; max-width: 320px; color: rgba(255,255,255,.5); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold-2); }
.footer__social svg { width: 14px; height: 14px; }
.footer__col h4 { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin-bottom: 18px; }
.footer__col a { display: block; padding-block: 5px; font-size: 13px; color: rgba(255,255,255,.58); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 10.5px; color: rgba(255,255,255,.38);
}
.footer__bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--gold-2); }
.footer__attribution { max-width: 620px; line-height: 1.7; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--navy); color: #fff; padding: 12px 22px; font-size: 12px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 300;
  box-shadow: var(--shadow-md);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .hero__map { opacity: .18; width: 520px; }
  .cat-grid, .cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .emirates-grid { grid-template-columns: repeat(4, 1fr); }
  .nav { gap: 20px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-toolbar { top: 86px; }
  .listing-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-panel { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav, .header__actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .header__inner { min-height: 72px; }
  .mobile-nav { inset: 110px 0 0; }
  .topbar__left span:last-child { display: none; }
  .page-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-aside { position: static; display: flex; flex-wrap: wrap; gap: 8px 20px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .page-aside__title { width: 100%; margin-bottom: 4px; }
  .page-aside a { border: 0; padding: 4px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stat-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .cta-band__inner { grid-template-columns: 1fr; gap: 30px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head .link-arrow { align-self: flex-start; }
  .emirates-grid { grid-template-columns: repeat(3, 1fr); }
  .directory-toolbar { top: 72px; }
}
@media (max-width: 680px) {
  .topbar { display: none; }
  .mobile-nav { inset: 72px 0 0; }
  .brand__name { font-size: 17px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__sub { font-size: 6.5px; }
  .hero { padding-block: 48px 56px; }
  .hero__map { display: none; }
  .hero__title { font-size: clamp(2.45rem, 11vw, 3.4rem); }
  .hero__meta { font-size: 9px; gap: 10px 16px; }
  .search__field { flex-wrap: wrap; padding: 8px; }
  .search input[type="search"] { width: calc(100% - 46px); flex: none; }
  .search__select { display: none; }
  .search .btn { width: 100%; margin-top: 8px; }
  .hero-card { padding: 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card { min-height: 150px; padding: 22px 18px; }
  .cat-card__name { font-size: 17px; }
  .biz-grid { grid-template-columns: 1fr; }
  .emirates-grid { grid-template-columns: repeat(2, 1fr); }
  .emirate-card { min-height: 150px; }
  .stat { padding: 22px 16px; }
  .stat__num { font-size: 1.8rem; }
  .stat__label { font-size: 8.5px; }
  .listing-head { gap: 16px; }
  .listing-head__mark { width: 58px; height: 58px; font-size: 22px; }
  .detail-table th { width: 110px; font-size: 8.5px; }
  .related-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { align-items: flex-start; flex-direction: column; }
  .results-bar { padding-block: 18px; }
  .toolbar__row { gap: 8px; }
  .toolbar__search { flex-basis: 100%; }
  .select-wrap { flex: 1; }
  .select-wrap select { width: 100%; min-width: 0; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .directory-toolbar, .hero__pattern,
  .hero__glow, .hero__map, .breadcrumbs, .load-more-wrap, .contact-panel__claim { display: none !important; }
  body { background: #fff; }
  .hero { background: #fff; color: #000; padding-block: 24px; }
  .hero__title, .hero__lede, .hero__meta { color: #000; }
  .listing-layout { display: block; }
  .biz-card { break-inside: avoid; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Laravel additions ---------- */
.flash {
  margin-top: 18px; padding: 13px 18px; font-size: 13px; border: 1px solid #cfe0d6;
  background: #eef4f0; color: var(--green);
}
.flash--error { background: #fbeeeb; border-color: #e7c8c1; color: var(--red); }
.pagination-wrap { display: flex; justify-content: center; padding-top: 44px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pagination .page {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border: 1px solid var(--line); background: var(--white);
  font-size: 11.5px; color: var(--ink); transition: all .2s;
}
.pagination a.page:hover { border-color: var(--gold); color: var(--gold); }
.pagination .page.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .page.is-disabled { color: var(--muted-2); background: transparent; }
.form-error { color: var(--red); font-size: 12px; margin-top: 6px; }
.field-error { border-color: var(--red) !important; }
.claim-box { border: 1px solid var(--line); background: var(--white); padding: 22px; margin-top: 28px; }
.claim-box h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin-bottom: 8px; }
.claim-box p { color: var(--muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 680px) {
  .pagination .page { min-width: 34px; height: 34px; padding: 0 9px; font-size: 10.5px; }
}

/* Profile media, hours and status */
.listing-head__mark.has-logo { background:#fff; border:1px solid var(--line); padding:6px; }
.listing-head__mark.has-logo img { width:100%; height:100%; object-fit:contain; }
.open-badge { font-size:9px; letter-spacing:.1em; text-transform:uppercase; padding:4px 8px; }
.open-badge.is-open { background:#eaf2ee; color:#1f5c4b; }
.open-badge.is-closed { background:#fbeeeb; color:#9b3b2f; }
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.gallery-grid a { display:block; border:1px solid var(--line); background:var(--sand); aspect-ratio:4/3; overflow:hidden; }
.gallery-grid img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.gallery-grid a:hover img { transform:scale(1.03); }
.hours-note { font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.hours-public { max-width:420px; border-collapse:collapse; }
.hours-public tr { border-bottom:1px solid var(--line); }
.hours-public tr:first-child { border-top:1px solid var(--line); }
.hours-public th { text-align:left; padding:9px 16px 9px 0; font-size:12px; font-weight:500; color:var(--muted); width:140px; }
.hours-public td { padding:9px 0; font-size:13px; }
@media (max-width:680px) { .gallery-grid { grid-template-columns:repeat(2,1fr); } }

/* Branches */
.branch-list { list-style:none; padding:0; margin:0; border-top:1px solid var(--line); }
.branch-list li { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid var(--line); font-size:13.5px; }
.branch-list a { color:var(--gold); border-bottom:1px solid transparent; }
.branch-list a:hover { border-bottom-color:var(--gold); }
.branch-list span { color:var(--muted); font-size:12px; text-align:right; }
/* Image-based brand lockup */
.brand__logo { display:block; width:auto; height:30px; max-width:260px; object-fit:contain; }
.site-footer .brand__logo { height:28px; max-width:240px; }
@media (max-width: 680px) { .brand__logo { height:24px; max-width:190px; } .site-footer .brand__logo { height:24px; max-width:190px; } }
.cat-card__subs { position:relative; z-index:2; display:flex; flex-direction:column; gap:5px; margin-top:12px; padding-top:10px; border-top:1px solid var(--line); }
.cat-card__subs a { font-size:10.5px; line-height:1.35; color:var(--muted); display:flex; justify-content:space-between; gap:8px; text-decoration:none; }
.cat-card__subs a:hover { color:var(--gold); }
.cat-card__subs b { color:var(--navy); font-weight:700; }
.cat-card:hover .cat-card__subs a { color:rgba(255,255,255,.62); }
.cat-card:hover .cat-card__subs b { color:#fff; }
.cat-card__name { text-decoration:none; color:inherit; }
