/* ============================================================
   SULTAN ALBADI & PARTNERS — DESIGN SYSTEM
   styles.css
   ============================================================ */

/* ─────────── DESIGN TOKENS ─────────── */
:root {
  /* Brand — navy & gold */
  --navy-950: #0A1230;
  --navy-900: #0F1E4A;
  --navy-800: #1B2D6B;
  --navy-700: #243580;
  --navy-600: #2E4299;
  --navy-50:  #EBF0FF;
  --navy-25:  #F4F6FF;

  --gold-600: #cc0000;
  --gold-500: #ff0000;
  --gold-400: #ff4444;
  --gold-50:  #fff0f0;

  --red: #C0392B;

  --paper: #FFFFFF;
  --bg:    #F7F8FC;
  --bg-2:  #EEF0F6;

  --ink:   #0F1E4A;
  --ink-2: #3F4A66;
  --ink-3: #7A8499;
  --ink-4: #A8B0C2;

  --line:      rgba(15,30,74,0.10);
  --line-2:    rgba(15,30,74,0.06);
  --line-gold: rgba(255,0,0,0.28);

  /* Type stacks */
  --ff-ar:       'Tajawal','Noto Sans Arabic',system-ui,sans-serif;
  --ff-en:       'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  --ff-serif-en: 'Cormorant Garamond','Playfair Display',Georgia,serif;
  --ff-serif-ar: 'Tajawal',serif;

  --ff:       var(--ff-ar);
  --ff-serif: var(--ff-serif-ar);

  --base:  15px;
  --space: 1;

  --shadow-sm: 0 1px 2px rgba(15,30,74,0.06);
  --shadow:    0 6px 24px -8px rgba(15,30,74,0.18);
  --shadow-lg: 0 24px 60px -20px rgba(15,30,74,0.30);
}

[data-lang="en"] {
  --ff:       var(--ff-en);
  --ff-serif: var(--ff-serif-en);
}

/* ─────────── RESET ─────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[dir="rtl"] body { font-family: var(--ff-ar); }
[dir="ltr"] body { font-family: var(--ff-en); }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a      { color: inherit; text-decoration: none; }
input, select, textarea { font-family: inherit; color: inherit; }
img    { max-width: 100%; display: block; }

.serif { font-family: var(--ff-serif); }

/* ─────────── LAYOUT ─────────── */
.app       { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; width: 100%; }
.section    { padding: calc(80px * var(--space)) 0; }
.section-sm { padding: calc(48px * var(--space)) 0; }

/* ─────────── TOP UTILITY BAR ─────────── */
.utility-bar {
  background: var(--navy-950);
  color: rgba(255,255,255,0.72);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.utility-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px; gap: 24px;
}
.utility-left { display: flex; gap: 18px; align-items: center; }
.utility-left a { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.72); transition: color .2s; }
.utility-left a:hover { color: var(--gold-400); }
.utility-left svg { width: 13px; height: 13px; stroke: var(--gold-500); fill: none; stroke-width: 1.8; }
.utility-right { display: flex; gap: 14px; align-items: center; }
.utility-pill {
  background: rgba(255,0,0,0.12);
  border: 1px solid var(--line-gold);
  color: var(--gold-400);
  padding: 3px 10px; border-radius: 2px; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  display: flex; align-items: center; gap: 6px;
}
.utility-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #2ECC71; box-shadow: 0 0 0 3px rgba(46,204,113,0.18);
}
.lang-toggle {
  display: flex; border: 1px solid rgba(255,255,255,0.12); border-radius: 2px; overflow: hidden;
}
.lang-toggle button { padding: 3px 10px; font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 600; letter-spacing: .04em; transition: all .15s; }
.lang-toggle button.active { background: var(--gold-500); color: var(--navy-950); }

/* ─────────── PRIMARY NAV ─────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand img { height: 44px; width: auto; display: block; max-width: 200px; }
.brand-mark {
  width: 46px; height: 46px;
  background: var(--paper);
  border: 1.5px solid var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif-en); font-weight: 700; font-size: 18px; color: var(--navy-800);
  letter-spacing: -.02em; position: relative;
}
.brand-mark::after { content: ''; position: absolute; inset: 3px; border: 1px solid var(--navy-800); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name  { font-size: 14px; font-weight: 700; color: var(--navy-800); letter-spacing: .02em; }
[dir="rtl"] .brand-name { font-size: 13.5px; }
.brand-tag   { font-size: 9.5px; color: var(--ink-3); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-top: 2px; }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-link {
  padding: 10px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  border-radius: 3px; transition: all .15s; display: flex; align-items: center; gap: 5px;
  position: relative;
}
.nav-link:hover  { color: var(--navy-800); }
.nav-link.active { color: var(--navy-800); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -1px; left: 14px; right: 14px; height: 2px; background: var(--red);
}
.nav-link .caret { width: 9px; height: 9px; opacity: .5; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; font-size: 13.5px; font-weight: 600;
  border-radius: 3px; transition: all .15s;
  white-space: nowrap; border: 1px solid transparent;
}
.btn-primary    { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); }
.btn-gold       { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-400); }
.btn-ghost      { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-800); background: var(--navy-25); }
.btn-dark-ghost  { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-dark-ghost:hover { border-color: var(--gold-500); color: var(--gold-400); }
.btn-lg { padding: 14px 26px; font-size: 14.5px; }
.btn-sm { padding: 7px 14px; font-size: 12.5px; }
.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ─────────── MEGA MENU ─────────── */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 560px; background: var(--paper);
  border: 1px solid var(--line); border-top: 3px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
  padding: 24px; display: none; z-index: 200;
}
.nav-link-wrap { position: relative; }
.nav-link-wrap:hover .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.mega-item { display: flex; gap: 10px; padding: 8px 10px; border-radius: 3px; transition: background .15s; cursor: pointer; }
.mega-item:hover { background: var(--navy-25); }
.mega-icon { width: 32px; height: 32px; background: var(--navy-25); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mega-icon svg { width: 15px; height: 15px; stroke: var(--navy-800); fill: none; stroke-width: 1.8; }
.mega-title { font-size: 13px; font-weight: 600; color: var(--navy-800); margin-bottom: 2px; }
.mega-sub   { font-size: 11.5px; color: var(--ink-3); line-height: 1.45; }
.mega-foot  { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mega-foot-text { font-size: 11.5px; color: var(--ink-3); }
.mega-foot a    { font-size: 12px; font-weight: 600; color: var(--gold-600); display: inline-flex; align-items: center; gap: 4px; }

/* ─────────── SCROLL OFFSET (sticky nav) ─────────── */
html { scroll-padding-top: 80px; }
section[id], [id].page-header { scroll-margin-top: 80px; }

/* ─────────── HERO ─────────── */
.hero {
  position: relative; background: var(--navy-950); color: #fff;
  overflow: hidden; min-height: 640px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1800&q=80');
  background-size: cover; background-position: center; opacity: .32; filter: saturate(.7);
}
.hero-grad {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, var(--navy-950) 38%, rgba(15,30,74,0.6) 70%, rgba(15,30,74,0.3) 100%);
}
[dir="rtl"] .hero-grad {
  background: linear-gradient(255deg, var(--navy-950) 38%, rgba(15,30,74,0.6) 70%, rgba(15,30,74,0.3) 100%);
}
.hero-pattern { position: absolute; top: 0; bottom: 0; width: 380px; z-index: 1; opacity: .08; pointer-events: none; }
[dir="ltr"] .hero-pattern { right: 0; }
[dir="rtl"] .hero-pattern { left: 0; }
.hero-inner { position: relative; z-index: 2; padding: 88px 0; width: 100%; }
.hero-grid  { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-size: 11.5px; letter-spacing: .18em; font-weight: 600; color: var(--gold-400); text-transform: uppercase;
}
.hero-eyebrow .line { width: 32px; height: 1px; background: var(--gold-500); }
.hero-title {
  font-size: clamp(40px,5vw,62px); font-weight: 700; line-height: 1.1; letter-spacing: -.015em; margin-bottom: 24px;
}
[dir="rtl"] .hero-title { font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.hero-title .accent { color: var(--gold-500); font-style: italic; }
[dir="rtl"] .hero-title .accent { font-style: normal; }
.hero-rule { width: 56px; height: 3px; background: var(--red); margin-bottom: 24px; }
.hero-sub  { font-size: 17px; color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px); border-radius: 6px; padding: 28px; box-shadow: var(--shadow-lg);
}
.hero-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.hero-card-head .pulse { width: 9px; height: 9px; border-radius: 50%; background: #2ECC71; box-shadow: 0 0 0 4px rgba(46,204,113,0.18); }
.hero-card-head span { font-size: 11.5px; color: var(--gold-400); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hero-card-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.hero-card-sub   { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 20px; }

.starter-step-row { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.starter-step { flex: 1; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; position: relative; }
.starter-step.active::after { content: ''; position: absolute; inset: 0; background: var(--gold-500); }
.starter-step.done::after   { content: ''; position: absolute; inset: 0; background: var(--gold-500); opacity: .5; }
.starter-label { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ─────────── FORM FIELDS ─────────── */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 3px; padding: 11px 13px; font-size: 13.5px; color: #fff; transition: all .15s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: rgba(255,255,255,0.1); }
.field select option { background: var(--navy-900); color: #fff; }

.field-light input, .field-light select, .field-light textarea { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.field-light input::placeholder, .field-light textarea::placeholder { color: var(--ink-4); }
.field-light input:focus, .field-light select:focus, .field-light textarea:focus { border-color: var(--navy-800); background: #fff; }
.field-light label { color: var(--ink-2); }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip {
  padding: 7px 12px; font-size: 12px; font-weight: 500;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.75); border-radius: 3px; cursor: pointer; transition: all .15s;
}
.chip:hover     { border-color: var(--gold-500); color: #fff; }
.chip.selected  { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); font-weight: 600; }
.chip-light     { background: var(--bg); border-color: var(--line); color: var(--ink-2); }
.chip-light:hover { border-color: var(--navy-800); color: var(--navy-800); }
.chip-light.selected { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ─────────── TRUST STRIP ─────────── */
.trust-strip { background: var(--navy-900); border-top: 1px solid rgba(255,0,0,0.18); position: relative; z-index: 3; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-cell { padding: 24px 28px; border-left: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 14px; }
[dir="rtl"] .trust-cell { border-left: none; border-right: 1px solid rgba(255,255,255,0.06); }
.trust-cell:first-child { border: none; }
.trust-icon { width: 42px; height: 42px; border: 1px solid var(--line-gold); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-icon svg { width: 18px; height: 18px; stroke: var(--gold-500); fill: none; stroke-width: 1.6; }
.trust-num { font-size: 24px; font-weight: 700; color: var(--gold-500); font-family: var(--ff-serif-en); line-height: 1; }
.trust-lbl { font-size: 11.5px; color: rgba(255,255,255,0.5); margin-top: 3px; line-height: 1.4; }

/* ─────────── SECTION HEADERS ─────────── */
.section-header { margin-bottom: 48px; max-width: 760px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--red);
  text-transform: uppercase; margin-bottom: 14px;
}
.section-eyebrow .line { width: 24px; height: 1px; background: var(--red); }
.section-title {
  font-size: clamp(28px,3.4vw,42px); font-weight: 700; color: var(--navy-800);
  letter-spacing: -.01em; line-height: 1.2; margin-bottom: 14px;
}
[dir="rtl"] .section-title { letter-spacing: 0; line-height: 1.35; }
.section-title .accent { color: var(--gold-600); }
.section-sub { font-size: 16px; color: var(--ink-2); line-height: 1.7; max-width: 620px; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }

/* ─────────── PRACTICE AREAS GRID ─────────── */
.practice-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.practice-card {
  background: var(--paper); padding: 32px 28px;
  cursor: pointer; transition: all .25s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
.practice-card:hover { background: var(--navy-25); }
.practice-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
[dir="rtl"] .practice-card::before { transform-origin: right; }
.practice-card:hover::before { transform: scaleX(1); }
.practice-num   { font-size: 11.5px; color: var(--ink-4); font-family: var(--ff-serif-en); font-weight: 600; letter-spacing: .1em; }
.practice-icon  { width: 46px; height: 46px; background: var(--navy-25); display: flex; align-items: center; justify-content: center; border-radius: 3px; }
.practice-icon svg { width: 22px; height: 22px; stroke: var(--navy-800); fill: none; stroke-width: 1.6; }
.practice-card:hover .practice-icon     { background: var(--navy-800); }
.practice-card:hover .practice-icon svg { stroke: var(--gold-500); }
.practice-title { font-size: 17px; font-weight: 700; color: var(--navy-800); line-height: 1.35; }
.practice-desc  { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; flex: 1; }
.practice-tags  { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.practice-tag   { font-size: 11px; color: var(--ink-3); background: var(--bg); padding: 3px 9px; border-radius: 2px; border: 1px solid var(--line); }
.practice-arrow { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gold-600); margin-top: 8px; }
.practice-arrow svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .25s; }
.practice-card:hover .practice-arrow svg { transform: translateX(4px); }
[dir="rtl"] .practice-card:hover .practice-arrow svg { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .practice-arrow svg { transform: scaleX(-1); }

/* ─────────── FEATURE SPLIT ─────────── */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--navy-950); overflow: hidden; border-radius: 6px;
}
.feature-img { background-size: cover; background-position: center; min-height: 480px; position: relative; }
.feature-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 60%,rgba(10,18,48,0.4)); }
.feature-content { padding: 64px 56px; color: #fff; }
.feature-eyebrow { font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--gold-500); text-transform: uppercase; margin-bottom: 14px; }
.feature-title   { font-size: 34px; font-weight: 700; line-height: 1.2; margin-bottom: 18px; color: #fff; }
[dir="rtl"] .feature-title { line-height: 1.4; }
.feature-text    { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 28px; }
.feature-bullets { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.feature-bullet  { display: flex; gap: 14px; align-items: flex-start; }
.feature-bullet-num  {
  width: 28px; height: 28px; background: rgba(255,0,0,0.15); border: 1px solid var(--line-gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%;
  font-size: 12px; font-weight: 700; color: var(--gold-500); font-family: var(--ff-serif-en);
}
.feature-bullet-text { font-size: 13.5px; color: rgba(255,255,255,0.78); line-height: 1.65; }
.feature-bullet-text strong { color: #fff; display: block; margin-bottom: 2px; font-size: 14px; }

/* ─────────── HUB / RESOURCES ─────────── */
.hub-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.hub-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; cursor: pointer; transition: all .2s; display: flex; flex-direction: column;
}
.hub-card:hover { border-color: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow); }
.hub-card.feature { grid-row: span 2; }
.hub-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.hub-card.feature .hub-img { height: 340px; }
.hub-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--navy-950); color: var(--gold-500);
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
}
[dir="rtl"] .hub-cat { left: auto; right: 14px; }
.hub-body    { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hub-meta    { font-size: 11px; color: var(--ink-4); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.hub-title   { font-size: 17px; font-weight: 700; color: var(--navy-800); line-height: 1.4; }
.hub-card.feature .hub-title { font-size: 22px; }
.hub-excerpt { font-size: 13px; color: var(--ink-2); line-height: 1.65; flex: 1; }
.hub-footer  { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--gold-600); font-weight: 600; }

/* ─────────── EVENTS ─────────── */
.events-section { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.events-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,0,0,0.08), transparent 60%);
}
[dir="rtl"] .events-section::before {
  background: radial-gradient(circle at 20% 20%, rgba(255,0,0,0.08), transparent 60%);
}
.events-section .container  { position: relative; }
.events-section .section-title { color: #fff; }
.events-section .section-eyebrow { color: var(--gold-500); }
.events-section .section-eyebrow .line { background: var(--gold-500); }
.events-section .section-sub { color: rgba(255,255,255,0.65); }
.events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.event-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; overflow: hidden; cursor: pointer; transition: all .2s;
}
.event-card:hover { border-color: var(--gold-500); background: rgba(255,255,255,0.06); }
.event-card-img { height: 160px; background-size: cover; background-position: center; position: relative; }
.event-date-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper); color: var(--navy-800);
  padding: 8px 12px; text-align: center; border-radius: 3px;
  display: flex; flex-direction: column; line-height: 1; min-width: 54px;
}
[dir="rtl"] .event-date-badge { left: auto; right: 14px; }
.event-date-badge .day   { font-size: 20px; font-weight: 700; font-family: var(--ff-serif-en); }
.event-date-badge .month { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; color: var(--gold-600); }
.event-type-tag {
  position: absolute; top: 14px; right: 14px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 2px;
}
[dir="rtl"] .event-type-tag { right: auto; left: 14px; }
.event-type-tag.org     { background: var(--gold-500); color: var(--navy-950); }
.event-type-tag.partner { background: rgba(255,255,255,0.85); color: var(--navy-800); }
.event-body  { padding: 22px; }
.event-title { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.4; margin-bottom: 10px; }
.event-meta  { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: rgba(255,255,255,0.5); }
.event-meta div { display: flex; align-items: center; gap: 5px; }
.event-meta svg { width: 12px; height: 12px; stroke: var(--gold-500); fill: none; stroke-width: 2; }
.event-cta {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12.5px; font-weight: 600; color: var(--gold-500);
  display: flex; align-items: center; gap: 6px;
}

/* ─────────── PARTNERS ─────────── */
.partners-strip { padding: 60px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-label { text-align: center; font-size: 11px; letter-spacing: .18em; font-weight: 600; color: var(--ink-3); text-transform: uppercase; margin-bottom: 32px; }
.partners-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.partner-cell {
  background: var(--paper); padding: 24px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; justify-content: center;
  cursor: pointer; transition: all .2s; min-height: 120px;
}
.partner-cell:hover { background: var(--navy-25); }
.partner-mono { font-family: var(--ff-serif-en); font-weight: 700; font-size: 24px; color: var(--navy-800); letter-spacing: -.04em; }
.partner-name { font-size: 11px; color: var(--ink-3); text-align: center; line-height: 1.4; }

/* ─────────── REVIEWS ─────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 32px 28px; display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.review-card::before {
  content: '"'; position: absolute; top: -24px; right: 24px;
  font-family: var(--ff-serif-en); font-size: 120px; color: var(--navy-25); font-weight: 700; line-height: 1;
}
[dir="rtl"] .review-card::before { right: auto; left: 24px; content: '\201D'; }
.review-stars  { display: flex; gap: 2px; position: relative; z-index: 1; }
.review-star   { width: 14px; height: 14px; background: var(--gold-500); clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.review-text   { font-size: 14px; color: var(--ink-2); line-height: 1.75; font-style: italic; flex: 1; position: relative; z-index: 1; }
.review-who    { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; padding-top: 14px; border-top: 1px solid var(--line); }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: var(--gold-500); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.review-name   { font-size: 13.5px; font-weight: 700; color: var(--navy-800); }
.review-role   { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.review-source { font-size: 10.5px; font-weight: 600; color: var(--gold-600); letter-spacing: .06em; margin-top: 3px; text-transform: uppercase; }

/* ─────────── FOOTER ─────────── */
.footer { background: var(--navy-950); color: rgba(255,255,255,0.65); padding: 80px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-mark     { background: transparent; border-color: var(--gold-500); color: var(--gold-500); }
.footer-brand .brand-mark::after { border-color: var(--gold-500); }
.footer-brand .brand-name     { color: #fff; }
.footer-brand .brand-tag      { color: var(--gold-500); }
.footer-blurb  { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 18px; max-width: 300px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social-btn { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.12); border-radius: 3px; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.footer-social-btn:hover { border-color: var(--gold-500); background: rgba(255,0,0,0.08); }
.footer-social-btn svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.55); transition: fill .15s; }
.footer-social-btn:hover svg { fill: var(--gold-500); }
.footer-col h4 { font-size: 12px; font-weight: 700; color: var(--gold-500); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a  { display: block; font-size: 13px; color: rgba(255,255,255,0.55); padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom-left  { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom-right { display: flex; gap: 18px; font-size: 11.5px; color: rgba(255,255,255,0.25); }
.footer-bottom-right a:hover { color: var(--gold-400); }

/* ─────────── PAGE HEADERS (sub-pages) ─────────── */
.page-header { background: var(--navy-950); color: #fff; padding: 80px 0 64px; position: relative; overflow: hidden; }
.page-header::after {
  content: ''; position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=70');
  background-size: cover; background-position: center; opacity: .18;
}
.page-header .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.breadcrumb a    { color: rgba(255,255,255,0.7); transition: color .15s; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .18em;
  font-weight: 600; color: var(--gold-500); text-transform: uppercase; margin-bottom: 18px;
}
.page-eyebrow .line { width: 30px; height: 1px; background: var(--gold-500); }
.page-title { font-size: clamp(36px,4.5vw,52px); font-weight: 700; line-height: 1.15; margin-bottom: 18px; color: #fff; letter-spacing: -.01em; }
[dir="rtl"] .page-title { line-height: 1.3; letter-spacing: 0; }
.page-rule { width: 56px; height: 3px; background: var(--red); margin-bottom: 20px; }
.page-sub  { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 660px; }

/* ─────────── PRACTICE DETAIL ─────────── */
.detail-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; }
.detail-content h2 { font-size: 26px; font-weight: 700; color: var(--navy-800); margin-bottom: 18px; letter-spacing: -.005em; }
[dir="rtl"] .detail-content h2 { letter-spacing: 0; line-height: 1.4; }
.detail-content h3 { font-size: 18px; font-weight: 700; color: var(--navy-800); margin: 32px 0 12px; }
.detail-content p  { font-size: 15px; color: var(--ink-2); line-height: 1.85; margin-bottom: 14px; }
.detail-services {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin: 32px 0;
}
.detail-service { background: var(--paper); padding: 18px 20px; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; transition: background .15s; }
.detail-service:hover { background: var(--navy-25); }
.detail-service-icon { width: 32px; height: 32px; border-radius: 3px; background: var(--navy-25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-service-icon svg { width: 14px; height: 14px; stroke: var(--navy-800); fill: none; stroke-width: 2; }
.detail-service-text  { flex: 1; }
.detail-service-title { font-size: 13.5px; font-weight: 700; color: var(--navy-800); margin-bottom: 3px; }
.detail-service-sub   { font-size: 12px; color: var(--ink-3); line-height: 1.5; }

/* Consult form sidebar */
.consult-form { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; position: sticky; top: 120px; overflow: hidden; box-shadow: var(--shadow); }
.consult-form-head { background: var(--navy-900); color: #fff; padding: 24px 24px 20px; border-bottom: 3px solid var(--gold-500); }
.consult-form-eyebrow { font-size: 10.5px; color: var(--gold-500); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.consult-form-title { font-size: 19px; font-weight: 700; color: #fff; line-height: 1.3; }
.consult-form-sub   { font-size: 12.5px; color: rgba(255,255,255,0.6); margin-top: 6px; line-height: 1.55; }
.consult-form-body  { padding: 24px; }
.step-pills { display: flex; gap: 6px; margin-bottom: 22px; }
.step-pill {
  flex: 1; text-align: center; padding: 7px 4px; font-size: 11px; font-weight: 600;
  background: var(--bg); color: var(--ink-3); border-radius: 2px;
  border: 1px solid var(--line); transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.step-pill .pill-num { width: 18px; height: 18px; border-radius: 50%; background: var(--ink-4); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.step-pill.active  { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.step-pill.active .pill-num { background: var(--gold-500); color: var(--navy-950); }
.step-pill.done    { background: var(--gold-50); color: var(--gold-600); border-color: var(--line-gold); }
.step-pill.done .pill-num { background: var(--gold-500); color: var(--navy-950); }

/* Upload zone */
.upload-zone { border: 1.5px dashed var(--line); border-radius: 4px; padding: 24px 18px; text-align: center; cursor: pointer; transition: all .15s; background: var(--navy-25); }
.upload-zone:hover { border-color: var(--navy-800); background: #fff; }
.upload-zone svg { width: 28px; height: 28px; stroke: var(--navy-800); fill: none; stroke-width: 1.5; margin: 0 auto 10px; display: block; }
.upload-zone-title { font-size: 13px; font-weight: 600; color: var(--navy-800); margin-bottom: 4px; }
.upload-zone-sub   { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.privacy-note { background: var(--navy-25); border: 1px solid var(--line); border-radius: 3px; padding: 11px 13px; display: flex; gap: 9px; font-size: 11.5px; color: var(--ink-2); line-height: 1.55; margin-top: 14px; }
.privacy-note svg { width: 14px; height: 14px; stroke: var(--gold-600); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.privacy-note strong { color: var(--navy-800); }

/* ─────────── AI LAUNCHER ─────────── */
.ai-launcher { position: fixed; bottom: 28px; z-index: 600; display: flex; align-items: center; gap: 12px; }
[dir="ltr"] .ai-launcher { right: 28px; }
[dir="rtl"] .ai-launcher { left: 28px; }
.ai-launcher-tip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 9px 16px; font-size: 12.5px; color: var(--navy-800);
  box-shadow: var(--shadow); font-weight: 500; display: flex; align-items: center; gap: 8px;
}
.ai-launcher-tip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2ECC71; box-shadow: 0 0 0 3px rgba(46,204,113,0.18); }
.ai-launcher-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--navy-900); border: 2px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .2s; position: relative;
}
.ai-launcher-btn:hover { transform: scale(1.05); }
.ai-launcher-btn svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.8; }
.ai-launcher-btn .badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--paper);
}

/* ─────────── BOOKING MODAL ─────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 700;
  background: rgba(10,18,48,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal { background: var(--paper); border-radius: 8px; width: 100%; max-width: 720px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-head { padding: 24px 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: var(--navy-25); }
.modal-head h2 { font-size: 20px; font-weight: 700; color: var(--navy-800); }
.modal-head .modal-sub { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.modal-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); cursor: pointer; border-radius: 3px; transition: all .15s; font-size: 20px; }
.modal-close:hover { background: var(--bg); color: var(--navy-800); }
.modal-body { padding: 32px; overflow-y: auto; flex: 1; }
.modal-foot { padding: 18px 28px; border-top: 1px solid var(--line); background: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.booking-stepper { display: flex; align-items: center; gap: 6px; margin-bottom: 32px; }
.booking-step { flex: 1; height: 4px; background: var(--bg-2); border-radius: 2px; overflow: hidden; }
.booking-step.active, .booking-step.done { background: var(--gold-500); }

.booking-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.booking-option { border: 1.5px solid var(--line); border-radius: 4px; padding: 18px; cursor: pointer; transition: all .15s; display: flex; flex-direction: column; gap: 6px; }
.booking-option:hover    { border-color: var(--navy-700); }
.booking-option.selected { border-color: var(--navy-800); background: var(--navy-25); box-shadow: 0 0 0 1px var(--navy-800); }
.booking-option-icon     { width: 38px; height: 38px; border-radius: 3px; background: var(--bg); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.booking-option-icon svg { width: 18px; height: 18px; stroke: var(--navy-800); fill: none; stroke-width: 1.8; }
.booking-option-title { font-size: 14px; font-weight: 700; color: var(--navy-800); }
.booking-option-sub   { font-size: 12px; color: var(--ink-3); line-height: 1.5; }

.lawyer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.lawyer-card { border: 1.5px solid var(--line); border-radius: 4px; padding: 16px; cursor: pointer; transition: all .15s; text-align: center; }
.lawyer-card:hover    { border-color: var(--navy-700); }
.lawyer-card.selected { border-color: var(--navy-800); background: var(--navy-25); }
.lawyer-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy-800); color: var(--gold-500); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; font-family: var(--ff-serif-en); margin: 0 auto 10px; }
.lawyer-name { font-size: 13.5px; font-weight: 700; color: var(--navy-800); }
.lawyer-role { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.4; }
.lawyer-rating { display: flex; justify-content: center; gap: 1px; margin-top: 8px; }
.lawyer-rating .review-star { width: 11px; height: 11px; }

.timeslot-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.timeslot { padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 3px; font-size: 13px; font-weight: 600; color: var(--navy-800); text-align: center; cursor: pointer; transition: all .15s; }
.timeslot:hover     { border-color: var(--navy-700); }
.timeslot.selected  { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.timeslot.unavailable { color: var(--ink-4); background: var(--bg); cursor: not-allowed; }

/* ─────────── COMPACT / SPACIOUS ─────────── */
[data-density="compact"] { --base: 14px; --space: .75; }
[data-density="compact"] .nav .container { height: 64px; }
[data-density="compact"] .hero-inner     { padding: 64px 0; }
[data-density="compact"] .hero           { min-height: 540px; }
[data-density="spacious"] { --base: 16px; --space: 1.25; }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 1100px) {
  .hero-grid          { grid-template-columns: 1fr; gap: 40px; }
  .practice-grid      { grid-template-columns: repeat(2,1fr); }
  .hub-grid           { grid-template-columns: 1fr 1fr; }
  .hub-card.feature   { grid-row: auto; grid-column: span 2; }
  .events-grid        { grid-template-columns: 1fr 1fr; }
  .reviews-grid       { grid-template-columns: 1fr; }
  .footer-top         { grid-template-columns: 1fr 1fr 1fr; }
  .feature-split      { grid-template-columns: 1fr; }
  .feature-img        { min-height: 300px; }
  .detail-grid        { grid-template-columns: 1fr; }
  .partners-grid      { grid-template-columns: repeat(3,1fr); }
  .trust-grid         { grid-template-columns: repeat(2,1fr); }
  /* Firm page */
  .firm-pillars-grid  { grid-template-columns: repeat(2,1fr) !important; }
  .firm-stats-grid    { grid-template-columns: repeat(2,1fr) !important; }
}

/* ─────────── TABLET 768–1100px ─────────── */
@media (max-width: 900px) {
  .container { padding: 0 20px; }

  /* Firm page */
  .firm-about-grid    { grid-template-columns: 1fr !important; }
  .firm-pillars-grid  { grid-template-columns: 1fr !important; }
  .firm-stats-grid    { grid-template-columns: repeat(2,1fr) !important; }

  /* Nav */
  .nav .container { height: 64px; }
  .nav-links       { display: none; }
  .nav-actions     { display: none; }
  .nav-menu-btn    { display: flex; }

  /* Hero */
  .hero-inner   { padding: 60px 0; }
  .hero         { min-height: 500px; }
  .hero-title   { font-size: clamp(30px, 7vw, 48px); }
  .hero-sub     { font-size: 15px; }

  /* Grids */
  .practice-grid      { grid-template-columns: repeat(2,1fr); }
  .hub-grid           { grid-template-columns: 1fr; }
  .hub-card.feature   { grid-row: auto; grid-column: auto; }
  .events-grid        { grid-template-columns: 1fr 1fr; }
  .reviews-grid       { grid-template-columns: 1fr 1fr; }
  .partners-grid      { grid-template-columns: repeat(3,1fr); }
  .footer-top         { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-grid         { grid-template-columns: repeat(2,1fr); }
  .feature-split      { grid-template-columns: 1fr; }
  .feature-img        { min-height: 260px; }
  .feature-content    { padding: 40px 32px; }
  .detail-grid        { grid-template-columns: 1fr; }

  /* Page header */
  .page-title { font-size: clamp(28px, 5vw, 40px); }
}

/* ─────────── MOBILE ≤ 640px ─────────── */
@media (max-width: 640px) {
  :root { --base: 14px; }
  .container { padding: 0 16px; }

  /* Fix hero overlap with sticky nav */
  .hero { margin-top: 0; }
  .nav { -webkit-transform: translateZ(0); }

  /* Utility bar hidden on mobile */
  .utility-bar { display: none; }

  /* Nav */
  .nav .container { height: 60px; }
  .brand-name     { font-size: 12px; }
  .brand-tag      { display: none; }

  /* Hero — mobile: column layout so trust-strip goes below the form */
  .hero              { flex-direction: column; align-items: stretch; min-height: auto; overflow: visible; }
  .hero-inner        { flex: 0 0 auto; padding: 40px 0 0; width: 100%; }
  .hero-inner .container { padding: 0; }
  .hero-grid         { grid-template-columns: 1fr; gap: 0; }
  .hero-grid > div:first-child { padding: 0 16px 28px; }
  .hero-title        { font-size: clamp(26px, 8vw, 38px); line-height: 1.3; }
  .hero-sub          { font-size: 14px; }
  .hero-cta-row      { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { justify-content: center; }
  .hero-card         { border-radius: 0; margin: 0; width: 100%; }
  /* trust-strip: flex child يأتي بعد hero-inner */
  .trust-strip       { flex: 0 0 auto; width: 100%; position: relative; z-index: auto; }
  .trust-grid        { grid-template-columns: repeat(2, 1fr); }
  .trust-cell        { padding: 18px 14px; }
  .trust-num         { font-size: 18px; }
  .trust-num[style]  { font-size: 13px !important; }

  /* Sections */
  .section        { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-title  { font-size: clamp(22px, 6vw, 32px); }

  /* Practice grid */
  .practice-grid   { grid-template-columns: 1fr; }
  .practice-card   { padding: 24px 18px; }

  /* Hub */
  .hub-grid         { grid-template-columns: 1fr; }
  .hub-card.feature .hub-img { height: 220px; }

  /* Events */
  .events-grid      { grid-template-columns: 1fr; }

  /* Reviews */
  .reviews-grid     { grid-template-columns: 1fr; }

  /* Partners */
  .partners-grid    { grid-template-columns: repeat(2,1fr); }
  .partner-cell     { min-height: 100px; padding: 16px 8px; }
  .partner-mono     { font-size: 18px; }

  /* Feature split */
  .feature-split    { grid-template-columns: 1fr; }
  .feature-img      { min-height: 200px; }
  .feature-content  { padding: 28px 20px; }
  .feature-title    { font-size: 24px; }

  /* Footer */
  .footer-top       { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom    { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-right { justify-content: center; }
  .footer-blurb     { max-width: 100%; }

  /* Page header */
  .page-header      { padding: 48px 0 36px; }
  .page-title       { font-size: clamp(24px, 7vw, 36px); }
  .page-sub         { font-size: 14px; }

  /* Detail grid */
  .detail-grid      { grid-template-columns: 1fr; }
  .detail-services  { grid-template-columns: 1fr; }

  /* Contact grid */
  .contact-ways     { grid-template-columns: 1fr !important; }
  .contact-offices  { grid-template-columns: 1fr !important; }

  /* Buttons */
  .btn-lg { padding: 12px 20px; font-size: 14px; }

  /* AI launcher */
  .ai-launcher-tip  { display: none; }
  .ai-launcher-btn  { width: 52px; height: 52px; }
  .ai-launcher      { bottom: 16px; }
  [dir="rtl"] .ai-launcher { left: 16px; }
  [dir="ltr"] .ai-launcher { right: 16px; }

  /* Team modal on mobile */
  #teamModal .modal { flex-direction: column !important; }
  #teamModal .modal > div:first-child { width: 100% !important; min-width: unset !important; min-height: 220px !important; }

  /* Step pills */
  .step-pills { flex-wrap: wrap; }

  /* Booking / timeslot */
  .booking-grid   { grid-template-columns: 1fr; }
  .timeslot-grid  { grid-template-columns: repeat(2,1fr); }
  .lawyer-grid    { grid-template-columns: repeat(2,1fr); }

  /* Trust strip */
  [dir="rtl"] .trust-cell:nth-child(odd)  { border-right: none; }
  [dir="rtl"] .trust-cell:nth-child(even) { border-right: 1px solid rgba(255,255,255,0.06); }

  /* Firm about grid */
  .firm-about-grid   { grid-template-columns: 1fr !important; }
  .firm-pillars-grid { grid-template-columns: 1fr !important; }
  .firm-stats-grid   { grid-template-columns: repeat(2,1fr) !important; }

  /* Corporate packages */
  .corp-packages { grid-template-columns: 1fr !important; }
  .corp-zones    { grid-template-columns: repeat(2,1fr) !important; }
}

/* ─────────── HAMBURGER MENU ─────────── */
.nav-menu-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 4px; cursor: pointer;
  border: 1px solid var(--line);
  background: none;
  flex-direction: column; gap: 5px;
  padding: 8px;
}
.nav-menu-btn span {
  display: block; width: 20px; height: 2px;
  background: var(--navy-800); border-radius: 2px;
  transition: all .25s;
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,18,48,0.5);
}
.nav-mobile.open { display: block; }

.nav-mobile-panel {
  position: absolute; top: 0;
  width: 280px; height: 100vh;
  background: var(--paper);
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(15,30,74,0.2);
  padding: 20px 0;
  transition: transform .3s;
}
[dir="rtl"] .nav-mobile-panel { right: 0; }
[dir="ltr"] .nav-mobile-panel { left: 0; }

.nav-mobile-close {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
  font-size: 13px; font-weight: 600; color: var(--navy-800);
}
.nav-mobile-close button {
  width: 32px; height: 32px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink-2);
}
.nav-mobile-close button:hover { background: var(--bg); }

.nav-mobile-link {
  display: block; padding: 12px 20px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
  transition: color .15s;
}
.nav-mobile-link:hover, .nav-mobile-link.active {
  color: var(--navy-800); background: var(--navy-25);
}
.nav-mobile-link.active { font-weight: 700; border-right: 3px solid var(--gold-500); }
[dir="ltr"] .nav-mobile-link.active { border-right: none; border-left: 3px solid var(--gold-500); }

.nav-mobile-section {
  padding: 8px 20px 4px;
  font-size: 10px; letter-spacing: .12em; font-weight: 700;
  color: var(--ink-4); text-transform: uppercase;
  margin-top: 8px;
}

.nav-mobile-actions {
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--line); margin-top: 8px;
}

@media (max-width: 900px) {
  .nav-menu-btn { display: flex; }
}

/* ─────────── PRINT ─────────── */
@page { size: A4 portrait; margin: 1cm; }
@media print {
  *, *::before, *::after { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  html, body { background: #fff !important; }
  .ai-launcher, .ai-panel { display: none !important; }
  .nav { position: static !important; }
  section, .section, .page-header, .hero, footer { break-inside: avoid; page-break-inside: avoid; }
  .hero { min-height: auto !important; }
  a { color: inherit !important; text-decoration: none !important; }
  body, main { overflow: visible !important; height: auto !important; }
}

/* ─────────── OVERFLOW FIX ─────────── */
html, body { overflow-x: hidden; max-width: 100vw; }
.container { overflow: visible; }

/* ─────────── INLINE GRID RESPONSIVE OVERRIDES ─────────── */
/* firm about section */
@media (max-width: 768px) {
  .firm-about-grid,
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:56px"] {
    display: block !important;
  }
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:56px"] > div:first-child {
    height: 260px !important;
    margin-bottom: 28px;
  }
  /* corporate zones 4-col */
  div[style*="repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* team stats 4-col */
  div[style*="repeat(4,1fr)"][style*="background:var(--navy-950)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* contact ways 2-col */
  div[style*="repeat(2,1fr)"][style*="background:var(--line)"] {
    grid-template-columns: 1fr !important;
  }
  /* corp packages 3-col */
  div[style*="repeat(3,1fr)"][style*="gap:24px"] {
    grid-template-columns: 1fr !important;
  }
  /* office addresses 2-col */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:32px"][style*="background:var(--navy-950)"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 480px) {
  div[style*="repeat(2,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="repeat(4,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
}

/* ─────────── LOGO FALLBACK TEXT ─────────── */
.brand-fallback {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
}
.brand-fallback .bm {
  width: 44px; height: 44px; border: 1.5px solid var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--navy-800); position: relative;
}
.brand-fallback .bm::after { content:''; position:absolute; inset:3px; border:1px solid var(--navy-800); }
.brand-fallback .bn { font-size: 13px; font-weight: 700; color: var(--navy-800); line-height: 1.2; }
.brand-fallback .bt { font-size: 9px; color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; }
.footer .brand-fallback .bm { border-color: var(--gold-500); color: var(--gold-500); }
.footer .brand-fallback .bm::after { border-color: var(--gold-500); }
.footer .brand-fallback .bn { color: #fff; }
.footer .brand-fallback .bt { color: var(--gold-500); }

