/* ==========================================================================
   MENA Franchises — Design System
   Brand: Fuel Yellow #E9AA23 · Mine Shaft #221F1F · Pink Lady #FFF1D7
   Type:  Inter (body/UI) · Inter Tight (display) · IBM Plex Sans Arabic (AR)
   Signature: the compass-star navigator mark
   ========================================================================== */

:root {
  /* Brand palette */
  --yellow: #E9AA23;
  --yellow-deep: #C8901A;
  --gold-text: #8A6410;   /* WCAG-AA gold for text on light backgrounds (5.4:1) */
  --yellow-soft: #F4C95B;
  --ink: #221F1F;          /* Mine Shaft */
  --ink-900: #161413;      /* richest dark for full-bleed sections */
  --ink-700: #3a3635;
  --tan: #C7B299;          /* Rodeo Dust */
  --cream: #FFF1D7;        /* Pink Lady */
  --cream-2: #FBF7F0;
  --nobel: #B3B3B3;
  --line: #E7E0D4;
  --line-dark: rgba(255,255,255,.12);
  --white: #ffffff;

  /* Semantic */
  --bg: #ffffff;
  --bg-warm: #FBF7EF;
  --text: #221F1F;
  --text-muted: #6c6661;
  --text-on-dark: #F3EEE6;
  --muted-on-dark: #A9A29A;

  /* Type */
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Inter", sans-serif;

  /* Spacing & shape */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(34,31,31,.06), 0 2px 8px rgba(34,31,31,.05);
  --shadow: 0 6px 24px rgba(34,31,31,.08), 0 2px 6px rgba(34,31,31,.05);
  --shadow-lg: 0 24px 60px rgba(34,31,31,.16);
  --maxw: 1200px;
  --nav-h: 74px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.h-xxl { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.h-xl  { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.h-lg  { font-size: clamp(1.6rem, 3vw, 2.3rem); }
p { color: var(--text-muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-muted); line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: var(--yellow); -webkit-mask: var(--star-mask) center/contain no-repeat; mask: var(--star-mask) center/contain no-repeat;
}
.eyebrow.on-dark { color: var(--yellow); }

/* compass-star mask used across markers */
:root {
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 L58 42 L100 50 L58 58 L50 100 L42 58 L0 50 L42 42 Z'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section-sm { padding-block: clamp(40px, 5vw, 64px); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: .6rem; }
.grid { display: grid; gap: 24px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .96rem; letter-spacing: -.01em;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .18s, box-shadow .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 20px rgba(233,170,35,.35); }
.btn-primary:hover { background: var(--yellow-deep); box-shadow: 0 10px 26px rgba(233,170,35,.45); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-900); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on-dark { color: var(--white); border-color: var(--line-dark); }
.btn-ghost.on-dark:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  font-weight: 600; font-size: .9rem; padding: .5rem .55rem; border-radius: 8px;
  color: var(--ink); transition: background .15s, color .15s;
  white-space: nowrap; line-height: 1;
}
.nav__links a:hover { background: var(--cream); }
.nav__links a.active { color: var(--gold-text); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .18s var(--ease);
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: .55rem .7rem; border-radius: 8px; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--text-on-dark); padding-block: 64px 32px; }
.site-footer a { color: var(--muted-on-dark); }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-grid li { margin-bottom: 10px; font-size: .92rem; }
.footer-brand img { height: 30px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted-on-dark); font-size: .92rem; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .84rem; color: var(--muted-on-dark); }

/* ---------- Cards: franchise ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.fcard {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
/* whole-card click target (stretched link) */
.fcard__overlay { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.fcard__overlay:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.fcard .fcard__body .btn,
.fcard__fav { position: relative; z-index: 2; }
/* shortlist heart */
.fcard__fav { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
  color: var(--ink-700); transition: .15s; backdrop-filter: blur(4px); }
.fcard__fav:hover { transform: scale(1.08); color: var(--yellow-deep); }
.fcard__fav.on { color: #fff; background: var(--yellow-deep); }
.fcard__fav svg { width: 18px; height: 18px; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fcard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink-900); }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.fcard:hover .fcard__media img { transform: scale(1.05); }
.fcard__badge { position: absolute; top: 12px; left: 12px; background: rgba(34,31,31,.82); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; padding: .3rem .65rem; border-radius: 999px; backdrop-filter: blur(4px); }
.fcard__logo { position: absolute; bottom: -22px; right: 16px; width: 56px; height: 56px; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; padding: 7px; }
.fcard__logo img { width: 100%; height: 100%; object-fit: contain; }
.fcard__body { padding: 22px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.fcard__industry { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
.fcard__name { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; margin: 4px 0 8px; letter-spacing: -.02em; }
.fcard__desc { font-size: .92rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; flex: 1; }
.fcard__meta { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); margin-bottom: 16px; }
.fcard__row { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink); }
.fcard__row svg { flex: none; color: var(--yellow-deep); }
.fcard__row b { font-weight: 700; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600;
  padding: .3rem .65rem; border-radius: 999px; background: var(--cream); color: var(--ink-700); }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Filter bar ---------- */
.filterbar { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; }
.filter-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.field label { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 6px; }
.field select, .field input {
  width: 100%; padding: .72rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white);
  font-size: .94rem; transition: border-color .15s, box-shadow .15s;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(233,170,35,.18); }
.field--search { position: relative; }
.field--search input { padding-left: 2.4rem; }
.field--search svg { position: absolute; left: .8rem; bottom: .72rem; color: var(--text-muted); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .84rem; font-weight: 600; margin-bottom: 7px; }
.form-field label .req { color: var(--yellow-deep); }
.form-field input, .form-field select, .form-field textarea {
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(233,170,35,.18); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }
.form-success { display: none; background: #ecf7ec; border: 1px solid #bfe3bf; color: #2c6b2c; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; }

/* ---------- Pills / tag filters ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; transition: .15s; }
.pill:hover { border-color: var(--ink); }
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Generic dark / cream sections ---------- */
.bg-dark { background: var(--ink-900); color: var(--text-on-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark p { color: var(--muted-on-dark); }
.bg-cream { background: var(--bg-warm); }
.bg-tan { background: linear-gradient(160deg, var(--cream) 0%, #fbe9c8 100%); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink-900); color: var(--text-on-dark); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--yellow); }
.hero .lead { color: var(--muted-on-dark); max-width: 540px; margin-top: 22px; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero__stat .n { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--yellow); letter-spacing: -.02em; }
.hero__stat .l { font-size: .82rem; color: var(--muted-on-dark); letter-spacing: .02em; }
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__glow { position: absolute; inset: -10% ; background: radial-gradient(circle at 60% 40%, rgba(233,170,35,.22), transparent 60%); pointer-events: none; }

/* compass animation */
.compass { width: min(420px, 80%); aspect-ratio: 1; position: relative; }
.compass__ring { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.compass__star { position: absolute; inset: 14%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .compass__ring { animation: none; } .compass__star { animation: none; } }

/* ---------- Two-audience split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split__card { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.split__card .eyebrow { margin-bottom: 16px; }
.split__card--invest { background: var(--ink-900); color: var(--text-on-dark); }
.split__card--invest h3, .split__card--invest p { color: #fff; }
.split__card--invest p { color: var(--muted-on-dark); }
.split__card--brand { background: var(--bg-warm); border: 1px solid var(--line); }
.split__card ul.ticks { margin: 20px 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.ticks li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 2px;
  background: var(--yellow); -webkit-mask: var(--star-mask) center/contain no-repeat; mask: var(--star-mask) center/contain no-repeat; }

/* ---------- Industry tiles ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 16px; }
.ind-tile { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; transition: .2s var(--ease); }
.ind-tile:hover { border-color: var(--yellow); transform: translateY(-3px); box-shadow: var(--shadow); }
.ind-tile .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; color: var(--yellow-deep); }
.ind-tile h4 { font-size: 1.05rem; }
.ind-tile .count { font-size: .82rem; color: var(--text-muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--yellow-deep); letter-spacing: .04em; }
.step h4 { margin: 10px 0 6px; font-size: 1.12rem; }
.step p { font-size: .9rem; }
.step.lit { border-top-color: var(--yellow); }

/* ---------- Why / feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feat { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.feat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ink-900); color: var(--yellow); display: grid; place-items: center; margin-bottom: 16px; }
.feat h4 { font-size: 1.14rem; margin-bottom: 8px; }
.feat p { font-size: .94rem; }

/* ---------- Stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.statband .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem,3.5vw,2.9rem); color: var(--yellow); }
.statband .l { font-size: .9rem; color: var(--muted-on-dark); margin-top: 4px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--ink-900); color: var(--text-on-dark); padding-block: clamp(48px,6vw,80px); position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; margin-top: 12px; }
.page-hero p { color: var(--muted-on-dark); max-width: 620px; margin-top: 14px; }
.page-hero .breadcrumb { font-size: .82rem; color: var(--muted-on-dark); }
.page-hero .breadcrumb a:hover { color: var(--yellow); }
.page-hero__deco { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 320px; opacity: .12; }

/* ---------- Detail page ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.detail-hero-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--ink-900); }
.detail-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec { background: #fff; padding: 18px 20px; }
.spec .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 700; }
.spec .v { font-weight: 700; font-size: 1.05rem; margin-top: 4px; color: var(--ink); }
.aside-card { position: sticky; top: calc(var(--nav-h) + 18px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 26px; }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; width: 100%; }
.prose p { margin-bottom: 1rem; color: var(--ink-700); }
.prose h3 { margin: 28px 0 12px; }

/* ---------- Misc ---------- */
.results-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.results-meta .count { font-weight: 600; color: var(--text-muted); }
.empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.divider { height: 1px; background: var(--line); border: 0; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; opacity: .9; }
.logo-strip img { height: 30px; filter: grayscale(1); opacity: .65; transition: .2s; }
.logo-strip img:hover { filter: none; opacity: 1; }
.tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color: var(--yellow-deep); background: var(--cream); padding:.25rem .6rem; border-radius:999px;}

/* ---------- Search suggestions (typeahead) ---------- */
.field--search { position: relative; }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  overflow: hidden; max-height: 360px; overflow-y: auto; display: none;
}
.suggest.open { display: block; }
.suggest__group { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
  padding: 10px 14px 4px; }
.suggest__item { display: flex; align-items: center; gap: 12px; padding: 9px 14px; cursor: pointer; border: 0; background: none; width: 100%; text-align: left; }
.suggest__item:hover, .suggest__item.active { background: var(--cream); }
.suggest__item img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.suggest__item .t { font-weight: 600; font-size: .92rem; color: var(--ink); }
.suggest__item .s { font-size: .78rem; color: var(--text-muted); }
.suggest__item .ico { width: 32px; height: 32px; border-radius: 8px; background: var(--cream); display: grid; place-items: center; color: var(--gold-text); flex: none; }
.suggest__empty { padding: 16px 14px; color: var(--text-muted); font-size: .9rem; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(34,31,31,.08); }
  .mobile-cta .btn { flex: 1; }
  body { padding-bottom: 72px; }
}

/* ---------- Trust / credentials band ---------- */
.trust-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.trust-item .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--cream); color: var(--gold-text); display: grid; place-items: center; flex: none; }
.trust-item h4 { font-size: 1rem; margin-bottom: 3px; }
.trust-item p { font-size: .85rem; line-height: 1.45; }
@media(max-width:940px){ .trust-band { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .trust-band { grid-template-columns: 1fr; } }

/* ---------- Finder (guided match) ---------- */
.finder { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px,4vw,40px); }
.finder__steps { display: flex; gap: 8px; margin-bottom: 24px; }
.finder__dot { height: 5px; flex: 1; border-radius: 999px; background: var(--line); transition: .3s; }
.finder__dot.done { background: var(--yellow); }
.finder__q { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 20px; }
.finder__opts { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; }
.finder__opt { padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; text-align: left; transition: .15s; font-weight: 600; }
.finder__opt:hover { border-color: var(--yellow); transform: translateY(-2px); }
.finder__opt .sub { display: block; font-weight: 400; font-size: .84rem; color: var(--text-muted); margin-top: 3px; }
.finder__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.finder__result { text-align: center; }
.finder__result .card-grid { text-align: left; margin-top: 24px; }

/* ---------- Markets map ---------- */
.map-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.map-svg { width: 100%; height: auto; }
.map-svg .region { fill: #2c2826; stroke: var(--ink-900); stroke-width: 1.5; transition: fill .2s, transform .2s; cursor: pointer; }
.map-svg .region:hover, .map-svg .region.active { fill: var(--yellow); }
.map-svg .region.lit { fill: #4a4441; }
.map-dot { fill: var(--yellow); }
.market-list { display: grid; gap: 8px; max-height: 380px; overflow-y: auto; }
.market-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--line-dark); border-radius: 12px;
  background: rgba(255,255,255,.03); cursor: pointer; transition: .15s; }
.market-row:hover, .market-row.active { background: rgba(233,170,35,.12); border-color: var(--yellow); }
.market-row .name { font-weight: 600; color: var(--text-on-dark); }
.market-row .cnt { font-size: .82rem; color: var(--muted-on-dark); }
.market-row .cnt b { color: var(--yellow); font-size: 1rem; }
@media(max-width:860px){ .map-wrap { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.faq__q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); color: var(--gold-text); display: grid; place-items: center; transition: .25s; font-size: 1.2rem; }
.faq__q[aria-expanded="true"] .pm { background: var(--yellow); color: var(--ink); transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a > div { padding: 0 0 22px; color: var(--text-muted); line-height: 1.6; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .compass { width: 220px; }
  .detail-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .feat-grid, .statband, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filter-row { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
/* collapse nav to hamburger before the desktop bar can crowd/overflow */
@media (max-width: 1024px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 14px; gap: 2px; box-shadow: var(--shadow); }
  .nav.open .nav__links a { padding: .8rem; white-space: normal; }
  .nav.open .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 16px; }
}
@media (max-width: 720px) {
  .form-grid, .spec-table { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .feat-grid, .statband, .steps, .footer-grid { grid-template-columns: 1fr; }
  .filter-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
